@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

/* =============================================================
   OF Co-pilot — design tokens
   ============================================================= */
:root{
  --bg: #F0F4F8;
  --bg-panel: #FFFFFF;
  --bg-panel-2: #F0F4F8;
  --border: rgba(0, 0, 0, 0.06);
  --border-strong: rgba(0, 0, 0, 0.12);

  --text: #242529;
  --text-mute: #5F646D;
  --text-dim: #8A96A3;

  --gold: #00AFF0;
  --gold-bright: #008CCF;
  --gold-ink: #FFFFFF;
  --teal: #00AFF0;
  --teal-bright: #00AFF0;

  --font-display: 'Fira Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Code", monospace;

  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 24px;

  --shadow-soft: 0 8px 30px rgba(0, 175, 240, 0.04), 0 4px 12px rgba(0, 0, 0, 0.03);
}

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

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

/* subtle ambient glow behind the page, not a template gradient hero */
body{
  background-image:
    radial-gradient(700px 400px at 85% -10%, rgba(0, 175, 240, 0.06), transparent 60%),
    radial-gradient(600px 380px at 5% 8%, rgba(0, 175, 240, 0.04), transparent 60%);
  background-repeat: no-repeat;
}

.skip-link{
  position: absolute; left: -999px; top: 0;
  background: var(--gold); color: var(--gold-ink); padding: 10px 16px; border-radius: var(--radius-s);
  z-index: 999;
}
.skip-link:focus{ left: 16px; top: 16px; }

a{ color: inherit; text-decoration: none; }
:focus-visible{ outline: 2px solid var(--teal-bright); outline-offset: 3px; }

.wrap{ max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.wrap-narrow{ max-width: 760px; }

.eyebrow{
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-bright);
  margin: 0 0 12px;
}
.eyebrow.center{ text-align: center; }

.section-title{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  line-height: 1.2;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
}
.section-title.center{ text-align: center; max-width: 720px; margin-left: auto; margin-right: auto; }

.lead{ color: var(--text-mute); font-size: 1.05rem; max-width: 640px; }
.lead.center{ margin-left: auto; margin-right: auto; text-align: center; }

.section{ padding: 88px 0; }
.section-alt{ background: var(--bg-panel); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* =============================================================
   Buttons
   ============================================================= */
.btn{
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-1px); }
.btn-primary{ background: var(--gold); color: var(--gold-ink); transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1); }
.btn-primary:hover{ background: var(--gold-bright); box-shadow: 0 4px 16px rgba(0, 175, 240, 0.2); }
.btn-ghost{ background: transparent; color: var(--text); border-color: var(--border-strong); transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1); }
.btn-ghost:hover{ background: rgba(0, 0, 0, 0.04); border-color: #A1A1A6; color: var(--text); }
.btn-outline{ background: transparent; color: var(--text); border-color: var(--border-strong); transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1); }
.btn-outline:hover{ background: rgba(0, 0, 0, 0.04); border-color: #ADB6BF; color: var(--text); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03); }
.btn-lg{ padding: 15px 28px; font-size: 1.02rem; }
.btn-sm{ padding: 8px 14px; font-size: 0.85rem; }
.btn-block{ display: flex; width: 100%; }

/* =============================================================
   Header
   ============================================================= */
.site-header{
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner{
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
  gap: 16px;
}
.brand{ display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 1.05rem; }
.brand-logo-img{
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}
.brand-name{ font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em; }

.main-nav{ display: none; gap: 28px; }
.main-nav a{ color: var(--text-mute); font-size: 0.92rem; }
.main-nav a:hover{ color: var(--text); }

.header-actions{ display: none; align-items: center; gap: 10px; }

.nav-toggle{
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; background: transparent; border: 1px solid var(--border-strong);
  border-radius: var(--radius-s); cursor: pointer;
}
.nav-toggle span{ display: block; height: 2px; width: 18px; margin: 0 auto; background: var(--text); border-radius: 2px; }

@media (min-width: 900px){
  .main-nav{ display: flex; }
  .header-actions{ display: flex; }
  .nav-toggle{ display: none; }
}

/* mobile dropdown */
.main-nav.is-open{
  display: flex; flex-direction: column; gap: 0;
  position: absolute; top: 72px; left: 0; right: 0;
  background: var(--bg-panel); border-bottom: 1px solid var(--border);
  padding: 8px 20px 16px;
}
.main-nav.is-open a{ padding: 12px 0; border-bottom: 1px solid var(--border); }

/* =============================================================
   Hero
   ============================================================= */
.hero{ padding: 56px 0 40px; }
.hero-grid{
  display: grid; gap: 40px;
}
.hero-copy h1{
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 6vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
  font-weight: 800;
}
.hero-copy h1 em{ font-style: italic; font-weight: 800; color: var(--gold); }
.hero-sub{ color: var(--text-mute); font-size: 1.08rem; max-width: 560px; margin: 0 0 28px; }
.hero-cta{ display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.hero-trust{ font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-dim); letter-spacing: 0.02em; }

/* hero mock widget — signature element */
.hero-visual{ display: flex; justify-content: center; }
.mock-window{
  width: 100%; max-width: 420px;
  background: var(--bg-panel);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-l);
  padding: 20px;
  box-shadow: var(--shadow-soft);
}
.mock-topbar{ display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.mock-dot{ width: 9px; height: 9px; border-radius: 50%; background: var(--teal-bright); box-shadow: 0 0 0 3px rgba(56,214,179,0.15); }
.mock-chip{ font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-dim); letter-spacing: 0.04em; text-transform: uppercase; }

.mock-fan-row{ display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.mock-avatar{
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--bg-panel-2); border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 0.85rem; color: var(--text-mute);
}
.mock-fan-meta{ display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.mock-fan-name{ font-weight: 600; font-size: 0.9rem; }
.tag{
  font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.04em;
  padding: 3px 8px; border-radius: 999px; border: 1px solid var(--border-strong);
  color: var(--text-mute);
}
.tag-vip{ color: var(--gold-bright); border-color: rgba(0, 175, 240, 0.3); }

.bubble{ border-radius: var(--radius-m); padding: 12px 14px; font-size: 0.92rem; margin-bottom: 14px; }
.bubble-fan{ background: var(--bg-panel-2); border: 1px solid var(--border); border-top-left-radius: 4px; color: var(--text); }
.bubble-ai{
  background: linear-gradient(180deg, rgba(0, 175, 240, 0.08), rgba(0, 175, 240, 0.02));
  border: 1px solid rgba(0, 175, 240, 0.25);
  border-top-left-radius: 4px;
}
.bubble-ai-label{ display: block; font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-bright); margin-bottom: 6px; }
.bubble-ai p{ margin: 0; }

.mock-label{ font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-dim); letter-spacing: 0.03em; margin: 0 0 10px; }

.mode-chips{ display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.chip{
  font-family: var(--font-body); font-size: 0.76rem;
  padding: 6px 11px; border-radius: 999px;
  background: transparent; border: 1px solid var(--border-strong); color: var(--text-mute);
  cursor: pointer; transition: all 0.15s ease;
}
.chip:hover{ border-color: var(--teal-bright); color: var(--text); }
.chip.is-active{ background: var(--teal); border-color: var(--teal); color: #FFFFFF; font-weight: 600; }

.link-toggle{
  background: none; border: none; padding: 0; margin-top: 8px;
  color: var(--teal-bright); font-family: var(--font-mono); font-size: 0.72rem;
  cursor: pointer; letter-spacing: 0.02em;
}
.link-toggle:hover{ text-decoration: underline; }
.translation{ margin: 8px 0 0; padding-top: 8px; border-top: 1px dashed var(--border-strong); color: var(--text-mute); font-size: 0.86rem; }

.mock-actions{ display: flex; gap: 10px; margin-top: 4px; }
.mock-footnote{ font-family: var(--font-mono); font-size: 0.68rem; color: var(--teal-bright); margin: 12px 0 0; }

@media (min-width: 980px){
  .hero-grid{ grid-template-columns: 1.05fr 0.95fr; align-items: center; }
}

/* =============================================================
   Steps
   ============================================================= */
.steps{
  display: grid; gap: 28px; margin-top: 48px;
  position: relative;
}
.step{ position: relative; z-index: 1; }
.step-num{
  display: inline-block; font-family: var(--font-mono); font-size: 0.85rem;
  color: var(--gold-bright); border: 1px solid rgba(0, 175, 240, 0.3);
  padding: 4px 10px; border-radius: 999px; margin-bottom: 14px;
}
.step h3{ font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; margin: 0 0 8px; letter-spacing: -0.01em; }
.step p{ color: var(--text-mute); margin: 0; }
.step-connector{ display: none; }

@media (min-width: 900px){
  .steps{ grid-template-columns: 1fr 1fr 1fr; }
  .steps{ display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: start; }
  .step-connector{
    display: block; height: 1px; margin-top: 18px;
    background: repeating-linear-gradient(90deg, var(--border-strong) 0 6px, transparent 6px 12px);
  }
}

/* =============================================================
   Features
   ============================================================= */
.features-grid{
  display: grid; gap: 18px; margin-top: 48px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px){ .features-grid{ grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px){ .features-grid{ grid-template-columns: 1fr 1fr 1fr; } }

.feature-card{
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: 26px;
  transition: border-color 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.feature-card:hover{ border-color: #ADB6BF; transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); }
.feature-icon{ font-size: 1.5rem; margin-bottom: 12px; }
.feature-card h3{ font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; margin: 0 0 8px; letter-spacing: -0.01em; }
.feature-card p{ color: var(--text-mute); margin: 0; font-size: 0.94rem; }

/* =============================================================
   ROI calculator
   ============================================================= */
.calc-card{
  margin-top: 48px;
  background: var(--bg-panel);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-l);
  padding: 32px 28px;
  display: grid; gap: 28px;
  box-shadow: var(--shadow-soft);
  transition: border-color 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.calc-card:hover{
  border-color: #ADB6BF;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.05);
}
@media (min-width: 860px){
  .calc-card{ grid-template-columns: 1fr 1fr; align-items: center; padding: 40px; }
}

.calc-inputs{ display: grid; gap: 18px; }
.calc-field{ display: grid; gap: 6px; }
.calc-field span{ font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-dim); }
.calc-field input{
  background: var(--bg-panel-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-s);
  padding: 10px 12px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  width: 100%;
}
.calc-field input:focus{ outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(0, 175, 240, 0.25); }

.calc-results{ display: grid; gap: 14px; }
.calc-result{
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px;
  background: var(--bg-panel-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-s);
}
.calc-result-label{ font-size: 0.86rem; color: var(--text-mute); }
.calc-result-value{ font-family: var(--font-display); font-size: 1.25rem; color: var(--text); white-space: nowrap; }
.calc-result-highlight{
  border-color: rgba(0, 175, 240, 0.3);
  background: linear-gradient(180deg, rgba(0, 175, 240, 0.08), rgba(0, 175, 240, 0.02));
}
.calc-result-highlight .calc-result-value{ color: var(--gold-bright); }

/* =============================================================
   Comparison table
   ============================================================= */
.compare-wrap{ margin-top: 40px; overflow-x: auto; border-radius: var(--radius-m); border: 1px solid var(--border-strong); }
.compare-table{ width: 100%; border-collapse: collapse; min-width: 640px; background: var(--bg-panel); }
.compare-table th, .compare-table td{ padding: 14px 18px; text-align: left; font-size: 0.88rem; border-bottom: 1px solid var(--border); }
.compare-table thead th{
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--text-dim); background: var(--bg-panel-2);
}
.compare-table td:first-child, .compare-table th:first-child{ color: var(--text-mute); font-family: var(--font-mono); font-size: 0.78rem; }
.compare-table tbody tr:last-child td{ border-bottom: none; }
.compare-highlight{ background: linear-gradient(180deg, rgba(0, 175, 240, 0.06), transparent); color: var(--gold-bright) !important; font-weight: 600; }

/* =============================================================
   Agency section
   ============================================================= */
.agency-grid{ display: grid; gap: 40px; align-items: center; }
.check-list{ list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 12px; }
.check-list li{ padding-left: 26px; position: relative; color: var(--text); }
.check-list li::before{
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--teal-bright); font-weight: 700;
}

.panel-card{
  background: var(--bg-panel); border: 1px solid var(--border-strong);
  border-radius: var(--radius-l); padding: 20px; box-shadow: var(--shadow-soft);
}
.panel-row{
  display: grid; grid-template-columns: 1.3fr 1fr 1fr;
  gap: 8px; padding: 12px 0; font-size: 0.86rem;
  border-bottom: 1px solid var(--border);
}
.panel-row:last-of-type{ border-bottom: none; }
.panel-head{ font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-dim); }
.panel-row .up{ color: var(--teal-bright); font-family: var(--font-mono); font-size: 0.78rem; }
.panel-footnote{ font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-dim); margin: 14px 0 0; }

@media (min-width: 980px){ .agency-grid{ grid-template-columns: 1.1fr 0.9fr; } }

/* =============================================================
   Pricing
   ============================================================= */
.pricing-grid{
  display: grid; gap: 22px; margin-top: 48px;
}
@media (min-width: 900px){ .pricing-grid{ grid-template-columns: 1fr 1fr 1fr; align-items: stretch; } }

.price-card{
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: 30px 26px;
  display: flex; flex-direction: column;
  position: relative;
  transition: border-color 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.price-card:hover{
  border-color: #ADB6BF;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
}
.price-card h3{ font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; margin: 6px 0 2px; letter-spacing: -0.02em; }
.price-sub{ color: var(--text-mute); font-size: 0.88rem; margin: 0 0 20px; }
.price{ margin: 0 0 22px; display: flex; align-items: baseline; gap: 8px; }
.price-amount{ font-family: var(--font-display); font-size: 2.1rem; }
.price-period{ color: var(--text-dim); font-family: var(--font-mono); font-size: 0.72rem; }
.price-features{ list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; flex: 1; }
.price-features li{ padding-left: 20px; position: relative; font-size: 0.9rem; color: var(--text-mute); }
.price-features li::before{ content: "—"; position: absolute; left: 0; color: var(--text-dim); }
 
.price-card-featured{
  border-color: rgba(0, 175, 240, 0.4);
  background: linear-gradient(180deg, rgba(0, 175, 240, 0.05), var(--bg-panel) 30%);
  transform: translateY(-6px);
  transition: border-color 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.price-card-featured:hover{
  border-color: var(--gold);
  transform: translateY(-9px);
  box-shadow: 0 16px 40px rgba(0, 175, 240, 0.08);
}
.price-badge{
  position: absolute; top: -13px; left: 26px;
  background: var(--gold); color: var(--gold-ink);
  font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px;
}
.price-footnote{ color: var(--text-dim); font-size: 0.85rem; margin-top: 28px; }

/* =============================================================
   FAQ
   ============================================================= */
.faq-list{ margin-top: 40px; display: grid; gap: 10px; }
.faq-item{ border: 1px solid var(--border); border-radius: var(--radius-m); background: var(--bg-panel); overflow: hidden; }
.faq-q{
  width: 100%; text-align: left; background: none; border: none; color: var(--text);
  padding: 18px 20px; font-size: 0.98rem; font-weight: 600; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-family: var(--font-body);
}
.faq-icon{ font-family: var(--font-mono); color: var(--teal-bright); font-size: 1.1rem; transition: transform 0.2s ease; flex-shrink: 0; }
.faq-item.is-open .faq-icon{ transform: rotate(45deg); }
.faq-a{ max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-a p{ margin: 0; padding: 0 20px 18px; color: var(--text-mute); font-size: 0.92rem; }

/* =============================================================
   Final CTA band
   ============================================================= */
.cta-band{ padding: 90px 0; }
.cta-inner{
  text-align: center; max-width: 640px; margin: 0 auto;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-l);
  padding: 56px 32px;
  background: linear-gradient(180deg, rgba(0, 175, 240, 0.08), transparent);
}
.cta-inner h2{ font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 3.6vw, 2.1rem); margin: 0 0 12px; letter-spacing: -0.02em; }
.cta-inner p{ color: var(--text-mute); margin: 0 0 26px; }

/* =============================================================
   Footer
   ============================================================= */
.site-footer{ border-top: 1px solid var(--border); padding: 56px 0 24px; }
.footer-grid{ display: grid; gap: 32px; }
.footer-brand p{ color: var(--text-dim); font-size: 0.88rem; margin-top: 12px; max-width: 240px; }
.footer-col h4{ font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); margin: 0 0 14px; }
.footer-col a{ display: block; color: var(--text-mute); font-size: 0.9rem; padding: 6px 0; }
.footer-col a:hover{ color: var(--text); }
.footer-bottom{ margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); }
.footer-bottom p{ color: var(--text-dim); font-size: 0.8rem; margin: 0; }

@media (min-width: 720px){
  .footer-grid{ grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}