/* ============================================================
   Audio Opowieści — Wydawnictwo Partnerskie
   Modern landing: mesh gradients, scroll reveals, phone mockup,
   3D tilt, scroll progress, active nav, mobile-first polish
   ============================================================ */

/* ===== Reduced motion respect ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .hero-mesh, .hero-glow-1, .hero-glow-2 { animation: none !important; }
}

/* ===== Reset ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* ===== Design tokens ===== */
:root {
  --gold: #d4a853;
  --gold-light: #f0d58c;
  --gold-dark: #b8860b;
  --gold-glow: rgba(212, 168, 83, 0.35);
  --parchment: #faf3e0;
  --night: #0a1222;
  --night-1: #0f1b2d;
  --night-2: #162740;
  --night-3: #1f3556;
  --night-4: #2a476c;
  --brown-dark: #3a2318;

  --text: #1a2332;
  --text-soft: #475569;
  --text-muted: #64748b;

  --surface: #ffffff;
  --surface-alt: #f8fafc;
  --surface-2: #f1f5f9;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;

  --success: #16a34a;
  --danger: #dc2626;

  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Playfair Display", Georgia, serif;
  --font-accent: "Cinzel", var(--font-display);

  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 3px rgba(10, 18, 34, 0.08), 0 1px 2px rgba(10, 18, 34, 0.04);
  --shadow-md: 0 4px 16px rgba(10, 18, 34, 0.08), 0 2px 6px rgba(10, 18, 34, 0.05);
  --shadow-lg: 0 20px 40px rgba(10, 18, 34, 0.12), 0 6px 16px rgba(10, 18, 34, 0.08);
  --shadow-xl: 0 40px 80px rgba(10, 18, 34, 0.18), 0 12px 32px rgba(10, 18, 34, 0.1);
  --shadow-gold: 0 10px 30px var(--gold-glow);
  --shadow-gold-lg: 0 20px 60px var(--gold-glow);

  --container: min(1180px, 92vw);
  --section-pad: clamp(4rem, 9vw, 7rem);
  --section-pad-sm: clamp(3rem, 7vw, 5rem);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-back: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===== Base ===== */
html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern", "liga", "calt", "ss01";
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

img, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--gold-dark); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { text-decoration: underline; }

strong { font-weight: 700; }
em { font-style: italic; }
code {
  font-family: "SF Mono", Menlo, Monaco, Consolas, monospace;
  background: rgba(212, 168, 83, 0.12);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.92em;
  color: var(--gold-dark);
}

::selection { background: var(--gold); color: var(--night); }

input, textarea, select, button { font-family: inherit; font-size: inherit; }

/* ===== Utilities ===== */
.visually-hidden {
  position: absolute !important;
  width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important;
  overflow: hidden !important; clip: rect(0,0,0,0) !important;
  white-space: nowrap !important; border: 0 !important;
}

.skip-link {
  position: absolute; top: -48px; left: 8px;
  background: var(--night); color: var(--gold);
  padding: 10px 18px; border-radius: 8px;
  z-index: 10000;
  font-weight: 600;
  transition: top 0.3s var(--ease);
}
.skip-link:focus { top: 8px; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

button:focus-visible, a:focus-visible {
  outline-offset: 4px;
}

.container { width: var(--container); margin: 0 auto; }
.container-narrow { max-width: 880px; }

h1, h2, h3, h4 { line-height: 1.2; color: var(--night-1); }

/* ============================================================
   Scroll progress indicator
   ============================================================ */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-dark) 0%, var(--gold) 50%, var(--gold-light) 100%);
  box-shadow: 0 0 12px var(--gold-glow);
  z-index: 9999;
  transition: width 0.08s linear;
  will-change: width;
  pointer-events: none;
}

/* ============================================================
   Grain texture overlay
   ============================================================ */
.grain {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.03;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================================================
   Scroll reveal
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.9s var(--ease-out),
    transform 0.9s var(--ease-out);
  will-change: opacity, transform;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal-delay="75"]  { transition-delay: 75ms; }
[data-reveal-delay="100"] { transition-delay: 100ms; }
[data-reveal-delay="150"] { transition-delay: 150ms; }
[data-reveal-delay="200"] { transition-delay: 200ms; }
[data-reveal-delay="225"] { transition-delay: 225ms; }
[data-reveal-delay="300"] { transition-delay: 300ms; }
[data-reveal-delay="375"] { transition-delay: 375ms; }
[data-reveal-delay="400"] { transition-delay: 400ms; }
[data-reveal-delay="450"] { transition-delay: 450ms; }
[data-reveal-delay="525"] { transition-delay: 525ms; }

/* ============================================================
   Navigation
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(1.8) blur(20px);
  -webkit-backdrop-filter: saturate(1.8) blur(20px);
  border-bottom: 1px solid transparent;
  transition:
    background 0.3s var(--ease),
    border-bottom-color 0.3s var(--ease),
    padding 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  width: var(--container); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem 0;
  gap: 1rem;
  transition: padding 0.3s var(--ease);
}
.nav.is-scrolled .nav-inner { padding: 0.65rem 0; }

.nav-logo {
  display: inline-flex; align-items: baseline; gap: 0.5rem;
  color: var(--night-1); font-weight: 700; font-size: 1.05rem;
  text-decoration: none;
  white-space: nowrap;
}
.nav-logo em {
  font-style: normal; color: var(--gold-dark);
  font-weight: 600; font-size: 0.9rem;
}
.nav-logo-icon { font-size: 1.3rem; line-height: 1; }

.nav-links {
  display: flex; list-style: none;
  gap: 1.5rem; align-items: center;
}
.nav-links li { position: relative; }
.nav-links a {
  display: inline-block;
  color: var(--text-soft); font-weight: 500; font-size: 0.94rem;
  padding: 0.5rem 0;
  transition: color 0.2s var(--ease);
  text-decoration: none;
  position: relative;
}
.nav-links a:hover { color: var(--night-1); text-decoration: none; }
.nav-links a:not(.nav-cta).is-active { color: var(--gold-dark); }
.nav-links a:not(.nav-cta).is-active::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  animation: slideIn 0.4s var(--ease-back);
}
@keyframes slideIn {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.nav-cta {
  background: var(--night);
  color: #fff !important;
  padding: 0.6rem 1.25rem !important;
  border-radius: 999px;
  font-weight: 600 !important;
  transition: all 0.25s var(--ease);
  position: relative;
  overflow: hidden;
}
.nav-cta::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 100%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  z-index: -1;
}
.nav-cta:hover::before { opacity: 1; }
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
  text-decoration: none !important;
}

.nav-toggle {
  display: none;
  background: transparent; border: 0;
  padding: 0.5rem; cursor: pointer;
  flex-direction: column; gap: 4px;
  min-width: 44px; min-height: 44px;
  align-items: center; justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--night-1);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}

@media (max-width: 1024px) {
  .nav-toggle { display: flex; }
  nav[aria-label="Menu główne"] {
    position: absolute; top: 100%; left: 0; right: 0;
    transform: translateY(-150%);
    opacity: 0; visibility: hidden;
    transition:
      transform 0.35s var(--ease),
      opacity 0.25s var(--ease),
      visibility 0.25s;
  }
  .nav-links {
    flex-direction: column;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1.5rem;
    gap: 0.25rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    align-items: stretch;
  }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 0.85rem 1rem;
    font-size: 1rem;
    border-radius: 8px;
  }
  .nav-links a:hover { background: var(--surface-alt); }
  .nav-cta {
    text-align: center;
    margin-top: 0.5rem;
  }
  .nav-open nav[aria-label="Menu główne"] {
    transform: translateY(0);
    opacity: 1; visibility: visible;
  }
  .nav-open .nav-toggle span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
  body.nav-locked { overflow: hidden; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  padding: clamp(4rem, 10vw, 7rem) 0 clamp(4rem, 9vw, 6rem);
  background: var(--night);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-mesh {
  position: absolute; inset: -20%;
  background:
    radial-gradient(circle at 20% 25%, hsla(40, 70%, 55%, 0.28) 0%, transparent 45%),
    radial-gradient(circle at 78% 12%, hsla(195, 60%, 45%, 0.22) 0%, transparent 50%),
    radial-gradient(circle at 12% 78%, hsla(25, 80%, 50%, 0.22) 0%, transparent 50%),
    radial-gradient(circle at 82% 84%, hsla(220, 55%, 35%, 0.35) 0%, transparent 50%);
  filter: blur(50px);
  animation: meshDrift 22s ease-in-out infinite alternate;
}
@keyframes meshDrift {
  0%   { transform: translate(0, 0) scale(1) rotate(0deg); }
  33%  { transform: translate(-3%, 2%) scale(1.05) rotate(1deg); }
  66%  { transform: translate(2%, -3%) scale(0.98) rotate(-1deg); }
  100% { transform: translate(-2%, -1%) scale(1.08) rotate(0.5deg); }
}

.hero-grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.9) 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.9) 0%, transparent 70%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  animation: glowPulse 8s ease-in-out infinite;
}
.hero-glow-1 {
  top: -150px; left: -120px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
  opacity: 0.22;
}
.hero-glow-2 {
  bottom: -220px; right: -180px;
  width: 620px; height: 620px;
  background: radial-gradient(circle, #4a7c28 0%, transparent 70%);
  opacity: 0.16;
  animation-delay: -4s;
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.18; transform: scale(1); }
  50%      { opacity: 0.3;  transform: scale(1.15); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { order: -1; margin: 0 auto; }
}

.hero-content { min-width: 0; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.45rem 1rem;
  background: rgba(212, 168, 83, 0.1);
  border: 1px solid rgba(212, 168, 83, 0.32);
  border-radius: 999px;
  color: var(--gold-light);
  font-size: 0.85rem; font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}
.hero-eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 10px var(--gold);
  animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 8px var(--gold); }
  50%      { opacity: 0.6; transform: scale(1.4); box-shadow: 0 0 18px var(--gold-light); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 5.25rem);
  font-weight: 700;
  line-height: 1.02;
  color: #fff;
  margin-bottom: 1.5rem;
  letter-spacing: -0.025em;
}
.hero-title-line { display: block; }
.hero-title-em {
  font-style: italic;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-weight: 700;
  background-size: 200% auto;
  animation: shimmer 6s ease infinite;
}
@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

.hero-lead {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 2.25rem;
  max-width: 620px;
  line-height: 1.6;
}

.hero-cta {
  display: flex; flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem 2rem;
  padding: 1.5rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
@media (min-width: 600px) {
  .hero-stats { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
}
.hero-stats dt {
  font-size: 0.78rem; text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.35rem;
}
.hero-stats dd {
  color: var(--gold-light);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.3;
}

/* Phone mockup */
.hero-visual {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  max-width: 340px;
  width: 100%;
}

.phone-mockup {
  position: relative;
  width: 260px;
  aspect-ratio: 9 / 19;
  background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
  border-radius: 42px;
  padding: 12px;
  box-shadow:
    0 0 0 2px #2a2a2a,
    inset 0 0 0 2px #0a0a0a,
    0 50px 100px rgba(0, 0, 0, 0.5),
    0 20px 60px var(--gold-glow);
  transform: rotate(-4deg);
  transition: transform 0.8s var(--ease);
  animation: phoneFloat 6s ease-in-out infinite;
}
@keyframes phoneFloat {
  0%, 100% { transform: rotate(-4deg) translateY(0); }
  50%      { transform: rotate(-3deg) translateY(-10px); }
}
.phone-mockup:hover {
  transform: rotate(-2deg) translateY(-8px);
  animation-play-state: paused;
}

.phone-notch {
  position: absolute;
  top: 12px; left: 50%;
  transform: translateX(-50%);
  width: 100px; height: 28px;
  background: #000;
  border-radius: 0 0 18px 18px;
  z-index: 3;
}

.phone-glare {
  position: absolute; inset: 2px;
  border-radius: 40px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08) 0%,
    transparent 35%,
    transparent 65%,
    rgba(255, 255, 255, 0.04) 100%
  );
  pointer-events: none;
  z-index: 4;
}

.phone-screen {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 32px;
  overflow: hidden;
  background: linear-gradient(180deg, #1a2d4a 0%, #0a1222 100%);
}

.phone-cover {
  position: absolute; inset: 0;
  z-index: 1;
}
.phone-cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.92);
}
.phone-cover::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 18, 34, 0) 35%, rgba(10, 18, 34, 0.95) 85%);
}

.phone-ui {
  position: absolute; inset: 0;
  z-index: 2;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1rem 1rem 1.25rem;
  color: #fff;
}

.phone-badge {
  position: absolute;
  top: 48px; right: 12px;
  background: var(--gold);
  color: var(--night);
  padding: 4px 10px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  border-radius: 4px;
  box-shadow: 0 4px 12px var(--gold-glow);
  animation: badgePulse 2s ease-in-out infinite;
}
@keyframes badgePulse {
  0%, 100% { transform: scale(1); box-shadow: 0 4px 12px var(--gold-glow); }
  50%      { transform: scale(1.08); box-shadow: 0 6px 20px var(--gold-glow); }
}

.phone-meta { margin-bottom: 0.9rem; }
.phone-chapter {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-light);
  opacity: 0.85;
  margin-bottom: 0.2rem;
}
.phone-book {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 0.15rem;
}
.phone-author {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.6);
}

.phone-player {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 0.7rem;
}
.phone-progress {
  height: 3px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 0.4rem;
}
.phone-progress-fill {
  height: 100%;
  width: 42%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 3px;
  animation: progressMove 8s ease-in-out infinite;
}
@keyframes progressMove {
  0%, 100% { width: 42%; }
  50%      { width: 58%; }
}
.phone-time {
  display: flex; justify-content: space-between;
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.5rem;
  font-variant-numeric: tabular-nums;
}
.phone-controls {
  display: flex; align-items: center; justify-content: center;
  gap: 1rem;
}
.phone-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 0;
  color: #fff;
  width: 28px; height: 28px;
  border-radius: 50%;
  font-size: 0.7rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s var(--ease);
}
.phone-btn:hover { background: rgba(255, 255, 255, 0.2); }
.phone-btn-main {
  background: var(--gold);
  color: var(--night);
  width: 40px; height: 40px;
  font-size: 0.85rem;
  box-shadow: 0 4px 14px var(--gold-glow);
}
.phone-btn-main:hover { background: var(--gold-light); }

.phone-floating {
  position: absolute;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  animation: floatUp 5s ease-in-out infinite;
}
.phone-floating-1 { top: 15%; left: -10%; animation-delay: 0s; }
.phone-floating-2 { top: 55%; right: -15%; animation-delay: -1.5s; }
.phone-floating-3 { bottom: 8%; left: -5%; animation-delay: -3s; }
@keyframes floatUp {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%      { transform: translateY(-12px) rotate(2deg); }
}

/* Scroll indicator at bottom of hero */
.hero-scroll {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  text-decoration: none;
  transition: color 0.2s var(--ease);
  z-index: 2;
}
.hero-scroll:hover {
  color: var(--gold-light);
  text-decoration: none;
}
.hero-scroll-icon {
  width: 24px; height: 36px;
  border: 2px solid currentColor;
  border-radius: 12px;
  position: relative;
}
.hero-scroll-icon::after {
  content: "";
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  width: 3px; height: 8px;
  background: currentColor;
  border-radius: 2px;
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
  0% { opacity: 1; transform: translate(-50%, 0); }
  50% { opacity: 0.3; transform: translate(-50%, 12px); }
  100% { opacity: 0; transform: translate(-50%, 18px); }
}
@media (max-width: 960px) { .hero-scroll { display: none; } }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.9rem;
  min-height: 48px;
  border-radius: 999px;
  font-weight: 600; font-size: 1rem; font-family: inherit;
  line-height: 1;
  cursor: pointer;
  border: 2px solid transparent;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    background 0.25s var(--ease),
    color 0.25s var(--ease),
    border-color 0.25s var(--ease);
  text-decoration: none !important;
  white-space: nowrap;
  user-select: none;
  position: relative;
  overflow: hidden;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-arrow {
  display: inline-block;
  transition: transform 0.3s var(--ease);
}
.btn:hover .btn-arrow { transform: translateX(4px); }

.btn-primary {
  background: var(--gold);
  color: var(--night);
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  box-shadow: var(--shadow-gold-lg);
}

.btn-ghost {
  background: transparent;
  color: currentColor;
  border-color: currentColor;
}
.btn-ghost:hover {
  background: rgba(212, 168, 83, 0.12);
  border-color: var(--gold);
  color: var(--gold);
}
.hero .btn-ghost { color: #fff; }
.hero .btn-ghost:hover { color: var(--gold); }

.btn-block { display: flex; width: 100%; }
.btn-large { padding: 1.1rem 2.25rem; font-size: 1.05rem; min-height: 56px; }

/* Shine sweep on primary button */
.btn-shine::before {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 100%
  );
  transform: skewX(-20deg);
  transition: left 0.7s var(--ease);
}
.btn-shine:hover::before { left: 150%; }

/* ============================================================
   Sections — common
   ============================================================ */
.section { padding: var(--section-pad) 0; position: relative; }

.section-header {
  max-width: 820px;
  margin: 0 auto 4rem;
  text-align: center;
}
.section-eyebrow {
  display: inline-block;
  color: var(--gold-dark);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  margin-bottom: 1rem;
  padding: 0.35rem 0.85rem;
  background: rgba(212, 168, 83, 0.08);
  border: 1px solid rgba(212, 168, 83, 0.2);
  border-radius: 999px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.2vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
  line-height: 1.1;
}
.section-title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  font-weight: 700;
}
.section-lead {
  color: var(--text-soft);
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.65;
}

.section-diff { background: var(--surface); }
.section-paths {
  background: linear-gradient(180deg, var(--surface-alt) 0%, #fff 100%);
  position: relative;
}
.section-app {
  background: var(--night);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.section-app::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 10% 20%, hsla(40, 70%, 50%, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, hsla(220, 60%, 45%, 0.15) 0%, transparent 50%);
  pointer-events: none;
}
.section-app > * { position: relative; }
.section-app .section-title,
.section-app .section-lead { color: #fff; }
.section-app .section-lead { color: rgba(255, 255, 255, 0.78); }
.section-app .section-eyebrow {
  color: var(--gold-light);
  background: rgba(212, 168, 83, 0.12);
  border-color: rgba(212, 168, 83, 0.3);
}
.section-app .section-title em {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-package { background: #fff; }
.section-how { background: var(--surface-alt); }
.section-deal { background: #fff; }
.section-portfolio { background: var(--night); color: #fff; position: relative; overflow: hidden; }
.section-portfolio::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 50%, hsla(40, 70%, 50%, 0.12) 0%, transparent 60%);
  pointer-events: none;
}
.section-portfolio > * { position: relative; }
.section-portfolio .section-title,
.section-portfolio .section-lead { color: #fff; }
.section-portfolio .section-lead { color: rgba(255, 255, 255, 0.78); }
.section-portfolio .section-eyebrow {
  color: var(--gold-light);
  background: rgba(212, 168, 83, 0.12);
  border-color: rgba(212, 168, 83, 0.3);
}
.section-portfolio .section-title em {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-faq { background: var(--surface-alt); }
.section-form {
  background: linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.section-form::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 30%, hsla(40, 70%, 50%, 0.1) 0%, transparent 50%);
  pointer-events: none;
}
.section-form > * { position: relative; }
.section-form .section-title,
.section-form .section-lead { color: #fff; }
.section-form .section-lead { color: rgba(255, 255, 255, 0.78); }
.section-form .section-eyebrow {
  color: var(--gold-light);
  background: rgba(212, 168, 83, 0.12);
  border-color: rgba(212, 168, 83, 0.3);
}
.section-form .section-title em {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ============================================================
   Differentiator
   ============================================================ */
.diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 1080px;
  margin: 0 auto;
}
@media (max-width: 840px) { .diff-grid { grid-template-columns: 1fr; } }

.diff-vs {
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.diff-vs:hover { transform: translateY(-4px); }

.diff-vs h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.diff-vs ul { list-style: none; display: flex; flex-direction: column; gap: 0.8rem; }
.diff-vs li {
  position: relative;
  padding-left: 1.75rem;
  font-size: 0.96rem;
  line-height: 1.5;
}

.diff-them {
  background: var(--surface-alt);
  color: var(--text-muted);
}
.diff-them h3 { color: var(--text-muted); font-weight: 500; }
.diff-them li::before {
  content: "✕";
  position: absolute; left: 0; top: 0;
  color: #94a3b8; font-weight: 700;
  font-size: 0.95rem;
}

.diff-us {
  background: linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%);
  color: #fff;
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
  position: relative;
  overflow: hidden;
}
.diff-us::before {
  content: "";
  position: absolute;
  top: -50%; right: -50%;
  width: 100%; height: 100%;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 60%);
  filter: blur(30px);
  pointer-events: none;
}
.diff-us h3 {
  color: var(--gold-light);
  border-bottom-color: rgba(212, 168, 83, 0.3);
  position: relative;
}
.diff-us ul, .diff-us li { position: relative; }
.diff-us li { color: rgba(255, 255, 255, 0.88); }
.diff-us li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: var(--gold-light); font-weight: 700;
  font-size: 1.1rem; line-height: 1.4;
}

/* ============================================================
   Paths
   ============================================================ */
.paths-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.path {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem 1.75rem;
  display: flex; flex-direction: column;
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease),
    border-color 0.4s var(--ease);
  will-change: transform;
}
.path:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--gold);
}

.path-featured {
  background: linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%);
  color: #fff;
  border-color: var(--gold);
  box-shadow: var(--shadow-gold-lg);
  transform: scale(1.03);
  position: relative;
  overflow: hidden;
}
.path-featured::before {
  content: "";
  position: absolute;
  top: -30%; left: -30%;
  width: 160%; height: 160%;
  background: conic-gradient(
    from 0deg,
    transparent 0%,
    var(--gold-glow) 25%,
    transparent 50%,
    var(--gold-glow) 75%,
    transparent 100%
  );
  animation: borderRotate 8s linear infinite;
  opacity: 0.3;
  z-index: 0;
}
.path-featured::after {
  content: "";
  position: absolute; inset: 1px;
  background: linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%);
  border-radius: calc(var(--radius-lg) - 1px);
  z-index: 0;
}
.path-featured > * { position: relative; z-index: 1; }
.path-featured:hover { transform: scale(1.03) translateY(-8px); }
@keyframes borderRotate {
  to { transform: rotate(360deg); }
}

.path-featured h3, .path-featured .path-pitch { color: #fff; }
.path-featured .path-tag { color: var(--gold-light); }
.path-featured .path-features li { color: rgba(255, 255, 255, 0.85); }
.path-featured .path-features strong { color: var(--gold-light); }
.path-featured .path-features li::before { color: var(--gold-light); }
.path-featured .path-pitch { border-bottom-color: rgba(255, 255, 255, 0.15); }

.path-ribbon {
  position: absolute; top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--gold); color: var(--night);
  font-size: 0.72rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.12em;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  z-index: 2;
  white-space: nowrap;
}

.path-icon {
  font-size: 2.75rem;
  margin-bottom: 1rem;
  line-height: 1;
  display: inline-flex;
  width: 64px; height: 64px;
  align-items: center; justify-content: center;
  background: rgba(212, 168, 83, 0.1);
  border: 1px solid rgba(212, 168, 83, 0.25);
  border-radius: 16px;
}
.path-featured .path-icon {
  background: rgba(212, 168, 83, 0.2);
  border-color: rgba(212, 168, 83, 0.4);
}
.path-tag {
  font-size: 0.78rem; text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-dark);
  font-weight: 700; margin-bottom: 0.5rem;
}
.path h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.path-pitch {
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.path-features {
  list-style: none;
  flex: 1;
  display: flex; flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
}
.path-features li {
  position: relative;
  padding-left: 1.75rem;
  font-size: 0.94rem;
  color: var(--text);
  line-height: 1.55;
}
.path-features li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: var(--gold-dark); font-weight: 700;
  font-size: 1.05rem; line-height: 1.5;
}

.paths-note {
  text-align: center;
  padding: 1.5rem 2rem;
  background: linear-gradient(135deg, rgba(212, 168, 83, 0.08) 0%, rgba(212, 168, 83, 0.02) 100%);
  border: 1px dashed var(--gold);
  border-radius: var(--radius);
  color: var(--text-soft);
  font-size: 0.98rem;
  line-height: 1.6;
  max-width: 860px;
  margin: 0 auto;
}

/* ============================================================
   App showcase
   ============================================================ */
.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.app-feature {
  padding: 1.75rem;
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  transition:
    border-color 0.3s var(--ease),
    background 0.3s var(--ease),
    transform 0.3s var(--ease);
}
.app-feature:hover {
  border-color: var(--gold);
  background: rgba(212, 168, 83, 0.06);
  transform: translateY(-4px);
}
.app-feature-icon {
  font-size: 1.75rem;
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(212, 168, 83, 0.12);
  border: 1px solid rgba(212, 168, 83, 0.25);
  border-radius: 14px;
  margin-bottom: 1.1rem;
  transition: transform 0.3s var(--ease);
}
.app-feature:hover .app-feature-icon {
  transform: scale(1.1) rotate(-4deg);
}
.app-feature h3 {
  color: var(--gold-light);
  font-size: 1.1rem;
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.app-feature p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.93rem;
  line-height: 1.55;
}

.app-store-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 2rem;
  padding: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-lg);
}
.app-store-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
}
.app-store-list {
  display: flex; flex-wrap: wrap;
  list-style: none;
  gap: 0.75rem 2rem;
  justify-content: center;
}
.app-store-list li {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
  font-size: 0.95rem;
}

/* ============================================================
   Package
   ============================================================ */
.package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.package-item {
  position: relative;
  padding: 2rem 1.75rem;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease),
    background 0.35s var(--ease);
}
.package-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
  background: #fff;
}
.package-num {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--night) 0%, var(--night-2) 100%);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 1.1rem;
  box-shadow: 0 8px 20px rgba(10, 18, 34, 0.2);
  transition: transform 0.35s var(--ease-back);
}
.package-item:hover .package-num {
  transform: scale(1.08) rotate(-5deg);
}
.package-item h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}
.package-item p {
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ============================================================
   Steps
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  list-style: none;
  counter-reset: step;
}
.step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  transition: all 0.35s var(--ease);
  position: relative;
}
.step:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}
.step-num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 100%);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.1rem;
  margin-bottom: 1rem;
  box-shadow: 0 6px 16px var(--gold-glow);
  font-family: var(--font-display);
}
.step h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.step p { color: var(--text-soft); font-size: 0.95rem; line-height: 1.55; }

/* ============================================================
   Deal examples
   ============================================================ */
.deal-examples {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.deal {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  display: flex; flex-direction: column;
  gap: 1rem;
  transition: all 0.35s var(--ease);
}
.deal:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.deal-featured {
  background: linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%);
  color: #fff;
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
  transform: scale(1.03);
}
.deal-featured:hover { transform: scale(1.03) translateY(-5px); }
.deal-featured h3 { color: #fff; }
.deal-featured .deal-reason { color: rgba(255, 255, 255, 0.75); }

.deal-tag {
  font-size: 0.75rem; text-transform: uppercase;
  letter-spacing: 0.14em; font-weight: 700;
  color: var(--gold-dark);
  margin-bottom: -0.25rem;
}
.deal-featured .deal-tag { color: var(--gold-light); }

.deal h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.3;
}
.deal-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 1.1rem;
  background: rgba(212, 168, 83, 0.1);
  border-radius: var(--radius);
  border: 1px solid rgba(212, 168, 83, 0.22);
  text-align: center;
}
.deal-featured .deal-split {
  background: rgba(212, 168, 83, 0.15);
  border-color: rgba(212, 168, 83, 0.35);
}
.deal-split div { display: flex; flex-direction: column; gap: 0.25rem; }
.deal-split strong {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-dark);
  line-height: 1;
}
.deal-featured .deal-split strong { color: var(--gold-light); }
.deal-split span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}
.deal-featured .deal-split span { color: rgba(255, 255, 255, 0.6); }

.deal-reason {
  font-size: 0.92rem;
  color: var(--text-soft);
  line-height: 1.55;
}

.deal-note {
  text-align: center;
  color: var(--text-soft);
  font-size: 0.95rem;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, rgba(212, 168, 83, 0.08) 0%, rgba(212, 168, 83, 0.02) 100%);
  border: 1px dashed var(--gold);
  border-radius: var(--radius);
  line-height: 1.6;
  max-width: 720px;
  margin: 0 auto;
}

/* ============================================================
   Portfolio
   ============================================================ */
.portfolio-showcase {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: center;
  background: var(--night-2);
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}
.portfolio-showcase::before {
  content: "";
  position: absolute;
  top: -30%; left: -30%;
  width: 160%; height: 160%;
  background: conic-gradient(
    from 0deg,
    transparent 0%,
    var(--gold-glow) 25%,
    transparent 50%,
    rgba(212, 168, 83, 0.15) 75%,
    transparent 100%
  );
  animation: borderRotate 14s linear infinite;
  opacity: 0.4;
  z-index: 0;
}
.portfolio-showcase > * { position: relative; z-index: 1; }

.portfolio-image img {
  border-radius: var(--radius);
  border: 3px solid var(--gold);
  box-shadow: var(--shadow-gold-lg);
  transition: transform 0.6s var(--ease);
}
.portfolio-image img:hover { transform: scale(1.03) rotate(-1deg); }

.portfolio-content h3 {
  font-family: var(--font-display);
  font-size: 2.1rem;
  color: var(--gold-light);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.portfolio-meta {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.portfolio-content p { color: rgba(255, 255, 255, 0.82); margin-bottom: 1.5rem; line-height: 1.65; }
.portfolio-stats {
  display: flex; flex-wrap: wrap;
  list-style: none;
  gap: 1.25rem 2.5rem;
  margin-bottom: 1.75rem;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.portfolio-stats li { display: flex; flex-direction: column; gap: 0.2rem; }
.portfolio-stats strong {
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.portfolio-stats span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.section-portfolio .btn-ghost { color: #fff; border-color: var(--gold-light); }
.section-portfolio .btn-ghost:hover {
  color: var(--night);
  background: var(--gold-light);
  border-color: var(--gold-light);
}

@media (max-width: 720px) {
  .portfolio-showcase {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding: 1.75rem;
    text-align: center;
  }
  .portfolio-image { max-width: 220px; margin: 0 auto; }
  .portfolio-stats { justify-content: center; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.faq-item[open] {
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  cursor: pointer;
  padding: 1.3rem 1.5rem;
  font-weight: 600; font-size: 1.02rem;
  color: var(--night-1);
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem;
  transition: color 0.2s var(--ease);
  min-height: 56px;
}
.faq-item summary:hover { color: var(--gold-dark); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.6rem;
  color: var(--gold-dark);
  transition: transform 0.35s var(--ease-back);
  line-height: 1; flex-shrink: 0;
  font-weight: 300;
}
.faq-item[open] summary::after { transform: rotate(135deg); }
.faq-item p {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-soft);
  line-height: 1.7;
  animation: faqOpen 0.3s var(--ease-out);
}
@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   Form
   ============================================================ */
.form {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
  display: flex; flex-direction: column;
  gap: 1.25rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

.form-field { display: flex; flex-direction: column; gap: 0.45rem; }
.form-label {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
  font-size: 0.9rem;
}
.form-label em {
  font-style: normal;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 400;
}
.form-field input,
.form-field select,
.form-field textarea {
  padding: 0.9rem 1rem;
  min-height: 48px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  color: #fff;
  font-family: inherit; font-size: 1rem;
  transition: all 0.2s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(255, 255, 255, 0.4); }
.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover { border-color: rgba(255, 255, 255, 0.25); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(212, 168, 83, 0.2);
}
.form-field textarea { resize: vertical; min-height: 120px; }

/* Custom select chevron */
.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23d4a853'%3E%3Cpath d='M5.5 7.5l4.5 4.5 4.5-4.5' stroke='currentColor' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 20px 20px;
  padding-right: 2.75rem;
}
.form-field select option { background: var(--night); color: #fff; }
.form-hint { font-size: 0.82rem; color: rgba(255, 255, 255, 0.55); }

.radio-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0.6rem;
  margin-top: 0.4rem;
}
.radio, .checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.9rem 1.1rem;
  min-height: 48px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.94rem;
  line-height: 1.45;
  transition: all 0.2s var(--ease);
}
.radio:hover, .checkbox:hover {
  border-color: var(--gold);
  background: rgba(212, 168, 83, 0.08);
}
.radio:has(input:checked) {
  border-color: var(--gold);
  background: rgba(212, 168, 83, 0.12);
  box-shadow: 0 0 0 2px rgba(212, 168, 83, 0.15);
}
.radio input, .checkbox input {
  margin-top: 3px;
  accent-color: var(--gold);
  flex-shrink: 0;
  width: 18px; height: 18px;
  cursor: pointer;
}
.checkbox a { color: var(--gold-light); text-decoration: underline; }

.form-actions {
  display: flex; flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 0.75rem;
}
.form-meta {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
}
.form-status {
  font-size: 0.95rem;
  padding: 1rem 1.2rem;
  border-radius: 10px;
  display: none;
}
.form-status.ok {
  display: block;
  background: rgba(22, 163, 74, 0.15);
  border: 1px solid rgba(22, 163, 74, 0.4);
  color: #86efac;
}
.form-status.err {
  display: block;
  background: rgba(220, 38, 38, 0.15);
  border: 1px solid rgba(220, 38, 38, 0.4);
  color: #fca5a5;
}

/* ============================================================
   CTA strip
   ============================================================ */
.section-cta {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--night);
  padding: clamp(3rem, 6vw, 5rem) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.section-cta::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.3) 0%, transparent 40%),
    radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.2) 0%, transparent 40%);
  pointer-events: none;
}
.section-cta > * { position: relative; }
.cta-inner { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.section-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  color: var(--night);
  margin-bottom: 0.25rem;
  letter-spacing: -0.02em;
}
.section-cta p { color: var(--brown-dark); max-width: 560px; font-size: 1.05rem; }
.section-cta .btn-primary {
  background: var(--night);
  color: var(--gold-light);
  box-shadow: 0 10px 30px rgba(10, 18, 34, 0.3);
}
.section-cta .btn-primary:hover {
  background: #000;
  color: var(--gold-light);
  box-shadow: 0 20px 50px rgba(10, 18, 34, 0.4);
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--night);
  color: rgba(255, 255, 255, 0.8);
  padding: 4rem 0 0;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--gold-glow) 20%,
    var(--gold) 50%,
    var(--gold-glow) 80%,
    transparent 100%
  );
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
@media (max-width: 780px) { .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 480px) { .footer-inner { grid-template-columns: 1fr; } }

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--gold-light);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}
.footer-col h4 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-light);
  margin-bottom: 1rem;
}
.footer-col p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.95rem;
  line-height: 1.65;
  max-width: 360px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  transition: color 0.2s var(--ease);
  text-decoration: none;
  display: inline-block;
  position: relative;
}
.footer-col a::after {
  content: "";
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--gold-light);
  transition: width 0.3s var(--ease);
}
.footer-col a:hover {
  color: var(--gold-light);
  text-decoration: none;
}
.footer-col a:hover::after { width: 100%; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ============================================================
   Legal pages
   ============================================================ */
.legal {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) 1.5rem;
}
.legal h1 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}
.legal .legal-meta { color: var(--text-muted); margin-bottom: 2rem; font-size: 0.9rem; }
.legal h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 2.5rem 0 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.legal h3 { font-size: 1.1rem; margin: 1.5rem 0 0.5rem; }
.legal p, .legal li { color: var(--text-soft); line-height: 1.75; margin-bottom: 1rem; }
.legal ul, .legal ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.legal li { margin-bottom: 0.5rem; }
.legal .back { display: inline-block; margin-top: 2rem; color: var(--gold-dark); }

/* ============================================================
   Thanks + 404
   ============================================================ */
.thanks {
  min-height: 70vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
  background: linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%);
  color: #fff;
}
.thanks-inner { max-width: 560px; }
.thanks-icon { font-size: 4rem; margin-bottom: 1rem; }
.thanks h1 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  color: #fff;
  margin-bottom: 1rem;
}
.thanks p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  line-height: 1.65;
  margin-bottom: 2rem;
}

/* ============================================================
   Media queries — mobile polish
   ============================================================ */
@media (max-width: 640px) {
  :root { --section-pad: clamp(3rem, 8vw, 5rem); }
  .nav-inner { padding: 0.8rem 0; }
  .nav-logo { font-size: 0.95rem; }
  .nav-logo em { font-size: 0.8rem; }
  .hero-title { font-size: clamp(2rem, 9vw, 3.5rem); }
  .hero-lead { font-size: 1rem; margin-bottom: 2rem; }
  .hero-cta { flex-direction: column; align-items: stretch; gap: 0.75rem; }
  .hero-cta .btn { width: 100%; }
  .btn { padding: 0.85rem 1.5rem; font-size: 0.95rem; }
  .btn-large { padding: 1rem 1.75rem; font-size: 1rem; }
  .section-header { margin-bottom: 3rem; }
  .path { padding: 1.75rem 1.25rem 1.5rem; }
  .path h3 { font-size: 1.5rem; }
  .app-feature, .package-item, .step { padding: 1.5rem 1.25rem; }
  .phone-mockup { width: 220px; }
  .phone-book { font-size: 1rem; }
  .phone-floating { width: 40px; height: 40px; font-size: 1.1rem; }
  .faq-item summary { padding: 1.1rem 1.25rem; font-size: 0.98rem; }
  .faq-item p { padding: 0 1.25rem 1.25rem; }
  .form { padding: 1.25rem; }
  .diff-vs { padding: 1.5rem; }
}

@media (max-width: 420px) {
  .hero-eyebrow { font-size: 0.78rem; padding: 0.35rem 0.75rem; }
  .hero-title { font-size: 2rem; }
  .hero-stats dt { font-size: 0.72rem; }
  .hero-stats dd { font-size: 0.95rem; }
  .path-ribbon { font-size: 0.65rem; padding: 0.35rem 0.85rem; }
}

/* Portrait-specific tweaks for very small mobiles */
@media (max-width: 360px) {
  :root { --container: 94vw; }
}

/* ============================================================
   Print
   ============================================================ */
@media print {
  .nav, .footer, .section-cta, .section-form, .hero-bg, .scroll-progress, .grain, .hero-scroll { display: none !important; }
  body { background: #fff; color: #000; }
  .section { padding: 1rem 0; page-break-inside: avoid; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
