/* =============================================================================
   The Extreme AI — Shared Landing Page design system
   Reuses the site's tokens, nav, footer, buttons, sections, FAQ and Calendly.
   Used by: ai-agents, ai-chatbots, ai-automation, ai-seo
   ============================================================================= */

:root {
  --cobalt: #0040FF;
  --cobalt-deep: #0033CC;
  --cobalt-soft: #E5EBFF;
  --cobalt-glow: rgba(0,64,255,0.18);
  --solar: #FF6B35;
  --solar-soft: #FFE8DD;
  --mint: #10B981;
  --mint-soft: #ECFDF5;
  --gold: #F59E0B;
  --gold-soft: #FEF3C7;
  --coral: #F43F5E;
  --sky: #06B6D4;
  --sky-soft: #ECFEFF;
  --purple: #8B5CF6;
  --purple-soft: #F3EFFF;
  --ink: #0A0A0A;
  --ink-soft: #18181B;
  --fg2: #3A3A3A;
  --fg3: #6B6B6B;
  --muted: #71717A;
  --line: #E4E4E7;
  --paper: #FAFAFA;
  --paper-2: #F4F4F5;
  --surface: #FFFFFF;
  --white: #FFFFFF;
  --font-display: 'Satoshi','Bricolage Grotesque','Inter',sans-serif;
  --font-body: 'Inter',system-ui,sans-serif;
  --font-mono: 'JetBrains Mono',monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.lp-container { max-width: 1180px; margin: 0 auto; padding: 0 32px; }

/* ── NAV (reused pattern) ── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center;
  padding: 0 32px; height: 56px; gap: 28px;
}
.nav-logo {
  font-family: var(--font-display);
  font-weight: 700; font-size: 15px; letter-spacing: -0.02em;
  color: var(--ink); flex-shrink: 0;
  display: flex; align-items: center; gap: 9px;
}
.nav-logo span { color: var(--cobalt); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  font-size: 13.5px; color: var(--muted);
  padding: 6px 10px; border-radius: 6px;
  transition: color 120ms, background 120ms;
}
.nav-link:hover { color: var(--ink); background: var(--paper-2); }
.nav-link.active { color: var(--cobalt); background: var(--cobalt-soft); }
.nav-sep { flex: 1; }
.nav-back {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--muted);
  padding: 7px 12px; border-radius: 7px; border: 1px solid var(--line);
  transition: all 120ms;
}
.nav-back:hover { color: var(--ink); border-color: var(--ink); }
.nav-cta {
  padding: 9px 16px; background: var(--ink); color: var(--paper);
  border-radius: 8px; font-size: 13.5px; font-weight: 500;
  white-space: nowrap; transition: opacity 140ms;
}
.nav-cta:hover { opacity: 0.85; }

/* ── BUTTONS (reused) ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 10px;
  font-weight: 500; font-size: 15px; line-height: 1;
  cursor: pointer; border: none; text-align: center;
  transition: all 160ms cubic-bezier(0.2,0,0,1);
}
.btn-cobalt { background: var(--cobalt); color: #fff; box-shadow: 0 2px 8px rgba(0,64,255,0.24); }
.btn-cobalt:hover { background: var(--cobalt-deep); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,64,255,0.32); }
.btn-outline { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.btn-outline:hover { border-color: rgba(0,0,0,0.22); background: var(--paper-2); }
.btn-lg { padding: 16px 30px; font-size: 16px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── SECTION HELPERS (reused) ── */
.section { max-width: 1180px; margin: 0 auto; padding: 88px 32px; }
.section-sm { padding: 56px 32px; }
.section-kicker {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em;
  color: var(--muted); display: flex; align-items: center; gap: 8px; margin-bottom: 14px;
  text-transform: uppercase;
}
.section-kicker::before { content: ''; width: 6px; height: 6px; border-radius: 1px; background: var(--cobalt); display: inline-block; }
.section-kicker.solar::before { background: var(--solar); }
.section-kicker.mint::before { background: var(--mint); }
.section-kicker.gold::before { background: var(--gold); }
.section-h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(28px, 3.5vw, 44px); letter-spacing: -0.04em; line-height: 1.06; margin-bottom: 14px;
}
.section-sub { font-size: 17px; color: var(--muted); max-width: 600px; line-height: 1.6; }
.section-head-center { text-align: center; }
.section-head-center .section-kicker { justify-content: center; }
.section-head-center .section-sub { margin-left: auto; margin-right: auto; }

/* ── HERO ── */
.lp-hero {
  position: relative; overflow: hidden;
  padding: clamp(64px, 9vw, 120px) 32px clamp(56px, 7vw, 96px);
  background:
    radial-gradient(900px 420px at 78% -8%, var(--cobalt-soft), transparent 70%),
    radial-gradient(700px 360px at 0% 110%, var(--solar-soft), transparent 70%),
    var(--surface);
  border-bottom: 1px solid var(--line);
}
.lp-hero-inner { max-width: 1180px; margin: 0 auto; }
.lp-hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.lp-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em;
  color: var(--cobalt); background: var(--cobalt-soft);
  padding: 6px 12px; border-radius: 100px; margin-bottom: 20px;
}
.lp-h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(34px, 5.2vw, 60px); line-height: 1.04; letter-spacing: -0.045em;
  margin-bottom: 18px;
}
.lp-h1 em { font-style: normal; color: var(--cobalt); }
.lp-sub { font-size: clamp(16px, 2vw, 20px); color: var(--fg2); max-width: 600px; line-height: 1.55; margin-bottom: 28px; }
.lp-hero-trust {
  margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px 18px;
  font-family: var(--font-mono); font-size: 12px; color: var(--muted); align-items: center;
}
.lp-hero-trust .sep { color: var(--line); }
.lp-hero-visual {
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.07); padding: 22px; display: flex; flex-direction: column; gap: 12px;
}
.lp-hero-visual .vrow {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--paper);
  font-size: 14px; font-weight: 500;
}
.lp-hero-visual .vdot { width: 10px; height: 10px; border-radius: 50%; background: var(--mint); flex-shrink: 0; box-shadow: 0 0 0 4px var(--mint-soft); }

/* ── GRIDS / CARDS ── */
.lp-grid { display: grid; gap: 18px; }
.cols-2 { grid-template-columns: repeat(2,1fr); }
.cols-3 { grid-template-columns: repeat(3,1fr); }
.lp-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: 26px 24px; transition: transform 160ms, box-shadow 160ms, border-color 160ms;
}
.lp-card:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,0.06); border-color: rgba(0,0,0,0.12); }
.lp-card-icon {
  width: 44px; height: 44px; border-radius: 11px; display: flex; align-items: center; justify-content: center;
  background: var(--cobalt-soft); color: var(--cobalt); margin-bottom: 16px;
}
.lp-card-icon.solar { background: var(--solar-soft); color: var(--solar); }
.lp-card-icon.mint { background: var(--mint-soft); color: var(--mint); }
.lp-card-icon.gold { background: var(--gold-soft); color: var(--gold); }
.lp-card-icon.sky { background: var(--sky-soft); color: var(--sky); }
.lp-card-icon.purple { background: var(--purple-soft); color: var(--purple); }
.lp-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: -0.02em; margin-bottom: 7px; }
.lp-card p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* pain points — muted/problem framing */
.lp-pain { background: var(--paper); border-color: var(--line); }
.lp-pain h3 { color: var(--ink); }
.lp-pain .x { color: var(--coral); }

/* ── STEPS (how it works) ── */
.lp-steps { display: grid; gap: 16px; counter-reset: step; }
.lp-step {
  display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start;
  padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface);
}
.lp-step-num {
  width: 44px; height: 44px; border-radius: 12px; background: var(--ink); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
}
.lp-step h3 { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -0.02em; margin-bottom: 6px; }
.lp-step p { font-size: 14.5px; color: var(--muted); line-height: 1.6; }

/* ── METRICS / TRUST STRIP ── */
.lp-metrics {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 24px;
  background: var(--ink); border-radius: 20px; padding: 40px 32px; color: #fff;
}
.lp-metric .mv { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px,3.4vw,40px); letter-spacing: -0.03em; }
.lp-metric .ml { font-size: 13px; color: rgba(255,255,255,0.66); margin-top: 4px; }
.lp-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 32px; }
.lp-logo-chip {
  font-family: var(--font-mono); font-size: 13px; color: var(--muted);
  border: 1px dashed var(--line); border-radius: 8px; padding: 10px 18px;
}

/* ── INDUSTRIES (chips) ── */
.lp-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.lp-chip {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line); border-radius: 100px; padding: 10px 18px;
  font-size: 14px; font-weight: 500; background: var(--surface);
}
.lp-chip::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--cobalt); }

/* ── BENEFITS list ── */
.lp-benefits { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px 28px; }
.lp-benefit { display: flex; gap: 12px; align-items: flex-start; }
.lp-benefit .ck {
  width: 24px; height: 24px; border-radius: 50%; background: var(--cobalt-soft); color: var(--cobalt);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px;
}
.lp-benefit h4 { font-family: var(--font-display); font-size: 15.5px; font-weight: 700; letter-spacing: -0.015em; margin-bottom: 2px; }
.lp-benefit p { font-size: 13.5px; color: var(--muted); line-height: 1.55; }

/* ── TESTIMONIAL placeholder ── */
.lp-testimonial {
  border: 1px solid var(--line); border-radius: 20px; padding: 40px; background: var(--paper);
  text-align: center; max-width: 780px; margin: 0 auto;
}
.lp-testimonial .quote { font-family: var(--font-display); font-weight: 500; font-size: clamp(19px,2.4vw,26px); letter-spacing: -0.02em; line-height: 1.4; }
.lp-testimonial .who { margin-top: 18px; font-size: 14px; color: var(--muted); font-family: var(--font-mono); }
.lp-testimonial .placeholder-tag {
  display: inline-block; margin-bottom: 18px; font-family: var(--font-mono); font-size: 11px;
  color: var(--muted); background: var(--paper-2); border: 1px dashed var(--line); padding: 4px 10px; border-radius: 6px;
}

/* ── FAQ (reused) ── */
.faq-list { margin-top: 36px; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 28px; cursor: pointer; width: 100%; text-align: left;
  font-family: var(--font-display); font-weight: 600; font-size: 16px; letter-spacing: -0.02em;
  color: var(--ink); background: transparent; border: none; transition: background 150ms;
}
.faq-q:hover { background: var(--paper); }
.faq-icon {
  width: 28px; height: 28px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background 200ms;
}
.faq-icon svg { transition: transform 200ms; }
.faq-item.open .faq-icon { background: var(--cobalt); border-color: var(--cobalt); }
.faq-item.open .faq-icon svg { transform: rotate(45deg); }
.faq-item.open .faq-icon path { stroke: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 300ms ease, padding 200ms ease; padding: 0 28px; font-size: 14.5px; color: var(--fg2); line-height: 1.72; }
.faq-item.open .faq-a { max-height: 500px; padding: 0 28px 22px; }

/* ── CTA band ── */
.lp-cta-band {
  position: relative; overflow: hidden; text-align: center;
  background: linear-gradient(135deg, var(--cobalt), var(--cobalt-deep)); color: #fff;
  border-radius: 24px; padding: clamp(48px,6vw,80px) 32px;
}
.lp-cta-band h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px,3.6vw,44px); letter-spacing: -0.03em; line-height: 1.08; margin-bottom: 14px; }
.lp-cta-band p { font-size: 17px; color: rgba(255,255,255,0.85); max-width: 540px; margin: 0 auto 28px; }
.lp-cta-band .btn-cobalt { background: #fff; color: var(--cobalt); box-shadow: 0 6px 24px rgba(0,0,0,0.18); }
.lp-cta-band .btn-cobalt:hover { background: #f0f3ff; }
.lp-cta-band .btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.lp-cta-band .btn-outline:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.lp-cta-band .cta-row { justify-content: center; }

/* ── CALENDLY (reused) ── */
.calendly-wrap { background: var(--white); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: 0 4px 24px rgba(0,0,0,0.06); min-height: 680px; }
.calendly-inline-widget { min-width: 100%; height: 680px; }

/* ── CONTACT FORM (Netlify Forms) ── */
.lp-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.lp-form { display: grid; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.lp-field { display: grid; gap: 6px; }
.lp-field label { font-size: 12.5px; font-weight: 600; color: var(--fg2); }
.lp-field input, .lp-field textarea {
  font-family: var(--font-body); font-size: 14.5px; color: var(--ink);
  border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; background: var(--paper); width: 100%;
}
.lp-field input:focus, .lp-field textarea:focus { outline: none; border-color: var(--cobalt); background: #fff; box-shadow: 0 0 0 3px var(--cobalt-soft); }
.lp-field textarea { min-height: 110px; resize: vertical; }
.lp-form-note { font-size: 12px; color: var(--muted); }

/* ── FOOTER (reused rich footer) ── */
footer { border-top: 1px solid var(--line); padding: 64px 32px 36px; }
.footer-inner { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.6fr repeat(4,1fr); gap: 32px; }
.footer-brand-name { font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: -0.028em; margin-bottom: 8px; }
.footer-brand-desc { font-size: 13px; color: var(--muted); line-height: 1.5; max-width: 220px; }
.f-col-title { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 14px; }
.f-links { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.f-links a { font-size: 13.5px; color: var(--muted); transition: color 130ms; }
.f-links a:hover { color: var(--ink); }
.footer-bottom { max-width: 1180px; margin: 32px auto 0; padding-top: 24px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 12.5px; color: var(--muted); }
.footer-legal { display: flex; gap: 16px; }
.footer-legal a { font-size: 12.5px; color: var(--muted); transition: color 130ms; }
.footer-legal a:hover { color: var(--ink); }

/* ── STICKY MOBILE CTA ── */
.lp-sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  display: none; gap: 10px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); border-top: 1px solid var(--line);
}
.lp-sticky-cta .btn { flex: 1; padding: 14px 16px; }

/* ── RESPONSIVE ── */
@media (max-width: 920px) {
  .lp-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .lp-hero-visual { order: 2; }
  .lp-metrics { grid-template-columns: repeat(2,1fr); }
  .lp-form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav { padding: 0 16px; gap: 14px; }
  .nav-links, .nav-sep, .nav-back { display: none; }
  .lp-container, .section { padding-left: 20px; padding-right: 20px; }
  .section { padding-top: 60px; padding-bottom: 60px; }
  .cols-2, .cols-3, .lp-benefits { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .lp-sticky-cta { display: flex; }
  body { padding-bottom: 76px; }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
  .lp-metrics { grid-template-columns: 1fr 1fr; padding: 28px 20px; }
}
