/* ==========================================================================
   DIGITAL PRs | Quantum² & Nexora Editorial Stylesheet (Light Theme + Dark Hero)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cedarville+Cursive&family=Inter:wght@400;500;600;700&family=Source+Serif+4:ital,opsz,wght@0,8..60,400..600;1,8..60,400..600&family=Figtree:wght@300..900&family=Instrument+Serif:ital@0;1&display=swap');

@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 300 900;
  font-display: block;
  src: url('https://fonts.gstatic.com/s/figtree/v9/_Xms-HUzqDCFdgfMm4S9DaRvzig.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Alwayzz Design System & CSS Variables --- */
:root {
  /* Alwayzz Core Tokens */
  --bg: #ffffff;
  --text: #0a0a0a;
  --muted: #6b6b6b;
  --button-bg: #0a0a0a;
  --button-text: #ffffff;
  --border-soft: rgba(0, 0, 0, 0.08);
  --green: #17c964;

  /* Typography */
  --font-inter: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif4: 'Source Serif 4', Georgia, serif;
  --font-sans: 'Inter', 'Figtree', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Source Serif 4', 'Instrument Serif', Georgia, serif;
  --font-serif: 'Source Serif 4', Georgia, serif;
  --font-body: 'Inter', 'Figtree', sans-serif;
  --font-hero: 'Source Serif 4', 'Instrument Serif', Georgia, serif;

  /* Dashboard Shadows */
  --shadow-dashboard: 0 25px 80px -12px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.08);

  /* Light Theme Surfaces for Body & Catalog */
  --bg-page: #ffffff;
  --bg-primary: #ffffff;
  --bg-secondary: #f2f2f2;
  --bg-surface: #f2f2f2;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-panel: #ffffff;
  --bg-input: #ffffff;
  --border-light: #ededed;
  --border-medium: #ededed;
  --border-color: #ededed;
  --border-row: #ededed;

  /* Inks & Text Tokens */
  --color-ink: #000000;
  --text-primary: #000000;
  --text-white: #000000;
  --color-soft-ink: #2e2e2e;
  --text-secondary: #2e2e2e;
  --color-muted: #b8b8b8;
  --text-muted: #b8b8b8;

  /* Quantum² Brand Accent (Cyan #38c6ec) */
  --c-accent: #38c6ec;
  --color-accent: #38c6ec;
  --color-gold: #38c6ec;
  --gold-primary: #38c6ec;
  --gold-light: #7ae0f9;
  --gold-dark: #1ea3c7;
  --gold-gradient: linear-gradient(135deg, #7ae0f9 0%, #38c6ec 100%);
  --gold-border: rgba(56, 198, 236, 0.35);
  --gold-border-hover: rgba(56, 198, 236, 0.7);
  --text-gold: #38c6ec;

  /* Status Colors */
  --emerald: #2a9a30;
  --emerald-bg: rgba(42, 154, 48, 0.1);
  --emerald-border: rgba(42, 154, 48, 0.25);
  --amber: #f6a825;

  /* Quantum² Variable Font Exact Type Scale Tokens */
  --fs-display: 55.7px;
  --fs-body: 16.1px;
  --fs-ui: 15px;
  --fs-sup: 11.4px;
  --fs-wordmark: 17.1px;
  --fs-title: calc(var(--dp, 1px) * 20);
  --fs-heading: calc(var(--dp, 1px) * 17);
  --fs-eyebrow: calc(var(--dp, 1px) * 15.8);
  --fs-meta: calc(var(--dp, 1px) * 14.3);
  --fs-item: calc(var(--dp, 1px) * 12.9);
  --fs-caption: calc(var(--dp, 1px) * 12.2);
  --fs-tab: calc(var(--dp, 1px) * 12.1);

  /* Fractional Weights (Real variable-font instances, do not round) */
  --fw-light: 388;
  --fw-regular: 470;
  --fw-medium: 500;
  --fw-semibold: 511;
  --fw-bold: 577;
  --fw-black: 783;

  /* Tracking */
  --tr-display: -0.0572em;
  --tr-title: -0.0570em;
  --tr-heading: -0.02em;
  --tr-body: -0.0475em;
  --tr-eyebrow: -0.0293em;
  --tr-ui: -0.008em;
  --tr-cta: -0.02em;
  --tr-meta: -0.0447em;
  --tr-item: -0.0287em;
  --tr-caption: -0.0295em;
  --tr-tab: -0.0398em;
  --tr-wordmark: -0.0075em;

  /* Leading */
  --lh-display: 61px;
  --lh-body: 20px;
  --lh-flat: 1;

  /* Easing */
  --ease-reveal: cubic-bezier(.22, 1, .36, 1);
  --ease-settle: cubic-bezier(.16, 1, .30, 1);
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);

  /* Shadows (Soft, low-opacity per Quantum² spec) */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 22px 64px rgba(2, 72, 105, 0.08);
  --shadow-card: 0 12px 32px rgba(0, 0, 0, 0.04);
  --shadow-gold: 0 4px 20px rgba(56, 198, 236, 0.25);

  /* Layout & Geometry */
  --container-max: 1240px;
  --header-height: 84px;
  --stage-bg: #080A19;
  --band-fallback: #0A1230;
  --u: 548px;
  --dp: calc(var(--u) / 548);
  --dsk-card-s: 1;
  --dsk-band-dy: 0px;
  --dsk-hero-dy: 0px;

  /* Compatibility typography tokens */
  --text-h1: clamp(2.5rem, 6vw, 4.5rem);
  --text-h2: clamp(2rem, 4vw, 3rem);
  --text-h3: clamp(1.25rem, 2vw, 1.5rem);
  --text-body: 1rem;
  --text-small: 0.8125rem;
}

:root.dark-mode {
  --bg: #0a0a0a;
  --text: #ffffff;
  --muted: #a1a1aa;
  --button-bg: #ffffff;
  --button-text: #0a0a0a;
  --bg-page: #0a0a0a;
  --bg-primary: #0a0a0a;
  --bg-secondary: #171717;
  --bg-surface: #171717;
  --bg-card: #171717;
  --bg-card-hover: #262626;
  --bg-panel: #171717;
  --bg-input: #171717;
  --border-light: #262626;
  --border-medium: #262626;
  --border-color: #262626;
  --border-row: #262626;
  
  --color-ink: #ffffff;
  --text-primary: #ffffff;
  --text-white: #ffffff;
  --color-soft-ink: #d4d4d8;
  --text-secondary: #d4d4d8;
}

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

svg {
  max-width: 100%;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: light;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--color-soft-ink);
  line-height: var(--lh-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
}

/* Headings Global Standard */
h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5.5vw, var(--fs-display));
  line-height: 1.1;
  font-weight: var(--fw-regular);
  letter-spacing: var(--tr-display);
  color: var(--color-ink);
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.5vw, var(--fs-display));
  line-height: 1.1;
  font-weight: var(--fw-regular);
  letter-spacing: var(--tr-display);
  color: var(--color-ink);
}

h3 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 24px);
  line-height: 1.25;
  font-weight: var(--fw-light);
  letter-spacing: var(--tr-title);
  color: var(--color-ink);
}

h4 {
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.3;
  font-weight: var(--fw-semibold);
  letter-spacing: var(--tr-heading);
  color: var(--color-ink);
}

p {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: var(--fw-regular);
  letter-spacing: var(--tr-body);
  line-height: 1.45;
  color: var(--color-soft-ink);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-surface);
}
::-webkit-scrollbar-thumb {
  background: #d4d4d4;
  border-radius: 5px;
  border: 2px solid var(--bg-surface);
}
::-webkit-scrollbar-thumb:hover {
  background: #a3a3a3;
}

/* --- Container & Common Utilities --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 36px;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.5vw, var(--fs-display));
  font-weight: var(--fw-regular);
  color: var(--color-ink);
  line-height: 1.15;
  margin-bottom: 10px;
  letter-spacing: var(--tr-display);
}
.section-header p {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: var(--fw-regular);
  letter-spacing: var(--tr-body);
  color: var(--color-soft-ink);
  line-height: 1.45;
  max-width: 640px;
  margin: 0 auto;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: var(--fs-meta);
  font-weight: var(--fw-light);
  letter-spacing: var(--tr-meta);
  text-transform: uppercase;
  color: var(--color-accent);
  background: rgba(56, 198, 236, 0.08);
  border: 1px solid rgba(56, 198, 236, 0.25);
  padding: 5px 16px;
  border-radius: 9999px;
  margin-bottom: 12px;
}
.section-eyebrow svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* --- Buttons & Pill Radius Language --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 26px;
  border-radius: 9999px;
  font-family: var(--font-body);
  font-size: var(--fs-ui);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tr-cta);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  outline: none;
  position: relative;
  box-sizing: border-box;
}
.btn svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}
.btn:hover svg {
  transform: translateX(3px);
}

.btn-block {
  width: 100%;
}

.btn-subtle {
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--color-ink);
  font-size: var(--fs-ui);
  font-weight: var(--fw-semibold);
  padding: 10px 20px;
  border-radius: 9999px;
  white-space: nowrap;
  transition: all 0.2s;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-subtle:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-2px);
}

.liquid-glass, .liquid-glass-strong {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
}

.btn-gold {
  background: var(--color-accent);
  color: #000000;
  font-weight: var(--fw-bold);
  border: 1px solid var(--color-accent);
  box-shadow: 0 4px 16px rgba(56, 198, 236, 0.25);
}
.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(56, 198, 236, 0.35);
}

.btn-outline-gold {
  background: transparent;
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  font-weight: var(--fw-semibold);
}
.btn-outline-gold:hover {
  background: rgba(56, 198, 236, 0.1);
  color: #000000;
  transform: translateY(-2px);
}

/* Nav Actions Compatibility */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-actions .btn-gold {
  white-space: nowrap;
  height: 42px;
  padding: 0 20px;
  font-size: var(--fs-ui);
  line-height: 1;
}
.nav-actions .header-whatsapp-btn {
  white-space: nowrap;
  height: 42px;
  padding: 0 16px;
  font-size: var(--fs-ui);
  line-height: 1;
  text-decoration: none;
  color: var(--color-soft-ink);
}

/* ==========================================================================
   Nexora Editorial Hero Section Layout & Framer Motion Staggered Entrances
   ========================================================================== */

#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 640px;
  max-height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background-color: #050811;
  color: #ffffff;
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

/* ==========================================================================
   ALWAYZZ | Creative Agency Minimal Editorial Design System
   ========================================================================== */

/* --- 1. Fixed Top Navbar --- */
.alwayzz-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  justify-content: center;
  pointer-events: none;
  background: transparent;
}

.alwayzz-nav-container {
  width: 100%;
  max-width: 1200px;
  padding: 19px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: auto;
  box-sizing: border-box;
}

.alwayzz-logo {
  display: inline-flex;
  align-items: baseline;
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-serif4);
  font-size: 30px;
  font-weight: 600;
  font-style: italic;
  letter-spacing: -0.08em;
  line-height: 1;
  transition: opacity 0.2s ease;
  user-select: none;
}

.alwayzz-logo:hover {
  opacity: 0.75;
}

.alwayzz-trademark {
  font-family: var(--font-inter);
  font-size: 14px;
  font-weight: 600;
  font-style: normal;
  letter-spacing: -0.02em;
  vertical-align: super;
  margin-left: 1px;
}

.alwayzz-menu-btn {
  background: var(--button-bg);
  color: var(--button-text);
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  padding: 8px 18px 8px 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-inter);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
  user-select: none;
}

.alwayzz-menu-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.alwayzz-menu-chevron {
  width: 14px;
  height: 14px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.alwayzz-menu-btn.active .alwayzz-menu-chevron {
  transform: rotate(180deg);
}

/* --- 2. Full-Screen Menu Drawer --- */
.alwayzz-drawer {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: #ffffff;
  z-index: 95;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 100px 36px 40px;
  box-sizing: border-box;
  overflow: hidden;
}

.alwayzz-drawer.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.alwayzz-drawer-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 20px;
}

.alwayzz-drawer-link {
  font-family: var(--font-inter);
  font-size: 48px;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--text);
  text-decoration: none;
  position: relative;
  transition: opacity 0.2s ease, transform 0.2s ease;
  line-height: 1.2;
}

.alwayzz-drawer-link:hover {
  opacity: 0.45;
  transform: translateY(-2px);
}

.alwayzz-drawer-footer {
  text-align: center;
  font-family: var(--font-inter);
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: -0.01em;
}

/* --- 3. Hero Section & Background Treatment --- */
.alwayzz-hero-section {
  position: relative;
  width: 100%;
  min-height: 850px;
  padding: 160px 36px 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #ffffff;
  color: var(--text);
  overflow: hidden;
  box-sizing: border-box;
}

.alwayzz-hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('https://images.higgs.ai/?default=1&output=webp&url=https%3A%2F%2Fd8j0ntlcm91z4.cloudfront.net%2Fuser_38xzZboKViGWJOttwIXH07lWA1P%2Fhf_20260626_041422_4a459e05-abce-4150-9fb7-4ededc423cd1.png&w=1280&q=85');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 0;
  opacity: 0.95;
  transition: transform 0.4s ease;
}

.alwayzz-hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

/* --- 4. Decorative Animated Curved Lines --- */
@keyframes line-pulse {
  0% {
    opacity: 0;
    transform: scale(1);
  }
  15% {
    opacity: 0.9;
  }
  70% {
    opacity: 0.4;
  }
  100% {
    opacity: 0;
    transform: scale(0.85);
  }
}

.alwayzz-lines-wrapper {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.alwayzz-lines-left,
.alwayzz-lines-right {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 620px;
  width: 250px;
}

.alwayzz-lines-left {
  left: 0;
}

.alwayzz-lines-right {
  right: 0;
}

.alwayzz-line-left {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  height: 100%;
  border: 2.5px solid #FCFAF8;
  border-left: none;
  border-top-right-radius: 9999px;
  border-bottom-right-radius: 9999px;
  animation: line-pulse 5s ease-in-out infinite;
}

.alwayzz-line-right {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  height: 100%;
  border: 2.5px solid #FCFAF8;
  border-right: none;
  border-top-left-radius: 9999px;
  border-bottom-left-radius: 9999px;
  animation: line-pulse 5s ease-in-out infinite;
}

.alwayzz-lines-top-mobile {
  display: none;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 240px;
}

.alwayzz-line-top {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  border: 2.5px solid #FCFAF8;
  border-top: none;
  border-bottom-left-radius: 9999px;
  border-bottom-right-radius: 9999px;
  animation: line-pulse 5s ease-in-out infinite;
}

/* --- 5. Continuous Ticker --- */
@keyframes marquee-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.alwayzz-ticker-container {
  width: 100%;
  max-width: 500px;
  height: 36px;
  overflow: hidden;
  position: relative;
  margin-bottom: 28px;
  mask-image: linear-gradient(90deg, transparent 0%, black 12%, black 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 12%, black 88%, transparent 100%);
}

.alwayzz-ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee-left 30s linear infinite;
}

.alwayzz-ticker-group {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-right: 8px;
}

.alwayzz-ticker-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgb(251, 251, 251);
  border: 1px solid rgba(0, 0, 0, 0.04);
  font-family: var(--font-inter);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  letter-spacing: -0.01em;
}

/* --- 6. Hero Title & Subtitle --- */
.alwayzz-title {
  max-width: 550px;
  font-family: var(--font-inter);
  font-size: 82px;
  line-height: 1.03;
  letter-spacing: -0.07em;
  font-weight: 600;
  color: var(--text);
  margin: 0 auto;
  text-align: center;
}

.alwayzz-title-serif {
  font-family: var(--font-serif4);
  font-style: italic;
  font-weight: 600;
  letter-spacing: -0.08em;
}

.alwayzz-title-trademark {
  font-family: var(--font-inter);
  font-size: 24px;
  font-weight: 600;
  font-style: normal;
  vertical-align: super;
  letter-spacing: -0.02em;
}

.alwayzz-subtitle {
  max-width: 476px;
  font-family: var(--font-inter);
  font-size: 17px;
  line-height: 1.45;
  font-weight: 400;
  color: var(--muted);
  margin: 24px auto 36px;
  text-align: center;
  letter-spacing: -0.01em;
}

/* --- 7. Dual CTA Row --- */
.alwayzz-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
}

.alwayzz-btn-primary {
  height: 56px;
  padding: 18px 30px;
  border-radius: 999px;
  background: var(--button-bg);
  color: var(--button-text);
  font-family: var(--font-inter);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, opacity 0.2s ease;
  box-sizing: border-box;
}

.alwayzz-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.alwayzz-btn-chat {
  height: 56px;
  background: #ffffff;
  border: 4px solid rgb(248, 248, 248);
  border-radius: 999px;
  padding: 8px 24px 8px 8px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  text-decoration: none;
  color: var(--text);
  box-sizing: border-box;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease, box-shadow 0.2s ease;
}

.alwayzz-btn-chat:hover {
  transform: translateY(-1px);
  border-color: rgb(238, 238, 238);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.alwayzz-avatar-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.alwayzz-chat-text-stack {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.2;
}

.alwayzz-chat-primary-text {
  font-family: var(--font-inter);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
}

.alwayzz-chat-secondary-text {
  font-family: var(--font-inter);
  font-size: 12px;
  font-weight: 500;
  color: rgb(152, 152, 152);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: -0.01em;
  margin-top: 2px;
}

.alwayzz-green-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgb(29, 204, 93);
  display: inline-block;
  flex-shrink: 0;
}

/* --- 8. Bottom Progressive Blur --- */
.alwayzz-bottom-blur {
  position: absolute;
  width: 100%;
  height: 178px;
  bottom: 0;
  left: 0;
  pointer-events: none;
  z-index: 5;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.4) 40%, #ffffff 100%);
}

/* --- 9. Trusted By Section --- */
.alwayzz-trusted-section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 36px;
  display: flex;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 6;
  background: #ffffff;
  box-sizing: border-box;
}

.alwayzz-trusted-label {
  max-width: 163px;
  font-family: var(--font-inter);
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.35;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}

.alwayzz-trusted-marquee-wrap {
  flex: 1;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent 0%, black 12%, black 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 12%, black 88%, transparent 100%);
}

.alwayzz-trusted-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee-left 30s linear infinite;
}

.alwayzz-trusted-group {
  display: flex;
  align-items: center;
  gap: 48px;
  padding-right: 48px;
}

.alwayzz-brand-item {
  font-size: 16px;
  color: var(--text);
  white-space: nowrap;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  user-select: none;
}

.alwayzz-brand-airbnb {
  font-family: 'Cedarville Cursive', cursive;
  font-weight: 700;
  font-size: 20px;
}

.alwayzz-brand-shopify {
  font-family: system-ui, -apple-system, sans-serif;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.alwayzz-brand-notion {
  font-family: Georgia, serif;
  font-weight: 500;
}

.alwayzz-brand-linear {
  font-family: var(--font-inter);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.alwayzz-brand-webflow {
  font-family: var(--font-inter);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.alwayzz-brand-figma {
  font-family: system-ui, -apple-system, sans-serif;
  font-weight: 600;
}

.alwayzz-brand-slack {
  font-family: Georgia, serif;
  font-weight: 700;
}

.alwayzz-brand-stripe {
  font-family: system-ui, -apple-system, sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.alwayzz-brand-vercel {
  font-family: var(--font-inter);
  font-weight: 600;
  letter-spacing: -0.04em;
}

.alwayzz-brand-framer {
  font-family: var(--font-serif4);
  font-weight: 600;
  letter-spacing: -0.03em;
}

/* --- 10. Responsive Design --- */
@media (max-width: 1199.98px) {
  .alwayzz-nav-container {
    padding-left: 32px;
    padding-right: 32px;
  }
  .alwayzz-hero-section {
    padding: 140px 32px 120px;
  }
  .alwayzz-title {
    font-size: clamp(60px, 8vw, 72px);
  }
  .alwayzz-drawer-link {
    font-size: 40px;
  }
}

@media (max-width: 809.98px) {
  .alwayzz-nav-container {
    padding: 20px;
  }
  .alwayzz-hero-section {
    min-height: 760px;
    padding: 120px 24px 96px;
  }
  .alwayzz-hero-section::before {
    transform: rotate(90deg) scale(1.6);
    transform-origin: center;
  }
  .alwayzz-lines-left,
  .alwayzz-lines-right {
    display: none;
  }
  .alwayzz-lines-top-mobile {
    display: block;
  }
  .alwayzz-title {
    font-size: clamp(44px, 13vw, 52px);
    line-height: 1.05;
  }
  .alwayzz-subtitle {
    font-size: 15px;
    margin: 18px auto 28px;
  }
  .alwayzz-cta-row {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
  }
  .alwayzz-btn-primary,
  .alwayzz-btn-chat {
    width: 100%;
    justify-content: center;
  }
  .alwayzz-drawer-link {
    font-size: 32px;
  }
  .alwayzz-trusted-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 24px 20px;
  }
  .alwayzz-trusted-label {
    max-width: 100%;
  }
  .alwayzz-trusted-marquee-wrap {
    width: 100%;
  }
}

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .alwayzz-ticker-track,
  .alwayzz-trusted-track {
    animation: none !important;
    transform: none !important;
  }
  .alwayzz-line-left,
  .alwayzz-line-right,
  .alwayzz-line-top {
    animation: none !important;
    opacity: 0.5 !important;
    transform: translateY(-50%) !important;
  }
  .alwayzz-line-top {
    transform: translateX(-50%) !important;
  }
}

#viewport {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  background-color: var(--stage-bg);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

#stage {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1290px;
  height: 860px;
  transform: translate(-50%, -50%);
  transform-origin: center center;
  pointer-events: auto;
}

/* Floating Black Pill Navigation */
.quantum-nav {
  position: absolute;
  left: 50%;
  top: 43px;
  transform: translateX(-50%);
  width: 880px;
  height: 52px;
  border-radius: 26px;
  background: #000000;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  z-index: 30;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  padding: 0 9px 0 20px;
}

.quantum-nav .brand-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.quantum-nav .brand-logo-mark {
  width: 26px;
  height: 25px;
  background: var(--c-accent);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #080A19;
  font-weight: var(--fw-black);
  font-size: 15px;
  line-height: 1;
}

.quantum-nav .brand-name {
  font-size: var(--fs-wordmark);
  font-weight: var(--fw-black);
  letter-spacing: var(--tr-wordmark);
  color: #ffffff;
  white-space: nowrap;
}

.quantum-nav .nav-link-item {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: var(--fs-ui);
  font-weight: var(--fw-medium);
  letter-spacing: var(--tr-ui);
  color: #ffffff;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.quantum-nav .nav-link-item:hover {
  opacity: 0.8;
}

.quantum-nav .nav-link-1 { left: 279px; }
.quantum-nav .nav-link-2 { left: 386.5px; }
.quantum-nav .nav-link-3 { left: 483px; }
.quantum-nav .nav-link-4 { left: 571px; }

.quantum-nav .nav-cta-btn {
  position: absolute;
  left: 690px;
  top: 9px;
  width: 172px;
  height: 34px;
  border-radius: 17px;
  background: #ffffff;
  color: #000000;
  font-size: var(--fs-ui);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tr-ui);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
  transition: opacity 0.2s;
}
.quantum-nav .nav-cta-btn:hover {
  opacity: 0.9;
}

/* Mobile Hamburger & Dropdown Menu */
.quantum-burger {
  display: none;
  width: 34px;
  height: 34px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.quantum-burger-bar {
  position: absolute;
  width: 20px;
  height: 2px;
  background: #ffffff;
  border-radius: 1px;
  transition: transform 0.3s var(--ease-settle), opacity 0.3s;
}
.quantum-burger-bar.bar-top {
  transform: translateY(-4px);
}
.quantum-burger-bar.bar-bottom {
  transform: translateY(4px);
}

.quantum-burger.active .quantum-burger-bar.bar-top {
  transform: rotate(45deg);
}
.quantum-burger.active .quantum-burger-bar.bar-bottom {
  transform: rotate(-45deg);
}

.quantum-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 230px;
  background: #000000;
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.96);
  transform-origin: top right;
  transition: opacity 0.3s var(--ease-settle), transform 0.3s var(--ease-settle), visibility 0.3s;
  z-index: 50;
}
.quantum-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.quantum-dropdown a {
  padding: 10px 14px;
  border-radius: 10px;
  color: #ffffff;
  font-size: var(--fs-ui);
  font-weight: var(--fw-medium);
  letter-spacing: var(--tr-ui);
  text-decoration: none;
  transition: background 0.2s;
}
.quantum-dropdown a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.quantum-dropdown .dropdown-cta {
  margin-top: 8px;
  background: var(--c-accent);
  color: #000000 !important;
  font-weight: var(--fw-bold);
  text-align: center;
  border-radius: 12px;
  padding: 10px 14px;
  border: none;
}

/* Hero Copy Block */
.quantum-h1 {
  position: absolute;
  left: 50%;
  top: calc(190px + var(--dsk-hero-dy, 0px));
  transform: translateX(-50%);
  width: 100%;
  max-width: 900px;
  text-align: center;
  font-family: 'Figtree', sans-serif !important;
  font-size: 55.7px;
  font-weight: 470;
  letter-spacing: -0.0572em;
  line-height: 61px;
  color: #EFF4FF;
  white-space: pre-line;
  margin: 0;
  z-index: 20;
}

.quantum-sub {
  position: absolute;
  left: 50%;
  top: calc(332px + var(--dsk-hero-dy, 0px));
  transform: translateX(-50%);
  width: 100%;
  max-width: 780px;
  text-align: center;
  font-family: 'Figtree', sans-serif !important;
  font-size: var(--fs-body);
  font-weight: 470;
  letter-spacing: var(--tr-body);
  line-height: var(--lh-body);
  color: rgba(255, 255, 255, 0.8);
  text-wrap: balance;
  white-space: normal;
  margin: 0;
  z-index: 20;
}

.quantum-cta {
  position: absolute;
  left: 50%;
  top: calc(396px + var(--dsk-hero-dy, 0px));
  transform: translateX(-50%);
  width: 140px;
  height: 34px;
  border-radius: 17px;
  background: var(--c-accent);
  color: #080A19;
  font-family: 'Figtree', sans-serif !important;
  font-size: var(--fs-ui);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tr-cta);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(56, 198, 236, 0.3);
  z-index: 22;
  transition: opacity 0.2s;
}
.quantum-cta:hover {
  opacity: 0.9;
}

/* Video Band */
.quantum-band {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(462px + var(--dsk-band-dy, 0px));
  bottom: 0;
  overflow: hidden;
  background: var(--band-fallback);
  z-index: 10;
}

.quantum-band video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Placement Tracker Fixed-Geometry Card */
.quantum-card {
  --u: 548px;
  --dp: calc(var(--u) / 548);
  position: absolute;
  left: calc(50% - 274px);
  top: calc(538px + var(--dsk-band-dy, 0px));
  width: var(--u);
  transform: scale(var(--dsk-card-s, 1));
  transform-origin: top center;
  background: #f2f2f2;
  border-radius: calc(var(--dp) * 16);
  padding: calc(var(--dp) * 20);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.7), 0 12px 32px rgba(8, 10, 25, 0.6), 0 32px 64px rgba(8, 10, 25, 0.85);
  box-sizing: border-box;
  font-family: 'Figtree', sans-serif !important;
  z-index: 25;
}

.card-eyebrow {
  font-size: var(--fs-eyebrow);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--tr-eyebrow);
  color: #888888;
  margin-bottom: calc(var(--dp) * 4);
}

.card-title {
  font-size: var(--fs-title);
  font-weight: var(--fw-light);
  letter-spacing: var(--tr-title);
  color: #111111;
  margin-bottom: calc(var(--dp) * 12);
}

.card-meta-row {
  display: flex;
  align-items: center;
  gap: calc(var(--dp) * 10);
  margin-bottom: calc(var(--dp) * 14);
}

.card-avatars {
  display: flex;
  align-items: center;
}

.card-avatar {
  width: calc(var(--dp) * 28);
  height: calc(var(--dp) * 28);
  border-radius: 50%;
  border: calc(var(--dp) * 2) solid #ffffff;
  margin-left: calc(var(--dp) * -6);
  background-size: cover;
  background-position: center;
  display: inline-block;
}
.card-avatar:first-child {
  margin-left: 0;
}

.card-meta-text {
  font-size: var(--fs-meta);
  font-weight: var(--fw-regular);
  letter-spacing: var(--tr-meta);
  color: #444444;
  display: flex;
  align-items: center;
  gap: calc(var(--dp) * 6);
}

.card-tabs {
  display: flex;
  align-items: center;
  gap: calc(var(--dp) * 16);
  border-bottom: 1px solid #e2e2e2;
  padding-bottom: calc(var(--dp) * 8);
  margin-bottom: calc(var(--dp) * 12);
}

.card-tab {
  font-size: var(--fs-tab);
  letter-spacing: var(--tr-tab);
  font-weight: var(--fw-regular);
  color: #777777;
  position: relative;
  cursor: default;
}

.card-tab.active {
  font-weight: var(--fw-semibold);
  color: #111111;
  background: #ffffff;
  padding: calc(var(--dp) * 4) calc(var(--dp) * 10);
  border-radius: calc(var(--dp) * 10);
}
.card-tab.active::after {
  content: '';
  position: absolute;
  bottom: calc(var(--dp) * -9);
  left: calc(var(--dp) * 10);
  right: calc(var(--dp) * 10);
  height: calc(var(--dp) * 2);
  background: var(--c-accent);
}

.card-panel {
  background: #ffffff;
  border-radius: calc(var(--dp) * 8);
  padding: calc(var(--dp) * 14) calc(var(--dp) * 16);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.panel-heading {
  font-size: var(--fs-heading);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--tr-heading);
  color: #111111;
  margin-bottom: calc(var(--dp) * 10);
}

.panel-row {
  height: calc(var(--dp) * 46);
  display: flex;
  align-items: center;
  gap: calc(var(--dp) * 10);
}
.panel-row:not(:last-child) {
  border-bottom: 1px solid #ededed;
}

.status-dot {
  width: calc(var(--dp) * 20);
  height: calc(var(--dp) * 20);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.status-dot.green {
  background: #2a9a30;
  color: #ffffff;
}
.status-dot.amber {
  background: #f6a825;
  color: #ffffff;
}

.row-label {
  font-size: var(--fs-item);
  font-weight: var(--fw-medium);
  letter-spacing: var(--tr-item);
  color: #111111;
}

.row-owner {
  font-size: var(--fs-caption);
  font-weight: var(--fw-regular);
  letter-spacing: var(--tr-caption);
  color: #888888;
  margin-left: auto;
  white-space: nowrap;
}

/* ==========================================================================
   Entrance Animation System (Independent Translate & Clip-Path)
   ========================================================================== */
@keyframes enter-wipe {
  from { clip-path: inset(0 0 100% 0); }
  to { clip-path: inset(0 0 0% 0); }
}

@keyframes enter-drop {
  from { translate: 0 -30px; opacity: 0; }
  to { translate: 0 0; opacity: 1; }
}

@keyframes enter-rise14 {
  from { translate: 0 14px; opacity: 0; }
  to { translate: 0 0; opacity: 1; }
}

@keyframes enter-rise22 {
  from { translate: 0 22px; opacity: 0; }
  to { translate: 0 0; opacity: 1; }
}

@keyframes enter-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Pending States */
html[data-enter="pending"] .quantum-nav {
  translate: 0 -30px;
  opacity: 0;
}
html[data-enter="pending"] .quantum-nav .brand-lockup,
html[data-enter="pending"] .quantum-nav .nav-link-item,
html[data-enter="pending"] .quantum-nav .nav-cta-btn {
  opacity: 0;
}
html[data-enter="pending"] .quantum-h1 {
  clip-path: inset(0 0 100% 0);
}
html[data-enter="pending"] .quantum-sub {
  translate: 0 14px;
  opacity: 0;
}
html[data-enter="pending"] .quantum-cta {
  translate: 0 14px;
  opacity: 0;
}
html[data-enter="pending"] .quantum-card {
  translate: 0 22px;
  opacity: 0;
}

/* Running States */
html[data-enter="run"] .quantum-nav {
  animation: enter-drop 0.62s var(--ease-settle) 0.05s forwards;
}
html[data-enter="run"] .quantum-nav .brand-logo-mark {
  animation: enter-fade 0.5s var(--ease-settle) 0.18s forwards;
}
html[data-enter="run"] .quantum-nav .brand-name {
  animation: enter-fade 0.5s var(--ease-settle) 0.22s forwards;
}
html[data-enter="run"] .quantum-nav .nav-link-1 {
  animation: enter-fade 0.5s var(--ease-settle) 0.26s forwards;
}
html[data-enter="run"] .quantum-nav .nav-link-2 {
  animation: enter-fade 0.5s var(--ease-settle) 0.30s forwards;
}
html[data-enter="run"] .quantum-nav .nav-link-3 {
  animation: enter-fade 0.5s var(--ease-settle) 0.34s forwards;
}
html[data-enter="run"] .quantum-nav .nav-link-4 {
  animation: enter-fade 0.5s var(--ease-settle) 0.38s forwards;
}
html[data-enter="run"] .quantum-nav .nav-cta-btn {
  animation: enter-fade 0.5s var(--ease-settle) 0.42s forwards;
}
html[data-enter="run"] .quantum-h1 {
  animation: enter-wipe 0.92s var(--ease-reveal) 0.30s forwards;
}
html[data-enter="run"] .quantum-sub {
  animation: enter-rise14 0.62s var(--ease-settle) 0.62s forwards;
}
html[data-enter="run"] .quantum-cta {
  animation: enter-rise14 0.58s var(--ease-settle) 0.78s forwards;
}
html[data-enter="run"] .quantum-card {
  animation: enter-rise22 0.94s var(--ease-settle) 0.88s forwards;
}

/* ==========================================================================
   Scroll-Reveal Motion System (Sections Below Hero)
   ========================================================================== */
.quantum-reveal {
  opacity: 0;
  translate: 0 16px;
  transition: opacity 0.58s var(--ease-settle), translate 0.58s var(--ease-settle);
  will-change: opacity, translate;
}

.quantum-reveal.revealed {
  opacity: 1;
  translate: 0 0;
}

.quantum-reveal .section-header {
  opacity: 0;
  translate: 0 14px;
  transition: opacity 0.54s var(--ease-settle), translate 0.54s var(--ease-settle);
}

.quantum-reveal.revealed .section-header {
  opacity: 1;
  translate: 0 0;
}

.quantum-reveal .process-grid > *,
.quantum-reveal .goals-grid > *,
.quantum-reveal .stats-grid > *,
.quantum-reveal .pricing-grid > *,
.quantum-reveal .cases-grid > *,
.quantum-reveal .auth-cards-grid > *,
.quantum-reveal .faq-item,
.quantum-reveal .pub-layout > * {
  opacity: 0;
  translate: 0 18px;
  transition: opacity 0.54s var(--ease-settle), translate 0.54s var(--ease-settle);
}

.quantum-reveal.revealed .process-grid > *:nth-child(1),
.quantum-reveal.revealed .goals-grid > *:nth-child(1),
.quantum-reveal.revealed .stats-grid > *:nth-child(1),
.quantum-reveal.revealed .pricing-grid > *:nth-child(1),
.quantum-reveal.revealed .cases-grid > *:nth-child(1),
.quantum-reveal.revealed .auth-cards-grid > *:nth-child(1),
.quantum-reveal.revealed .faq-item:nth-child(1),
.quantum-reveal.revealed .pub-layout > *:nth-child(1) {
  opacity: 1;
  translate: 0 0;
  transition-delay: 0.08s;
}

.quantum-reveal.revealed .process-grid > *:nth-child(2),
.quantum-reveal.revealed .goals-grid > *:nth-child(2),
.quantum-reveal.revealed .stats-grid > *:nth-child(2),
.quantum-reveal.revealed .pricing-grid > *:nth-child(2),
.quantum-reveal.revealed .cases-grid > *:nth-child(2),
.quantum-reveal.revealed .auth-cards-grid > *:nth-child(2),
.quantum-reveal.revealed .faq-item:nth-child(2),
.quantum-reveal.revealed .pub-layout > *:nth-child(2) {
  opacity: 1;
  translate: 0 0;
  transition-delay: 0.16s;
}

.quantum-reveal.revealed .process-grid > *:nth-child(3),
.quantum-reveal.revealed .goals-grid > *:nth-child(3),
.quantum-reveal.revealed .stats-grid > *:nth-child(3),
.quantum-reveal.revealed .pricing-grid > *:nth-child(3),
.quantum-reveal.revealed .cases-grid > *:nth-child(3),
.quantum-reveal.revealed .auth-cards-grid > *:nth-child(3),
.quantum-reveal.revealed .faq-item:nth-child(3) {
  opacity: 1;
  translate: 0 0;
  transition-delay: 0.24s;
}

.quantum-reveal.revealed .process-grid > *:nth-child(4),
.quantum-reveal.revealed .goals-grid > *:nth-child(4),
.quantum-reveal.revealed .stats-grid > *:nth-child(4),
.quantum-reveal.revealed .cases-grid > *:nth-child(4),
.quantum-reveal.revealed .faq-item:nth-child(4) {
  opacity: 1;
  translate: 0 0;
  transition-delay: 0.32s;
}

.quantum-reveal.revealed .goals-grid > *:nth-child(5),
.quantum-reveal.revealed .faq-item:nth-child(5) {
  opacity: 1;
  translate: 0 0;
  transition-delay: 0.40s;
}

.quantum-reveal.revealed .goals-grid > *:nth-child(6),
.quantum-reveal.revealed .faq-item:nth-child(6) {
  opacity: 1;
  translate: 0 0;
  transition-delay: 0.48s;
}

.quantum-reveal.revealed .faq-item:nth-child(n+7) {
  opacity: 1;
  translate: 0 0;
  transition-delay: 0.52s;
}

@media (prefers-reduced-motion: reduce) {
  .quantum-reveal,
  .quantum-reveal .section-header,
  .quantum-reveal .process-grid > *,
  .quantum-reveal .goals-grid > *,
  .quantum-reveal .stats-grid > *,
  .quantum-reveal .pricing-grid > *,
  .quantum-reveal .cases-grid > *,
  .quantum-reveal .auth-cards-grid > *,
  .quantum-reveal .faq-item,
  .quantum-reveal .pub-layout > * {
    opacity: 1 !important;
    translate: 0 0 !important;
    transition: none !important;
    transition-delay: 0s !important;
  }
}

/* ==========================================================================
   Section 1: Infinite Masthead Marquee
   ========================================================================== */
.marquee-wrapper {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 22px 0;
  overflow: hidden;
  position: relative;
}
.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marqueeScroll 28s linear infinite;
}
.marquee-track:hover {
  animation-play-state: paused;
}
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: var(--fw-semibold);
  letter-spacing: var(--tr-ui);
  white-space: nowrap;
}
.marquee-item .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-accent);
}

/* ==========================================================================
   Section 2: Stats Counter Section (Light Gray Band #f2f2f2)
   ========================================================================== */
.stats-section {
  padding: 70px 0;
  background: var(--bg-page);
  border-bottom: 1px solid var(--border-color);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-card {
  text-align: center;
  padding: 28px 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  transition: all var(--transition-normal);
}
.stat-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.stat-card .stat-number {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: var(--fw-regular);
  letter-spacing: var(--tr-display);
  color: var(--color-ink);
  line-height: 1.1;
  margin-bottom: 8px;
}
.stat-card .stat-label {
  font-size: var(--fs-meta);
  font-weight: var(--fw-light);
  letter-spacing: var(--tr-meta);
  color: var(--color-muted);
  text-transform: uppercase;
}
.stat-card .stat-sub {
  font-size: var(--fs-caption);
  font-weight: var(--fw-regular);
  letter-spacing: var(--tr-caption);
  color: var(--color-soft-ink);
  margin-top: 6px;
}

/* ==========================================================================
   Section 3: 4-Step Process Section
   ========================================================================== */
.process-section, #how-it-works {
  padding: 72px 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.process-card, .step-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 32px 24px;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.process-card:hover, .step-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
}
.process-step-num, .step-number {
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  background: var(--color-accent);
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-ui);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tr-ui);
  margin-bottom: 20px;
}
.process-card h3, .step-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.25;
  font-weight: var(--fw-light);
  letter-spacing: var(--tr-title);
  color: var(--color-ink);
  margin-bottom: 12px;
}
.process-card p, .step-card p {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-soft-ink);
  line-height: 1.45;
}

/* ==========================================================================
   Section 4: Strategic Goals ("I want to...")
   ========================================================================== */
.goals-section, #goals {
  padding: 72px 0;
  background: var(--bg-page);
  border-bottom: 1px solid var(--border-color);
}
.goals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.goal-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 32px 28px;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}
.goal-card:hover {
  background: var(--bg-panel);
  border-color: var(--color-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.goal-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 18px;
}
.goal-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(56, 198, 236, 0.1);
  border: 1px solid rgba(56, 198, 236, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
}
.goal-icon-badge svg {
  width: 22px;
  height: 22px;
}
.goal-tag {
  font-size: var(--fs-sup);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--tr-caption);
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 9999px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--color-soft-ink);
}
.goal-card h3 {
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1.25;
  font-weight: var(--fw-light);
  letter-spacing: var(--tr-title);
  color: var(--color-ink);
  margin-bottom: 10px;
}
.goal-card p {
  font-size: 15px;
  color: var(--color-soft-ink);
  line-height: 1.45;
  margin-bottom: 20px;
}
.goal-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
  font-size: var(--fs-item);
  color: var(--color-accent);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--tr-item);
}
.goal-action-row svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}
.goal-card:hover .goal-action-row svg {
  transform: translateX(4px);
}

/* ==========================================================================
   Section 5: Comparison Table
   ========================================================================== */
.comparison-section, #comparison {
  padding: 72px 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
}
.comparison-table-wrapper {
  overflow-x: auto;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  background: var(--bg-panel);
  box-shadow: var(--shadow-sm);
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 15px;
}
.comparison-table th, .comparison-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-color);
  color: var(--color-soft-ink);
}
.comparison-table th {
  font-family: var(--font-display);
  font-size: var(--fs-heading);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--tr-heading);
  color: var(--color-ink);
  background: #fafafa;
}
.col-highlight, .col-digital-prs {
  background: rgba(56, 198, 236, 0.06) !important;
  color: var(--color-ink) !important;
  font-weight: var(--fw-semibold) !important;
  border-left: 1px solid rgba(56, 198, 236, 0.2);
  border-right: 1px solid rgba(56, 198, 236, 0.2);
}
.check-yes, .comparison-check {
  color: var(--color-accent);
  font-weight: var(--fw-bold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.check-no, .comparison-cross {
  color: var(--color-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   Section 6: Interactive Publications Explorer & Filter Sidebar
   ========================================================================== */
.publications-section, #publications {
  padding: 72px 0;
  background: var(--bg-page);
  border-bottom: 1px solid var(--border-color);
}
.pub-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

/* Sidebar */
.pub-sidebar {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 20px 18px;
}
.pub-sidebar-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: var(--fw-semibold);
  letter-spacing: var(--tr-heading);
  color: var(--color-ink);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.active-filters-badge {
  font-size: var(--fs-sup);
  font-weight: var(--fw-semibold);
  background: var(--color-accent);
  color: #000000;
  padding: 2px 8px;
  border-radius: 9999px;
}

.pub-search-box {
  position: relative;
}
.pub-search-input {
  width: 100%;
  height: 38px;
  padding: 0 32px 0 14px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  font-size: var(--fs-ui);
  font-family: var(--font-body);
  color: var(--color-ink);
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.pub-search-input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(56, 198, 236, 0.2);
}
.pub-search-clear {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  background: transparent;
  border: none;
  color: var(--color-muted);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}
.pub-search-clear.visible {
  display: flex;
}

.pub-filter-group {
  margin-bottom: 12px;
}
.pub-filter-label {
  display: block;
  font-size: 11px;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 4px;
}
.pub-filter-select {
  width: 100%;
  height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  font-size: 13px;
  font-family: var(--font-body);
  color: var(--color-ink);
  outline: none;
  cursor: pointer;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.pub-filter-select:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(56, 198, 236, 0.2);
}

.pub-sidebar-actions {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pub-fav-filter-btn {
  width: 100%;
  height: 38px;
  border-radius: 9999px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--color-ink);
  font-size: 13px;
  font-weight: var(--fw-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s;
}
.pub-fav-filter-btn:hover, .pub-fav-filter-btn.active {
  border-color: var(--color-accent);
  color: var(--color-accent);
}
.pub-reset-btn {
  width: 100%;
  height: 36px;
  border-radius: 9999px;
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--color-muted);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}
.pub-reset-btn:hover {
  color: var(--color-ink);
  border-color: var(--color-muted);
}

/* Main Content & Topbar */
.pub-main-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.pub-results-count {
  font-size: var(--fs-body);
  color: var(--color-soft-ink);
}
.pub-results-count strong {
  color: var(--color-ink);
  font-weight: var(--fw-bold);
}
.pub-sort-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-ui);
  color: var(--color-soft-ink);
}
.pub-sort-select {
  height: 38px;
  padding: 0 14px;
  border-radius: 9999px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  font-size: var(--fs-ui);
  font-family: var(--font-body);
  color: var(--color-ink);
  outline: none;
  cursor: pointer;
}

/* Publication Grid & Cards */
.pub-grid-v2 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.pub-card-v2 {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  position: relative;
}
.pub-card-v2:hover {
  transform: translateY(-4px);
  border-color: var(--color-accent);
  box-shadow: var(--shadow-lg);
}

.pub-card-media {
  position: relative;
  margin-bottom: 16px;
}
.pub-fav-btn {
  position: absolute;
  top: 0;
  right: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--color-muted);
  touch-action: manipulation;
  transition: color 0.2s;
  z-index: 5;
}
.pub-fav-btn:hover, .pub-fav-btn.active {
  color: var(--color-accent);
}
.pub-fav-btn::after {
  content: '';
  position: absolute;
  inset: 0;
}

.pub-type-badge {
  font-size: var(--fs-sup);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--tr-caption);
  color: var(--color-muted);
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

.pub-logo-container {
  height: 64px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
}
.pub-logo-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: 40px;
  object-fit: contain;
  object-position: center;
  display: block;
}
.pub-logo-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pub-fallback-icon {
  color: #9ca3af;
  opacity: 0.6;
}

.pub-card-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}
.pub-card-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: var(--fw-light);
  letter-spacing: var(--tr-title);
  color: var(--color-ink);
  line-height: 1.3;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.6em;
}

.pub-stats-row {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  flex-wrap: nowrap;
  margin-bottom: 14px;
  font-size: var(--fs-meta);
  color: var(--color-muted);
}
.pub-stat-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.pub-stat-badge strong {
  color: var(--color-ink);
  font-weight: var(--fw-bold);
}
.pub-stat-divider {
  color: #d4d4d4;
}
.pub-stat-region {
  overflow: hidden;
  text-overflow: ellipsis;
}

.pub-tags-grid {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.tag-pill {
  font-size: var(--fs-item);
  font-weight: var(--fw-medium);
  letter-spacing: var(--tr-item);
  padding: 4px 10px;
  border-radius: 9999px;
  background: var(--bg-surface);
  color: var(--color-soft-ink);
  display: inline-flex;
  align-items: center;
  width: fit-content;
}
.tag-link-dofollow {
  color: #1e8324;
  background: rgba(42, 154, 48, 0.08);
}
.tag-link-nofollow {
  color: var(--color-muted);
  background: var(--bg-surface);
}
.tag-note {
  color: #024869;
  background: rgba(56, 198, 236, 0.12);
  border: 1px solid rgba(56, 198, 236, 0.25);
  font-weight: var(--fw-medium);
}
.tag-note-on-hold {
  color: #b45309;
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.35);
  font-weight: var(--fw-bold);
}
.tag-discrete {
  color: #4b5563;
  background: rgba(107, 114, 128, 0.12);
  border: 1px solid rgba(107, 114, 128, 0.2);
}
.tag-aeo {
  color: #0b7a97;
  background: rgba(56, 198, 236, 0.12);
  font-weight: var(--fw-semibold);
}

.pub-example-link {
  font-size: var(--fs-caption);
  color: var(--color-accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 16px;
  margin-top: auto;
}
.pub-example-link:hover {
  text-decoration: underline;
}

.pub-card-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
}
.pub-price-large {
  font-size: 22px;
  font-weight: var(--fw-bold);
  color: var(--color-accent);
  margin-bottom: 6px;
}
.pub-live-info {
  margin-bottom: 12px;
}
.pub-live-date {
  font-size: var(--fs-caption);
  color: var(--color-soft-ink);
  display: flex;
  align-items: center;
  gap: 6px;
}
.pub-refund-guarantee {
  font-size: var(--fs-sup);
  color: var(--color-muted);
}

.pub-get-featured-btn {
  width: 100%;
  height: 40px;
  border-radius: 9999px;
  background: var(--color-accent);
  color: #000000;
  border: 1px solid var(--color-accent);
  font-size: var(--fs-ui);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tr-cta);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s;
}
.pub-get-featured-btn:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-1px);
}

.pub-load-more-container {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.pub-load-more-btn {
  padding: 12px 32px;
  border-radius: 9999px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--color-ink);
  font-size: var(--fs-ui);
  font-weight: var(--fw-semibold);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}
.pub-load-more-btn:hover {
  border-color: var(--color-accent);
  background: #ffffff;
}
.pub-load-more-progress {
  font-size: var(--fs-caption);
  color: var(--color-muted);
}

/* Skeletons */
.skeleton-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 20px;
  height: 380px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
}
.skeleton-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.04), transparent);
  animation: shimmer 1.5s infinite;
}
@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
.skeleton-box {
  background: var(--bg-surface);
  border-radius: 8px;
}
.skeleton-media { height: 64px; }
.skeleton-title { height: 24px; width: 70%; }
.skeleton-stats { height: 16px; width: 50%; }
.skeleton-tags { height: 60px; }
.skeleton-price { height: 28px; width: 40%; margin-top: auto; }
.skeleton-btn { height: 40px; border-radius: 9999px; }

/* ==========================================================================
   Section 7: PR ROI & Earned Media Value (EMV) Calculator
   ========================================================================== */
.calculator-section, #roi-calculator {
  padding: 72px 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
}
.calc-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}
.calc-inputs-card, .calc-results-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.calc-results-card {
  border: 2px solid var(--color-accent);
  box-shadow: var(--shadow-lg);
  text-align: center;
  position: relative;
}
.calc-badge-top {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent);
  color: #000000;
  font-size: var(--fs-sup);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tr-caption);
  text-transform: uppercase;
  padding: 4px 18px;
  border-radius: 9999px;
}
.calc-group {
  margin-bottom: 20px;
}
.calc-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.calc-label {
  font-size: var(--fs-ui);
  font-weight: var(--fw-semibold);
  color: var(--color-ink);
}
.calc-value-badge {
  font-size: var(--fs-ui);
  font-weight: var(--fw-bold);
  color: var(--color-accent);
  background: rgba(56, 198, 236, 0.1);
  padding: 3px 12px;
  border-radius: 9999px;
}

input[type="range"].custom-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 9999px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  outline: none;
}
input[type="range"].custom-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-accent);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(56, 198, 236, 0.5);
  border: 2px solid #ffffff;
}

.form-select {
  width: 100%;
  height: 44px;
  padding: 0 16px;
  border-radius: 9999px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  font-size: var(--fs-ui);
  font-family: var(--font-body);
  color: var(--color-ink);
  outline: none;
}

.emv-headline {
  font-size: var(--fs-sup);
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: var(--tr-caption);
  margin-bottom: 6px;
}
.emv-number {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 55.7px);
  font-weight: var(--fw-regular);
  letter-spacing: var(--tr-display);
  color: var(--color-accent);
  line-height: 1.1;
  margin-bottom: 18px;
}

.calc-breakdown-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  background: var(--bg-surface);
  padding: 16px;
  border-radius: 12px;
  margin-bottom: 20px;
  font-size: 14px;
}
.calc-breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.calc-breakdown-row span:last-child {
  font-weight: var(--fw-bold);
  color: var(--color-ink);
}

/* ==========================================================================
   Section 8: Transparent & Guaranteed Pricing
   ========================================================================== */
.pricing-section, #pricing {
  padding: 72px 0;
  background: var(--bg-page);
  border-bottom: 1px solid var(--border-color);
}
.pricing-toggle-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
}
.pricing-toggle-label {
  font-size: var(--fs-ui);
  font-weight: var(--fw-medium);
  color: var(--color-muted);
  cursor: pointer;
}
.pricing-toggle-label.active {
  color: var(--color-ink);
  font-weight: var(--fw-bold);
}
.toggle-switch {
  position: relative;
  width: 56px;
  height: 30px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 9999px;
  cursor: pointer;
  padding: 2px;
  box-sizing: border-box;
}
.toggle-knob {
  width: 24px;
  height: 24px;
  background: var(--color-accent);
  border-radius: 50%;
  transition: transform var(--transition-normal);
}
.toggle-switch.monthly .toggle-knob {
  transform: translateX(26px);
}
.pricing-discount-pill {
  background: rgba(56, 198, 236, 0.12);
  border: 1px solid rgba(56, 198, 236, 0.3);
  color: var(--color-accent);
  font-size: var(--fs-sup);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tr-caption);
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 9999px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}
.pricing-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.pricing-card.featured, .pricing-card.popular {
  background: var(--bg-panel);
  border: 2px solid var(--color-accent);
  box-shadow: var(--shadow-lg);
  transform: scale(1.02);
}
.pricing-card.featured:hover, .pricing-card.popular:hover {
  transform: scale(1.02) translateY(-4px);
}
.card-ribbon {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent);
  color: #000000;
  font-size: var(--fs-sup);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tr-caption);
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 9999px;
}
.card-plan-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: var(--fw-light);
  letter-spacing: var(--tr-title);
  color: var(--color-ink);
  margin-bottom: 6px;
}
.card-plan-desc {
  font-size: 14px;
  color: var(--color-soft-ink);
  margin-bottom: 18px;
  min-height: 40px;
}
.card-pricing-block {
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-color);
}
.price-currency {
  font-size: 22px;
  font-weight: var(--fw-bold);
  color: var(--color-accent);
  vertical-align: top;
  position: relative;
  top: 4px;
}
.price-amount {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: var(--fw-bold);
  color: var(--color-ink);
}
.price-cadence {
  font-size: 14px;
  color: var(--color-muted);
}
.feature-list {
  list-style: none;
  margin-bottom: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feature-list li {
  font-size: 14px;
  color: var(--color-soft-ink);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.feature-list li svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--color-accent);
  margin-top: 2px;
}
.pricing-card .btn {
  background: #000000;
  color: #ffffff;
}
.pricing-card.featured .btn, .pricing-card.popular .btn {
  background: var(--color-accent);
  color: #000000;
}

/* Money-Back Escrow Seal */
.guarantee-escrow-box {
  margin-top: 36px;
  padding: 24px 28px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--shadow-sm);
}
.escrow-icon-shield {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(56, 198, 236, 0.12);
  border: 1px solid rgba(56, 198, 236, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-accent);
}
.escrow-icon-shield svg {
  width: 22px;
  height: 22px;
  stroke: var(--color-accent);
  stroke-width: 2;
  display: block;
}
.escrow-text {
  flex: 1;
  min-width: 0;
}
.escrow-text h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: var(--fw-semibold);
  letter-spacing: var(--tr-title);
  color: var(--color-ink);
  margin-bottom: 4px;
}
.escrow-text p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-soft-ink);
  margin: 0;
}

/* ==========================================================================
   Section 9: Concierge, Authority & Case Studies
   ========================================================================== */
/* Concierge Section */
.concierge-section, #concierge-section {
  padding: 72px 0;
  background: var(--bg-page);
  border-bottom: 1px solid var(--border-color);
}
.concierge-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 36px 32px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
  box-shadow: var(--shadow-sm);
}
.concierge-content h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: var(--fw-regular);
  letter-spacing: var(--tr-display);
  color: var(--color-ink);
  line-height: 1.15;
  margin-bottom: 12px;
}
.concierge-content p {
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-soft-ink);
  margin-bottom: 20px;
}
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: var(--fw-medium);
  color: var(--color-ink);
  background: #ffffff;
  border: 1px solid var(--border-color);
  padding: 6px 14px;
  border-radius: 9999px;
}
.trust-item svg {
  width: 14px;
  height: 14px;
  fill: var(--color-accent);
  flex-shrink: 0;
}
.concierge-form {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

/* High-Stakes Authority Section */
.authority-section, #authority {
  padding: 72px 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
}
.auth-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.auth-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}
.auth-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.auth-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(56, 198, 236, 0.1);
  border: 1px solid rgba(56, 198, 236, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  margin-bottom: 18px;
  flex-shrink: 0;
}
.auth-icon-wrapper svg {
  width: 22px;
  height: 22px;
  stroke: var(--color-accent);
  stroke-width: 2;
  display: block;
}
.auth-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.3;
  font-weight: var(--fw-semibold);
  letter-spacing: var(--tr-title);
  color: var(--color-ink);
  margin-bottom: 10px;
}
.auth-card p {
  font-size: 14.5px;
  color: var(--color-soft-ink);
  line-height: 1.5;
  margin: 0;
}

/* Client Case Studies Section */
.cases-section, #case-studies {
  padding: 72px 0;
  background: var(--bg-page);
  border-bottom: 1px solid var(--border-color);
}
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.case-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}
.case-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.case-client-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.client-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(56, 198, 236, 0.15);
  border: 1px solid rgba(56, 198, 236, 0.3);
  color: var(--color-accent);
  font-weight: var(--fw-bold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.client-info h5 {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: var(--fw-semibold);
  color: var(--color-ink);
  margin: 0 0 2px;
}
.client-info span {
  font-size: 12.5px;
  color: var(--color-muted);
}
.case-quote {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--color-soft-ink);
  font-style: italic;
  margin-bottom: 20px;
  flex-grow: 1;
}
.case-placements {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.case-badge {
  font-size: 11.5px;
  font-weight: var(--fw-semibold);
  color: #024869;
  background: #e8f9fd;
  border: 1px solid rgba(56, 198, 236, 0.3);
  padding: 3px 10px;
  border-radius: 9999px;
}

/* ==========================================================================
   Section 10: FAQ Accordion
   ========================================================================== */
.faq-section, #faq {
  padding: 72px 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
}
.faq-accordion {
  max-width: 820px;
  margin: 0 auto;
}
.faq-item {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: all var(--transition-normal);
}
.faq-item.active {
  background: var(--bg-panel);
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
}
.faq-question, .faq-header {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  width: 100%;
  background: transparent;
  border: none;
  text-align: left;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: var(--fw-medium);
  letter-spacing: var(--tr-title);
  color: var(--color-ink);
  margin: 0;
}
.faq-item.active .faq-question {
  color: var(--color-accent);
}
.faq-icon {
  width: 20px;
  height: 20px;
  color: var(--color-muted);
  flex-shrink: 0;
  transition: transform 0.3s;
}
.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--color-accent);
}
.faq-answer, .faq-body {
  padding: 0 24px 20px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--color-soft-ink);
  display: none;
}
.faq-item.active .faq-answer,
.faq-item.active .faq-body {
  display: block;
}

/* ==========================================================================
   Section 11: CTA Banner & Premium Black Footer
   ========================================================================== */
.cta-banner-section, #cta-banner-section {
  padding: 72px 0;
  background: var(--bg-page);
  border-bottom: 1px solid var(--border-color);
}
.cta-banner-card {
  background: #000000;
  color: #ffffff;
  border-radius: 20px;
  padding: 48px 36px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
}
.cta-banner-card h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: var(--fw-regular);
  letter-spacing: var(--tr-display);
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 14px;
}
.cta-banner-card p {
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.75);
  max-width: 640px;
  margin: 0 auto 28px;
}

.site-footer, #site-footer {
  background: #000000;
  color: #ffffff;
  padding: 60px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-world-clocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.clock-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.clock-city {
  font-size: 14px;
  font-weight: var(--fw-semibold);
  color: #ffffff;
  margin-bottom: 2px;
}
.clock-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}
.clock-time {
  font-family: monospace;
  font-size: 14px;
  font-weight: var(--fw-bold);
  color: var(--color-accent);
  background: rgba(56, 198, 236, 0.12);
  padding: 4px 8px;
  border-radius: 6px;
  white-space: nowrap;
}
.footer-main-grid, .footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 36px;
  margin-bottom: 40px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  text-decoration: none;
}
.footer-logo .logo-symbol {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--color-accent);
  color: #000000;
  font-weight: var(--fw-black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.footer-logo .logo-text {
  font-size: var(--fs-wordmark);
  font-weight: var(--fw-black);
  letter-spacing: var(--tr-wordmark);
  color: #ffffff;
}
.footer-col h4 {
  color: #ffffff;
  font-size: 15px;
  font-weight: var(--fw-semibold);
  margin-bottom: 16px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a, .footer-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.footer-links a:hover, .footer-link:hover, .contact-link:hover, .whatsapp-contact-link {
  color: var(--color-accent);
}
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   Consultation Modal
   ========================================================================== */
/* ==========================================================================
   Consultation Modal (Quantum² Light Theme)
   ========================================================================== */
.modal-overlay,
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease-settle), visibility 0.3s;
}

.modal-overlay.open,
.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal-container,
.consultation-modal-content {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 32px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 22px 64px rgba(2, 72, 105, 0.16);
  color: var(--color-ink);
  translate: 0 10px;
  transition: translate 0.3s var(--ease-settle);
}

.modal-overlay.open .modal-container,
.modal-backdrop.open .consultation-modal-content {
  translate: 0 0;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: var(--fw-semibold);
  letter-spacing: var(--tr-heading);
  color: var(--color-ink);
  margin: 0;
}

.modal-close-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--color-muted);
  cursor: pointer;
  touch-action: manipulation;
  border-radius: 50%;
  transition: color 0.2s, background 0.2s;
}

.modal-close-btn:hover {
  color: var(--color-ink);
  background: var(--bg-surface);
}

.modal-step-indicator {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.step-dot {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: #ededed;
  transition: background 0.3s;
}

.step-dot.active {
  background: var(--color-accent);
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

.selectable-chips-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}

@media (max-width: 500px) {
  .selectable-chips-grid {
    grid-template-columns: 1fr;
  }
}

.goal-chip {
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--color-soft-ink);
  font-size: 13.5px;
  font-weight: var(--fw-regular);
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.goal-chip:hover {
  border-color: var(--color-accent);
  background: #e8f9fd;
  color: #024869;
}

.goal-chip.selected {
  background: #e8f9fd;
  border-color: var(--color-accent);
  color: #024869;
  font-weight: var(--fw-semibold);
  box-shadow: 0 0 0 1px var(--color-accent);
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: var(--fw-medium);
  color: var(--color-soft-ink);
  margin-bottom: 6px;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  font-size: 16px !important;
  font-family: var(--font-body);
  color: var(--color-ink);
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(56, 198, 236, 0.15);
}

.modal-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}

.modal-success-state {
  text-align: center;
  padding: 16px 0;
  color: var(--color-ink);
}

.success-icon-badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(56, 198, 236, 0.15);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.success-icon-badge svg {
  width: 28px;
  height: 28px;
  stroke: var(--color-accent);
}

.modal-success-state h4 {
  font-size: 20px;
  font-weight: var(--fw-semibold);
  margin-bottom: 8px;
  color: var(--color-ink);
}

.modal-success-state p {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.5;
}

/* ==========================================================================
   Responsive Breakpoints (< 1200px, < 940px, < 768px, < 390px)
   ========================================================================== */
@media (max-width: 1200px) {
  .pub-grid-v2 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 939.98px) {
  #viewport {
    height: auto;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    padding-bottom: 40px;
  }

  #stage {
    position: relative;
    left: auto;
    top: auto;
    transform: none !important;
    width: 100% !important;
    height: auto !important;
    display: grid;
    grid-template-areas:
      "nav"
      "head"
      "sub"
      "cta"
      "art";
    grid-template-columns: 1fr;
    padding: 0 16px;
    box-sizing: border-box;
  }

  .quantum-nav {
    grid-area: nav;
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: 100%;
    max-width: 820px;
    margin: 20px auto 0;
    justify-content: space-between;
    padding: 0 16px;
  }
  .quantum-nav .nav-link-item,
  .quantum-nav .nav-cta-btn {
    display: none;
  }
  .quantum-burger {
    display: flex !important;
  }

  .quantum-h1 {
    grid-area: head;
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    margin-top: 32px;
    font-size: clamp(32px, 7vw, 44px);
    line-height: 1.1;
  }
  .quantum-sub {
    grid-area: sub;
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.4;
  }
  .quantum-cta {
    grid-area: cta;
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    margin: 24px auto 0;
  }

  .quantum-band {
    position: relative;
    top: auto;
    height: 180px;
    margin-top: 24px;
    border-radius: 16px;
  }
  .quantum-card {
    grid-area: art;
    position: relative;
    left: auto;
    top: auto;
    transform: none !important;
    width: 100% !important;
    max-width: 548px;
    margin: -100px auto 0;
    --u: min(100vw - 32px, 548px);
    --dp: calc(var(--u) / 548);
  }

  .pub-layout {
    grid-template-columns: 1fr;
  }
  .pub-grid-v2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .goals-grid {
    grid-template-columns: 1fr;
  }
  .calc-grid {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .auth-cards-grid {
    grid-template-columns: 1fr;
  }
  .cases-grid {
    grid-template-columns: 1fr;
  }
  .concierge-card {
    grid-template-columns: 1fr;
    padding: 24px 20px;
  }
  .guarantee-escrow-box {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 16px;
    padding: 20px;
  }
  .footer-world-clocks {
    grid-template-columns: 1fr;
  }
  .footer-main-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .pub-grid-v2 {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .process-grid {
    grid-template-columns: 1fr;
  }
  .footer-main-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 390px) {
  .container {
    padding: 0 16px;
  }
  .stat-card, .process-card, .goal-card, .pricing-card, .pub-card-v2, .calc-inputs-card, .calc-results-card, .auth-card, .case-card {
    padding: 20px 16px;
  }
}

/* --- 3D Editorial Publication Carousel --- */
.hero-3d-carousel-wrapper {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
  perspective: 1400px;
  /* Darken the cards when behind text to improve readability */
  -webkit-mask-image: radial-gradient(circle at center, rgba(0,0,0,0.3) 0%, rgba(0,0,0,1) 50%, rgba(0,0,0,1) 100%);
  mask-image: radial-gradient(circle at center, rgba(0,0,0,0.2) 0%, rgba(0,0,0,1) 60%, rgba(0,0,0,1) 100%);
}

.carousel-scene {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  display: flex;
  justify-content: center;
  align-items: center;
  /* slight tilt down to see depth better */
  transform: rotateX(-4deg) translateY(-20px);
}

.carousel-ring {
  position: relative;
  width: 320px;
  height: 400px;
  transform-style: preserve-3d;
  animation: carousel-rotate 40s infinite linear;
}

@keyframes carousel-rotate {
  0% {
    transform: translateZ(-650px) rotateY(0deg);
  }
  100% {
    transform: translateZ(-650px) rotateY(-360deg);
  }
}

.carousel-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 320px;
  height: 400px;
  border-radius: 12px;
  background: rgba(18, 18, 18, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transform: rotateY(calc(var(--card-index) * 30deg)) translateZ(650px);
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}

.card-browser-bar {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.card-browser-bar .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
}

.card-browser-bar .dot.red { background: #ff5f56; }
.card-browser-bar .dot.yellow { background: #ffbd2e; }
.card-browser-bar .dot.green { background: #27c93f; }

.card-header {
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pub-logo {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  object-fit: contain;
  background: #fff;
  padding: 2px;
}

.pub-name {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  color: #fff;
  letter-spacing: -0.01em;
}

.card-content {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.img-placeholder {
  width: 100%;
  height: 140px;
  border-radius: 6px;
  background-size: cover;
  background-position: center;
  background-color: rgba(255, 255, 255, 0.05);
}

.text-lines {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.text-lines .line {
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  width: 100%;
}

.text-lines .line.title {
  height: 12px;
  width: 85%;
  background: rgba(255, 255, 255, 0.2);
  margin-bottom: 4px;
}

.text-lines .line.half {
  width: 60%;
}

@media (max-width: 940px) {
  .carousel-ring {
    width: 240px;
    height: 300px;
  }
  .carousel-card {
    width: 240px;
    height: 300px;
    transform: rotateY(calc(var(--card-index) * 30deg)) translateZ(480px);
  }
  @keyframes carousel-rotate {
    0% { transform: translateZ(-480px) rotateY(0deg); }
    100% { transform: translateZ(-480px) rotateY(-360deg); }
  }
  .img-placeholder {
    height: 100px;
  }
  .hero-3d-carousel-wrapper {
    perspective: 1000px;
  }
}

@media (max-width: 600px) {
  .carousel-ring {
    width: 180px;
    height: 240px;
  }
  .carousel-card {
    width: 180px;
    height: 240px;
    transform: rotateY(calc(var(--card-index) * 30deg)) translateZ(360px);
  }
  @keyframes carousel-rotate {
    0% { transform: translateZ(-360px) rotateY(0deg); }
    100% { transform: translateZ(-360px) rotateY(-360deg); }
  }
  .img-placeholder {
    height: 80px;
  }
  .card-header {
    padding: 10px;
  }
  .pub-logo {
    width: 24px;
    height: 24px;
  }
  .pub-name {
    font-size: 13px;
  }
  .hero-3d-carousel-wrapper {
    perspective: 800px;
    mask-image: radial-gradient(circle at center, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.8) 60%, rgba(0,0,0,1) 100%);
  }
  .carousel-scene {
    transform: rotateX(-6deg) translateY(-30px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .carousel-ring {
    animation-duration: 120s; 
  }
}
