/* ════════════════════════════════════════════════════════════
   Buildara — Marketing Landing Page
   Dark theme + gold accent, matches in-app design system.
   ════════════════════════════════════════════════════════════ */

:root {
  --gold:        #c9a84c;
  --gold-light:  #e8b84b;
  --gold-glow:   rgba(201,168,76,0.18);
  --bg:          #080808;
  --bg-2:        #0f0f0f;
  --bg-3:        #141414;
  --bg-4:        #1a1a1a;
  --border:      rgba(255,255,255,0.06);
  --border-md:   rgba(255,255,255,0.10);
  --text:        #f0f0f0;
  --text-2:      #b0b0b0;
  --text-3:      #707070;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: opacity 0.15s; }
a:hover { opacity: 0.8; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }
.g { color: var(--gold-light); }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 10px;
  font-family: inherit; font-size: 0.95rem; font-weight: 600;
  cursor: pointer; border: 1px solid transparent;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.btn-sm { padding: 0.55rem 1rem; font-size: 0.85rem; }
.btn-gold {
  background: linear-gradient(135deg, var(--gold), #a07a30);
  color: #0a0a0a;
  box-shadow: 0 8px 24px rgba(201,168,76,0.25);
}
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(201,168,76,0.35); opacity: 1; }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-md);
}
.btn-ghost:hover { background: var(--bg-3); border-color: var(--gold); color: var(--gold-light); opacity: 1; }

/* ── Top Nav ───────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(8,8,8,0.85);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.95rem 1.5rem;
}
.brand {
  display: flex; align-items: center; gap: 0.65rem;
  font-family: 'Sora', sans-serif;
}
.brand-logo { width: 32px; height: 32px; border-radius: 7px; }
.brand-name {
  font-size: 1.1rem; font-weight: 800;
  background: linear-gradient(135deg, #fff, var(--gold-light));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nav-links { display: flex; align-items: center; gap: 1.75rem; }
.nav-links a { font-size: 0.875rem; color: var(--text-2); }
.nav-links a:hover { color: var(--gold-light); opacity: 1; }
.nav-links .btn { color: #0a0a0a; }
@media (max-width: 720px) {
  .nav-links a:not(.btn) { display: none; }
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  padding: 5rem 0 6rem;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(201,168,76,0.12) 0%, transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(201,168,76,0.08) 0%, transparent 50%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 4rem;
  align-items: center;
}
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero { padding: 3rem 0 4rem; }
}

.eyebrow {
  display: inline-block;
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--gold);
  background: var(--gold-glow);
  padding: 0.35rem 0.875rem; border-radius: 999px;
  border: 1px solid rgba(201,168,76,0.2);
  margin-bottom: 1.25rem;
}
.hero h1 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.08; letter-spacing: -0.03em;
  margin: 0 0 1.25rem;
}
.lead {
  font-size: 1.075rem; color: var(--text-2);
  max-width: 540px; margin: 0 0 2rem;
}
.hero-cta { display: flex; gap: 0.875rem; flex-wrap: wrap; }
.trust-row {
  display: flex; gap: 2rem; flex-wrap: wrap;
  margin-top: 2.75rem; padding-top: 1.75rem;
  border-top: 1px solid var(--border);
  font-size: 0.825rem; color: var(--text-3);
}
.trust-row strong { color: var(--text); font-weight: 700; }

.hero-visual { display: flex; justify-content: center; }
.hero-card {
  background: linear-gradient(160deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  width: 100%; max-width: 380px;
  text-align: center;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5), 0 0 60px var(--gold-glow);
  position: relative; overflow: hidden;
}
.hero-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(201,168,76,0.08));
  pointer-events: none;
}
.hero-logo {
  width: 96px; height: 96px;
  margin: 0 auto 1.5rem;
  border-radius: 18px;
  filter: drop-shadow(0 0 28px var(--gold-glow));
}
.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  position: relative;
}
.hs-num { font-family: 'Sora', sans-serif; font-size: 1.4rem; font-weight: 700; color: var(--gold-light); }
.hs-label { font-size: 0.7rem; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 0.2rem; }

/* ── Section ───────────────────────────────────────────────── */
.section { padding: 5.5rem 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.sec-title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800; letter-spacing: -0.02em;
  text-align: center; margin: 0 0 0.5rem;
}
.sec-sub {
  text-align: center; color: var(--text-2);
  font-size: 1rem; max-width: 620px; margin: 0 auto 3rem;
}

/* ── Features ──────────────────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.feature {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  transition: transform 0.18s, border-color 0.18s, background 0.18s;
}
.feature:hover {
  transform: translateY(-3px);
  border-color: rgba(201,168,76,0.35);
  background: var(--bg-3);
}
.ficon {
  font-size: 1.6rem;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gold-glow);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 12px;
  margin-bottom: 1rem;
}
.feature h3 {
  font-family: 'Sora', sans-serif;
  font-size: 1.05rem; font-weight: 700;
  margin: 0 0 0.45rem; color: var(--text);
}
.feature p {
  font-size: 0.875rem; color: var(--text-2);
  margin: 0; line-height: 1.55;
}

/* ── Plans ─────────────────────────────────────────────────── */
.plan-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  max-width: 1100px; margin: 0 auto;
}
.plan {
  background: var(--bg);
  border: 1px solid var(--border-md);
  border-radius: 20px;
  padding: 2.25rem 1.75rem;
  position: relative;
  display: flex; flex-direction: column;
}
.plan-featured {
  border-color: rgba(201,168,76,0.5);
  background: linear-gradient(180deg, var(--bg-3), var(--bg));
  box-shadow: 0 24px 60px rgba(201,168,76,0.12), 0 0 0 1px rgba(201,168,76,0.15);
  transform: translateY(-4px);
}
.plan-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold), #a07a30);
  color: #0a0a0a;
  font-size: 0.7rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.1em;
  padding: 0.45rem 0.9rem; border-radius: 999px;
  white-space: nowrap;
}
.plan-tier {
  font-family: 'Sora', sans-serif;
  font-size: 0.88rem; font-weight: 700;
  color: var(--gold-light);
  text-transform: uppercase; letter-spacing: 0.12em;
  margin-bottom: 1rem;
}
.plan-price { display: flex; align-items: baseline; gap: 0.4rem; margin-bottom: 0.6rem; }
.plan-price .amt {
  font-family: 'Sora', sans-serif;
  font-size: 2.4rem; font-weight: 800;
  letter-spacing: -0.03em; color: var(--text);
}
.plan-price .per { color: var(--text-3); font-size: 0.9rem; }
.plan-blurb { color: var(--text-2); font-size: 0.875rem; margin: 0 0 1.5rem; min-height: 2.5em; }
.plan-features {
  list-style: none; padding: 0; margin: 0 0 1.75rem;
  display: flex; flex-direction: column; gap: 0.6rem;
  flex: 1;
}
.plan-features li {
  font-size: 0.875rem; color: var(--text-2);
  padding-left: 0.25rem;
}
.plan-features strong { color: var(--text); font-weight: 700; }
.plan-features li.muted { color: var(--text-3); opacity: 0.6; }
.plan-cta { width: 100%; justify-content: center; }

/* ── Contact ───────────────────────────────────────────────── */
.contact-grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  max-width: 980px; margin: 0 auto;
}
.contact-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
  text-align: center;
  transition: transform 0.18s, border-color 0.18s;
  cursor: pointer;
  display: block;
}
.contact-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  opacity: 1;
}
.cicon {
  font-size: 1.8rem;
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gold-glow);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 14px;
  margin: 0 auto 1rem;
}
.ctitle {
  font-family: 'Sora', sans-serif;
  font-size: 0.78rem; font-weight: 700;
  color: var(--gold-light);
  text-transform: uppercase; letter-spacing: 0.12em;
  margin-bottom: 0.6rem;
}
.cline {
  font-family: 'Sora', sans-serif;
  font-size: 1.1rem; font-weight: 700;
  color: var(--text); margin-bottom: 0.3rem;
  word-break: break-all;
}
.csub { font-size: 0.8rem; color: var(--text-3); }

/* ── Footer ────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-2);
  padding: 2.5rem 0;
}
.footer-row {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1.5rem;
}
.footer-brand { display: flex; align-items: center; gap: 0.875rem; }
.footer-logo { width: 38px; height: 38px; border-radius: 8px; }
.brand-tag { font-size: 0.72rem; color: var(--text-3); }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a { font-size: 0.875rem; color: var(--text-2); }
.footer-meta { font-size: 0.78rem; color: var(--text-3); }
@media (max-width: 720px) {
  .footer-row { flex-direction: column; align-items: flex-start; gap: 1rem; text-align: left; }
}
