/* =====================================================================
   NextPage Studios — Design System
   Brand: teal #1EC9C9 → purple #7B2FBF  |  Type: Fraunces + Inter
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Brand */
  --teal: #1EC9C9;
  --teal-600: #17AAAA;
  --teal-700: #0D9E9E;
  --purple: #7B2FBF;
  --purple-600: #6B23AB;
  --purple-700: #5E1F9A;

  --grad: linear-gradient(120deg, #1EC9C9 0%, #4FA3D1 45%, #7B2FBF 100%);
  --grad-rev: linear-gradient(120deg, #7B2FBF 0%, #1EC9C9 100%);
  --grad-soft: linear-gradient(135deg, #E9FBFB 0%, #F3EBFF 100%);
  --grad-text: linear-gradient(120deg, #14B8B8 0%, #7B2FBF 100%);

  /* Ink / neutrals */
  --ink: #16142A;          /* primary text */
  --ink-2: #3A3754;        /* secondary heading */
  --muted: #5C5873;        /* body muted (AA on white) */
  --faint: #8A86A0;        /* captions */
  --line: #ECEAF3;         /* hairlines */
  --line-2: #E2DEF0;
  --paper: #FFFFFF;
  --paper-2: #FBFAFF;      /* off-white sections */
  --paper-3: #F5F2FC;

  /* Dark surfaces */
  --night: #0E0C1D;
  --night-2: #15122A;
  --night-3: #1C1838;
  --on-night: rgba(255,255,255,0.72);
  --on-night-dim: rgba(255,255,255,0.52);

  /* Effects */
  --shadow-xs: 0 1px 2px rgba(22,20,42,0.06);
  --shadow-sm: 0 4px 18px rgba(94,31,154,0.08);
  --shadow-md: 0 14px 40px rgba(94,31,154,0.12);
  --shadow-lg: 0 28px 70px rgba(40,20,90,0.18);
  --ring: 0 0 0 4px rgba(30,201,201,0.28);

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;
  --r-xl: 28px;
  --r-pill: 999px;

  --container: 1180px;
  --nav-h: 76px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --ff-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --ff-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: rgba(123,47,191,0.16); }

:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: 6px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--ff-display); font-weight: 600; line-height: 1.08; letter-spacing: -0.015em; color: var(--ink); }
h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); font-weight: 600; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.3rem; }
.font-italic { font-style: italic; }

.display-grad,
.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-sans);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--purple);
}
.eyebrow.on-dark { color: var(--teal); }
.eyebrow::before {
  content: ""; width: 22px; height: 2px; border-radius: 2px;
  background: var(--grad);
}
.eyebrow.center { justify-content: center; }

.lead { font-size: 1.15rem; color: var(--muted); line-height: 1.7; }
.muted { color: var(--muted); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.container-narrow { max-width: 820px; }
section { padding: clamp(70px, 9vw, 120px) 0; position: relative; }
.section-head { max-width: 660px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin: 14px 0 16px; }
.bg-soft { background: var(--paper-2); }
.bg-tint { background: var(--grad-soft); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--grad);
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 26px; border-radius: var(--r-pill); border: none;
  font-family: var(--ff-sans); font-size: 0.98rem; font-weight: 600;
  letter-spacing: 0.005em; white-space: nowrap; position: relative;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .25s;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 26px rgba(94,31,154,0.30); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(94,31,154,0.42); }
.btn-ghost { background: #fff; color: var(--purple); box-shadow: inset 0 0 0 1.5px var(--line-2), var(--shadow-xs); }
.btn-ghost:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1.5px var(--teal), var(--shadow-sm); color: var(--ink); }
.btn-white { background: #fff; color: var(--purple); box-shadow: var(--shadow-md); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-outline-white { background: rgba(255,255,255,0.06); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.4); }
.btn-outline-white:hover { background: rgba(255,255,255,0.14); transform: translateY(-2px); }
.btn-lg { padding: 17px 34px; font-size: 1.05rem; }
.btn-arrow svg { transition: transform .35s var(--ease); }
.btn-arrow:hover svg { transform: translateX(4px); }

/* ---------- Pills / chips ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: var(--r-pill);
  background: #fff; box-shadow: inset 0 0 0 1px var(--line-2);
  font-size: 0.82rem; font-weight: 600; color: var(--ink-2);
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(30,201,201,0.18); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%,100%{ opacity:1 } 50%{ opacity:.45 } }
.pill.on-dark { background: rgba(255,255,255,0.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.14); color: #fff; }

/* =====================================================================
   NAVBAR
   ===================================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(255,255,255,0.7);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, box-shadow .3s;
}
.nav.scrolled { background: rgba(255,255,255,0.9); border-color: var(--line); box-shadow: 0 6px 28px rgba(22,20,42,0.06); }
.nav .container { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand .mark { width: 40px; height: 40px; flex-shrink: 0; }
.brand .wordmark { font-family: var(--ff-display); font-weight: 600; font-size: 1.28rem; line-height: 1; letter-spacing: -0.01em; }
.brand .wordmark b:first-child { color: var(--teal-600); font-weight: 600; }
.brand .wordmark b:last-child { color: var(--purple); font-weight: 600; }
.brand .sub { display: block; font-family: var(--ff-sans); font-size: 0.58rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--faint); font-weight: 600; margin-top: 3px; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 9px 15px; border-radius: var(--r-pill); font-size: 0.93rem; font-weight: 500; color: var(--ink-2);
  transition: color .2s, background-color .2s; position: relative;
}
.nav-links a:hover { color: var(--purple); }
.nav-links a.current { color: var(--purple); font-weight: 600; }
.nav-links a.current::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 2px; height: 2px;
  background: var(--grad); border-radius: 2px;
}
.nav-actions { display: flex; align-items: center; gap: 10px; }

.hamburger { display: none; width: 44px; height: 44px; border-radius: 12px; background: transparent; border: 1px solid var(--line-2); position: relative; }
.hamburger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.hamburger span:nth-child(1){ top: 16px; } .hamburger span:nth-child(2){ top: 21px; } .hamburger span:nth-child(3){ top: 26px; }
.hamburger.open span:nth-child(1){ transform: translateY(5px) rotate(45deg); }
.hamburger.open span:nth-child(2){ opacity: 0; }
.hamburger.open span:nth-child(3){ transform: translateY(-5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 auto 0; z-index: 999;
  background: rgba(255,255,255,0.98); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line); padding: 14px 28px 26px;
  display: flex; flex-direction: column; gap: 2px;
  transform: translateY(-12px); opacity: 0; pointer-events: none; transition: transform .3s var(--ease), opacity .3s;
}
.mobile-menu.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-menu a { padding: 14px 6px; font-size: 1.05rem; font-weight: 500; border-bottom: 1px solid var(--line); }
.mobile-menu a:last-of-type { border: none; }
.mobile-menu .btn { margin-top: 14px; }

/* main offset */
.page-main { padding-top: var(--nav-h); }

/* =====================================================================
   HERO
   ===================================================================== */
.hero { padding: clamp(56px, 8vw, 96px) 0 clamp(70px, 9vw, 110px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.hero h1 { margin: 22px 0 22px; }
.hero h1 em { font-style: italic; }
.hero .lead { max-width: 500px; margin-bottom: 36px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px; }
.hero-trust .ti { display: flex; align-items: center; gap: 9px; font-size: 0.9rem; font-weight: 500; color: var(--muted); }
.hero-trust .ti svg { width: 20px; height: 20px; color: var(--teal-600); flex-shrink: 0; }

/* ambient blobs */
.blob { position: absolute; border-radius: 50%; filter: blur(10px); pointer-events: none; z-index: -1; opacity: .55; }
.blob-1 { top: -120px; right: -80px; width: 520px; height: 520px; background: radial-gradient(circle, rgba(30,201,201,0.20), transparent 68%); }
.blob-2 { bottom: -160px; left: -120px; width: 560px; height: 560px; background: radial-gradient(circle, rgba(123,47,191,0.16), transparent 68%); }

/* hero visual: floating book + cards */
.hero-visual { position: relative; height: 480px; display: flex; align-items: center; justify-content: center; }
.book3d {
  position: relative; width: 250px; height: 360px; border-radius: 6px 12px 12px 6px;
  background: var(--grad); color: #fff;
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255,255,255,0.1);
  transform: rotateY(-22deg) rotateX(6deg); transform-style: preserve-3d;
  display: flex; flex-direction: column; justify-content: space-between; padding: 30px 26px;
  animation: floaty 6s ease-in-out infinite;
}
.book3d::before { /* spine */
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 16px;
  background: linear-gradient(90deg, rgba(0,0,0,0.28), rgba(0,0,0,0.05)); border-radius: 6px 0 0 6px;
}
.book3d::after { /* page edge */
  content: ""; position: absolute; right: -10px; top: 8px; bottom: 8px; width: 12px;
  background: repeating-linear-gradient(90deg,#fff,#fff 1px,#e8e6f0 1px,#e8e6f0 2px);
  transform: rotateY(34deg); transform-origin: left; border-radius: 2px;
}
.book3d .b-kicker { font-family: var(--ff-sans); font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; opacity: .8; }
.book3d .b-title { font-family: var(--ff-display); font-size: 1.9rem; line-height: 1.1; }
.book3d .b-foot { font-family: var(--ff-sans); font-size: 0.78rem; opacity: .85; display: flex; align-items: center; gap: 8px; }
@keyframes floaty { 0%,100%{ transform: rotateY(-22deg) rotateX(6deg) translateY(0) } 50%{ transform: rotateY(-19deg) rotateX(6deg) translateY(-14px) } }

.float-card {
  position: absolute; background: rgba(255,255,255,0.92); backdrop-filter: blur(8px);
  border-radius: 14px; padding: 14px 16px; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 11px; font-size: 0.84rem; font-weight: 600;
  border: 1px solid rgba(255,255,255,0.7); animation: floaty 7s ease-in-out infinite;
}
.float-card .ic { width: 38px; height: 38px; border-radius: 10px; background: var(--grad-soft); display: grid; place-items: center; flex-shrink: 0; }
.float-card .ic svg { width: 20px; height: 20px; color: var(--purple); }
.float-card small { display: block; font-weight: 500; color: var(--muted); font-size: 0.74rem; }
.float-card.fc-1 { top: 36px; right: 0; animation-delay: -1s; }
.float-card.fc-2 { bottom: 64px; left: -10px; animation-delay: -3s; }
.float-card.fc-3 { bottom: 8px; right: 24px; animation-delay: -2s; }

/* marquee logos / retailers */
.retailers { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper-2); }
.retailers .container { display: flex; align-items: center; gap: 28px; padding-top: 26px; padding-bottom: 26px; flex-wrap: wrap; justify-content: center; }
.retailers .rl { font-family: var(--ff-display); font-size: 1.15rem; font-weight: 600; color: var(--faint); letter-spacing: .01em; opacity: .8; transition: color .2s, opacity .2s; }
.retailers .rl:hover { color: var(--ink-2); opacity: 1; }
.retailers .label { font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); font-weight: 700; width: 100%; text-align: center; margin-bottom: 4px; }

/* =====================================================================
   CARDS / GRIDS
   ===================================================================== */
.grid { display: grid; gap: 26px; }
.g-2 { grid-template-columns: repeat(2,1fr); }
.g-3 { grid-template-columns: repeat(3,1fr); }
.g-4 { grid-template-columns: repeat(4,1fr); }

.card {
  background: #fff; border-radius: var(--r-lg); padding: 30px;
  border: 1px solid var(--line); box-shadow: var(--shadow-xs);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--line-2); }
.icon-tile { width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 20px; background: var(--grad-soft); box-shadow: inset 0 0 0 1px rgba(123,47,191,0.08); }
.icon-tile svg { width: 26px; height: 26px; color: var(--purple); stroke-width: 1.8; }
.card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.96rem; }

/* feature with teal accent variant */
.card.accent .icon-tile { background: linear-gradient(135deg,#E3FAFA,#CFF6F6); }
.card.accent .icon-tile svg { color: var(--teal-700); }

/* =====================================================================
   STEPS (how it works)
   ===================================================================== */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; position: relative; }
.steps::before { content: ""; position: absolute; top: 33px; left: 11%; right: 11%; height: 2px; background: linear-gradient(90deg, var(--teal), var(--purple)); opacity: .25; }
.step { text-align: center; position: relative; }
.step .num {
  width: 66px; height: 66px; margin: 0 auto 20px; border-radius: 50%;
  background: #fff; box-shadow: var(--shadow-sm), inset 0 0 0 2px rgba(123,47,191,0.12);
  display: grid; place-items: center; font-family: var(--ff-display); font-size: 1.5rem; color: var(--purple); position: relative; z-index: 1;
}
.step h3 { font-size: 1.08rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.92rem; }

/* =====================================================================
   BOOK CARDS (catalog / portfolio)
   ===================================================================== */
.book-card { text-align: center; }
.book-cover-wrap { perspective: 1400px; margin-bottom: 22px; }
.book-cover {
  position: relative; width: 200px; aspect-ratio: 2/3; margin: 0 auto; border-radius: 4px 8px 8px 4px;
  box-shadow: var(--shadow-md); overflow: hidden; background: var(--grad);
  transform: rotateY(-14deg) rotateX(4deg); transform-style: preserve-3d;
  transition: transform .55s var(--ease), box-shadow .55s var(--ease);
}
.book-cover img { width: 100%; height: 100%; object-fit: cover; }
.book-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, rgba(255,255,255,0.32) 0%, transparent 28%); pointer-events: none; }
.book-cover .spine { position: absolute; left: 0; top: 0; bottom: 0; width: 12px; background: linear-gradient(90deg, rgba(0,0,0,0.32), transparent); z-index: 2; }
.book-card:hover .book-cover { transform: rotateY(0deg) rotateX(0deg) translateY(-6px); box-shadow: var(--shadow-lg); }
.book-genre { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-700); font-weight: 700; margin-bottom: 6px; }
.book-title { font-family: var(--ff-display); font-size: 1.18rem; font-weight: 600; margin-bottom: 8px; }
.book-desc { font-size: 0.9rem; color: var(--muted); max-width: 280px; margin: 0 auto 14px; }
.book-formats { display: inline-flex; gap: 7px; flex-wrap: wrap; justify-content: center; }
.tag { font-size: 0.72rem; font-weight: 600; padding: 4px 11px; border-radius: var(--r-pill); }
.tag-teal { background: #E3FAFA; color: var(--teal-700); }
.tag-purple { background: #F2E9FF; color: var(--purple); }
.tag-gray { background: var(--paper-3); color: var(--muted); }

/* buy / retailer menu */
.buy { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; margin-top: 16px; }
.buy-label { width: 100%; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin-bottom: 2px; }
.buy-btn {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 15px; border-radius: var(--r-pill);
  font-size: 0.82rem; font-weight: 600; color: var(--ink-2); background: #fff;
  box-shadow: inset 0 0 0 1.5px var(--line-2); transition: transform .25s var(--ease), color .2s, background-color .2s, box-shadow .25s;
}
.buy-btn svg { width: 15px; height: 15px; }
.buy-btn:hover { color: #fff; background: var(--grad); box-shadow: 0 8px 20px rgba(94,31,154,0.28); transform: translateY(-2px); }
.buy-soon {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px; border-radius: var(--r-pill);
  font-size: 0.8rem; font-weight: 600; color: var(--faint); background: var(--paper-3); box-shadow: inset 0 0 0 1px var(--line-2);
}
.buy-soon svg { width: 15px; height: 15px; }
/* left-align inside portfolio rows */
.pf-body .buy { justify-content: flex-start; }
@media (max-width: 760px) { .pf-body .buy { justify-content: center; } }

/* =====================================================================
   DARK SECTIONS
   ===================================================================== */
.dark { background: var(--night); color: var(--on-night); position: relative; overflow: hidden; }
.dark h1, .dark h2, .dark h3, .dark h4 { color: #fff; }
.dark .lead, .dark p { color: var(--on-night); }
.dark .blob-1 { background: radial-gradient(circle, rgba(30,201,201,0.16), transparent 68%); }
.dark .blob-2 { background: radial-gradient(circle, rgba(123,47,191,0.20), transparent 68%); }

/* stat band */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.stat { text-align: center; padding: 8px; }
.stat .n { font-family: var(--ff-display); font-size: clamp(2.2rem,4vw,3rem); font-weight: 600; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; line-height: 1; }
.stat .l { font-size: 0.86rem; color: var(--on-night-dim); margin-top: 8px; }
.dark .stat .l { color: var(--on-night-dim); }

/* split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature-list { display: flex; flex-direction: column; gap: 20px; margin-top: 28px; }
.feature-row { display: flex; gap: 16px; align-items: flex-start; }
.feature-row .fi { width: 46px; height: 46px; border-radius: 13px; flex-shrink: 0; background: var(--grad-soft); display: grid; place-items: center; }
.feature-row .fi svg { width: 22px; height: 22px; color: var(--purple); }
.feature-row h4 { font-family: var(--ff-sans); font-size: 1rem; font-weight: 700; margin-bottom: 3px; color: var(--ink); }
.feature-row p { font-size: 0.92rem; color: var(--muted); }
.dark .feature-row .fi { background: rgba(255,255,255,0.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12); }
.dark .feature-row .fi svg { color: var(--teal); }
.dark .feature-row h4 { color: #fff; }
.dark .feature-row p { color: var(--on-night-dim); }

/* =====================================================================
   PRICING (quote-based packages)
   ===================================================================== */
.pricing { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; align-items: stretch; }
.price-card {
  background: rgba(255,255,255,0.04); border-radius: var(--r-lg); padding: 32px 26px;
  border: 1px solid rgba(255,255,255,0.1); color: #fff; display: flex; flex-direction: column;
  transition: transform .4s var(--ease), border-color .3s, background-color .3s;
}
.price-card:hover { transform: translateY(-6px); border-color: rgba(30,201,201,0.5); }
.price-card.featured { background: var(--grad); border-color: transparent; box-shadow: 0 24px 60px rgba(94,31,154,0.45); }
.price-card .ribbon { align-self: flex-start; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; padding: 5px 12px; border-radius: var(--r-pill); background: #fff; color: var(--purple); margin-bottom: 16px; }
.price-card .pk { font-family: var(--ff-display); font-size: 1.4rem; margin-bottom: 6px; color: #fff; }
.price-card .pksub { font-size: 0.84rem; color: var(--on-night-dim); margin-bottom: 18px; min-height: 38px; }
.price-card.featured .pksub { color: rgba(255,255,255,0.85); }
.price-card .from { font-size: 0.78rem; color: var(--on-night-dim); }
.price-card .amt { font-family: var(--ff-display); font-size: 1.7rem; color: #fff; margin-bottom: 18px; }
.pk-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; flex: 1; }
.pk-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.88rem; color: rgba(255,255,255,0.82); }
.pk-list svg { width: 17px; height: 17px; flex-shrink: 0; color: var(--teal); margin-top: 3px; }
.price-card.featured .pk-list svg { color: #fff; }
.price-card .btn { width: 100%; }

.addons { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 28px; }
.addon { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--r); padding: 20px 22px; display: flex; align-items: center; gap: 14px; }
.addon .ai { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,0.06); display: grid; place-items: center; flex-shrink: 0; }
.addon .ai svg { width: 20px; height: 20px; color: var(--teal); }
.addon h4 { font-family: var(--ff-sans); font-size: 0.94rem; color: #fff; font-weight: 600; }
.addon p { font-size: 0.8rem; color: var(--on-night-dim); margin: 0; }

/* =====================================================================
   PAGE HEADER (interior pages)
   ===================================================================== */
.page-header { padding: clamp(56px,7vw,90px) 0 clamp(40px,5vw,60px); text-align: center; background: var(--grad-soft); overflow: hidden; }
.page-header h1 { margin: 16px auto 18px; }
.page-header .lead { max-width: 620px; margin: 0 auto; }
.breadcrumb { font-size: 0.82rem; color: var(--faint); }
.breadcrumb a:hover { color: var(--purple); }

/* =====================================================================
   FORMS
   ===================================================================== */
.form-card { background: #fff; border-radius: var(--r-xl); padding: clamp(28px,4vw,44px); box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.form-card h3 { font-size: 1.5rem; margin-bottom: 6px; }
.form-card .form-sub { color: var(--muted); font-size: 0.92rem; margin-bottom: 26px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.84rem; font-weight: 600; color: var(--ink-2); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: var(--r-sm); border: 1.5px solid var(--line-2);
  font-family: inherit; font-size: 0.95rem; color: var(--ink); background: var(--paper-2);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(30,201,201,0.14); }
.field textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 0.78rem; color: var(--faint); margin-top: 14px; text-align: center; }
.form-status { display: none; padding: 14px 16px; border-radius: var(--r-sm); font-size: 0.9rem; font-weight: 500; margin-bottom: 18px; }
.form-status.show { display: block; }
.form-status.ok { background: #E3FAF1; color: #0B7A52; }
.form-status.err { background: #FDE8E8; color: #B42318; }

/* =====================================================================
   FAQ
   ===================================================================== */
.faq { max-width: 800px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 12px; background: #fff; overflow: hidden; transition: border-color .25s, box-shadow .25s; }
.faq-item.open { border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.faq-q { width: 100%; text-align: left; background: none; border: none; padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 1rem; font-weight: 600; color: var(--ink); }
.faq-q .chev { width: 22px; height: 22px; flex-shrink: 0; color: var(--purple); transition: transform .3s var(--ease); }
.faq-item.open .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a-inner { padding: 0 24px 22px; color: var(--muted); font-size: 0.95rem; line-height: 1.7; }

/* =====================================================================
   CTA BANNER
   ===================================================================== */
.cta-banner { text-align: center; }
.cta-inner { background: var(--grad); border-radius: var(--r-xl); padding: clamp(48px,7vw,84px) 32px; color: #fff; position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.cta-inner::before, .cta-inner::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.cta-inner::before { width: 360px; height: 360px; background: rgba(255,255,255,0.12); top: -160px; right: -80px; }
.cta-inner::after { width: 280px; height: 280px; background: rgba(255,255,255,0.08); bottom: -140px; left: -60px; }
.cta-inner h2 { color: #fff; position: relative; }
.cta-inner p { color: rgba(255,255,255,0.9); max-width: 540px; margin: 16px auto 32px; position: relative; }
.cta-inner .btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.footer { background: var(--night); color: var(--on-night); padding: 74px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.footer .brand .wordmark b { color: #fff; }
.footer .brand .sub { color: var(--on-night-dim); }
.footer-about { font-size: 0.92rem; color: var(--on-night-dim); margin: 18px 0 22px; max-width: 280px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 38px; height: 38px; border-radius: 11px; background: rgba(255,255,255,0.06); display: grid; place-items: center; transition: background-color .25s, transform .25s; }
.footer-social a:hover { background: var(--grad); transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; color: #fff; }
.footer-col h4 { font-family: var(--ff-sans); font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.5); font-weight: 700; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 0.92rem; color: var(--on-night-dim); margin-bottom: 11px; transition: color .2s; }
.footer-col a:hover { color: var(--teal); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 26px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 0.84rem; color: var(--on-night-dim); }
.footer-bottom a { color: var(--on-night-dim); }
.footer-bottom a:hover { color: var(--teal); }
.footer-bottom .legal { display: flex; gap: 20px; }

/* =====================================================================
   SCROLL REVEAL
   ===================================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"]{ transition-delay: .08s; }
.reveal[data-delay="2"]{ transition-delay: .16s; }
.reveal[data-delay="3"]{ transition-delay: .24s; }
.reveal[data-delay="4"]{ transition-delay: .32s; }

/* page load fade */
.page-fade { animation: pageIn .6s var(--ease-out) both; }
@keyframes pageIn { from{ opacity: 0; transform: translateY(8px); } to{ opacity: 1; transform: none; } }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1024px) {
  .g-4 { grid-template-columns: repeat(2,1fr); }
  .pricing { grid-template-columns: repeat(2,1fr); }
  .addons { grid-template-columns: repeat(2,1fr); }
  .hero-grid { gap: 40px; }
}
@media (max-width: 860px) {
  .nav-links, .nav-actions .btn { display: none; }
  .hamburger { display: block; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero .lead { margin-inline: auto; }
  .hero-cta, .hero-trust { justify-content: center; }
  .hero-visual { display: none; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .g-3, .g-2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2,1fr); }
  .steps::before { display: none; }
  .stats { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .section-head { margin-bottom: 40px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .container { padding: 0 20px; }
  .g-4, .pricing, .addons { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* =====================================================================
   REDUCED MOTION
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .book3d, .float-card { animation: none !important; }
}
