/* =========================================================
   NextBuild — Design System
   Tokens: two-signal palette (Build Blue = live/explore,
   Vault Violet = premium/locked) on a warm-white base.
   Display: Space Grotesk · Body: Inter · Data/labels: JetBrains Mono
   ========================================================= */

:root{
  /* ---- Color ---- */
  --ink:            #0F1226;
  --ink-soft:       #565A72;
  --ink-faint:      #8B8EA3;
  --bg:             #FFFFFF;
  --bg-soft:        #F6F6FB;
  --bg-softer:      #FBFBFD;
  --border:         #E9E9F2;
  --border-soft:    #F0F0F6;

  --build:          #2E5CFF;   /* primary accent — built / live / explore */
  --build-dark:      #1E3FCC;
  --build-tint:      #EEF2FF;

  --vault:          #7C4DFF;   /* secondary accent — premium / locked */
  --vault-dark:     #5B2FD1;
  --vault-tint:     #F4F0FF;

  --live:           #16A34A;   /* small use — "live now" status */
  --live-tint:      #EAFBF1;
  --amber:          #B7791F;   /* small use — pending status */
  --amber-tint:     #FEF6E7;
  --red:            #DC2626;
  --red-tint:       #FDEEEE;

  /* ---- Type ---- */
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* ---- Shape / shadow ---- */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(15,18,38,0.06), 0 1px 1px rgba(15,18,38,0.04);
  --shadow-md: 0 8px 24px rgba(15,18,38,0.08), 0 2px 6px rgba(15,18,38,0.04);
  --shadow-lg: 0 24px 64px rgba(15,18,38,0.14), 0 8px 20px rgba(15,18,38,0.06);
  --shadow-build: 0 16px 40px rgba(46,92,255,0.22);
  --shadow-vault: 0 16px 40px rgba(124,77,255,0.24);

  --container: 1180px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

h1,h2,h3,h4{
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0 0 0.5em;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
p{ margin: 0 0 1em; color: var(--ink-soft); }
a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; display: block; }
button{ font-family: inherit; }

::selection{ background: var(--build); color: #fff; }

:focus-visible{
  outline: 2px solid var(--build);
  outline-offset: 2px;
  border-radius: 4px;
}

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--build);
  background: var(--build-tint);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}
.eyebrow.vault{ color: var(--vault); background: var(--vault-tint); }

/* ---------------------------------------------------------
   Buttons
   --------------------------------------------------------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn-sm{ padding: 10px 18px; font-size: 14px; }
.btn-lg{ padding: 16px 30px; font-size: 16px; }
.btn-primary{ background: var(--build); color: #fff; box-shadow: var(--shadow-build); }
.btn-primary:hover{ background: var(--build-dark); transform: translateY(-2px); box-shadow: 0 20px 44px rgba(46,92,255,0.3); }
.btn-vault{ background: var(--vault); color: #fff; box-shadow: var(--shadow-vault); }
.btn-vault:hover{ background: var(--vault-dark); transform: translateY(-2px); box-shadow: 0 20px 44px rgba(124,77,255,0.32); }
.btn-outline{ background: #fff; color: var(--ink); border-color: var(--border); }
.btn-outline:hover{ border-color: var(--ink); transform: translateY(-2px); }
.btn-ghost{ background: transparent; color: var(--ink); }
.btn-ghost:hover{ background: var(--bg-soft); }
.btn-white{ background: #fff; color: var(--build); }
.btn-white:hover{ transform: translateY(-2px); box-shadow: 0 16px 36px rgba(0,0,0,0.18); }
.btn-block{ width: 100%; }
.btn:disabled{ opacity: .55; cursor: not-allowed; transform: none !important; }

/* ---------------------------------------------------------
   Navigation
   --------------------------------------------------------- */
.site-nav{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--border-soft);
}
.nav-inner{
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand{ display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark svg{ width: 30px; height: 30px; display: block; }
.brand-name{ font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }

.nav-links{ display: flex; align-items: center; gap: 28px; flex: 1; }
.nav-links a{ font-size: 14.5px; font-weight: 500; color: var(--ink-soft); transition: color .15s ease; position: relative; }
.nav-links a:hover, .nav-links a.active{ color: var(--ink); }
.nav-links a.active::after{ content:''; position:absolute; left:0; right:0; bottom:-19px; height:2px; background: var(--build); }

.nav-actions{ display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.nav-link-plain{ font-size: 14.5px; font-weight: 600; color: var(--ink-soft); }
.nav-link-plain:hover{ color: var(--ink); }

.nav-burger{ display: none; flex-direction: column; justify-content: center; gap: 5px; width: 36px; height: 36px; background: none; border: none; cursor: pointer; }
.nav-burger span{ display: block; height: 2px; width: 22px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-burger.open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2){ opacity: 0; }
.nav-burger.open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

.nav-mobile{ display: none; flex-direction: column; padding: 8px 24px 20px; gap: 4px; border-top: 1px solid var(--border-soft); }
.nav-mobile.open{ display: flex; }
.nav-mobile a{ padding: 12px 4px; font-weight: 500; font-size: 15px; color: var(--ink); border-bottom: 1px solid var(--border-soft); }
.nav-mobile-divider{ height: 1px; }
.nav-mobile-cta{ margin-top: 12px; text-align: center; }

@media (max-width: 900px){
  .nav-links, .nav-actions{ display: none; }
  .nav-burger{ display: flex; }
}

/* ---------------------------------------------------------
   Flash messages
   --------------------------------------------------------- */
.flash-stack{ max-width: var(--container); margin: 16px auto 0; padding: 0 24px; display: flex; flex-direction: column; gap: 10px; }
.flash{ padding: 13px 18px; border-radius: var(--radius-sm); font-size: 14.5px; font-weight: 500; }
.flash-success{ background: var(--live-tint); color: #0F6B36; border: 1px solid #CDEEDA; }
.flash-error{ background: var(--red-tint); color: #A11616; border: 1px solid #F6D2D2; }
.flash-info{ background: var(--build-tint); color: var(--build-dark); border: 1px solid #D9E2FF; }

/* ---------------------------------------------------------
   HERO
   --------------------------------------------------------- */
.hero{
  position: relative;
  overflow: hidden;
  padding: 92px 0 60px;
  background:
    radial-gradient(760px 420px at 82% -10%, rgba(124,77,255,0.10), transparent 60%),
    radial-gradient(640px 420px at 8% 0%, rgba(46,92,255,0.10), transparent 60%),
    var(--bg);
}
.hero-grid-bg{
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--border-soft) 1px, transparent 1px), linear-gradient(90deg, var(--border-soft) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(700px 500px at 30% 20%, black, transparent 75%);
  -webkit-mask-image: radial-gradient(700px 500px at 30% 20%, black, transparent 75%);
  opacity: .7;
  pointer-events: none;
}
.hero-inner{
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero-copy h1{
  font-size: clamp(38px, 5.4vw, 64px);
  font-weight: 700;
  margin-bottom: 6px;
}
.hero-copy h1 .line2{
  display: block;
  background: linear-gradient(100deg, var(--build) 10%, var(--vault) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub{
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 520px;
  margin: 20px 0 32px;
}
.hero-ctas{ display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero-meta{ display: flex; gap: 28px; flex-wrap: wrap; }
.hero-meta-item{ display: flex; flex-direction: column; }
.hero-meta-num{ font-family: var(--font-display); font-size: 22px; font-weight: 700; }
.hero-meta-label{ font-size: 12.5px; color: var(--ink-faint); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .04em; }

/* Floating card composition */
.hero-visual{ position: relative; height: 460px; }
.float-card{
  position: absolute;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 16px 18px;
  animation: floaty 6s ease-in-out infinite;
}
.float-card.card-live{
  top: 6%; left: 2%; width: 240px;
  animation-delay: 0s;
}
.float-card.card-locked{
  top: 40%; right: 0%; width: 232px;
  animation-delay: 1.4s;
}
.float-card.card-reaction{
  bottom: 6%; left: 14%; width: 220px;
  animation-delay: .7s;
}
.float-card.card-categories{
  top: 0; right: 20%; width: 168px;
  padding: 12px 14px;
  animation-delay: 2s;
}
@keyframes floaty{
  0%, 100%{ transform: translateY(0px); }
  50%{ transform: translateY(-14px); }
}
.fc-top{ display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.fc-icon{ width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 17px; flex-shrink: 0; }
.fc-icon.build{ background: var(--build-tint); }
.fc-icon.vault{ background: var(--vault-tint); }
.fc-title{ font-weight: 700; font-size: 14.5px; }
.fc-sub{ font-size: 12px; color: var(--ink-faint); font-family: var(--font-mono); }
.fc-status{ display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 11px; font-weight: 600; padding: 4px 9px; border-radius: var(--radius-pill); text-transform: uppercase; letter-spacing: .03em; }
.fc-status.live{ background: var(--live-tint); color: #0F6B36; }
.fc-status.live .dot{ width: 6px; height: 6px; border-radius: 50%; background: var(--live); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse{ 0%,100%{ opacity: 1;} 50%{ opacity: .35;} }
.fc-status.locked{ background: var(--vault-tint); color: var(--vault-dark); }
.fc-blur-lines span{ display: block; height: 8px; border-radius: 4px; background: var(--border); margin-bottom: 7px; filter: blur(0.3px); }
.fc-blur-lines span:nth-child(2){ width: 70%; }
.fc-reaction-row{ display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-soft); margin-top: 4px; }
.fc-cat-list{ display: flex; flex-direction: column; gap: 6px; }
.fc-cat-pill{ font-family: var(--font-mono); font-size: 11px; background: var(--bg-soft); border-radius: var(--radius-pill); padding: 5px 10px; color: var(--ink-soft); }

@media (max-width: 980px){
  .hero-inner{ grid-template-columns: 1fr; }
  .hero-visual{ height: 360px; margin-top: 10px; }
  .float-card.card-categories{ display: none; }
}
@media (max-width: 520px){
  .hero{ padding: 70px 0 40px; }
  .hero-visual{ height: 300px; }
  .float-card{ padding: 12px 14px; }
  .float-card.card-live{ width: 200px; }
  .float-card.card-locked{ width: 190px; top: 46%; }
  .float-card.card-reaction{ width: 180px; }
}

/* ---------------------------------------------------------
   TRUST / INTRO STRIP
   --------------------------------------------------------- */
.trust{ padding: 20px 0 88px; }
.trust-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.trust-card{
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.trust-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-md); background: #fff; }
.trust-icon{ font-size: 26px; margin-bottom: 12px; display: block; }
.trust-card h3{ font-size: 17px; margin-bottom: 6px; }
.trust-card p{ font-size: 14.5px; margin: 0; }
@media (max-width: 780px){ .trust-grid{ grid-template-columns: 1fr; } }

/* ---------------------------------------------------------
   Section headers (shared)
   --------------------------------------------------------- */
.section{ padding: 88px 0; }
.section-soft{ background: var(--bg-soft); }
.section-head{ max-width: 620px; margin-bottom: 48px; }
.section-head.center{ margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2{ font-size: clamp(28px, 3.4vw, 40px); }
.section-head p{ font-size: 16.5px; }
.section-foot{ text-align: center; margin-top: 44px; }

/* ---------------------------------------------------------
   Startup cards
   --------------------------------------------------------- */
.startup-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.startup-card{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.startup-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.sc-top{ display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.sc-logo{ width: 46px; height: 46px; border-radius: 12px; background: var(--build-tint); display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--build); font-family: var(--font-display); font-size: 17px; flex-shrink: 0; overflow: hidden; }
.sc-logo img{ width: 100%; height: 100%; object-fit: cover; }
.sc-name-wrap{ min-width: 0; }
.sc-name{ font-family: var(--font-display); font-weight: 700; font-size: 16.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-cat{ font-family: var(--font-mono); font-size: 11.5px; color: var(--build); background: var(--build-tint); display: inline-block; padding: 2px 9px; border-radius: var(--radius-pill); margin-top: 4px; }
.sc-desc{ font-size: 14.5px; color: var(--ink-soft); margin-bottom: 16px; flex: 1; }
.sc-founder{ font-size: 12.5px; color: var(--ink-faint); margin-bottom: 14px; font-family: var(--font-mono); }
.sc-actions{ display: flex; gap: 10px; }
.sc-actions .btn{ flex: 1; padding: 10px 14px; font-size: 13.5px; }

@media (max-width: 980px){ .startup-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px){ .startup-grid{ grid-template-columns: 1fr; } }

/* ---------------------------------------------------------
   Premium Idea Vault
   --------------------------------------------------------- */
.vault-section{
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #FBFAFF 0%, #F3EFFF 100%);
  padding: 96px 0;
}
.vault-glow{
  position: absolute; top: -180px; right: -140px; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124,77,255,0.20), transparent 70%);
  pointer-events: none;
}
.idea-grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 48px; }
.idea-card{
  position: relative;
  background: #fff;
  border: 1px solid #E8E1FA;
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  text-align: center;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.idea-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-vault); }
.idea-card::before{
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, var(--vault-tint) 140%);
  opacity: .6;
  pointer-events: none;
}
.idea-lock{
  width: 46px; height: 46px; margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--vault-tint);
  color: var(--vault);
  display: flex; align-items: center; justify-content: center;
  font-size: 19px;
  position: relative;
}
.idea-card-label{ font-family: var(--font-display); font-weight: 700; font-size: 15px; margin-bottom: 10px; position: relative; }
.idea-card-cat-label{ font-family: var(--font-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-faint); margin-bottom: 4px; position: relative; }
.idea-card-cat{ font-family: var(--font-mono); font-size: 12.5px; font-weight: 600; color: var(--vault-dark); margin-bottom: 16px; position: relative; }
.idea-card .btn{ position: relative; width: 100%; }

.idea-card-full{ text-align: left; }
.idea-card-full h3{ font-size: 17px; margin-bottom: 6px; }
.idea-card-full p{ font-size: 14px; }

.vault-cta{
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.vault-cta h3{ font-family: var(--font-display); font-size: 26px; margin-bottom: 10px; }
.vault-cta .note{ font-size: 14px; color: var(--ink-faint); margin-top: 14px; }

@media (max-width: 980px){ .idea-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .idea-grid{ grid-template-columns: 1fr; } }

/* ---------------------------------------------------------
   How it works — timeline
   --------------------------------------------------------- */
.hiw-cols{ display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.hiw-col h3{ font-family: var(--font-mono); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-faint); margin-bottom: 24px; font-weight: 600; }
.hiw-steps{ position: relative; }
.hiw-step{ display: flex; gap: 16px; padding-bottom: 30px; position: relative; }
.hiw-step:last-child{ padding-bottom: 0; }
.hiw-step::before{
  content: '';
  position: absolute; left: 17px; top: 36px; bottom: -6px; width: 2px;
  background: var(--border);
}
.hiw-step:last-child::before{ display: none; }
.hiw-num{
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--build-tint); color: var(--build);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  flex-shrink: 0; z-index: 1;
}
.hiw-col.builders .hiw-num{ background: var(--vault-tint); color: var(--vault); }
.hiw-step h4{ font-size: 15.5px; margin-bottom: 3px; }
.hiw-step p{ font-size: 14px; margin: 0; }

@media (max-width: 780px){ .hiw-cols{ grid-template-columns: 1fr; gap: 48px; } }

/* ---------------------------------------------------------
   Community validation preview
   --------------------------------------------------------- */
.validation-panel{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 34px;
  max-width: 720px;
  margin: 0 auto;
}
.vp-head{ display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--border-soft); }
.vp-title{ font-family: var(--font-display); font-weight: 700; font-size: 19px; margin-bottom: 6px; }
.vp-cat{ font-family: var(--font-mono); font-size: 12px; color: var(--vault); background: var(--vault-tint); padding: 3px 10px; border-radius: var(--radius-pill); }
.reaction-grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.reaction-btn{
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 16px 8px;
  border-radius: var(--radius-md);
  background: var(--bg-soft);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .15s ease;
}
.reaction-btn:hover{ border-color: var(--border); background: #fff; box-shadow: var(--shadow-sm); }
.reaction-btn.active{ border-color: var(--build); background: var(--build-tint); }
.reaction-emoji{ font-size: 20px; }
.reaction-count{ font-family: var(--font-mono); font-weight: 700; font-size: 17px; }
.reaction-label{ font-size: 11.5px; color: var(--ink-soft); text-align: center; line-height: 1.25; }
.validation-note{ text-align: center; margin-top: 22px; font-size: 14px; }

@media (max-width: 560px){ .reaction-grid{ grid-template-columns: repeat(2, 1fr); } }

/* ---------------------------------------------------------
   Why NextBuild — benefit cards
   --------------------------------------------------------- */
.benefit-grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.benefit-card{ padding: 6px 4px; }
.benefit-icon{ font-size: 26px; margin-bottom: 14px; display: block; }
.benefit-card h3{ font-size: 16.5px; margin-bottom: 8px; }
.benefit-card p{ font-size: 14px; }
@media (max-width: 980px){ .benefit-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .benefit-grid{ grid-template-columns: 1fr; } }

/* ---------------------------------------------------------
   Pricing
   --------------------------------------------------------- */
.pricing-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 820px;
  margin: 0 auto;
  align-items: stretch;
}
.price-card{
  position: relative;
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease;
}
.price-card:hover{ transform: translateY(-6px); }

.price-icon{
  width: 54px; height: 54px;
  border-radius: 15px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
}

/* Free plan — light, airy, blue-tinted */
.price-card.free{
  background: linear-gradient(160deg, #FFFFFF 0%, var(--build-tint) 200%);
  border: 2px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.price-card.free:hover{ border-color: var(--build); box-shadow: var(--shadow-md); }
.price-card.free .price-icon{ background: var(--build-tint); }
.price-card.free .price-plan{ color: var(--build); }

/* Premium plan — bold gradient, the visual anchor of the section */
.price-card.featured{
  background: linear-gradient(145deg, var(--vault) 0%, #5B3FE0 45%, var(--build) 130%);
  color: #fff;
  box-shadow: 0 28px 64px rgba(91,47,209,0.38);
  border: 2px solid transparent;
}
.price-card.featured:hover{ box-shadow: 0 32px 76px rgba(91,47,209,0.46); }
.price-card.featured .price-icon{ background: rgba(255,255,255,0.18); }
.price-card.featured .price-plan{ color: rgba(255,255,255,0.9); }
.price-card.featured .price-num{ color: #fff; }
.price-card.featured .price-period{ color: rgba(255,255,255,0.75); }
.price-card.featured .price-sub{ color: rgba(255,255,255,0.88); }
.price-card.featured .price-header{ border-bottom-color: rgba(255,255,255,0.2); }
.price-card.featured .price-features li{ color: rgba(255,255,255,0.96); }
.price-card.featured .pf-yes{ color: #fff; }

.price-badge{
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: #fff; color: var(--vault-dark);
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em;
  padding: 6px 16px; border-radius: var(--radius-pill);
  box-shadow: 0 8px 20px rgba(0,0,0,0.18);
  white-space: nowrap;
}

.price-header{ margin-bottom: 24px; padding-bottom: 22px; border-bottom: 1px solid var(--border-soft); }
.price-plan{ display: block; font-family: var(--font-mono); font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--build); margin-bottom: 4px; }
.price-amount{ display: flex; align-items: baseline; gap: 7px; margin: 8px 0 12px; }
.price-num{ font-family: var(--font-display); font-size: 42px; font-weight: 700; color: var(--ink); line-height: 1; }
.price-period{ font-size: 14px; color: var(--ink-faint); }
.price-sub{ font-size: 13.5px; margin: 0; }
.price-features{ list-style: none; margin: 0 0 28px; padding: 0; flex: 1; display: flex; flex-direction: column; gap: 13px; }
.price-features li{ display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: var(--ink); }
.pf-yes{ color: var(--build); font-weight: 700; flex-shrink: 0; }
.pf-no{ color: var(--ink-faint); font-weight: 700; flex-shrink: 0; }
.pricing-note{ text-align: center; margin-top: 30px; font-size: 13.5px; color: var(--ink-faint); }

@media (max-width: 720px){
  .pricing-grid{ grid-template-columns: 1fr; max-width: 420px; }
  .price-card.featured{ order: -1; }
}

/* ---------------------------------------------------------
   Final CTA
   --------------------------------------------------------- */
.final-cta{
  position: relative;
  overflow: hidden;
  margin: 0 24px 0;
  max-width: calc(var(--container) - 0px);
  margin-left: auto; margin-right: auto;
  border-radius: 32px;
  background: linear-gradient(120deg, var(--build) 0%, #4636D9 55%, var(--vault) 100%);
  padding: 84px 40px;
  text-align: center;
  color: #fff;
}
.final-cta::before{
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.18) 1px, transparent 1.4px);
  background-size: 26px 26px;
  opacity: .5;
}
.final-cta h2{ position: relative; color: #fff; font-size: clamp(28px, 4vw, 42px); margin-bottom: 12px; }
.final-cta p{ position: relative; color: rgba(255,255,255,0.86); font-size: 17px; max-width: 520px; margin: 0 auto 32px; }
.final-cta .cta-row{ position: relative; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.final-cta .btn-outline{ background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.final-cta .btn-outline:hover{ background: rgba(255,255,255,0.12); border-color: #fff; }

@media (max-width: 640px){ .final-cta{ padding: 56px 24px; border-radius: 22px; margin: 0 16px; } }

/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */
.site-footer{ background: var(--ink); color: #C9CAE0; padding: 64px 0 0; margin-top: 40px; }
.footer-inner{ max-width: var(--container); margin: 0 auto; padding: 0 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; padding-bottom: 48px; }
.site-footer .brand-name{ color: #fff; }
.footer-tag{ color: #9497B8; margin-top: 10px; font-size: 14px; max-width: 240px; }
.footer-cols{ display: flex; gap: 60px; flex-wrap: wrap; }
.footer-col h4{ font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: #71749B; margin-bottom: 14px; font-weight: 600; }
.footer-col a{ display: block; color: #C9CAE0; font-size: 14.5px; margin-bottom: 10px; }
.footer-col a:hover{ color: #fff; }
.footer-bottom{ border-top: 1px solid rgba(255,255,255,0.08); padding: 22px 24px; text-align: center; font-size: 13px; color: #71749B; }

@media (max-width: 640px){ .footer-inner{ flex-direction: column; gap: 32px; } }

/* ---------------------------------------------------------
   Generic page header (non-home pages)
   --------------------------------------------------------- */
.page-header{ padding: 56px 0 36px; border-bottom: 1px solid var(--border-soft); background: var(--bg-soft); }
.page-header h1{ font-size: clamp(28px, 4vw, 38px); }
.page-header p{ font-size: 16px; max-width: 560px; }

/* ---------------------------------------------------------
   Filters / search bar
   --------------------------------------------------------- */
.filters-bar{ display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding: 28px 0; }
.search-input{
  flex: 1; min-width: 220px;
  padding: 12px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 14.5px;
  background: #fff;
}
.search-input:focus{ border-color: var(--build); }
.cat-pills{ display: flex; flex-wrap: wrap; gap: 8px; }
.cat-pill{
  font-family: var(--font-mono);
  font-size: 12.5px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: #fff;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all .15s ease;
}
.cat-pill:hover{ border-color: var(--build); color: var(--build); }
.cat-pill.active{ background: var(--build); border-color: var(--build); color: #fff; }

/* ---------------------------------------------------------
   Pagination
   --------------------------------------------------------- */
.pagination{ display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pagination a, .pagination span{
  min-width: 38px; height: 38px; padding: 0 10px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-size: 14px; font-weight: 600;
  background: #fff;
}
.pagination a:hover{ border-color: var(--build); color: var(--build); }
.pagination .current{ background: var(--build); color: #fff; border-color: var(--build); }
.pagination .disabled{ opacity: .4; }

/* ---------------------------------------------------------
   Empty states
   --------------------------------------------------------- */
.empty-state{ text-align: center; padding: 70px 20px; }
.empty-state .icon{ font-size: 40px; margin-bottom: 16px; display: block; }
.empty-state h3{ font-size: 19px; margin-bottom: 8px; }
.empty-state p{ max-width: 400px; margin: 0 auto; }

/* ---------------------------------------------------------
   Forms (auth, submit, dashboard)
   --------------------------------------------------------- */
.form-shell{ max-width: 480px; margin: 0 auto; padding: 64px 24px 100px; }
.form-shell.wide{ max-width: 720px; }
.form-card{ background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-sm); }
.form-card h1{ font-size: 26px; margin-bottom: 6px; }
.form-card .lead{ font-size: 14.5px; margin-bottom: 28px; }
.field{ margin-bottom: 20px; }
.field label{ display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 7px; }
.field .hint{ font-size: 12.5px; color: var(--ink-faint); margin-top: 6px; }
.field input[type=text], .field input[type=email], .field input[type=password], .field input[type=url], .field input[type=number], .field input[type=file], .field select, .field textarea{
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-family: inherit;
  background: #fff;
  color: var(--ink);
  transition: border-color .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus{ border-color: var(--build); }
.field textarea{ resize: vertical; min-height: 100px; }
.field-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px){ .field-row{ grid-template-columns: 1fr; } }
.form-foot{ margin-top: 22px; font-size: 14px; text-align: center; color: var(--ink-soft); }
.error-list{ background: var(--red-tint); border: 1px solid #F6D2D2; border-radius: var(--radius-sm); padding: 14px 16px; margin-bottom: 20px; }
.error-list li{ font-size: 13.5px; color: #A11616; margin-bottom: 4px; }
.error-list li:last-child{ margin-bottom: 0; }

/* ---------------------------------------------------------
   Badges / status
   --------------------------------------------------------- */
.badge{ display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-mono); font-size: 11.5px; font-weight: 600; padding: 4px 10px; border-radius: var(--radius-pill); text-transform: uppercase; letter-spacing: .03em; }
.badge-approved, .badge-active{ background: var(--live-tint); color: #0F6B36; }
.badge-pending{ background: var(--amber-tint); color: var(--amber); }
.badge-rejected, .badge-expired{ background: var(--red-tint); color: var(--red); }

/* ---------------------------------------------------------
   Dashboard
   --------------------------------------------------------- */
.dash-shell{ max-width: var(--container); margin: 0 auto; padding: 48px 24px 100px; }
.dash-head{ margin-bottom: 36px; }
.dash-grid{ display: grid; grid-template-columns: 260px 1fr; gap: 32px; }
.dash-nav{ display: flex; flex-direction: column; gap: 4px; }
.dash-nav a{ padding: 11px 14px; border-radius: var(--radius-sm); font-weight: 600; font-size: 14.5px; color: var(--ink-soft); }
.dash-nav a:hover{ background: var(--bg-soft); }
.dash-nav a.active{ background: var(--build-tint); color: var(--build); }
.dash-panel{ display: flex; flex-direction: column; gap: 20px; }
.dash-card{ background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; }
.dash-card h2{ font-size: 18px; margin-bottom: 4px; }
.dash-stat-row{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 8px; }
.dash-stat{ background: var(--bg-soft); border-radius: var(--radius-md); padding: 18px; }
.dash-stat .num{ font-family: var(--font-display); font-size: 24px; font-weight: 700; }
.dash-stat .label{ font-size: 12.5px; color: var(--ink-faint); }

.table-list{ width: 100%; border-collapse: collapse; }
.table-list th{ text-align: left; font-family: var(--font-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-faint); padding: 10px 12px; border-bottom: 1px solid var(--border); }
.table-list td{ padding: 14px 12px; border-bottom: 1px solid var(--border-soft); font-size: 14px; vertical-align: middle; }
.table-list tr:last-child td{ border-bottom: none; }
.table-wrap{ overflow-x: auto; }
.row-actions{ display: flex; gap: 8px; flex-wrap: wrap; }
.row-actions .btn{ padding: 7px 13px; font-size: 12.5px; }

@media (max-width: 860px){ .dash-grid{ grid-template-columns: 1fr; } .dash-nav{ flex-direction: row; overflow-x: auto; } }

/* ---------------------------------------------------------
   Startup profile page
   --------------------------------------------------------- */
.profile-hero{ padding: 52px 0 40px; background: var(--bg-soft); border-bottom: 1px solid var(--border-soft); }
.profile-top{ display: flex; align-items: center; gap: 20px; margin-bottom: 20px; }
.profile-logo{ width: 76px; height: 76px; border-radius: 18px; background: var(--build-tint); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 28px; color: var(--build); overflow: hidden; flex-shrink: 0; }
.profile-logo img{ width: 100%; height: 100%; object-fit: cover; }
.profile-title h1{ font-size: 30px; margin-bottom: 6px; }
.profile-meta{ display: flex; gap: 14px; align-items: center; flex-wrap: wrap; font-size: 13.5px; color: var(--ink-faint); font-family: var(--font-mono); }
.profile-body{ padding: 48px 0 100px; display: grid; grid-template-columns: 1fr 300px; gap: 48px; }
.profile-body h3{ font-size: 16px; margin-bottom: 12px; }
.shot-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
.shot-grid img{ border-radius: var(--radius-md); border: 1px solid var(--border); }
.profile-side .form-card{ padding: 24px; }
@media (max-width: 860px){ .profile-body{ grid-template-columns: 1fr; } }

/* ---------------------------------------------------------
   Idea detail page (unlocked)
   --------------------------------------------------------- */
.idea-detail{ max-width: 760px; margin: 0 auto; padding: 56px 24px 100px; }
.idea-detail-head{ margin-bottom: 32px; }
.idea-block{ margin-bottom: 28px; }
.idea-block h3{ font-family: var(--font-mono); font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--vault); margin-bottom: 8px; }
.idea-block p, .idea-block ul{ font-size: 15.5px; color: var(--ink); }
.idea-block ul{ padding-left: 20px; }

/* ---------------------------------------------------------
   Utility
   --------------------------------------------------------- */
.text-center{ text-align: center; }
.mt-0{ margin-top: 0; }
.mb-0{ margin-bottom: 0; }
.stack{ display: flex; flex-direction: column; gap: 14px; }
.lock-icon-lg{ width: 60px; height: 60px; border-radius: 50%; background: var(--vault-tint); color: var(--vault); display: flex; align-items: center; justify-content: center; font-size: 24px; margin: 0 auto 16px; }
