/* ═══════════════════════════════════════════════════════════════
   araka — x.ai/bot-inspired dark theme.
   Near-black canvas · dark card surfaces · signal-green accent ·
   top fixed navbar · subtle card borders · scroll-reveal animations.
   ═══════════════════════════════════════════════════════════════ */

/* ── Google Fonts import ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* ── dark palette ── */
  --bg-primary:     #0d0d0d;
  --bg-surface:     #141414;
  --bg-card:        #1a1a1a;
  --bg-card-hover:  #222222;
  --bg-elevated:    #252525;

  /* ── text ── */
  --text-primary:   #ffffff;
  --text-secondary: #a0a0a0;
  --text-tertiary:  #666666;
  --text-muted:     #555555;

  /* ── borders ── */
  --border-subtle:  rgba(255,255,255,0.06);
  --border-default: rgba(255,255,255,0.10);
  --border-hover:   rgba(255,255,255,0.18);

  /* ── accent ── */
  --accent-green:   #34c759;
  --accent-green-dim: rgba(52,199,89,0.15);
  --accent-blue:    #3575f8;

  /* ── type ── */
  --font-inter: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* ── spacing ── */
  --s-4: 4px;   --s-6: 6px;   --s-8: 8px;   --s-10: 10px;  --s-12: 12px;
  --s-14: 14px; --s-16: 16px; --s-20: 20px;  --s-24: 24px;  --s-28: 28px;
  --s-32: 32px; --s-40: 40px; --s-48: 48px;  --s-56: 56px;  --s-64: 64px;
  --s-80: 80px; --s-96: 96px; --s-120: 120px;

  /* ── layout ── */
  --page-max: 1200px;
  --navbar-h: 72px;

  /* ── radii ── */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;
  --r-2xl: 24px;
  --r-pill: 100px;

  /* ── transitions ── */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 150ms;
  --t-mid:  250ms;
  --t-slow: 400ms;
}


/* ═══════════════════════════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-inter);
  background: var(--bg-primary);
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--text-primary); font-weight: 500; line-height: 1.15; }
code { background: var(--bg-elevated); padding: .15em .5em; border-radius: 6px; font-size: .88em; color: var(--text-primary); }
::selection { background: var(--accent-green); color: #000; }

.container { max-width: var(--page-max); margin: 0 auto; padding: 0 var(--s-24); }
.muted { color: var(--text-secondary); }
.micro { font-size: 12px; color: var(--text-tertiary); margin-top: var(--s-8); }
.ok { color: var(--accent-green); }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent-green); color: #000;
  padding: 8px 16px; z-index: 200; border-radius: 0 0 10px 0;
  font-weight: 500;
}
.skip-link:focus { left: 0; }


/* ═══════════════════════════════════════════════════════════════
   TOP NAVBAR  (fixed, full-width)
   ═══════════════════════════════════════════════════════════════ */

.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100; height: var(--navbar-h);
  display: flex; align-items: center;
  padding: 0 var(--s-32);
  background: rgba(13,13,13,0.8);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--t-mid) var(--ease-out), border-color var(--t-mid) var(--ease-out);
}
.navbar.scrolled {
  background: rgba(13,13,13,0.95);
  border-bottom-color: var(--border-default);
}

.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 18px; color: var(--text-primary);
  letter-spacing: -0.01em;
  margin-right: auto;
}
.nav-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 8px rgba(52,199,89,0.4);
}

.nav-links {
  display: flex; align-items: center; gap: var(--s-6);
  position: absolute; left: 50%; transform: translateX(-50%);
}
.nav-links a {
  font-size: 14px; font-weight: 400; color: var(--text-secondary);
  padding: 8px 14px; border-radius: var(--r-pill);
  transition: color var(--t-fast), background var(--t-fast);
}
.nav-links a:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.06);
}

.nav-actions {
  display: flex; align-items: center; gap: var(--s-10);
  margin-left: auto;
}

.btn-nav-ghost {
  font-size: 14px; font-weight: 500; color: var(--text-secondary);
  padding: 9px 18px; border-radius: var(--r-pill);
  border: 1px solid var(--border-default);
  background: transparent;
  cursor: pointer;
  transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast);
}
.btn-nav-ghost:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
  background: rgba(255,255,255,0.04);
}

.btn-nav-primary {
  font-size: 14px; font-weight: 500; color: #000;
  padding: 9px 20px; border-radius: var(--r-pill);
  border: none;
  background: var(--text-primary);
  cursor: pointer;
  transition: opacity var(--t-fast), transform var(--t-fast);
}
.btn-nav-primary:hover { opacity: 0.88; transform: translateY(-1px); }


/* ═══════════════════════════════════════════════════════════════
   BUTTONS (global)
   ═══════════════════════════════════════════════════════════════ */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; cursor: pointer; text-align: center;
  border-radius: var(--r-pill); font-family: var(--font-inter);
  font-size: 15px; font-weight: 500; padding: 14px 28px;
  transition: transform var(--t-fast), opacity var(--t-fast), background var(--t-fast), border-color var(--t-fast);
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--text-primary); color: #000;
}
.btn-primary:hover { opacity: 0.9; }

.btn-ghost {
  background: transparent; color: var(--text-primary);
  border: 1px solid var(--border-default);
}
.btn-ghost:hover { border-color: var(--border-hover); background: rgba(255,255,255,0.04); }

.btn-green {
  background: var(--accent-green); color: #000;
}
.btn-green:hover { opacity: 0.9; }

.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-sm { padding: 10px 20px; font-size: 13px; }
.btn-block { display: flex; width: 100%; }
.btn-outline {
  display: inline-block; border: 1px solid var(--border-default);
  border-radius: var(--r-pill); padding: 9px 18px;
  font-size: 14px; font-weight: 500; color: var(--text-primary);
  background: transparent;
}
.btn-outline:hover { border-color: var(--border-hover); }

.text-link { color: var(--accent-green); font-size: 14px; font-weight: 500; }
.text-link:hover { text-decoration: underline; }


/* ═══════════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════════ */

.hero {
  padding: calc(var(--navbar-h) + 80px) 0 var(--s-64);
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(52,199,89,0.1);
  border: 1px solid rgba(52,199,89,0.25);
  border-radius: var(--r-pill);
  padding: 8px 20px; font-size: 13px;
  color: var(--accent-green); font-weight: 500;
  margin-bottom: var(--s-32);
  animation: fadeInDown 0.6s var(--ease-out) both;
}
.hero-badge .badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-green);
  animation: pulse-dot 2s infinite;
}
.hero-badge a { color: var(--text-secondary); margin-left: 4px; }
.hero-badge a:hover { color: var(--text-primary); }

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero h1 {
  font-size: clamp(48px, 8vw, 80px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: var(--s-24);
  animation: fadeInUp 0.7s var(--ease-out) 0.1s both;
}
.hero h1 .accent {
  background: linear-gradient(135deg, var(--accent-green) 0%, #7dd3a0 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero .sub {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
  animation: fadeInUp 0.7s var(--ease-out) 0.2s both;
}

.hero-cta {
  display: flex; gap: var(--s-14); justify-content: center;
  margin: var(--s-40) 0 var(--s-16);
  flex-wrap: wrap;
  animation: fadeInUp 0.7s var(--ease-out) 0.3s both;
}

.hero-note {
  font-size: 13px; color: var(--text-tertiary);
  animation: fadeInUp 0.7s var(--ease-out) 0.4s both;
}


/* ═══════════════════════════════════════════════════════════════
   CHAT MOCKUP  (dark themed)
   ═══════════════════════════════════════════════════════════════ */

.mockup-wrap {
  max-width: 980px; margin: var(--s-48) auto var(--s-96);
  padding: 0 var(--s-24);
  animation: fadeInUp 0.8s var(--ease-out) 0.5s both;
}

.mockup {
  border-radius: var(--r-2xl);
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 480px;
}

/* ── sidebar ── */
.mockup-sidebar {
  background: var(--bg-card);
  border-right: 1px solid var(--border-subtle);
  padding: var(--s-16);
}
.mockup-sidebar-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: var(--s-12);
  margin-bottom: var(--s-12);
}
.mockup-dots {
  display: flex; gap: 6px;
}
.mockup-dots span {
  width: 12px; height: 12px; border-radius: 50%;
}
.mockup-dots span:nth-child(1) { background: #ff5f57; }
.mockup-dots span:nth-child(2) { background: #febd2e; }
.mockup-dots span:nth-child(3) { background: #28c840; }
.mockup-plus {
  color: var(--text-tertiary); font-size: 20px; cursor: pointer;
}

.mockup-search {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--r-sm);
  padding: 8px 12px; margin-bottom: var(--s-16);
}
.mockup-search svg { width: 14px; height: 14px; color: var(--text-tertiary); }
.mockup-search span { font-size: 13px; color: var(--text-tertiary); }

.sidebar-item {
  display: flex; align-items: center; gap: var(--s-10);
  padding: 10px 12px; border-radius: var(--r-md);
  margin-bottom: 2px;
  cursor: pointer;
  transition: background var(--t-fast);
}
.sidebar-item:hover { background: rgba(255,255,255,0.04); }
.sidebar-item.active { background: rgba(255,255,255,0.08); }

.sidebar-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; flex-shrink: 0;
}
.sidebar-info { flex: 1; min-width: 0; }
.sidebar-name {
  font-size: 13px; font-weight: 500; color: var(--text-primary);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sidebar-preview {
  font-size: 11px; color: var(--text-tertiary);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sidebar-time {
  font-size: 10px; color: var(--text-tertiary);
  flex-shrink: 0;
}

/* ── chat area ── */
.mockup-chat {
  display: flex; flex-direction: column;
  padding: var(--s-20);
}
.mockup-chat-header {
  display: flex; align-items: center; gap: var(--s-10);
  padding-bottom: var(--s-16);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: var(--s-16);
}
.mockup-chat-header .sidebar-avatar { width: 32px; height: 32px; font-size: 12px; }
.mockup-chat-title { font-size: 14px; font-weight: 500; color: var(--text-primary); }
.mockup-chat-icon {
  margin-left: auto; width: 20px; height: 20px;
  color: var(--text-tertiary);
}

.chat-messages {
  flex: 1; display: flex; flex-direction: column; gap: var(--s-10);
  overflow: hidden;
}
.chat-time-label {
  text-align: center; font-size: 11px; color: var(--text-tertiary);
  margin: var(--s-8) 0;
}

.bubble {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--text-primary);
}
.bubble.bot {
  background: rgba(255,255,255,0.06);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  color: var(--text-secondary);
}
.bubble.them {
  background: var(--accent-green-dim);
  border: 1px solid rgba(52,199,89,0.2);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  color: var(--text-primary);
}
.bubble .t {
  color: var(--text-muted); font-size: 9px;
  display: block; margin-top: 4px;
  text-transform: uppercase; letter-spacing: .04em;
}
.bubble-status {
  font-size: 11px; color: var(--text-tertiary);
  text-align: center; margin-top: var(--s-6);
}

.chat-input {
  display: flex; align-items: center; gap: var(--s-10);
  margin-top: auto; padding-top: var(--s-16);
  border-top: 1px solid var(--border-subtle);
}
.chat-input-plus {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-tertiary); font-size: 16px; cursor: pointer;
}
.chat-input-field {
  flex: 1; background: transparent;
  border: none; outline: none;
  font-size: 13px; color: var(--text-tertiary);
  font-family: var(--font-inter);
}
.chat-input-mic {
  width: 20px; height: 20px; color: var(--text-tertiary); cursor: pointer;
}


/* ═══════════════════════════════════════════════════════════════
   SECTION COMMON
   ═══════════════════════════════════════════════════════════════ */

section {
  padding: var(--s-80) 0;
}
.section-label {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text-tertiary); font-weight: 500;
  margin-bottom: var(--s-12);
}
.section-heading {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 500; letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: var(--s-16);
}
.section-sub {
  font-size: 17px; color: var(--text-secondary);
  max-width: 640px; line-height: 1.6;
}
.section-sub.center { margin: 0 auto; text-align: center; }

/* ── scroll reveal ── */
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.visible {
  opacity: 1; transform: translateY(0);
}


/* ═══════════════════════════════════════════════════════════════
   STATEMENT + SECTION HEADER (centered text blocks)
   ═══════════════════════════════════════════════════════════════ */

.statement {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--s-56);
}
.statement h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.statement p {
  color: var(--text-secondary);
  margin-top: var(--s-16);
  font-size: 17px;
  line-height: 1.6;
}


/* ═══════════════════════════════════════════════════════════════
   FEATURE CARDS  (dark surfaces)
   ═══════════════════════════════════════════════════════════════ */

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-20); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-20); }

.card {
  background: var(--bg-card);
  border-radius: var(--r-xl);
  padding: var(--s-28);
  border: 1px solid var(--border-subtle);
  transition: border-color var(--t-mid) var(--ease-out), background var(--t-mid) var(--ease-out), transform var(--t-mid) var(--ease-out);
}
.card:hover {
  border-color: var(--border-default);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.card h3 {
  font-size: 17px; font-weight: 500;
  margin-bottom: var(--s-8);
  color: var(--text-primary);
}
.card p {
  font-size: 14px; color: var(--text-secondary);
  line-height: 1.55;
}
.card .text-link {
  display: inline-block; margin-top: var(--s-12);
  font-size: 13px;
}
.card-icon {
  font-size: 24px; margin-bottom: var(--s-14);
  display: block;
}


/* ═══════════════════════════════════════════════════════════════
   CAPABILITIES — TABBED SECTION
   ═══════════════════════════════════════════════════════════════ */

.capabilities {
  padding: var(--s-96) 0;
}

.cap-tabs {
  display: flex; flex-wrap: wrap; gap: var(--s-8);
  margin-bottom: var(--s-40);
}
.cap-tab {
  font-size: 13px; font-weight: 500;
  padding: 8px 18px; border-radius: var(--r-pill);
  border: 1px solid var(--border-default);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--t-fast);
  font-family: var(--font-inter);
}
.cap-tab:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
}
.cap-tab.active {
  background: var(--text-primary);
  color: #000;
  border-color: var(--text-primary);
}

.cap-content {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-48);
  align-items: center;
}
.cap-text h3 {
  font-size: 24px; font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: var(--s-16);
}
.cap-text p {
  font-size: 15px; color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--s-24);
}
.cap-text .btn { font-size: 14px; }

.cap-visual {
  background: var(--bg-card);
  border-radius: var(--r-xl);
  border: 1px solid var(--border-subtle);
  padding: var(--s-24);
  min-height: 320px;
  display: flex; flex-direction: column; justify-content: center;
}

/* Tab panels */
.cap-panel { display: none; }
.cap-panel.active { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-48); align-items: center; }


/* ═══════════════════════════════════════════════════════════════
   PROMISE  (centered dark statement)
   ═══════════════════════════════════════════════════════════════ */

.promise {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  padding: var(--s-64) 0;
}
.promise h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: var(--s-16);
}
.promise p {
  font-size: 15px;
  color: var(--text-secondary);
}
.promise strong { color: var(--text-primary); font-weight: 500; }


/* ═══════════════════════════════════════════════════════════════
   CASE STUDIES & REVIEWS  (dark cards)
   ═══════════════════════════════════════════════════════════════ */

.case-tag {
  font-size: 10px; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--accent-green);
  font-weight: 600; margin-bottom: var(--s-10);
}
.case p:nth-child(2) {
  font-size: 15px; color: var(--text-secondary);
  font-style: italic;
}
.case p:nth-child(3) {
  margin-top: var(--s-10); font-size: 13px;
  color: var(--text-tertiary);
}

.stars {
  color: var(--accent-green);
  letter-spacing: 3px;
  font-size: 14px;
  margin-bottom: var(--s-10);
}

.review p:nth-child(2) {
  font-size: 15px; color: var(--text-secondary);
  font-style: italic;
}
.review p:nth-child(3) {
  margin-top: var(--s-10); font-size: 13px;
  color: var(--text-tertiary);
}


/* ═══════════════════════════════════════════════════════════════
   TEAM
   ═══════════════════════════════════════════════════════════════ */

.person {
  display: flex; gap: var(--s-16); align-items: flex-start;
}
.avatar {
  width: 48px; height: 48px; flex: 0 0 48px;
  border-radius: 50%;
  background: var(--bg-elevated);
  color: var(--text-secondary);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600;
  border: 1px solid var(--border-default);
}


/* ═══════════════════════════════════════════════════════════════
   FAQ — split layout, accordion with +/× icons
   ═══════════════════════════════════════════════════════════════ */

.faq-section {
  padding: var(--s-96) 0;
}
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: var(--s-80);
  align-items: start;
}
.faq-title h2 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 500;
  letter-spacing: -0.03em;
  position: sticky; top: calc(var(--navbar-h) + var(--s-32));
}

.faq-list {
  display: flex; flex-direction: column;
}

.faq-item {
  border-top: 1px solid var(--border-default);
  overflow: hidden;
}
.faq-item:last-child {
  border-bottom: 1px solid var(--border-default);
}

.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
  padding: var(--s-20) 0;
  background: none; border: none;
  cursor: pointer;
  font-family: var(--font-inter);
  font-size: 15px; font-weight: 500;
  color: var(--text-primary);
  text-align: left;
  gap: var(--s-16);
  transition: color var(--t-fast);
}
.faq-question:hover { color: var(--accent-green); }

.faq-icon {
  width: 20px; height: 20px; flex-shrink: 0;
  position: relative;
  color: var(--text-tertiary);
  transition: transform var(--t-mid) var(--ease-out), color var(--t-fast);
}
.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  transition: transform var(--t-mid) var(--ease-out);
}
.faq-icon::before {
  width: 16px; height: 1.5px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.faq-icon::after {
  width: 1.5px; height: 16px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

.faq-item.open .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}
.faq-item.open .faq-icon {
  color: var(--text-primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-slow) var(--ease-out), padding var(--t-slow) var(--ease-out);
}
.faq-item.open .faq-answer {
  max-height: 300px;
}
.faq-answer p {
  font-size: 14px; color: var(--text-secondary);
  line-height: 1.6;
  padding-bottom: var(--s-20);
}


/* ═══════════════════════════════════════════════════════════════
   BOTTOM CTA
   ═══════════════════════════════════════════════════════════════ */

.bottom-cta {
  text-align: center;
  padding: var(--s-96) 0 var(--s-80);
  position: relative;
}
.bottom-cta-surface {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-2xl);
  padding: var(--s-80) var(--s-40);
  max-width: 960px;
  margin: 0 auto;
}
.bottom-cta h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: var(--s-8);
}
.bottom-cta p.sub-desc {
  font-size: 16px; color: var(--text-secondary);
  margin-bottom: var(--s-32);
  max-width: 480px; margin-left: auto; margin-right: auto;
}
.bottom-cta .btn-row {
  display: flex; gap: var(--s-14); justify-content: center; flex-wrap: wrap;
  margin-bottom: var(--s-14);
}


/* ═══════════════════════════════════════════════════════════════
   TRUST BAR
   ═══════════════════════════════════════════════════════════════ */

.trust {
  text-align: center;
  padding: var(--s-48) 0 var(--s-80);
  border-top: 1px solid var(--border-subtle);
}
.trust-label {
  font-size: 10px; text-transform: uppercase;
  letter-spacing: .1em; color: var(--text-tertiary);
  font-weight: 500;
}
.trust-row {
  display: flex; gap: var(--s-48); justify-content: center;
  flex-wrap: wrap; margin-top: var(--s-20);
}
.trust-row span {
  color: var(--text-muted);
  font-weight: 600; font-size: 15px;
  letter-spacing: .02em;
  opacity: .6;
  transition: opacity var(--t-mid);
}
.trust-row span:hover { opacity: 1; }


/* ═══════════════════════════════════════════════════════════════
   FOOTER  (dark, multi-column)
   ═══════════════════════════════════════════════════════════════ */

.footer {
  border-top: 1px solid var(--border-default);
  margin-top: var(--s-48);
  padding: var(--s-64) 0 var(--s-80);
  background: var(--bg-primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--s-40);
}

.footer-brand {
  font-weight: 700; font-size: 16px;
  margin-bottom: var(--s-10);
  color: var(--text-primary);
  display: flex; align-items: center; gap: 8px;
}
.footer-brand .nav-dot {
  width: 8px; height: 8px;
}

.footer-desc {
  font-size: 13px; color: var(--text-tertiary);
  line-height: 1.55;
}

.footer-head {
  font-size: 11px; text-transform: uppercase;
  letter-spacing: .08em; color: var(--text-secondary);
  font-weight: 600; margin-bottom: var(--s-14);
}

.footer a {
  display: block; color: var(--text-tertiary);
  padding: 4px 0; font-size: 13px;
  transition: color var(--t-fast);
}
.footer a:hover { color: var(--text-primary); }

.copyright {
  margin-top: var(--s-40);
  padding-top: var(--s-20);
  border-top: 1px solid var(--border-subtle);
  font-size: 12px;
  color: var(--text-muted);
}


/* ═══════════════════════════════════════════════════════════════
   BREADCRUMBS
   ═══════════════════════════════════════════════════════════════ */

.breadcrumbs {
  max-width: var(--page-max); margin: 0 auto;
  padding: calc(var(--navbar-h) + var(--s-20)) var(--s-24) 0;
  font-size: 12px; color: var(--text-tertiary);
}
.breadcrumbs a { color: var(--text-secondary); }
.breadcrumbs a:hover { color: var(--text-primary); }
.breadcrumbs span[aria-current] { color: var(--text-primary); }


/* ═══════════════════════════════════════════════════════════════
   PAGE HEAD / STEPS (how it works, etc.)
   ═══════════════════════════════════════════════════════════════ */

.page-head {
  max-width: 680px; margin: 0 auto;
  padding: calc(var(--navbar-h) + var(--s-48)) 0 var(--s-20);
  text-align: center;
}
.page-head h1 {
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 500; letter-spacing: -0.03em;
}
.page-head .lede { color: var(--text-secondary); margin-top: var(--s-14); }
.step {
  max-width: 640px; margin: 0 auto;
  padding: var(--s-32) 0;
  border-bottom: 1px solid var(--border-subtle);
}
.step:last-of-type { border-bottom: 0; }
.step h2 { font-size: 20px; font-weight: 500; margin-bottom: var(--s-8); }
.step p { font-size: 15px; color: var(--text-secondary); }


/* ═══════════════════════════════════════════════════════════════
   FORMS / AUTH CARDS
   ═══════════════════════════════════════════════════════════════ */

.auth-card {
  max-width: 440px; margin: calc(var(--navbar-h) + var(--s-48)) auto;
  background: var(--bg-card);
  border-radius: var(--r-xl);
  padding: var(--s-32);
  border: 1px solid var(--border-default);
}
.auth-card h1 {
  font-size: 25px; font-weight: 500;
  letter-spacing: -0.01em; margin-bottom: 4px;
}
.auth-alt { margin-top: var(--s-16); font-size: 14px; }

.form { display: flex; flex-direction: column; gap: 6px; margin-top: var(--s-16); }
.form label {
  font-size: 10px; text-transform: uppercase;
  letter-spacing: .06em; font-weight: 500;
  color: var(--text-tertiary); margin-top: var(--s-10);
}
.form input, .form select {
  padding: 12px 14px;
  border: 1px solid var(--border-default);
  border-radius: var(--r-md);
  font-size: 15px; font-family: var(--font-inter);
  background: var(--bg-surface);
  color: var(--text-primary);
  width: 100%;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.form input:focus, .form select:focus {
  outline: none;
  border-color: var(--accent-green);
  box-shadow: 0 0 0 3px var(--accent-green-dim);
}
.form .btn { margin-top: var(--s-20); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-14); }
.form input:disabled { background: var(--bg-elevated); color: var(--text-muted); }

.flashes { max-width: 440px; margin: var(--s-20) auto 0; }
.flash {
  padding: 12px 16px; border-radius: var(--r-md);
  margin-bottom: var(--s-8); font-size: 14px;
  background: var(--bg-card); border: 1px solid var(--border-default);
}
.flash-success { color: var(--accent-green); border-color: rgba(52,199,89,0.3); }
.flash-error { color: var(--text-primary); border-left: 3px solid var(--accent-green); }


/* ═══════════════════════════════════════════════════════════════
   PRICING  (dark cards)
   ═══════════════════════════════════════════════════════════════ */

.pricing-grid {
  display: grid; grid-template-columns: 1.35fr 1fr;
  gap: var(--s-20); align-items: start;
  padding-bottom: var(--s-40);
}
.plan-card {
  padding: var(--s-32);
  background: var(--bg-card);
  border-radius: var(--r-xl);
  border: 1px solid var(--border-default);
}
.plan-name {
  font-size: 10px; text-transform: uppercase;
  letter-spacing: .08em; color: var(--text-tertiary);
  font-weight: 500;
}
.plan-price {
  font-size: 56px; font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin: var(--s-8) 0;
}
.plan-price span { font-size: 16px; color: var(--text-secondary); letter-spacing: 0; }
.plan-list { list-style: none; margin: var(--s-16) 0; }
.plan-list li { font-size: 14px; padding: 5px 0; color: var(--text-secondary); }
.muted-list li { color: var(--text-tertiary); }
.plan-form { margin-top: var(--s-16); border-top: 1px solid var(--border-subtle); padding-top: var(--s-16); }
.coupon-row input { text-transform: uppercase; letter-spacing: .05em; font-weight: 500; }
.plan-side {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
}
.plan-side h3 { font-size: 14px; font-weight: 500; }


/* ═══════════════════════════════════════════════════════════════
   CHECKOUT / DASHBOARD
   ═══════════════════════════════════════════════════════════════ */

.order-summary {
  background: var(--bg-surface); border-radius: var(--r-md);
  padding: var(--s-16) var(--s-20); margin: var(--s-16) 0; font-size: 14px;
  border: 1px solid var(--border-subtle);
}
.demo-note {
  background: var(--bg-surface);
  border-radius: var(--r-md);
  padding: var(--s-14) var(--s-16); font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: var(--s-8);
  border: 1px solid var(--border-subtle);
}
.dash-actions { display: flex; gap: var(--s-10); flex-wrap: wrap; margin-top: var(--s-20); }
.after-activate { margin-top: var(--s-20); border-top: 1px solid var(--border-subtle); padding-top: var(--s-16); }
.after-activate ol { padding-left: 20px; color: var(--text-secondary); font-size: 14px; }
.thank-you { text-align: center; }
.big-emoji { font-size: 2.4rem; }
.next-steps {
  text-align: left; background: var(--bg-surface);
  border-radius: var(--r-md); padding: var(--s-16) var(--s-20);
  margin: var(--s-16) 0; font-size: 14px;
  border: 1px solid var(--border-subtle);
}
.receipt { font-size: 13px; margin-top: var(--s-8); }
.notfound { text-align: center; }


/* ═══════════════════════════════════════════════════════════════
   LEGAL
   ═══════════════════════════════════════════════════════════════ */

.legal {
  max-width: 680px; margin: 0 auto;
  padding: calc(var(--navbar-h) + var(--s-48)) 0 var(--s-80);
}
.legal h1 { font-size: 40px; font-weight: 400; letter-spacing: -0.02em; margin-bottom: var(--s-8); }
.legal h2 { font-size: 20px; font-weight: 500; margin: var(--s-32) 0 var(--s-8); }
.legal p, .legal li { font-size: 15px; color: var(--text-secondary); }
.legal ul { padding-left: 22px; }


/* ═══════════════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════════════ */

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}


/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 960px) {
  .mockup {
    grid-template-columns: 1fr;
  }
  .mockup-sidebar {
    display: none;
  }
  .faq-layout {
    grid-template-columns: 1fr;
    gap: var(--s-40);
  }
  .faq-title h2 {
    position: static;
  }
  .cap-panel.active {
    grid-template-columns: 1fr;
    gap: var(--s-32);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--s-32);
  }
  .pricing-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .navbar { padding: 0 var(--s-20); }
  .hero { padding-top: calc(var(--navbar-h) + var(--s-48)); }
  .hero h1 { font-size: clamp(36px, 10vw, 56px); }
  section { padding: var(--s-56) 0; }
}

@media (max-width: 640px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--s-28); }
  .hero-cta { flex-direction: column; align-items: center; }
  .hero-cta .btn { width: 100%; max-width: 300px; }
  .bottom-cta-surface { padding: var(--s-48) var(--s-24); }
  .mockup-wrap { margin-bottom: var(--s-64); }
}


/* ═══════════════════════════════════════════════════════════════
   MOBILE NAV TOGGLE
   ═══════════════════════════════════════════════════════════════ */

.nav-toggle {
  display: none;
  background: none; border: none;
  cursor: pointer; padding: 8px;
  color: var(--text-secondary);
}
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 768px) {
  .nav-toggle { display: block; }
}
