/* ============================================================================
   OWNERS — Apple-style UI · navy blue key color · Geist
   ========================================================================== */

:root {
  /* Palette */
  --navy: #0a1e3f;          /* key color */
  --navy-2: #12306a;
  --navy-3: #1e4fb0;        /* bright accent for links/hover */
  --ink: #0a1e3f;
  --text: #1b2333;
  --muted: #6a7183;
  --faint: #9aa1b1;
  --bg: #f4f5f8;            /* apple-ish neutral */
  --bg-2: #eceef3;
  --surface: #ffffff;
  --line: rgba(10, 30, 63, 0.10);
  --line-2: rgba(10, 30, 63, 0.06);

  /* Radii — subtly rounded (not pill) */
  --r-btn: 12px;
  --r-card: 18px;
  --r-md: 12px;
  --r-sm: 9px;
  --r-pill: 999px;   /* reserved for tiny tags only */

  /* Shadows — soft apple depth */
  --shadow-sm: 0 1px 2px rgba(10, 30, 63, 0.06), 0 6px 18px rgba(10, 30, 63, 0.06);
  --shadow-md: 0 4px 12px rgba(10, 30, 63, 0.08), 0 24px 60px rgba(10, 30, 63, 0.12);
  --shadow-lg: 0 30px 80px rgba(10, 30, 63, 0.22);

  --font: 'Geist', -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', monospace;

  --maxw: 1080px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--navy); color: #fff; }

.italic { font-style: italic; }

/* ── Layout helpers ─────────────────────────────────────────────────────── */
.wrap { width: min(100% - 40px, var(--maxw)); margin-inline: auto; }

.section-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy-3);
  margin-bottom: 14px;
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  --pad: 12px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: var(--pad);
  border-radius: var(--r-btn);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease), color 0.2s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 6px 20px rgba(10, 30, 63, 0.25);
}
.btn-primary:hover { background: var(--navy-2); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(10, 30, 63, 0.32); }

.btn-light {
  background: #fff;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.3);
}
.btn-ghost:hover { background: rgba(255,255,255,0.10); }

.btn-block { width: 100%; }
.btn.is-loading { opacity: 0.7; pointer-events: none; }

/* ── Nav (frosted, apple) ────────────────────────────────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 0;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), backdrop-filter 0.3s;
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; }
.nav.scrolled {
  background: rgba(244, 245, 248, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 1px 0 var(--line);
}
.wordmark {
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.14em;
  color: #fff;
  transition: color 0.3s;
}
.nav.scrolled .wordmark { color: var(--navy); }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-cta { padding: 9px 18px; border-radius: var(--r-btn); background: #fff; color: var(--navy); font-size: 13px; font-weight: 500; transition: transform 0.2s var(--ease), background 0.2s; box-shadow: var(--shadow-sm); }
.nav.scrolled .nav-cta { background: var(--navy); color: #fff; }
.nav-cta:hover { transform: translateY(-1px); }

/* ── Hero (navy, centered) ───────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 96svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 120px 20px 80px;
  background: radial-gradient(120% 120% at 50% 0%, #143a7e 0%, var(--navy) 45%, #071531 100%);
  color: #fff;
  overflow: hidden;
  border-bottom-left-radius: 36px;
  border-bottom-right-radius: 36px;
}
.hero-glow {
  position: absolute;
  width: 60vw; height: 60vw;
  max-width: 700px; max-height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(60, 120, 240, 0.35), transparent 60%);
  filter: blur(20px);
  top: 6%; left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(8px);
  will-change: transform;
}
.hero-orb.a { width: 260px; height: 260px; background: radial-gradient(circle, rgba(90,150,255,0.26), transparent 70%); top: 18%; left: 10%; }
.hero-orb.b { width: 340px; height: 340px; background: radial-gradient(circle, rgba(40,90,200,0.28), transparent 70%); bottom: 4%; right: 6%; }

.hero-copy { position: relative; z-index: 2; max-width: 720px; will-change: transform; }
.hero-copy .eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 22px;
}
.display {
  font-weight: 300;
  font-size: clamp(38px, 7vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin-bottom: 22px;
}
.display .italic { font-weight: 300; }
.hero-copy .lede {
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.6;
  color: rgba(255,255,255,0.72);
  max-width: 480px;
  margin: 0 auto 34px;
}
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.scroll-hint {
  position: absolute;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  z-index: 2;
}
.scroll-hint span { width: 1px; height: 32px; background: linear-gradient(rgba(255,255,255,0.6), transparent); }

/* ── Packs ───────────────────────────────────────────────────────────────── */
.packs { padding: clamp(70px, 11vw, 130px) 0; }
.packs-head { text-align: center; margin-bottom: 46px; }
.packs-title {
  font-weight: 400;
  font-size: clamp(30px, 5vw, 48px);
  letter-spacing: -0.03em;
  color: var(--ink);
}
.packs-sub { color: var(--muted); margin-top: 12px; font-size: 15px; }

.pack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
  max-width: 760px;
  margin-inline: auto;
}

/* Card with teaser collage */
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-sm);
  transform-style: preserve-3d;
  transition: box-shadow 0.35s var(--ease), transform 0.2s var(--ease);
  overflow: hidden;
  will-change: transform;
}
.card:hover { box-shadow: var(--shadow-md); }

/* Teaser collage image */
.card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--navy);
}
.card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s var(--ease); }
.card:hover .card-media img { transform: scale(1.04); }
.card-media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10, 30, 63, 0.28));
  pointer-events: none;
}
.card-badge-abs {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: #fff; background: rgba(10, 30, 63, 0.55);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  padding: 5px 10px; border-radius: var(--r-sm);
}

.card-body { padding: 24px 26px 24px; }

.card-glow {
  position: absolute; inset: 0;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), rgba(30, 79, 176, 0.10), transparent 60%);
  opacity: 0; transition: opacity 0.3s; pointer-events: none; z-index: 1;
}
.card:hover .card-glow { opacity: 1; }

.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; min-height: 20px; }
.card-badge {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy-3);
  background: rgba(30, 79, 176, 0.10);
  padding: 5px 10px;
  border-radius: var(--r-btn);
}
.card-count { font-family: var(--mono); font-size: 12px; color: var(--faint); margin-left: auto; }

.card-name {
  font-weight: 500;
  font-size: clamp(24px, 3.4vw, 30px);
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 8px;
}
.card-tagline { color: var(--muted); font-size: 14.5px; line-height: 1.55; margin-bottom: 22px; min-height: 44px; }

.card-specs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.chip {
  font-size: 12px;
  color: var(--navy);
  background: var(--bg-2);
  border-radius: var(--r-btn);
  padding: 6px 12px;
  font-weight: 500;
}

.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.card-price { display: flex; align-items: baseline; gap: 2px; }
.card-price .cur { font-size: 16px; color: var(--muted); }
.card-price .val { font-size: 30px; font-weight: 600; letter-spacing: -0.03em; color: var(--ink); }
.card-price .per { font-size: 12px; color: var(--faint); margin-left: 4px; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.footer { padding: 60px 0 50px; text-align: center; border-top: 1px solid var(--line); }
.foot-word { font-weight: 600; letter-spacing: 0.2em; font-size: 20px; color: var(--navy); margin-bottom: 10px; }
.foot-tag { color: var(--muted); font-style: italic; margin-bottom: 26px; font-size: 15px; }
.foot-meta { display: flex; gap: 8px 26px; justify-content: center; flex-wrap: wrap; font-size: 12px; color: var(--faint); font-family: var(--mono); }

/* ── Overlays / modal ────────────────────────────────────────────────────── */
.overlay { position: fixed; inset: 0; z-index: 100; display: none; }
.overlay.open { display: block; }
.overlay-scrim { position: absolute; inset: 0; background: rgba(10, 30, 63, 0.35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fade 0.3s var(--ease); }
@keyframes fade { from { opacity: 0; } }

.modal {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: min(440px, calc(100% - 32px));
  background: var(--surface);
  border-radius: var(--r-card);
  padding: 34px 30px 30px;
  box-shadow: var(--shadow-lg);
  animation: pop 0.4s var(--ease);
}
@keyframes pop { from { opacity: 0; transform: translate(-50%, -46%) scale(0.97); } }

.modal .section-label { text-align: left; }
.modal h3 { font-weight: 500; font-size: 26px; letter-spacing: -0.02em; margin-bottom: 10px; color: var(--ink); }
.modal-sub { color: var(--muted); font-size: 14.5px; margin-bottom: 24px; }
.modal-sub b { color: var(--ink); }

.sheet-close {
  position: absolute; top: 16px; right: 16px;
  width: 34px; height: 34px;
  border-radius: var(--r-md);
  border: none;
  background: var(--bg-2);
  color: var(--muted);
  cursor: pointer;
  font-size: 14px;
  transition: background 0.2s, color 0.2s;
}
.sheet-close:hover { background: #e2e5ec; color: var(--ink); }

form label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 8px; font-weight: 500; }
form input {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--bg);
  font-family: var(--font);
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 16px;
  transition: border 0.2s, box-shadow 0.2s;
}
form input:focus { outline: none; border-color: var(--navy-3); box-shadow: 0 0 0 4px rgba(30, 79, 176, 0.12); }

.modal-err { color: #c0392b; font-size: 13px; margin-top: 12px; }
.modal-fine { color: var(--faint); font-size: 11.5px; line-height: 1.6; margin-top: 16px; text-align: center; }

/* ── Reveal ──────────────────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  * { scroll-behavior: auto; }
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .hero { min-height: 92svh; padding-top: 100px; }
  .pack-grid { grid-template-columns: 1fr; }
}
