/* ============================================================
   style.css — Asymmetric AI
   Design system: navy #0A1628 · amber #D4943A · Playfair + Source Sans 3
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Source+Sans+3:wght@400;600&display=swap');

/* ── Tokens ── */
:root {
  --navy-900: #0A1628;
  --navy-800: #111E33;
  --navy-700: #1E2D45;
  --amber:    #D4943A;
  --off-white:#F5F0E8;
  --muted:    rgba(245,240,232,0.52);
  --white:    #FFFFFF;
  --serif:   'Playfair Display', Georgia, serif;
  --sans:    'Source Sans 3', system-ui, sans-serif;
  --max:      1200px;
  --pad:      48px;
  --section:  96px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  background: var(--navy-900);
  color: var(--off-white);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ── Type ── */
h1 { font-family: var(--serif); font-size: clamp(30px,5vw,52px); font-weight: 400; line-height: 1.14; }
h2 { font-family: var(--serif); font-size: clamp(24px,3.5vw,36px); font-weight: 400; line-height: 1.2;  }
h3 { font-family: var(--serif); font-size: clamp(18px,2.5vw,22px); font-weight: 400; line-height: 1.3; }

.label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--amber);
  display: block;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 0;
  cursor: pointer;
  border: none;
  text-align: center;
  letter-spacing: 0.02em;
  transition: opacity 0.2s, transform 0.18s;
  white-space: nowrap;
}
.btn:hover         { opacity: 0.86; transform: translateY(-1px); }
.btn-primary       { background: var(--white); color: var(--navy-900); }
.btn-secondary     { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.38); }
.btn-secondary:hover { border-color: rgba(255,255,255,0.75); opacity: 1; }
.btn-tertiary      { background: transparent; color: var(--muted); padding: 13px 0; font-size: 13px; }
.btn-tertiary:hover{ color: var(--off-white); opacity: 1; transform: none; }
.btn-full          { width: 100%; display: block; }

/* ── Nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,22,40,0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--navy-700);
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: 0 4px 32px rgba(0,0,0,0.45); }
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  height: 64px;
  gap: 40px;
}
.nav-logo img { height: 28px; }
.nav-center    { display: flex; gap: 28px; flex: 1; }
.nav-link      { font-size: 13px; color: var(--muted); transition: color 0.2s; }
.nav-link:hover, .nav-link.active { color: var(--off-white); }
.nav-cta {
  font-size: 13px;
  font-weight: 600;
  background: var(--white);
  color: var(--navy-900);
  padding: 9px 18px;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.nav-cta:hover { opacity: 0.86; }
.nav-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--off-white);
  padding: 4px;
  margin-left: auto;
}
.nav-burger svg { width: 22px; height: 22px; stroke: currentColor; display: block; }

/* ── Mobile overlay ── */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: var(--navy-900);
  z-index: 200;
  flex-direction: column;
  padding: 0 24px 32px;
  display: none;
  opacity: 0;
  transition: opacity 0.28s ease;
}
.mobile-overlay.open    { display: flex; }
.mobile-overlay.visible { opacity: 1; }

.mobile-overlay-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
  border-bottom: 1px solid var(--navy-700);
  margin-bottom: 32px;
}
.mobile-overlay-top img { height: 26px; }
.mobile-overlay-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--off-white);
}
.mobile-overlay-close svg { width: 22px; height: 22px; stroke: currentColor; display: block; }
.mobile-overlay-links {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.mobile-overlay-links a {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--off-white);
  padding: 16px 0;
  border-bottom: 1px solid var(--navy-700);
  transition: color 0.2s, padding-left 0.2s;
}
.mobile-overlay-links a:hover { color: var(--amber); padding-left: 8px; }
.mobile-overlay-links a.amber { color: var(--amber); }
.mobile-overlay-cta {
  display: block;
  text-align: center;
  background: var(--white);
  color: var(--navy-900);
  padding: 16px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  margin-top: 24px;
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  will-change: transform;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,22,40,0.88) 0%, rgba(10,22,40,0.58) 100%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245,240,232,0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,240,232,0.032) 1px, transparent 1px);
  background-size: 80px 80px;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: 100px var(--pad);
  width: 100%;
}

/* Hero staggered entrance */
.hero-eyebrow {
  opacity: 0; transform: translateY(14px);
  animation: fadeUp 0.7s ease 0.25s forwards;
  margin-bottom: 20px;
}
.hero h1 {
  max-width: 740px; margin-bottom: 24px;
  opacity: 0; transform: translateY(18px);
  animation: fadeUp 0.8s ease 0.5s forwards;
}
.lede {
  font-size: 17px; color: var(--muted); max-width: 580px; margin-bottom: 40px;
  opacity: 0; transform: translateY(16px);
  animation: fadeUp 0.8s ease 0.72s forwards;
}
.hero-actions {
  display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px;
  opacity: 0; transform: translateY(16px);
  animation: fadeUp 0.8s ease 0.92s forwards;
}
.hero-meta {
  display: flex; gap: 28px; flex-wrap: wrap;
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
  opacity: 0;
  animation: fadeIn 0.9s ease 1.15s forwards;
}
.hero-meta .amber { color: var(--amber); }

@keyframes fadeUp { to { opacity: 1; transform: none; } }
@keyframes fadeIn { to { opacity: 1; } }

/* ── Animation section ── */
.anim-section {
  background: var(--navy-900);
  border-top: 1px solid var(--navy-700);
  overflow: hidden;
  position: relative;
}
.anim-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 40%, rgba(212,148,58,0.055) 0%, transparent 70%);
  pointer-events: none;
}
.anim-canvas-wrap {
  display: flex;
  justify-content: center;
  padding: 56px var(--pad) 0;
}
#puzzle-canvas {
  width: 100%;
  max-width: 960px;
  height: 480px;
  display: block;
}
.anim-caption {
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px var(--pad) 96px;
  text-align: center;
}
.anim-caption .label { margin-bottom: 14px; }
.anim-caption h2   { margin-bottom: 16px; }
.anim-caption p    { color: var(--muted); max-width: 520px; margin: 0 auto; font-size: 16px; }

/* ── Sections ── */
.section {
  padding: var(--section) 0;
  border-top: 1px solid var(--navy-700);
}
.section-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.eyebrow-block        { margin-bottom: 52px; }
.eyebrow-block .label { margin-bottom: 12px; }
.eyebrow-block h2     { max-width: 640px; }
.eyebrow-center       { text-align: center; }
.eyebrow-center h2    { max-width: 640px; margin: 12px auto 0; }

/* ── Product grid ── */
.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--navy-700);
}
.product-card {
  background: var(--navy-800);
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  transition: background 0.22s;
}
.product-card:hover { background: #142236; }
.product-card .label  { margin-bottom: 10px; }
.product-card h3      { font-size: 19px; margin-bottom: 12px; }
.desc                 { color: var(--muted); font-size: 14px; line-height: 1.65; flex: 1; }
.product-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--navy-700);
}
.chip {
  font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid var(--navy-700); color: var(--muted); padding: 4px 10px;
}
.product-card-price { font-family: var(--serif); font-size: 30px; }
.product-card-actions { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.product-card-actions .btn-primary { flex: 1; }
.product-card:nth-child(5) {
  grid-column: 1 / -1;
  border-bottom: 1px solid var(--navy-700);
}

/* ── Bundle card ── */
.bundle-card {
  grid-column: 1 / -1;
  background: var(--navy-800);
  padding: 48px;
  border: 1px solid var(--amber);
  display: flex;
  gap: 64px;
  align-items: flex-start;
  margin-top: 2px;
  position: relative;
}
.bundle-badge {
  position: absolute; top: -1px; right: 48px;
  background: var(--amber); color: var(--navy-900);
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 14px;
}
.bundle-list {
  list-style: none; margin-top: 24px;
  display: flex; flex-direction: column; gap: 10px;
}
.bundle-list li  { display: flex; align-items: baseline; gap: 14px; font-size: 14px; color: var(--muted); }
.bundle-list .num{ font-size: 10px; font-weight: 600; color: var(--amber); letter-spacing: 0.06em; min-width: 20px; }
.bundle-price-block {
  display: flex; flex-direction: column; gap: 16px;
  min-width: 280px; align-items: flex-start; padding-top: 4px;
}
.bundle-price-row { display: flex; align-items: baseline; gap: 14px; }
.bundle-price  { font-family: var(--serif); font-size: 52px; line-height: 1; }
.bundle-strike { font-family: var(--serif); font-size: 22px; color: var(--muted); text-decoration: line-through; }

/* ── Three col ── */
.three-col { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 48px; }
.three-col-glyph { display: block; font-size: 20px; color: var(--amber); margin-bottom: 16px; }
.three-col h3 { font-size: 19px; margin-bottom: 12px; }
.three-col p  { color: var(--muted); font-size: 15px; }

/* ── Prompt grid ── */
.prompt-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2px; background: var(--navy-700);
}
.prompt-cell {
  background: var(--navy-800); padding: 22px 28px;
  display: flex; gap: 18px; align-items: flex-start;
  transition: background 0.2s;
}
.prompt-cell:hover { background: #142236; }
.prompt-cell .num {
  font-size: 10px; font-weight: 600; color: var(--amber);
  letter-spacing: 0.06em; min-width: 18px; padding-top: 4px; flex-shrink: 0;
}
.prompt-cell h3 {
  font-family: var(--sans); font-size: 14px; font-weight: 600;
  color: var(--off-white); margin-bottom: 5px; line-height: 1.4;
}
.prompt-cell p { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ── Audience grid ── */
.audience-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2px; background: var(--navy-700);
}
.audience-card {
  background: var(--navy-800); padding: 36px 40px; transition: background 0.2s;
}
.audience-card:hover { background: #142236; }
.audience-card h3 { font-size: 20px; margin-bottom: 12px; }
.audience-card p  { color: var(--muted); font-size: 15px; }

/* ── Pricing ── */
.pricing {
  max-width: 540px; margin: 0 auto; text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.price-big {
  font-family: var(--serif); font-size: 80px; line-height: 1; margin: 24px 0 8px;
}
.price-sub { color: var(--muted); font-size: 14px; margin-bottom: 36px; }
.pricing-bullets {
  list-style: none; text-align: left; width: 100%;
  display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px;
}
.pricing-bullets li { display: flex; gap: 14px; font-size: 14px; color: var(--muted); }
.dash { color: var(--amber); min-width: 12px; }
.pricing-cta-row       { width: 100%; }
.pricing-cta-row .btn  { width: 100%; padding: 16px; font-size: 15px; }
.pricing-reassure      { font-size: 12px; color: var(--muted); margin-top: 14px; }

/* ── Bundle inclusions ── */
.inclusions { margin-top: 8px; }
.inclusion-row {
  display: grid; grid-template-columns: 56px 1fr 100px 64px;
  gap: 24px; align-items: center;
  padding: 24px 0; border-bottom: 1px solid var(--navy-700);
  transition: opacity 0.2s;
}
.inclusion-row:first-child { border-top: 1px solid var(--navy-700); }
.inclusion-row:hover { opacity: 0.82; }
.pack-num { font-size: 11px; font-weight: 600; color: var(--amber); letter-spacing: 0.06em; }
.pack-info h3 {
  font-family: var(--sans); font-size: 15px; font-weight: 600;
  color: var(--off-white); margin-bottom: 3px; line-height: 1.4;
}
.pack-info p   { font-size: 13px; color: var(--muted); }
.pack-count    { font-size: 12px; color: var(--muted); text-align: right; }
.pack-strike   { font-family: var(--serif); font-size: 18px; color: var(--muted); text-decoration: line-through; text-align: right; }

.bundle-totals {
  display: flex; align-items: center; justify-content: flex-end;
  gap: 28px; padding: 40px 0; flex-wrap: wrap;
}
.total-strike { font-family: var(--serif); font-size: 22px; color: var(--muted); text-decoration: line-through; }
.total-big    { font-family: var(--serif); font-size: 64px; line-height: 1; }
.total-save   { font-size: 11px; font-weight: 600; color: var(--amber); letter-spacing: 0.12em; text-transform: uppercase; }

/* ── Footer ── */
.footer { border-top: 1px solid var(--navy-700); padding: 48px 0; }
.footer-inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.footer-row {
  display: flex; align-items: center; gap: 48px;
  padding-bottom: 28px; border-bottom: 1px solid var(--navy-700);
}
.footer-logo img { height: 24px; }
.footer-links    { display: flex; gap: 24px; flex: 1; }
.footer-links a  { font-size: 13px; color: var(--muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--off-white); }
.footer-copy     { font-size: 12px; color: var(--muted); white-space: nowrap; }
.footer-disclaimer { font-size: 12px; color: var(--muted); line-height: 1.75; margin-top: 24px; max-width: 760px; }

/* ── Utility ── */
.amber { color: var(--amber); }

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }

/* ── Responsive ── */
@media (max-width: 960px) {
  :root { --pad: 24px; --section: 64px; }
  .nav-center, .nav-cta { display: none; }
  .nav-burger { display: flex; align-items: center; justify-content: center; }
  .product-grid   { grid-template-columns: 1fr; }
  .bundle-card    { flex-direction: column; gap: 32px; padding: 32px 24px; }
  .bundle-badge   { right: 24px; }
  .bundle-price-block { min-width: auto; width: 100%; }
  .three-col      { grid-template-columns: 1fr; gap: 28px; }
  .prompt-grid    { grid-template-columns: 1fr; }
  .audience-grid  { grid-template-columns: 1fr; }
  .inclusion-row  { grid-template-columns: 40px 1fr; }
  .pack-count, .pack-strike { display: none; }
  .footer-row     { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-links   { flex-wrap: wrap; gap: 14px; }
  #puzzle-canvas  { height: 280px; }
  .bundle-totals  { justify-content: flex-start; }
  .anim-caption   { padding: 32px 24px 64px; }
}

@media (max-width: 600px) {
  h1 { font-size: 28px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-meta { gap: 16px; }
  .price-big { font-size: 64px; }
  .bundle-price { font-size: 40px; }
  .total-big { font-size: 48px; }
}
