/* ==========================================================================
   XLATOR — Modern Product Showcase Design System & Stylesheet
   Pure HTML5 & CSS3 • Zero JS Dependencies • White & Red Executive Theme
   ========================================================================== */

/* --- CSS Variables & Design Tokens (White & Red Palette) --- */
:root {
  /* Backgrounds */
  --bg-primary:       #FFFFFF;
  --bg-secondary:     #FFF5F5;
  --bg-tertiary:      #FFF1F1;
  --bg-card:          rgba(255, 255, 255, 0.90);
  --bg-card-hover:    rgba(255, 241, 241, 0.95);
  --bg-glass:         rgba(220, 38, 38, 0.04);
  --bg-glass-heavy:   rgba(255, 255, 255, 0.92);

  /* Borders */
  --border-subtle:    rgba(220, 38, 38, 0.12);
  --border-hover:     rgba(220, 38, 38, 0.4);
  --border-active:    rgba(185, 28, 28, 0.6);

  /* Brand Accents */
  --accent-primary:   #DC2626;   /* Rich Red */
  --accent-deep:      #B91C1C;   /* Deep Red */
  --accent-crimson:   #EF4444;   /* Bright Red */
  --accent-blush:     #FEE2E2;   /* Light Rose Blush */
  --accent-rose:      #F43F5E;   /* Rose highlight */
  --accent-amber:     #DC2626;   /* Reuse red for amber contexts */

  /* Semantic */
  --accent-success:   #16A34A;   /* Green for verified/success states */
  --accent-info:      #2563EB;   /* Blue for info/links */

  /* Gradients */
  --grad-primary:        linear-gradient(135deg, #DC2626 0%, #EF4444 55%, #B91C1C 100%);
  --grad-primary-hover:  linear-gradient(135deg, #B91C1C 0%, #DC2626 55%, #991B1B 100%);
  --grad-card-glow:      linear-gradient(180deg, rgba(220,38,38,0.08) 0%, rgba(255,255,255,0) 100%);
  --grad-success:        linear-gradient(135deg, #16A34A 0%, #15803D 100%);
  --grad-hero-bg:        radial-gradient(ellipse 100% 80% at 50% 0%, #fff5f5 0%, #FFFFFF 70%);

  /* Typography */
  --text-main:   #111827;
  --text-muted:  #6B7280;
  --text-dim:    #9CA3AF;
  --text-white:  #FFFFFF;

  /* Fonts */
  --font-sans:    'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Shadows */
  --shadow-sm:        0 2px 8px rgba(220, 38, 38, 0.08), 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md:        0 8px 24px rgba(220, 38, 38, 0.12), 0 2px 8px rgba(0,0,0,0.06);
  --shadow-lg:        0 20px 40px rgba(220, 38, 38, 0.14), 0 8px 16px rgba(0,0,0,0.08);
  --shadow-glow:      0 0 40px rgba(220, 38, 38, 0.18);
  --shadow-glow-red:  0 0 30px rgba(239, 68, 68, 0.25);
  --shadow-card:      0 4px 24px rgba(0,0,0,0.07), 0 1px 4px rgba(0,0,0,0.05);

  /* Border Radii */
  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   22px;
  --radius-xl:   32px;
  --radius-pill: 9999px;

  /* Transitions */
  --transition-fast:   0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow:   0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-main);
  overflow-x: clip;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  position: relative;
  min-height: 100vh;
  overflow-x: clip;
  line-height: 1.6;
  background: var(--bg-primary);
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

/* --- Ambient Soft Red Glows --- */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}

.glow-top-left {
  top: -120px;
  left: -120px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.18) 0%, rgba(220,38,38,0) 70%);
}

.glow-top-right {
  top: 60px;
  right: -150px;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.12) 0%, rgba(239,68,68,0) 70%);
}

.glow-center {
  top: 1200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(220,38,38,0.08) 0%, rgba(220,38,38,0) 70%);
}

/* --- Layout Containers --- */
.section-container,
.hero-container,
.header-container,
.footer-container,
.footer-bottom-container {
  width: 90%;
  max-width: none;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.section { padding: 100px 0; position: relative; z-index: 1; }
.text-center { text-align: center; }

/* --- Typography Helpers --- */
.gradient-text {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-green  { color: var(--accent-success) !important; }
.text-cyan   { color: var(--accent-info) !important; }

.section-header { margin-bottom: 60px; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-top: 12px;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.7;
}

.sub-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-primary);
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.25);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn-primary-nav,
.btn-primary-large,
.btn-primary-block,
.btn-signup,
.btn-tier-featured {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--grad-primary);
  color: #FFFFFF;
  font-weight: 600;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-pill);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  box-shadow: 0 4px 18px rgba(220, 38, 38, 0.3);
  text-align: center;
}

.btn-primary-nav   { padding: 10px 20px; font-size: 0.875rem; }
.btn-primary-large { padding: 16px 32px; font-size: 1.05rem; letter-spacing: -0.01em; }
.btn-primary-block { display: block; width: 100%; padding: 15px; font-size: 1rem; border-radius: var(--radius-md); }

.btn-primary-nav:hover,
.btn-primary-large:hover,
.btn-primary-block:hover,
.btn-signup:hover,
.btn-tier-featured:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(220, 38, 38, 0.4);
}

.btn-primary-nav:active,
.btn-primary-large:active,
.btn-primary-block:active { transform: translateY(0); }

.btn-ghost-nav {
  padding: 10px 18px;
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
  border-radius: var(--radius-pill);
  transition: color var(--transition-fast), background var(--transition-fast);
}

.btn-ghost-nav:hover {
  color: var(--accent-primary);
  background: rgba(220, 38, 38, 0.06);
}

.btn-glass-large {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent-primary);
  background: #FFFFFF;
  border: 1.5px solid rgba(220, 38, 38, 0.3);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.btn-glass-large:hover {
  background: rgba(220, 38, 38, 0.04);
  border-color: var(--accent-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(220,38,38,0.15);
}

.btn-tier-outlined,
.btn-tier-outline {
  display: block;
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-pill);
  background: transparent;
  border: 1.5px solid rgba(220, 38, 38, 0.25);
  color: var(--accent-primary);
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  transition: all var(--transition-normal);
}

.btn-tier-outline:hover {
  border-color: var(--accent-primary);
  background: rgba(220, 38, 38, 0.06);
  transform: translateY(-2px);
}

.btn-full { width: 100%; }

.btn-glass-subtle {
  display: block;
  text-align: center;
  padding: 14px;
  border-radius: var(--radius-pill);
  background: #F9FAFB;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
  border: 1px solid #E5E7EB;
}

.btn-glass-subtle:hover {
  color: var(--text-main);
  background: #F3F4F6;
}


/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.90);
  border-bottom: 1px solid rgba(220, 38, 38, 0.1);
  transition: background var(--transition-fast);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 36px;
  height: 36px;
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px rgba(220, 38, 38, 0.15);
}

.logo-mark svg { width: 22px; height: 22px; }

.logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
  color: var(--text-main);
}

.badge-version {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 7px;
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.25);
  color: var(--accent-primary);
  border-radius: var(--radius-pill);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}

.nav-links a:hover { color: var(--accent-primary); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}


/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding: 80px 0 120px;
  position: relative;
  z-index: 1;
  background: var(--grad-hero-bg);
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 60px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: rgba(220, 38, 38, 0.07);
  border: 1px solid rgba(220, 38, 38, 0.2);
  margin-bottom: 24px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-success);
  box-shadow: 0 0 10px var(--accent-success);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}

.badge-text {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent-primary);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 0;
}

.hero-metrics {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(220, 38, 38, 0.12);
}

.metric-value {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--accent-primary);
  letter-spacing: -0.02em;
}

.metric-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.metric-divider {
  width: 1px;
  height: 38px;
  background: rgba(220, 38, 38, 0.15);
}


/* ==========================================================================
   SMARTPHONE DEVICE MOCKUP
   ========================================================================== */
.hero-mockup-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Floating Glass Pills */
.floating-pill {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: #FFFFFF;
  border: 1px solid rgba(220, 38, 38, 0.15);
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  z-index: 10;
  transition: transform var(--transition-normal);
}

.floating-pill:hover { transform: translateY(-4px) scale(1.02); }

.pill-top-left {
  top: 40px;
  left: -40px;
  animation: floatTop 6s ease-in-out infinite alternate;
}

.pill-bottom-right {
  bottom: 60px;
  right: -30px;
  animation: floatBottom 7s ease-in-out infinite alternate;
}

@keyframes floatTop {
  0%   { transform: translateY(0px) rotate(-1deg); }
  100% { transform: translateY(-16px) rotate(1deg); }
}

@keyframes floatBottom {
  0%   { transform: translateY(0px) rotate(1deg); }
  100% { transform: translateY(-14px) rotate(-1deg); }
}

.pill-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.green-glow {
  background: rgba(22, 163, 74, 0.12);
  box-shadow: 0 0 10px rgba(22, 163, 74, 0.25);
}

.cyan-glow {
  background: rgba(37, 99, 235, 0.12);
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.25);
}

.pill-text { display: flex; flex-direction: column; }
.pill-text strong { font-size: 0.825rem; color: var(--text-main); }
.pill-text span   { font-size: 0.72rem; color: var(--text-muted); }

/* Smartphone Frame */
.phone-frame {
  width: 340px;
  height: 680px;
  background: #F9FAFB;
  border-radius: 46px;
  padding: 12px;
  position: relative;
  box-shadow:
    0 30px 70px rgba(0,0,0,0.12),
    0 0 0 6px #FFFFFF,
    0 0 0 8px rgba(220,38,38,0.12);
  border: 2px solid rgba(220,38,38,0.15);
  animation: levitatePhone 8s ease-in-out infinite alternate;
}

@keyframes levitatePhone {
  0%   { transform: translateY(0px); }
  100% { transform: translateY(-12px); }
}

.phone-speaker {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: #D1D5DB;
  border-radius: var(--radius-pill);
  z-index: 20;
}

.phone-camera-lens {
  position: absolute;
  top: 22px;
  left: calc(50% - 46px);
  width: 8px;
  height: 8px;
  background: #E5E7EB;
  border: 1px solid #D1D5DB;
  border-radius: 50%;
  z-index: 20;
}

/* Screen */
.phone-screen {
  width: 100%;
  height: 100%;
  background: #FAFAFA;
  border-radius: 36px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px 14px 16px;
  border: 1px solid #E5E7EB;
}

/* App Topbar */
.app-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding: 0 4px;
}

.app-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.x-glyph { color: var(--accent-primary); }

.app-location-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(220, 38, 38, 0.06);
  border: 1px solid rgba(220, 38, 38, 0.15);
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  font-size: 0.65rem;
  color: var(--text-muted);
}

.radar-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-primary);
  box-shadow: 0 0 6px rgba(220,38,38,0.6);
}

.app-top-action {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  border-radius: 50%;
  background: rgba(220,38,38,0.05);
  transition: all var(--transition-fast);
}

.app-top-action:hover {
  color: var(--accent-primary);
  background: rgba(220, 38, 38, 0.1);
}

/* Card Stack */
.app-card-stack {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-card-underlay {
  position: absolute;
  top: 10px;
  width: 90%;
  height: 94%;
  background: rgba(220,38,38,0.04);
  border-radius: 20px;
  border: 1px solid rgba(220,38,38,0.1);
  transform: scale(0.96);
  z-index: 1;
}

.app-profile-card {
  position: relative;
  width: 100%;
  height: 100%;
  background: #FFFFFF;
  border: 1px solid rgba(220,38,38,0.12);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  z-index: 2;
  box-shadow: 0 6px 20px rgba(0,0,0,0.07);
}

/* Card Avatar */
.card-avatar-container {
  position: relative;
  height: 160px;
  background: linear-gradient(135deg, #FEE2E2 0%, #FECACA 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.avatar-gradient-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(220,38,38,0.2) 0%, transparent 70%);
}

.avatar-illustration {
  position: relative;
  width: 90px;
  height: 90px;
  z-index: 2;
}

.verified-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(220,38,38,0.25);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  font-size: 0.65rem;
  color: var(--accent-primary);
  font-weight: 600;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.compatibility-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
}

.score-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid var(--accent-success);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px rgba(22,163,74,0.3);
}

.score-num {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--accent-success);
  line-height: 1;
}

.score-label {
  font-size: 0.45rem;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}

/* Card Body */
.card-body {
  padding: 12px 12px 6px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-identity .person-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.card-identity .person-role {
  font-size: 0.72rem;
  color: var(--accent-primary);
  margin-top: 2px;
}

.match-reason-box {
  background: rgba(220,38,38,0.05);
  border-left: 2px solid var(--accent-primary);
  padding: 6px 8px;
  border-radius: 4px;
  font-size: 0.65rem;
  line-height: 1.35;
  color: var(--text-muted);
  margin: 6px 0;
  display: flex;
  align-items: flex-start;
  gap: 5px;
}

.match-reason-box strong { color: var(--text-main); }

.hard-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-bottom: 6px;
}

.metric-pill {
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  padding: 4px 6px;
  border-radius: 6px;
}

.m-label { display: block; font-size: 0.55rem; font-weight: 700; color: var(--text-dim); }
.m-val   { display: block; font-size: 0.7rem;  font-weight: 600; color: var(--text-main); }

.tags-row { display: flex; flex-wrap: wrap; gap: 4px; }

.tag-chip {
  font-size: 0.6rem;
  padding: 2px 6px;
  background: #F3F4F6;
  border-radius: 4px;
  color: var(--text-muted);
}

.tag-active {
  background: rgba(220,38,38,0.08);
  color: var(--accent-primary);
  border: 1px solid rgba(220,38,38,0.25);
}

/* Card Actions Dock */
.card-actions-bar {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 8px 12px 10px;
  border-top: 1px solid #F3F4F6;
}

.action-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.action-btn:hover { transform: scale(1.12); }

.btn-rewind {
  background: rgba(245,158,11,0.08);
  color: #D97706;
  border: 1px solid rgba(245,158,11,0.25);
}

.btn-pass {
  background: rgba(220,38,38,0.07);
  color: var(--accent-primary);
  border: 1px solid rgba(220,38,38,0.2);
}

.btn-super {
  background: rgba(37,99,235,0.08);
  color: #2563EB;
  border: 1px solid rgba(37,99,235,0.25);
}

.btn-connect {
  background: linear-gradient(135deg, #16A34A, #15803D);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(22,163,74,0.35);
}

/* Stories Bar */
.app-stories-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  margin-top: 4px;
  border-top: 1px solid #F3F4F6;
}

.story-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  cursor: pointer;
}

.story-ring {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  padding: 2px;
  border: 2px solid #E5E7EB;
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-unviewed .story-ring {
  border: 2px solid var(--accent-primary);
  box-shadow: 0 0 8px rgba(220,38,38,0.3);
}

.story-letter { font-size: 0.6rem; font-weight: 700; color: var(--text-main); }
.story-name   { font-size: 0.55rem; color: var(--text-dim); }


/* ==========================================================================
   SECTION: COMPARISON (LEGACY VS XLATOR)
   ========================================================================== */
.comparison-section {
  background: #FFF5F5;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.comparison-card {
  background: #FFFFFF;
  border: 1px solid rgba(220,38,38,0.12);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.legacy-card {
  border-color: rgba(239,68,68,0.15);
  background: #FFFBFB;
}

.xlator-card {
  border-color: rgba(220,38,38,0.35);
  background: #FFFFFF;
  box-shadow: 0 8px 40px rgba(220,38,38,0.12);
}

.popular-glow-badge {
  position: absolute;
  top: -14px;
  right: 28px;
  background: var(--grad-primary);
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 14px rgba(220,38,38,0.35);
}

.comp-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.comp-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.comp-icon-box.danger  { background: rgba(239,68,68,0.1);  color: var(--accent-primary); }
.comp-icon-box.success { background: rgba(22,163,74,0.1);  color: var(--accent-success); }

.comp-card-header h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--text-main);
}

.comp-card-header p { font-size: 0.875rem; color: var(--text-muted); }

.comp-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
}

.comp-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.comp-list li strong {
  display: block;
  color: var(--text-main);
  font-size: 1rem;
  margin-bottom: 2px;
}

.cross { color: var(--accent-primary); font-weight: 800; font-size: 1.1rem; line-height: 1.3; }
.check { color: var(--accent-success); font-weight: 800; font-size: 1.1rem; line-height: 1.3; }

.comp-card-footer { margin-top: 36px; }


/* ==========================================================================
   SECTION: CORE PRODUCT PILLARS
   ========================================================================== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.pillar-card {
  background: #FFFFFF;
  border: 1px solid rgba(220,38,38,0.1);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-card);
}

.pillar-card:hover {
  transform: translateY(-6px);
  border-color: rgba(220,38,38,0.3);
  box-shadow: 0 16px 40px rgba(220,38,38,0.12);
}

.highlight-pillar {
  border-color: rgba(220,38,38,0.3);
  background: linear-gradient(180deg, rgba(220,38,38,0.04) 0%, #FFFFFF 100%);
}

.pillar-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(220,38,38,0.08);
  border: 1px solid rgba(220,38,38,0.2);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.pillar-meta {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-primary);
  margin-bottom: 8px;
}

.pillar-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.35;
  margin-bottom: 12px;
}

.pillar-desc {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
  flex: 1;
}

.pillar-interactive-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(220,38,38,0.05);
  border: 1px solid rgba(220,38,38,0.15);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.75rem;
  color: var(--accent-primary);
  margin-bottom: 18px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-primary);
  transition: transform var(--transition-fast);
}

.link-arrow:hover { transform: translateX(4px); color: var(--accent-deep); }

.mini-metrics-tagline {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.m-pill {
  font-size: 0.75rem;
  color: var(--accent-success);
  background: rgba(22,163,74,0.08);
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-block;
  width: fit-content;
}

/* Radar Visual */
.radar-visual {
  position: relative;
  width: 100%;
  height: 110px;
  border-radius: 12px;
  background: #FFF5F5;
  border: 1px solid rgba(220,38,38,0.15);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.radar-sweep {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: conic-gradient(from 0deg at 50% 50%, rgba(220,38,38,0.35) 0deg, transparent 60deg, transparent 360deg);
  animation: radarRotate 4s linear infinite;
}

@keyframes radarRotate {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.radar-blip {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-primary);
  box-shadow: 0 0 10px rgba(220,38,38,0.6);
  animation: blipFade 2s infinite ease-in-out;
}

.blip-1 { top: 30%; left: 35%; animation-delay: 0.2s; }
.blip-2 { top: 60%; left: 70%; animation-delay: 1.1s; }
.blip-3 { top: 40%; left: 75%; animation-delay: 1.6s; }

@keyframes blipFade {
  0%, 100% { opacity: 0.2; transform: scale(0.8); }
  50%       { opacity: 1;   transform: scale(1.3); }
}

.radar-center-text {
  position: relative;
  z-index: 2;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-primary);
  background: rgba(255,255,255,0.95);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(220,38,38,0.2);
}

.stories-preview-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--text-dim);
}

.pulsing-record-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-primary);
  animation: pulseDot 1.5s infinite;
}

.tech-stack-row { display: flex; gap: 8px; }

.badge-tag {
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(220,38,38,0.06);
  color: var(--accent-primary);
  border: 1px solid rgba(220,38,38,0.15);
}


/* ==========================================================================
   SECTION: AUDIENCE PERSONAS
   ========================================================================== */
.personas-section { background: #FFF5F5; }

.personas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.persona-card {
  background: #FFFFFF;
  border: 1px solid rgba(220,38,38,0.1);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  transition: transform var(--transition-normal), border-color var(--transition-normal);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
}

.persona-card:hover {
  transform: translateY(-6px);
  border-color: rgba(220,38,38,0.35);
  box-shadow: 0 12px 36px rgba(220,38,38,0.1);
}

.featured-persona {
  border-color: rgba(220,38,38,0.35);
  background: linear-gradient(180deg, rgba(220,38,38,0.04) 0%, #FFFFFF 100%);
}

.persona-ribbon {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 0.65rem;
  font-weight: 700;
  background: rgba(220,38,38,0.08);
  color: var(--accent-primary);
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid rgba(220,38,38,0.2);
}

.persona-header { margin-bottom: 16px; }

.persona-tag {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent-primary);
  margin-bottom: 8px;
}

.persona-avatar-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(220,38,38,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
}

.p-emoji { font-size: 1.4rem; }

.persona-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--text-main);
  margin-bottom: 10px;
}

.persona-goal {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 20px;
  flex: 1;
}

.persona-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(220,38,38,0.1);
}

.pf-item { font-size: 0.775rem; color: var(--text-muted); }


/* ==========================================================================
   SECTION: STEP-BY-STEP WORKFLOW
   ========================================================================== */
.steps-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.step-card {
  flex: 1;
  background: #FFFFFF;
  border: 1px solid rgba(220,38,38,0.1);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: transform var(--transition-normal);
  box-shadow: var(--shadow-card);
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(220,38,38,0.3);
  box-shadow: 0 10px 30px rgba(220,38,38,0.1);
}

.step-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent-primary);
  margin-bottom: 12px;
}

.step-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(220,38,38,0.08);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.step-card h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text-main);
  margin-bottom: 8px;
}

.step-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }

.step-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.6;
}


/* ==========================================================================
   SECTION: PRICING TIERS
   ========================================================================== */
.pricing-section { background: #FFF5F5; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
}

.pricing-card {
  background: #FFFFFF;
  border: 1px solid rgba(220,38,38,0.12);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.pricing-card:hover { transform: translateY(-6px); }

.featured-tier {
  border: 2px solid var(--accent-primary);
  background: linear-gradient(180deg, rgba(220,38,38,0.05) 0%, #FFFFFF 100%), #FFFFFF;
  box-shadow: 0 8px 40px rgba(220,38,38,0.18);
  transform: scale(1.03);
}

.featured-tier:hover { transform: scale(1.05) translateY(-4px); }

.tier-badge-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-primary);
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 16px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 14px rgba(220,38,38,0.4);
  white-space: nowrap;
}

.tier-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
}

.tier-price {
  display: flex;
  align-items: baseline;
  margin-bottom: 12px;
}

.currency { font-size: 1.5rem; font-weight: 600; color: var(--text-main); }
.amount   { font-family: var(--font-display); font-size: 3rem; font-weight: 800; color: var(--accent-primary); line-height: 1; }
.cents    { font-size: 1.3rem; font-weight: 700; color: var(--accent-primary); }
.period   { font-size: 0.9rem; color: var(--text-muted); margin-left: 6px; }

.tier-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  min-height: 42px;
}

.tier-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
  flex: 1;
}

.tier-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-main);
}

.tier-features li.disabled { color: var(--text-dim); text-decoration: line-through; }

.p-check { color: var(--accent-success); font-weight: 700; }
.p-cross { color: var(--text-dim); font-weight: 700; }

.btn-tier-featured {
  padding: 14px;
  font-size: 0.95rem;
  border-radius: var(--radius-pill);
}


/* ==========================================================================
   SECTION: INTERACTIVE DEMO BANNER
   ========================================================================== */
.demo-banner-box {
  background: linear-gradient(135deg, rgba(220,38,38,0.08) 0%, rgba(239,68,68,0.06) 100%);
  border: 1.5px solid rgba(220,38,38,0.2);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  text-align: center;
}

.demo-banner-box h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--text-main);
  margin: 14px 0 16px;
}

.demo-banner-box p {
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 36px;
  font-size: 1.05rem;
}

.demo-buttons-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.btn-demo-trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: #FFFFFF;
  border: 1.5px solid rgba(220,38,38,0.2);
  border-radius: var(--radius-pill);
  color: var(--accent-primary);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.btn-demo-trigger:hover {
  transform: translateY(-3px);
  border-color: var(--accent-primary);
  box-shadow: 0 10px 25px rgba(220,38,38,0.18);
  background: rgba(220,38,38,0.03);
}

.btn-icon { font-size: 1.15rem; }


/* ==========================================================================
   SECTION: FINAL CTA
   ========================================================================== */
.final-cta-section { padding-bottom: 120px; }

.cta-inner-card {
  background: linear-gradient(135deg, #FFF5F5 0%, #FFFFFF 60%, #FFF5F5 100%);
  border: 1.5px solid rgba(220,38,38,0.2);
  border-radius: var(--radius-xl);
  padding: 70px 30px;
  max-width: 860px;
  margin: 0 auto;
  box-shadow: 0 20px 60px rgba(220,38,38,0.1);
}

.cta-logo-glow {
  margin: 0 auto 20px;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  box-shadow: 0 0 24px rgba(220,38,38,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(220,38,38,0.07);
  border: 1px solid rgba(220,38,38,0.2);
}

.final-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.final-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 36px;
}

.inline-signup-form {
  display: flex;
  max-width: 520px;
  margin: 0 auto;
  background: #FFFFFF;
  border: 1.5px solid rgba(220,38,38,0.2);
  border-radius: var(--radius-pill);
  padding: 6px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.inline-signup-form:focus-within {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 4px rgba(220,38,38,0.1);
}

.input-email {
  flex: 1;
  background: transparent;
  border: none;
  padding: 12px 20px;
  color: var(--text-main);
  font-size: 0.95rem;
  outline: none;
}

.input-email::placeholder { color: var(--text-dim); }

.btn-signup { padding: 12px 28px; font-size: 0.95rem; }

.form-disclaimer { font-size: 0.75rem; color: var(--text-dim); margin-top: 14px; }


/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #FFF5F5;
  border-top: 1px solid rgba(220,38,38,0.12);
  padding-top: 80px;
  position: relative;
  z-index: 1;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-tagline {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-style: italic;
  max-width: 320px;
}

.tech-spec-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }

.tech-spec-pills span {
  font-size: 0.7rem;
  color: var(--accent-primary);
  background: rgba(220,38,38,0.06);
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid rgba(220,38,38,0.15);
}

.footer-links-col { display: flex; flex-direction: column; gap: 12px; }

.footer-links-col h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 6px;
}

.footer-links-col a { font-size: 0.875rem; color: var(--text-muted); }
.footer-links-col a:hover { color: var(--accent-primary); }

.footer-bottom {
  border-top: 1px solid rgba(220,38,38,0.1);
  padding: 24px 0;
}

.footer-bottom-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-dim);
}


/* ==========================================================================
   PURE CSS MODALS (`:target` Pseudo-Class Architecture)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.modal-overlay:target {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid rgba(220,38,38,0.15);
  border-radius: var(--radius-xl);
  box-shadow: 0 30px 80px rgba(0,0,0,0.15), 0 0 50px rgba(220,38,38,0.08);
  max-height: 90vh;
  overflow-y: auto;
  z-index: 2;
  transform: scale(0.92) translateY(20px);
  transition: transform var(--transition-normal);
}

.modal-overlay:target .modal-card { transform: scale(1) translateY(0); }

.modal-backdrop-close {
  position: absolute;
  inset: 0;
  z-index: 1;
  cursor: default;
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(220,38,38,0.08);
  color: var(--accent-primary);
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all var(--transition-fast);
  border: 1px solid rgba(220,38,38,0.15);
}

.modal-close-btn:hover {
  background: rgba(220,38,38,0.15);
  transform: rotate(90deg);
}

.modal-sub {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-primary);
  text-transform: uppercase;
  margin-bottom: 8px;
}


/* --- Modal 1: Celebration Match Popup --- */
.modal-celebration {
  width: 100%;
  max-width: 520px;
  padding: 44px 36px 36px;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(180deg, #FFF5F5 0%, #FFFFFF 50%);
}

/* Confetti particles */
.celebration-particles { pointer-events: none; }

.particle {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  opacity: 0;
  animation: confettiFall 3s ease-in infinite;
}

.p1 { background: var(--accent-primary); top: 10%; left: 20%; animation-delay: 0s; }
.p2 { background: var(--accent-success); top: 5%; left: 60%; animation-delay: 0.4s; transform: rotate(45deg); }
.p3 { background: #2563EB; top: 15%; left: 40%; animation-delay: 0.8s; border-radius: 50%; }
.p4 { background: var(--accent-crimson); top: 8%; left: 80%; animation-delay: 1.2s; }
.p5 { background: #D97706; top: 12%; left: 10%; animation-delay: 1.6s; transform: rotate(30deg); }

@keyframes confettiFall {
  0%   { transform: translateY(0) rotate(0deg); opacity: 1; }
  100% { transform: translateY(300px) rotate(360deg); opacity: 0; }
}

.match-heart-badge {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(220,38,38,0.1);
  border: 2px solid rgba(220,38,38,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 0 24px rgba(220,38,38,0.25);
  animation: heartPulse 1.8s infinite ease-in-out;
}

@keyframes heartPulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.1); }
}

.celebration-heading {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}

.celebration-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 28px;
}

.matched-duo-avatars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 28px;
}

.duo-avatar { display: flex; flex-direction: column; align-items: center; gap: 6px; }

.av-circle {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: #FFFFFF;
  border: 3px solid #FFFFFF;
  box-shadow: 0 6px 20px rgba(220,38,38,0.25);
}

.elena-av {
  background: linear-gradient(135deg, #DB2777, #9333EA);
  box-shadow: 0 6px 20px rgba(219,39,119,0.25);
}

.duo-label { font-size: 0.75rem; color: var(--text-muted); }

.synergy-connector { position: relative; }

.synergy-ring {
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(22,163,74,0.08);
  border: 1px solid rgba(22,163,74,0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.synergy-number {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent-success);
  line-height: 1;
}

.synergy-tag { font-size: 0.5rem; font-weight: 700; color: var(--text-dim); }

.match-reasons-summary {
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.m-summary-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.modal-actions-row { display: flex; flex-direction: column; gap: 12px; }


/* --- Modal 2: Dual-Layer Profile --- */
.modal-profile-detail { width: 100%; max-width: 640px; padding: 0 0 24px; }

.profile-modal-header { position: relative; }

.p-banner {
  height: 120px;
  background: linear-gradient(135deg, #DC2626 0%, #EF4444 60%, #FCA5A5 100%);
}

.p-header-content {
  display: flex;
  gap: 20px;
  padding: 0 28px;
  margin-top: -45px;
}

.p-avatar-lg {
  position: relative;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, #DB2777, #9333EA);
  border: 4px solid #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 800;
  color: #FFF;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.online-indicator {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent-success);
  border: 2px solid #FFFFFF;
}

.p-title-wrap { margin-top: 50px; }

.p-name-line { display: flex; align-items: center; gap: 10px; }

.p-name-line h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--text-main);
}

.v-badge {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent-primary);
  background: rgba(220,38,38,0.08);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(220,38,38,0.2);
}

.p-headline { font-size: 0.875rem; color: var(--text-muted); margin-top: 4px; }
.p-location { font-size: 0.775rem; color: var(--text-dim); margin-top: 4px; }

.profile-modal-body {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.p-sec-title {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--text-main);
  margin-bottom: 10px;
}

.p-bio { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 12px; }

.tags-cluster { display: flex; flex-wrap: wrap; gap: 8px; }

.p-chip {
  font-size: 0.75rem;
  background: #F3F4F6;
  border: 1px solid #E5E7EB;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  color: var(--text-muted);
}

.highlighted-box {
  background: rgba(220,38,38,0.03);
  border: 1px solid rgba(220,38,38,0.2);
  border-radius: var(--radius-md);
  padding: 20px;
  position: relative;
}

.sec-badge {
  position: absolute;
  top: -10px;
  right: 16px;
  font-size: 0.65rem;
  font-weight: 700;
  background: var(--accent-primary);
  color: #FFF;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}

.biz-metrics-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.b-cell {
  background: #FFFFFF;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #E5E7EB;
}

.b-label { display: block; font-size: 0.65rem; font-weight: 700; color: var(--text-dim); }
.b-value { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text-main); margin-top: 2px; }

.score-bars { display: flex; flex-direction: column; gap: 10px; }

.score-bar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
}

.s-label { width: 220px; color: var(--text-muted); }

.s-track {
  flex: 1;
  height: 6px;
  background: #F3F4F6;
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.s-fill {
  height: 100%;
  background: var(--grad-primary);
  border-radius: var(--radius-pill);
}

.s-pct { width: 70px; text-align: right; font-weight: 600; color: var(--accent-primary); }

.modal-footer-bar { padding: 0 28px; display: flex; gap: 12px; }


/* --- Modal 3: Event Ticket --- */
.modal-event-ticket { width: 100%; max-width: 540px; padding: 36px 32px 30px; }

.ticket-header { text-align: center; margin-bottom: 24px; }

.ticket-type-badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent-primary);
  background: rgba(220,38,38,0.08);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  display: inline-block;
  margin-bottom: 8px;
  border: 1px solid rgba(220,38,38,0.2);
}

.ticket-header h2 { font-family: var(--font-display); font-size: 1.6rem; color: var(--text-main); }
.ticket-venue { font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; }

.qr-code-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 24px;
}

.qr-svg {
  padding: 10px;
  background: #FFF;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  border: 2px solid rgba(220,38,38,0.1);
}

.qr-caption { font-size: 0.75rem; color: var(--text-dim); margin-top: 8px; }

.ticket-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 20px;
}

.t-cell { display: flex; flex-direction: column; }
.t-label { font-size: 0.65rem; font-weight: 700; color: var(--text-dim); }
.t-val   { font-size: 0.85rem; font-weight: 600; color: var(--text-main); margin-top: 2px; }

.pre-event-box {
  background: rgba(220,38,38,0.04);
  border-left: 3px solid var(--accent-primary);
  padding: 12px 14px;
  border-radius: 6px;
  margin-bottom: 24px;
}

.pre-event-box h4 { font-size: 0.85rem; color: var(--text-main); margin-bottom: 4px; }
.pre-event-box p  { font-size: 0.8rem; color: var(--text-muted); line-height: 1.45; }

.ticket-footer { display: flex; flex-direction: column; gap: 10px; }


/* --- Modal 4: Waitlist & 5: Success --- */
.modal-waitlist { width: 100%; max-width: 480px; padding: 40px 32px 32px; }

.waitlist-icon-badge {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(220,38,38,0.08);
  border: 1px solid rgba(220,38,38,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.waitlist-heading {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--text-main);
  margin-bottom: 8px;
}

.waitlist-sub {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 24px;
}

.waitlist-form { display: flex; flex-direction: column; gap: 16px; }

.form-group { display: flex; flex-direction: column; gap: 6px; text-align: left; }

.form-group label { font-size: 0.8rem; font-weight: 600; color: var(--text-muted); }

.form-input {
  width: 100%;
  background: #FFFFFF;
  border: 1.5px solid #E5E7EB;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text-main);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(220,38,38,0.1);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
}

.form-select option { background: #FFFFFF; color: var(--text-main); }

.form-security-note {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-align: center;
  margin-top: 4px;
}

.modal-success { width: 100%; max-width: 480px; padding: 44px 32px 36px; }

.success-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(22,163,74,0.1);
  border: 2px solid rgba(22,163,74,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 0 24px rgba(22,163,74,0.2);
}

.modal-success h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--text-main);
  margin-bottom: 12px;
}

.success-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 24px;
}

.invite-perk-box {
  background: rgba(22,163,74,0.06);
  border: 1px solid rgba(22,163,74,0.2);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: left;
  margin-bottom: 28px;
}

.invite-perk-box strong {
  display: block;
  font-size: 0.85rem;
  color: var(--accent-success);
  margin-bottom: 8px;
}

.invite-perk-box ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.invite-perk-box li { font-size: 0.8rem; color: var(--text-muted); }


/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 60px;
  }

  .hero-content { display: flex; flex-direction: column; align-items: center; }
  .hero-subtitle { margin: 0 auto 36px; }
  .hero-metrics { justify-content: center; }

  .comparison-grid     { grid-template-columns: 1fr; }
  .pillars-grid        { grid-template-columns: repeat(2, 1fr); }
  .personas-grid       { grid-template-columns: repeat(2, 1fr); }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .featured-tier       { transform: none; }
  .featured-tier:hover { transform: translateY(-4px); }

  .footer-container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .header-actions .btn-ghost-nav { display: none; }
  .floating-pill { display: none; }

  .phone-frame { width: 310px; height: 640px; }

  .pillars-grid  { grid-template-columns: 1fr; }
  .personas-grid { grid-template-columns: 1fr; }

  .steps-flow { flex-direction: column; gap: 20px; }
  .step-connector { transform: rotate(90deg); }
  .demo-buttons-row { flex-direction: column; }

  .inline-signup-form {
    flex-direction: column;
    border-radius: var(--radius-md);
  }

  .btn-signup { width: 100%; border-radius: var(--radius-sm); }

  .footer-container { grid-template-columns: 1fr; }

  .footer-bottom-container {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .biz-metrics-table { grid-template-columns: 1fr; }
  .s-label { width: 140px; }
  .modal-footer-bar { flex-direction: column; }
}


/* ==========================================================================
   SECTION: XLATOR ADS & PROMOTIONS (ONE-PAGE FULL-SCREEN LAYOUT)
   ========================================================================== */

main > .ads-section {
  --header-h: 86px;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  padding: clamp(22px, 3vh, 44px) 0;
  background: #FFFFFF;
  border-top: none;
  scroll-margin-top: var(--header-h);
  display: flex;
  align-items: center;
}

.ads-onepage-container {
  width: min(94%, 1320px);
  margin: 0 auto;
}

.ads-header-compact {
  margin-bottom: clamp(18px, 3vh, 32px);
}

.ads-header-compact .section-title {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: clamp(1.85rem, 3.1vw, 2.65rem);
  line-height: 1.14;
  color: #050505;
}

.ads-header-compact .section-desc {
  max-width: 650px;
  font-size: clamp(0.9rem, 1.05vw, 1.02rem);
  line-height: 1.55;
  color: #52525b;
}

/* --- 4 Compact Native Promotion Cards --- */
.ad-formats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.5vw, 20px);
  margin-bottom: clamp(16px, 2.4vh, 24px);
}

.ad-format-card {
  background: #FAFAFA;
  border: 1px solid rgba(17, 17, 17, 0.09);
  border-radius: 20px;
  padding: clamp(18px, 2.2vh, 24px) clamp(16px, 1.5vw, 22px);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), border-color var(--transition-normal), background var(--transition-normal);
}

.ad-format-card:hover {
  transform: translateY(-3px);
  background: #FFFFFF;
  border-color: rgba(220, 38, 38, 0.35);
}

.ad-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: clamp(10px, 1.4vh, 14px);
}

.ad-format-badge {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  color: var(--accent-primary);
  text-transform: uppercase;
}

.ad-format-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.16);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ad-format-title {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  font-weight: 700;
  color: #050505;
  line-height: 1.28;
  margin-bottom: 8px;
}

.ad-format-desc {
  font-size: clamp(0.82rem, 0.92vw, 0.875rem);
  color: #52525b;
  line-height: 1.52;
  flex: 1;
  margin-bottom: 14px;
}

.ad-format-spec-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.spec-pill {
  font-size: 0.7rem;
  padding: 4px 10px;
  background: rgba(220, 38, 38, 0.05);
  border: 1px solid rgba(220, 38, 38, 0.16);
  border-radius: var(--radius-pill);
  color: var(--accent-primary);
  font-weight: 600;
  white-space: nowrap;
}

/* --- Compact Unified Campaign Controls & Verified Targeting Bar --- */
.ads-summary-strip {
  background: #FAFAFA;
  border: 1px solid rgba(17, 17, 17, 0.09);
  border-radius: 22px;
  padding: clamp(18px, 2.2vh, 24px) clamp(20px, 2vw, 28px);
  display: grid;
  grid-template-columns: 1fr 1.15fr auto;
  gap: clamp(16px, 2.2vw, 32px);
  align-items: center;
}

.ads-summary-block h3 {
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin-bottom: 10px;
}

.ads-summary-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ads-summary-list li {
  font-size: clamp(0.8rem, 0.9vw, 0.86rem);
  color: #4b5563;
  line-height: 1.42;
}

.ads-summary-list li strong {
  color: #050505;
  font-weight: 700;
}

.ads-summary-cta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.ads-cta-btn {
  padding: 14px 26px;
  font-size: 0.95rem;
  flex-shrink: 0;
  white-space: nowrap;
}

/* Responsive overrides for Ads Section */
@media (max-width: 980px) {
  main > .ads-section {
    min-height: calc(100svh - var(--header-h));
    height: auto;
    padding: 52px 0;
  }

  .ad-formats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ads-summary-strip {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .ads-summary-cta {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  main > .ads-section {
    --header-h: 72px;
    padding: 44px 0;
  }

  .ad-formats-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .ads-summary-strip {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 20px 18px;
  }

  .ads-cta-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}


/* ==========================================================================
   XLATOR — Cinematic Animation System
   Inspired by Awwwards-level design: Preloader · Scroll-Reveals ·
   Marquee Strips · Parallax Depth · Smooth Entry Transitions
   ========================================================================== */

/* ------------------------------------------------------------------
   1. SMOOTH SCROLL & GLOBAL PAGE FEEL
   ------------------------------------------------------------------ */
html {
  scroll-behavior: smooth;
}

body {
  /* Lenis-style inertia feel via CSS overscroll */
  overscroll-behavior: none;
}

/* Delay page content visibility until preloader exits */
body.is-loading main,
body.is-loading header,
body.is-loading footer {
  visibility: hidden;
}

/* ------------------------------------------------------------------
   2. CINEMATIC PRELOADER
   ------------------------------------------------------------------ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  pointer-events: none;
  overflow: hidden;
  animation: preloaderFadeOut 0.6s cubic-bezier(0.76, 0, 0.24, 1) 2.4s forwards;
}

/* Two curtain panels that split apart */
.preloader-bg-top,
.preloader-bg-bottom {
  position: absolute;
  left: 0;
  right: 0;
  height: 50%;
  background: #DC2626;
  z-index: 0;
}

.preloader-bg-top {
  top: 0;
  animation: curtainUp 0.75s cubic-bezier(0.76, 0, 0.24, 1) 1.8s forwards;
}

.preloader-bg-bottom {
  bottom: 0;
  animation: curtainDown 0.75s cubic-bezier(0.76, 0, 0.24, 1) 1.8s forwards;
}

@keyframes curtainUp {
  to { transform: translateY(-100%); }
}

@keyframes curtainDown {
  to { transform: translateY(100%); }
}

@keyframes preloaderFadeOut {
  to { opacity: 0; visibility: hidden; pointer-events: none; }
}

/* Logo inside preloader */
.preloader-logo-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  gap: 0;
  overflow: hidden;
}

.preloader-x {
  font-family: var(--font-display);
  font-size: clamp(5rem, 15vw, 12rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1;
  letter-spacing: -0.04em;
  animation: preloaderXIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
  transform-origin: left center;
}

.preloader-name {
  font-family: var(--font-display);
  font-size: clamp(5rem, 15vw, 12rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1;
  letter-spacing: -0.04em;
  animation: preloaderNameIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

.preloader-tagline {
  position: relative;
  z-index: 1;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 12px;
  animation: preloaderTagIn 0.6s ease 0.8s both;
}

@keyframes preloaderXIn {
  from { opacity: 0; transform: scale(1.4) translateX(-30px); }
  to   { opacity: 1; transform: scale(1) translateX(0); }
}

@keyframes preloaderNameIn {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes preloaderTagIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ------------------------------------------------------------------
   3. HERO WATERMARK / OVERSIZED BACKGROUND TEXT
   ------------------------------------------------------------------ */
.hero-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(14vw, 22vw, 28vw);
  font-weight: 800;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(220, 38, 38, 0.08);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  z-index: 0;
  animation: watermarkFloat 10s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes watermarkFloat {
  0%   { transform: translate(-50%, -50%) scale(1); }
  100% { transform: translate(-50%, -52%) scale(1.03); }
}

/* Make hero-container sit above watermark */
.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-container {
  position: relative;
  z-index: 1;
}

/* ------------------------------------------------------------------
   4. MARQUEE / TICKER STRIPS
   ------------------------------------------------------------------ */
.marquee-strip {
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 14px 0;
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(220, 38, 38, 0.12);
  border-bottom: 1px solid rgba(220, 38, 38, 0.12);
}

.marquee-strip-red {
  background: var(--accent-primary);
  border-color: transparent;
}

.marquee-strip-red .marquee-track {
  color: #FFFFFF;
}

.marquee-strip-white {
  background: #FFFFFF;
}

.marquee-strip-white .marquee-track {
  color: var(--accent-primary);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 32px;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  animation: marqueeScroll 28s linear infinite;
  will-change: transform;
}

.marquee-reverse {
  animation-direction: reverse;
}

.mdot {
  font-size: 0.65rem;
  opacity: 0.6;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Pause marquee on hover */
.marquee-strip:hover .marquee-track {
  animation-play-state: paused;
}

/* ------------------------------------------------------------------
   5. SCROLL-DRIVEN REVEAL ANIMATIONS
   (Using CSS animation-timeline: view() — Chrome 115+, Edge 115+)
   Falls back gracefully on older browsers.
   ------------------------------------------------------------------ */

/* JS-assisted fallback for browsers without scroll-timeline support. */
.scroll-reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Base hidden state for all reveal elements */
.reveal-up,
.reveal-left,
.reveal-right,
.reveal-fade,
.reveal-scale,
.reveal-title {
  opacity: 0;
}

@supports (animation-timeline: view()) {

  /* --- Reveal Up (default for sections, cards) --- */
  .reveal-up {
    animation: revealUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-timeline: view();
    animation-range: entry 0% entry 28%;
  }

  /* --- Reveal Title (hero headline — faster, bolder) --- */
  .reveal-title {
    animation: revealTitle 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-timeline: view();
    animation-range: entry 0% entry 20%;
  }

  /* --- Reveal Fade (subtle opacity only) --- */
  .reveal-fade {
    animation: revealFade 0.8s ease both;
    animation-timeline: view();
    animation-range: entry 0% entry 30%;
  }

  /* --- Reveal from Left --- */
  .reveal-left {
    animation: revealLeft 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-timeline: view();
    animation-range: entry 0% entry 28%;
  }

  /* --- Reveal from Right --- */
  .reveal-right {
    animation: revealRight 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-timeline: view();
    animation-range: entry 0% entry 28%;
  }

  /* --- Scale up Reveal (for CTA cards, demo banner) --- */
  .reveal-scale {
    animation: revealScale 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-timeline: view();
    animation-range: entry 0% entry 24%;
  }

  /* Sections that are tagged by the scroll observer use the same timing. */
  .scroll-reveal {
    animation: revealUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-timeline: view();
    animation-range: entry 0% entry 22%;
    transition: none;
  }

  /* Stagger children of a stagger-parent using nth-child delays */
  .stagger-parent > * {
    animation: revealUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-timeline: view();
    animation-range: entry 0% entry 30%;
  }

  .stagger-parent > *:nth-child(1) { animation-delay: 0s; }
  .stagger-parent > *:nth-child(2) { animation-delay: 0.08s; }
  .stagger-parent > *:nth-child(3) { animation-delay: 0.16s; }
  .stagger-parent > *:nth-child(4) { animation-delay: 0.24s; }
  .stagger-parent > *:nth-child(5) { animation-delay: 0.32s; }
  .stagger-parent > *:nth-child(6) { animation-delay: 0.40s; }

}

/* Fallback for browsers that don't support animation-timeline */
@supports not (animation-timeline: view()) {
  .reveal-up,
  .reveal-left,
  .reveal-right,
  .reveal-fade,
  .reveal-scale,
  .reveal-title,
  .scroll-reveal {
    opacity: 1;
    transform: none;
  }

  .scroll-reveal {
    opacity: 1;
    transform: none;
  }
}

/* --- Keyframe definitions --- */
@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(48px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes revealTitle {
  from {
    opacity: 0;
    transform: translateY(60px) scale(0.97);
    clip-path: inset(0 0 100% 0);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    clip-path: inset(0 0 0% 0);
  }
}

@keyframes revealFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes revealLeft {
  from {
    opacity: 0;
    transform: translateX(-56px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes revealRight {
  from {
    opacity: 0;
    transform: translateX(56px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes revealScale {
  from {
    opacity: 0;
    transform: scale(0.94);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ------------------------------------------------------------------
   6. HEADER CINEMATIC ENTRY (fires once on page load)
   ------------------------------------------------------------------ */
.site-header {
  animation: headerSlideIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) 2.6s both;
}

@keyframes headerSlideIn {
  from {
    opacity: 0;
    transform: translateY(-24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ------------------------------------------------------------------
   7. HERO SECTION ENTRY ANIMATIONS (staggered, fires after preloader)
   ------------------------------------------------------------------ */
.hero-badge {
  animation: heroFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 2.7s both;
}

.hero-title {
  animation: heroFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 2.85s both;
}

.hero-subtitle {
  animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 3.0s both;
}

.hero-cta-group {
  animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 3.15s both;
}

.hero-metrics {
  animation: heroFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 3.3s both;
}

.hero-mockup-wrapper {
  animation: heroFadeRight 1s cubic-bezier(0.16, 1, 0.3, 1) 2.9s both;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(36px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroFadeRight {
  from {
    opacity: 0;
    transform: translateX(48px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ------------------------------------------------------------------
   8. ENHANCED HOVER MICRO-INTERACTIONS
   ------------------------------------------------------------------ */

/* Cards lift with shadow on hover */
.pillar-card,
.persona-card,
.step-card,
.pricing-card,
.ad-format-card,
.comparison-card,
.t-param-card {
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.3s ease;
  will-change: transform;
}

/* Buttons: spring-pop on hover */
.btn-primary-large,
.btn-primary-nav,
.btn-glass-large,
.btn-tier-featured,
.btn-demo-trigger,
.btn-tier-outline {
  transition:
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.3s ease,
    background 0.25s ease,
    border-color 0.25s ease;
  will-change: transform;
}

.btn-primary-large:hover,
.btn-primary-nav:hover,
.btn-tier-featured:hover {
  transform: translateY(-3px) scale(1.02);
}

.btn-glass-large:hover,
.btn-demo-trigger:hover {
  transform: translateY(-3px);
}

/* Nav links: underline slide-in */
.nav-links a {
  position: relative;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent-primary);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 2px;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Platform logo chips in ads section: spring bounce */
.platform-logo-chip {
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.platform-logo-chip:hover {
  transform: translateY(-4px) scale(1.04);
}

/* Floating pills: enhanced float animation with 3D tilt */
.floating-pill {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.floating-pill:hover {
  transform: translateY(-6px) scale(1.03) rotate(-1deg);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Phone mockup: spring tilt on hover */
.phone-frame {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.hero-mockup-wrapper:hover .phone-frame {
  transform: translateY(-18px) rotateY(-6deg) rotateX(2deg);
  box-shadow:
    20px 40px 70px rgba(0,0,0,0.14),
    0 0 0 6px #FFFFFF,
    0 0 0 8px rgba(220,38,38,0.15);
}

/* Score circle: pulse on hover */
.score-circle {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.score-circle:hover {
  transform: scale(1.15);
  box-shadow: 0 0 20px rgba(22,163,74,0.5);
}

/* Action buttons in phone card: spring pop */
.action-btn {
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.action-btn:hover {
  transform: scale(1.18) translateY(-2px);
}

/* Sub-badge: shimmer sweep effect */
.sub-badge {
  position: relative;
  overflow: hidden;
}

.sub-badge::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(220, 38, 38, 0.15) 50%,
    transparent 60%
  );
  transform: translateX(-100%);
  animation: shimmerBadge 3s ease-in-out 4s infinite;
}

@keyframes shimmerBadge {
  to { transform: translateX(300%); }
}

/* ------------------------------------------------------------------
   9. SCROLL-DRIVEN SECTION BACKGROUND PARALLAX
   ------------------------------------------------------------------ */
@supports (animation-timeline: scroll()) {

  /* Watermark text parallax: moves slower than scroll */
  .hero-watermark {
    animation:
      watermarkFloat 10s ease-in-out infinite alternate,
      watermarkParallax linear both;
    animation-timeline: auto, scroll(root);
    animation-range: entry 0% exit 100%;
  }

  @keyframes watermarkParallax {
    from { transform: translate(-50%, -40%); }
    to   { transform: translate(-50%, -60%); }
  }

  /* Ambient glows drift on scroll */
  .glow-top-left {
    animation: glowDriftLeft linear both;
    animation-timeline: scroll(root);
  }

  .glow-top-right {
    animation: glowDriftRight linear both;
    animation-timeline: scroll(root);
  }

  @keyframes glowDriftLeft {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(60px, 200px) scale(1.2); }
  }

  @keyframes glowDriftRight {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(-40px, 180px) scale(1.1); }
  }

}

/* ------------------------------------------------------------------
   10. STAGGER GRIDS — apply stagger-parent to card grids
   ------------------------------------------------------------------ */
.pillars-grid        { animation: none; }
.personas-grid       { animation: none; }
.ad-formats-grid     { animation: none; }
.targeting-params-grid { animation: none; }
.pricing-grid        { animation: none; }

/* Make pillar/persona/ad-format/targeting grids stagger their children */
.pillars-grid,
.personas-grid,
.ad-formats-grid,
.targeting-params-grid {
  /* Children will be revealed individually via stagger-parent */
}

@supports (animation-timeline: view()) {
  .pillars-grid > .pillar-card,
  .personas-grid > .persona-card,
  .ad-formats-grid > .ad-format-card,
  .targeting-params-grid > .t-param-card,
  .pricing-grid > .pricing-card {
    animation: revealUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-timeline: view();
    animation-range: entry 0% entry 32%;
    opacity: 0;
  }

  .pillars-grid > .pillar-card:nth-child(1),
  .personas-grid > .persona-card:nth-child(1),
  .ad-formats-grid > .ad-format-card:nth-child(1),
  .targeting-params-grid > .t-param-card:nth-child(1),
  .pricing-grid > .pricing-card:nth-child(1) { animation-delay: 0.00s; }

  .pillars-grid > .pillar-card:nth-child(2),
  .personas-grid > .persona-card:nth-child(2),
  .ad-formats-grid > .ad-format-card:nth-child(2),
  .targeting-params-grid > .t-param-card:nth-child(2),
  .pricing-grid > .pricing-card:nth-child(2) { animation-delay: 0.09s; }

  .pillars-grid > .pillar-card:nth-child(3),
  .personas-grid > .persona-card:nth-child(3),
  .ad-formats-grid > .ad-format-card:nth-child(3),
  .targeting-params-grid > .t-param-card:nth-child(3),
  .pricing-grid > .pricing-card:nth-child(3) { animation-delay: 0.18s; }

  .pillars-grid > .pillar-card:nth-child(4),
  .personas-grid > .persona-card:nth-child(4),
  .ad-formats-grid > .ad-format-card:nth-child(4),
  .targeting-params-grid > .t-param-card:nth-child(4) { animation-delay: 0.27s; }

  .pillars-grid > .pillar-card:nth-child(5),
  .targeting-params-grid > .t-param-card:nth-child(5) { animation-delay: 0.36s; }

  .pillars-grid > .pillar-card:nth-child(6),
  .targeting-params-grid > .t-param-card:nth-child(6) { animation-delay: 0.45s; }
}

/* ------------------------------------------------------------------
   11. SECTION TRANSITION DIVIDERS
   ------------------------------------------------------------------ */
.section {
  position: relative;
}

/* Animated red accent line that grows in from left on scroll */
.section-header::before {
  content: '';
  display: block;
  width: 0;
  height: 3px;
  background: var(--grad-primary);
  border-radius: 2px;
  margin: 0 auto 24px;
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@supports (animation-timeline: view()) {
  .section-header::before {
    animation: accentLineGrow 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-timeline: view();
    animation-range: entry 0% entry 20%;
  }
}

@keyframes accentLineGrow {
  from { width: 0; }
  to   { width: 60px; }
}

/* ------------------------------------------------------------------
   12. MODAL ENHANCED ENTRY
   ------------------------------------------------------------------ */
.modal-overlay:target .modal-card {
  animation: modalPop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes modalPop {
  from {
    opacity: 0;
    transform: scale(0.88) translateY(28px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Modal close button: spin on hover */
.modal-close-btn {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s ease;
}

.modal-close-btn:hover {
  transform: rotate(90deg) scale(1.1);
}

/* ------------------------------------------------------------------
   13. ANIMATED SCORE BARS IN PROFILE MODAL
   ------------------------------------------------------------------ */
@supports (animation-timeline: view()) {
  .s-fill {
    animation: barGrow 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-timeline: view();
    animation-range: entry 10% entry 60%;
    transform-origin: left;
  }

  @keyframes barGrow {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
  }
}

/* ------------------------------------------------------------------
   14. FOOTER ENTRY
   ------------------------------------------------------------------ */
.site-footer {
  position: relative;
}

@supports (animation-timeline: view()) {
  .footer-container {
    animation: revealUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-timeline: view();
    animation-range: entry 0% entry 30%;
    opacity: 0;
  }
}

/* ------------------------------------------------------------------
   15. SELECTION COLOR
   ------------------------------------------------------------------ */
::selection {
  background: rgba(220, 38, 38, 0.2);
  color: var(--accent-primary);
}

/* ------------------------------------------------------------------
   16. CUSTOM SCROLLBAR (Webkit)
   ------------------------------------------------------------------ */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #FFF5F5;
}

::-webkit-scrollbar-thumb {
  background: rgba(220, 38, 38, 0.3);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-primary);
}

/* ------------------------------------------------------------------
   17. FOCUS STYLES (Accessibility)
   ------------------------------------------------------------------ */
:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ------------------------------------------------------------------
   18. REDUCE MOTION OVERRIDE
   (Respects user's OS preference for reduced motion)
   ------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-snap-type: none !important;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .preloader {
    display: none;
  }

  .site-header,
  .hero-badge,
  .hero-title,
  .hero-subtitle,
  .hero-cta-group,
  .hero-metrics,
  .hero-mockup-wrapper,
  .reveal-up,
  .reveal-left,
  .reveal-right,
  .reveal-fade,
  .reveal-scale,
  .reveal-title,
  .scroll-reveal {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .marquee-track {
    animation: none;
  }

  .hero-watermark {
    animation: none;
  }
}

/* ======================================================================
   AISLE-INSPIRED XLATOR HERO REFRESH
   ====================================================================== */
.site-header {
  background: #f1f1f1;
  border-bottom: 0;
  backdrop-filter: none;
  transition: background-color 0.14s ease, color 0.14s ease;
}

.site-header.is-header-white {
  background: #ffffff;
}

.site-header.is-header-gray {
  background: #f1f1f1;
}

.site-header.is-header-dark {
  background: #111111;
  color: #ffffff;
}

.header-container {
  width: min(94%, 1400px);
  height: 86px;
  padding: 0 10px;
}

.brand-logo { gap: 11px; }
.logo-mark {
  width: 42px;
  height: 42px;
  background: #111;
  border: 0;
  border-radius: 50%;
  box-shadow: none;
  overflow: hidden;
  transition: background-color 0.14s ease;
}
.logo-mark img { width: 29px; height: 29px; object-fit: cover; }
.logo-text { font-size: 1.35rem; letter-spacing: -0.07em; transition: color 0.14s ease; }
.badge-version { display: none; }
.nav-links { gap: 34px; }
.nav-links a { color: #111; font-size: .95rem; font-weight: 600; }
.nav-links a:hover { color: var(--accent-primary); }
.header-actions { gap: 8px; }
.btn-ghost-nav { color: #111; font-weight: 600; }
.btn-primary-nav { padding: 11px 20px; background: #111; color: #FFFFFF; box-shadow: none; }
.btn-primary-nav:hover { background: var(--accent-primary); color: #FFFFFF; box-shadow: none; }

.site-header.is-header-dark .logo-mark {
  background: #ffffff;
}
.site-header.is-header-dark .logo-text,
.site-header.is-header-dark .nav-links a,
.site-header.is-header-dark .btn-ghost-nav {
  color: #ffffff;
}
.site-header.is-header-dark .nav-links a:hover {
  color: var(--accent-crimson);
}
.site-header.is-header-dark .btn-primary-nav {
  background: #ffffff;
  color: #111111;
}
.site-header.is-header-dark .btn-primary-nav:hover {
  background: var(--accent-primary);
  color: #ffffff;
}

.hero-section {
  min-height: calc(100vh - 86px);
  padding: 88px 0 0;
  overflow: hidden;
  background: #f1f1f1;
}
.hero-container {
  width: min(94%, 1400px);
  display: flex;
  flex-direction: column;
  gap: 42px;
  text-align: center;
}
.hero-content { display: flex; flex-direction: column; align-items: center; }
.hero-title {
  max-width: 900px;
  margin-bottom: 28px;
  color: #050505;
  font-size: clamp(3.4rem, 6.6vw, 6.6rem);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.03em;
}
.gradient-text {
  background: none;
  color: #b00068;
  -webkit-text-fill-color: currentColor;
}
.hero-subtitle {
  max-width: 570px;
  margin-bottom: 28px;
  color: #555;
  font-size: 1rem;
  line-height: 1.55;
}
.hero-cta-group { justify-content: center; gap: 18px; }
.store-button {
  min-width: 200px;
  padding: 12px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 999px;
  background: #b00068;
  color: #fff;
  text-align: left;
  font-weight: 700;
  line-height: 1.05;
  transition: transform .25s ease, background .25s ease;
}
.store-button:hover { transform: translateY(-3px); background: #85004f; }
.store-button span { display: flex; flex-direction: column; font-size: 1.08rem; }
.store-button small { margin-bottom: 4px; font-size: .56rem; font-weight: 500; letter-spacing: .06em; }

.hero-mockup-wrapper {
  width: min(760px, 100%);
  min-height: 560px;
  align-items: flex-start;
  margin: 0 auto;
}
.hero-mockup-wrapper .floating-pill { display: none; }
.phone-frame {
  width: 340px;
  height: 680px;
  border-color: #373737;
  box-shadow: 0 32px 80px rgba(0,0,0,.25), 0 0 0 6px #fff, 0 0 0 8px rgba(0,0,0,.08);
}
.phone-screen { border-color: #ddd; }
.app-logo { display: flex; align-items: center; gap: 5px; }
.app-logo::before {
  content: "";
  width: 20px;
  height: 20px;
  display: inline-block;
  background: #111 url('icon.jpeg') center / 14px 14px no-repeat;
  border-radius: 50%;
}

@media (max-width: 900px) {
  .nav-links { gap: 16px; }
  .header-actions .btn-ghost-nav { display: none; }
  .hero-section { padding-top: 64px; }
  .hero-title { font-size: clamp(3rem, 9vw, 5rem); }
}

@media (max-width: 620px) {
  .header-container { height: 72px; }
  .nav-links { display: none; }
  .header-actions { margin-left: auto; }
  .btn-primary-nav { padding: 10px 14px; font-size: .78rem; }
  .hero-section { min-height: calc(100vh - 72px); padding-top: 54px; }
  .hero-title { font-size: clamp(2.75rem, 13vw, 4.2rem); }
  .hero-subtitle { padding: 0 12px; font-size: .92rem; }
  .hero-cta-group { flex-direction: column; gap: 12px; }
  .store-button { width: 205px; }
  .hero-mockup-wrapper { min-height: 430px; }
  .phone-frame { width: 290px; height: 580px; border-radius: 38px; }
  .phone-screen { border-radius: 29px; }
}

/* Restore the original vertical section sizing and workflow layout. */
main > .hero-section,
main > .advantages-section,
main > .steps-section,
main > .ads-section,
main > .pricing-section {
  min-height: 0;
  display: block;
  scroll-snap-align: none;
}
.section-support-image,
.step-image { display: none; }
.steps-flow { display: flex; align-items: center; justify-content: space-between; gap: 16px; overflow: visible; }
.steps-flow .step-card { flex: 1; min-height: 0; display: block; }
.steps-flow .step-connector { display: flex; flex: initial; }
.steps-flow,
.pricing-grid {
  width: auto;
  max-width: 100%;
  overflow: visible;
}

/* Final overflow reset: Advantages captions remain a normal grid. */
.advantages-caption-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(1060px, 100%);
  max-width: 100%;
  overflow: visible;
  gap: 14px;
}
.advantages-caption-grid .collage-caption {
  width: auto;
  min-width: 0;
  flex: initial;
}
@media (max-width: 760px) {
  .advantages-caption-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 430px) {
  .advantages-caption-grid { grid-template-columns: 1fr; }
}

/* Definitive vertical-only overflow reset. */
.advantages-caption-grid,
.steps-flow,
.pricing-grid {
  overflow-x: visible;
  overflow-y: visible;
  width: 100%;
  max-width: 100%;
  scroll-snap-type: none;
}
.steps-flow { display: flex; }
.steps-flow .step-card { flex: 1 1 0; }
.steps-flow .step-connector { display: flex; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pricing-grid .pricing-card { flex: initial; }
@media (max-width: 980px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

/* Equal, aligned benefit boxes beneath the collage. */
.advantages-caption-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  align-items: stretch;
  width: min(1060px, 100%) !important;
  margin: 18px auto 0 !important;
  gap: 14px !important;
  overflow: visible !important;
}
.advantages-caption-grid .collage-caption {
  position: static !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  min-height: 112px;
  margin: 0 !important;
  padding: 17px 18px;
  border: none !important;
  transform: none !important;
  flex: none !important;
}
@media (max-width: 760px) {
  .advantages-caption-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 430px) {
  .advantages-caption-grid { grid-template-columns: 1fr !important; }
}

/* Premium four-step journey. */
.steps-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 44%, rgba(176, 0, 104, .055), transparent 34%),
    linear-gradient(180deg, #fff 0%, #fafafa 100%);
}
.steps-section::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -42%);
  border: 1px solid rgba(176, 0, 104, .06);
  border-radius: 50%;
  pointer-events: none;
}
.steps-section .section-header { position: relative; z-index: 2; margin-bottom: 72px; }
.steps-flow {
  position: relative;
  z-index: 2;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 24px;
  width: 100%;
  overflow: visible !important;
}
.steps-flow::before {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  top: 51px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(176,0,104,.42) 12%, rgba(176,0,104,.42) 88%, transparent);
  z-index: -1;
}
.steps-flow .step-connector { display: none !important; }
.steps-flow .step-card {
  position: relative;
  min-width: 0;
  min-height: 330px;
  padding: 34px 27px 30px;
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
  overflow: hidden;
  border: none !important;
  border-radius: 24px;
  background: rgba(255,255,255,.92) !important;
  box-shadow: 0 18px 46px rgba(17,17,17,.07);
  transition: transform .45s cubic-bezier(.16,1,.3,1), box-shadow .45s ease;
}
.steps-flow .step-card::before {
  display: none;
}
.steps-flow .step-card::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  right: -75px;
  bottom: -75px;
  border-radius: 50%;
  background: rgba(176,0,104,.045);
  transition: transform .45s ease;
}
.steps-flow .step-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 28px 65px rgba(17,17,17,.11), 0 8px 24px rgba(176,0,104,.08);
}
.steps-flow .step-card:hover::before { transform: scaleX(1); }
.steps-flow .step-card:hover::after { transform: scale(1.18); }
.steps-flow .step-badge {
  margin-bottom: 18px;
  color: #b00068;
  font-size: .68rem;
  letter-spacing: .12em;
}
.steps-flow .step-icon {
  width: 58px;
  height: 58px;
  margin: 0 0 25px;
  color: #b00068;
  background: linear-gradient(145deg, #fff, #f9e3f0);
  border: 1px solid rgba(176,0,104,.13);
  box-shadow: 0 10px 25px rgba(176,0,104,.1);
  transition: transform .45s cubic-bezier(.16,1,.3,1), box-shadow .45s ease;
}
.steps-flow .step-card:hover .step-icon {
  transform: translateY(-3px) rotate(-4deg) scale(1.06);
  box-shadow: 0 14px 30px rgba(176,0,104,.17);
}
.steps-flow .step-card h4 {
  max-width: 210px;
  margin-bottom: 12px;
  font-size: 1.2rem;
  line-height: 1.25;
  letter-spacing: -.02em;
}
.steps-flow .step-card p {
  max-width: 240px;
  font-size: .88rem;
  line-height: 1.65;
}
.steps-section.scroll-reveal.is-visible .step-card {
  animation: premiumStepIn .75s cubic-bezier(.16,1,.3,1) both;
}
.steps-section.scroll-reveal.is-visible .step-card:nth-child(3) { animation-delay: .1s; }
.steps-section.scroll-reveal.is-visible .step-card:nth-child(5) { animation-delay: .2s; }
.steps-section.scroll-reveal.is-visible .step-card:nth-child(7) { animation-delay: .3s; }
@keyframes premiumStepIn {
  from { opacity: 0; transform: translateY(28px) scale(.975); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@media (max-width: 1050px) {
  .steps-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps-flow::before { display: none; }
}
@media (max-width: 620px) {
  .steps-section .section-header { margin-bottom: 42px; }
  .steps-flow { grid-template-columns: 1fr; gap: 16px; }
  .steps-flow .step-card { min-height: 0; padding: 28px 24px; }
  .steps-flow .step-card h4,
  .steps-flow .step-card p { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  .steps-section.scroll-reveal.is-visible .step-card { animation: none; }
  .steps-flow .step-card,
  .steps-flow .step-icon { transition: none; }
}

/* Equal, aligned benefit boxes beneath the collage. */
.advantages-caption-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  align-items: stretch;
  width: min(1060px, 100%) !important;
  margin: 18px auto 0 !important;
  gap: 14px !important;
  overflow: visible !important;
}
.advantages-caption-grid .collage-caption {
  position: static !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  min-height: 112px;
  margin: 0 !important;
  padding: 17px 18px;
  transform: none !important;
  flex: none !important;
}
@media (max-width: 760px) {
  .advantages-caption-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 430px) {
  .advantages-caption-grid { grid-template-columns: 1fr !important; }
}

/* Equal, aligned benefit boxes beneath the collage. */
.advantages-caption-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  align-items: stretch;
  width: min(1060px, 100%) !important;
  margin: 18px auto 0 !important;
  gap: 14px !important;
  overflow: visible !important;
}
.advantages-caption-grid .collage-caption {
  position: static !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  min-height: 112px;
  margin: 0 !important;
  padding: 17px 18px;
  transform: none !important;
  flex: none !important;
}
@media (max-width: 760px) {
  .advantages-caption-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 430px) {
  .advantages-caption-grid { grid-template-columns: 1fr !important; }
}

/* Equal, aligned benefit boxes beneath the collage. */
.advantages-caption-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  align-items: stretch;
  width: min(1060px, 100%) !important;
  margin: 18px auto 0 !important;
  gap: 14px !important;
  overflow: visible !important;
}
.advantages-caption-grid .collage-caption {
  position: static !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  min-height: 112px;
  margin: 0 !important;
  padding: 17px 18px;
  transform: none !important;
  flex: none !important;
}
@media (max-width: 760px) {
  .advantages-caption-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 430px) {
  .advantages-caption-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Keep the landing page section headers clean and text-led. */
.section-header::before { display: none; }
.section-header .sub-badge { display: none; }

/* Editorial image-led Advantages layout. */
.advantages-section { padding-bottom: 130px; }
.advantages-collage-wrap {
  position: relative;
  width: min(1060px, 100%);
  margin: 42px auto 0;
  border-radius: 30px;
}
.advantages-collage {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 30px;
  box-shadow: 0 24px 70px rgba(0,0,0,.12);
}
.collage-caption {
  position: absolute;
  max-width: 190px;
  padding: 15px 17px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 16px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 12px 30px rgba(0,0,0,.12);
  backdrop-filter: blur(12px);
  color: #111;
}
.collage-caption strong { display: block; margin-bottom: 5px; font-family: var(--font-display); font-size: .95rem; }
.collage-caption span { display: block; color: #666; font-size: .73rem; line-height: 1.4; }
.caption-one { left: 4%; bottom: 7%; }
.caption-two { right: 5%; top: 7%; }
.caption-three { left: 37%; top: 6%; }
.caption-four { right: 4%; bottom: 7%; }

@media (max-width: 760px) {
  .advantages-collage-wrap { margin-top: 28px; }
  .advantages-collage { min-height: 420px; object-fit: cover; object-position: center; }
  .collage-caption { max-width: 155px; padding: 11px 12px; }
  .collage-caption strong { font-size: .78rem; }
  .collage-caption span { font-size: .66rem; }
  .caption-one { left: 3%; bottom: 4%; }
  .caption-two { right: 3%; top: 4%; }
  .caption-three { left: 3%; top: 4%; transform: translateY(120px); }
  .caption-four { right: 3%; bottom: 4%; transform: translateY(-120px); }
}

/* Clean vertical layout: no horizontal slide rails. */
html { scroll-snap-type: none; }
.advantages-caption-grid,
.steps-flow,
.pricing-grid {
  display: grid;
  width: 100%;
  overflow: visible;
  scroll-snap-type: none;
  gap: 18px;
}
.advantages-caption-grid { grid-template-columns: repeat(4, 1fr); }
.advantages-caption-grid .collage-caption { flex: initial; }
.steps-flow { grid-template-columns: repeat(4, 1fr); align-items: stretch; }
.steps-flow .step-card { min-height: 0; display: block; padding: 28px 24px; }
.steps-flow .step-connector { display: flex; flex: initial; }
.pricing-grid { grid-template-columns: repeat(3, 1fr); }
.pricing-grid .pricing-card { flex: initial; }

@media (max-width: 980px) {
  .steps-flow { grid-template-columns: repeat(2, 1fr); }
  .steps-flow .step-connector { display: none; }
  .advantages-caption-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
}
@media (max-width: 620px) {
  .steps-flow,
  .advantages-caption-grid { grid-template-columns: 1fr; }
  .steps-flow .step-card { padding: 24px 18px; }
}

/* Captions live below the photography so no face or product detail is obscured. */
.advantages-caption-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  width: min(1060px, 100%);
  margin: 18px auto 0;
}
.advantages-caption-grid .collage-caption {
  position: static;
  max-width: none;
  min-height: 112px;
  padding: 17px 18px;
  background: #fafafa;
  border: 1px solid #e7e7e7;
  box-shadow: none;
  backdrop-filter: none;
}
@media (max-width: 760px) {
  .advantages-caption-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 430px) {
  .advantages-caption-grid { grid-template-columns: 1fr; }
}

/* Full-screen section panels with horizontal content rails. */
html { scroll-snap-type: y proximity; }
body { scroll-behavior: smooth; }
main > .hero-section,
main > .advantages-section,
main > .steps-section,
main > .ads-section,
main > .pricing-section {
  min-height: calc(100vh - 86px);
  scroll-snap-align: start;
  display: flex;
  align-items: center;
}
main > .hero-section { align-items: flex-start; }
.advantages-section .section-container,
.steps-section .section-container,
.ads-section .section-container,
.pricing-section .section-container { width: min(94%, 1400px); }

.advantages-caption-grid,
.steps-flow,
.pricing-grid {
  scrollbar-width: thin;
  scrollbar-color: rgba(176,0,104,.55) transparent;
}
.advantages-caption-grid { overflow-x: auto; }
.steps-flow {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  overflow-x: auto;
  padding: 12px 4px 28px;
}
.steps-flow .step-card { flex: 0 0 min(370px, 76vw); }
.steps-flow .step-connector { flex: 0 0 52px; }
.pricing-grid {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  align-items: stretch;
  padding: 14px 4px 28px;
}
.pricing-grid .pricing-card { flex: 0 0 min(360px, 80vw); }
.section-support-image {
  display: block;
  width: min(950px, 100%);
  height: 170px;
  object-fit: cover;
  object-position: center;
  margin: 18px auto 22px;
  border-radius: 22px;
  box-shadow: 0 18px 45px rgba(0,0,0,.1);
}
.ads-support-image { object-position: center 53%; }
.pricing-support-image { object-position: center 100%; }

/* One full-width horizontal slide per content item. */
.advantages-caption-grid,
.steps-flow,
.pricing-grid {
  width: 100%;
  scroll-snap-type: none;
  overscroll-behavior-x: contain;
}
.advantages-caption-grid .collage-caption,
.pricing-grid .pricing-card,
.steps-flow .step-card {
  scroll-snap-align: start;
}
.advantages-caption-grid .collage-caption { flex: 0 0 100%; }
.advantages-caption-grid {
  display: flex;
  gap: 18px;
}
.pricing-grid .pricing-card { flex-basis: 100%; }
.steps-flow {
  gap: 0;
  padding-left: 0;
  padding-right: 0;
}
.steps-flow .step-card {
  flex: 0 0 100%;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 34px clamp(24px, 8vw, 130px);
}
.steps-flow .step-connector { display: none; }
.step-image {
  width: min(500px, 72vw);
  height: 170px;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 24px;
  box-shadow: 0 14px 35px rgba(0,0,0,.12);
}
.step-image-one { object-position: 12% 20%; }
.step-image-two { object-position: 88% 20%; }
.step-image-three { object-position: 15% 88%; }
.step-image-four { object-position: 88% 85%; }

@media (max-width: 760px) {
  .steps-flow .step-card { min-height: 430px; }
  .step-image { height: 140px; }
}

@media (max-width: 760px) {
  html { scroll-snap-type: none; }
  main > .hero-section,
  main > .advantages-section,
  main > .steps-section,
  main > .ads-section,
  main > .pricing-section { min-height: calc(100svh - 72px); }
  .section-support-image { height: 130px; border-radius: 16px; }
  .steps-flow .step-connector { flex-basis: 22px; }
}

/* ======================================================================
   FOCUSED LANDING PAGE FLOW
   ====================================================================== */
main { display: flex; flex-direction: column; }
.marquee-strip,
.comparison-section,
.pillars-section,
.personas-section,
.demo-banner-section,
.final-cta-section { display: none; }
.hero-section { order: 1; }
.advantages-section { order: 2; }
.steps-section { order: 3; }
.ads-section { order: 4; }
.pricing-section { order: 5; }
.faq-section { order: 6; }

.advantages-section,
.steps-section { background: #fff; }
.advantages-section { padding: 112px 0 118px; }
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}
.advantage-card {
  position: relative;
  min-height: 270px;
  padding: 28px 24px 24px;
  border: 1px solid #e8e8e8;
  border-radius: 22px;
  background: #fafafa;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.advantage-card:hover { transform: translateY(-5px); border-color: rgba(176,0,104,.35); box-shadow: 0 18px 40px rgba(0,0,0,.08); }
.advantage-number { color: #b00068; font-size: .72rem; font-weight: 800; letter-spacing: .12em; }
.advantage-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin: 28px 0 20px;
  border-radius: 16px;
  background: #f9e3f0;
  color: #b00068;
  font-size: 1.8rem;
  font-weight: 700;
}
.advantage-card h3 { margin-bottom: 10px; color: #111; font-family: var(--font-display); font-size: 1.2rem; }
.advantage-card p { color: #666; font-size: .92rem; line-height: 1.65; }

.steps-section { padding-top: 108px; padding-bottom: 112px; }
.steps-section .section-title { max-width: 720px; margin-left: auto; margin-right: auto; }
.steps-section .step-card { background: #f8f8f8; border-color: #e8e8e8; }
.ads-section {
  background: #FFFFFF;
  border-top: none;
  scroll-margin-top: 86px;
}
.pricing-section {
  background: #f1f1f1;
  scroll-margin-top: 86px;
}

.site-footer { background: #111; }
.site-footer .logo-mark { background: #fff; }
.site-footer .logo-mark img { display: block; }

@media (max-width: 980px) {
  .advantages-grid { grid-template-columns: repeat(2, 1fr); max-width: 700px; }
}

/* Keep the interface flat: disable elevation effects throughout the page. */
*,
*::before,
*::after {
  box-shadow: none !important;
}
@media (max-width: 620px) {
  .advantages-section { padding: 78px 0; }
  .advantages-grid { grid-template-columns: 1fr; gap: 14px; }
  .advantage-card { min-height: auto; padding: 22px; }
  .advantage-icon { margin-top: 20px; }
  .steps-section { padding-top: 78px; padding-bottom: 78px; }
}

/* Definitive vertical-only overflow reset. */
.advantages-caption-grid,
.steps-flow,
.pricing-grid {
  overflow-x: visible;
  overflow-y: visible;
  width: 100%;
  max-width: 100%;
  scroll-snap-type: none;
}
.steps-flow { display: flex; }
.steps-flow .step-card { flex: 1 1 0; }
.steps-flow .step-connector { display: flex; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pricing-grid .pricing-card { flex: initial; }
@media (max-width: 980px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

/* Equal, aligned benefit boxes beneath the collage. */
.advantages-caption-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  align-items: stretch;
  width: min(1060px, 100%) !important;
  margin: 18px auto 0 !important;
  gap: 14px !important;
  overflow: visible !important;
}
.advantages-caption-grid .collage-caption {
  position: static !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  min-height: 112px;
  margin: 0 !important;
  padding: 17px 18px;
  transform: none !important;
  flex: none !important;
}
@media (max-width: 760px) {
  .advantages-caption-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 430px) {
  .advantages-caption-grid { grid-template-columns: 1fr !important; }
}

/* ======================================================================
   STANZZA-STYLE SCROLL STORY: BOTTOM-RIGHT EXPAND -> HORIZONTAL 01..04
   ====================================================================== */
.step-card-foot {
  display: none;
}

.step-card-top {
  width: 100%;
}

html.scroll-story-ready {
  scroll-snap-type: none;
}

.scroll-story-ready .advantages-section {
  --header-h: 86px;
  position: sticky;
  top: var(--adv-sticky-top, 86px);
  z-index: 1;
  scroll-margin-top: 86px;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  padding: clamp(20px, 2.8vh, 40px) 0 clamp(24px, 3.2vh, 44px);
  overflow: hidden;
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

.scroll-story-ready .advantages-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 8, 15, var(--adv-scrim, 0));
  pointer-events: none;
  z-index: 4;
}

.advantages-section > .section-container {
  width: min(94%, 1400px);
  padding: 0 10px;
  display: grid;
  grid-template-columns: minmax(0, 1.56fr) minmax(0, 1fr);
  column-gap: clamp(18px, 2vw, 28px);
  row-gap: clamp(16px, 2.5vh, 28px);
  align-items: stretch;
}

.scroll-story-ready .advantages-section > .section-container {
  transform: scale(var(--adv-scale, 1));
  transform-origin: 50% 45%;
  will-change: transform;
}

.advantages-section .section-header {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.advantages-section .advantages-collage-wrap {
  grid-column: 1;
  width: 100%;
  max-width: none;
  margin: 0;
  border-radius: 26px;
  overflow: hidden;
  align-self: center;
}

.advantages-section .advantages-collage {
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: fill;
  display: block;
  border-radius: 26px;
}

.advantages-section .advantages-caption-grid {
  grid-column: 2;
  width: 100% !important;
  margin: 0 !important;
  grid-template-columns: 1fr !important;
  grid-template-rows: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 1.4vh, 14px) !important;
  align-items: stretch;
}

.advantages-section .advantages-caption-grid .collage-caption {
  min-height: 0;
  padding: clamp(12px, 1.5vh, 18px) clamp(16px, 1.6vw, 22px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 18px;
}

.scroll-story-ready .advantages-section.is-story-covered {
  opacity: 0 !important;
  visibility: hidden;
  pointer-events: none;
}

.scroll-story-ready .steps-section {
  --panel-scale: 0;
  --panel-opacity: 0;
  --panel-radius: 56px;
  --story-head-opacity: 0;
  --story-head-y: 24px;
  position: relative;
  z-index: 5;
  display: block;
  margin-top: -100vh;
  margin-top: -100svh;
  min-height: 640vh !important;
  min-height: 640svh !important;
  padding: 0 !important;
  background: transparent !important;
  overflow: visible !important;
  isolation: isolate;
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
  scroll-snap-align: none;
}

.scroll-story-ready .steps-section::before {
  display: none;
}

.scroll-story-ready .steps-story-viewport {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}

.scroll-story-ready .steps-story-panel {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  padding: clamp(104px, 10vh, 132px) 0 clamp(30px, 4vh, 48px);
  color: #050505;
  background: #f1f1f1;
  border-top: 1px solid rgba(17, 17, 17, 0.14);
  border-left: 1px solid rgba(17, 17, 17, 0.14);
  border-top-left-radius: var(--panel-radius);
  transform-origin: 100% 100%;
  transform: scale(var(--panel-scale));
  opacity: var(--panel-opacity);
  will-change: transform, opacity;
}

.scroll-story-ready .steps-story-inner {
  width: 100% !important;
  max-width: none !important;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: clamp(34px, 4.5vh, 58px);
}

.scroll-story-ready .steps-story-head {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding-inline: clamp(24px, 4vw, 72px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: var(--story-head-opacity);
  transform: translate3d(0, var(--story-head-y), 0);
  will-change: opacity, transform;
}

.scroll-story-ready .steps-story-head .section-header {
  text-align: center !important;
  margin: 0 auto !important;
  width: 100%;
  max-width: none;
}

.scroll-story-ready .steps-story-head .section-title {
  max-width: none;
  margin: 0 0 10px;
  color: #050505;
  font-size: clamp(1.9rem, 3.3vw, 2.8rem);
  line-height: 1.12;
}

.scroll-story-ready .steps-story-head .section-desc {
  width: 100%;
  margin: 0 auto;
  max-width: none;
  color: #555555;
  font-size: clamp(0.92rem, 1.08vw, 1.04rem);
  line-height: 1.55;
}

.scroll-story-ready .steps-track-stage {
  width: 100%;
  margin-left: 0;
  position: relative;
  overflow: visible;
}

.scroll-story-ready .steps-section .steps-flow {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: flex-start;
  gap: clamp(18px, 2.5vw, 34px);
  width: max-content !important;
  max-width: none !important;
  margin: 0;
  padding: 6px 0;
  opacity: 1 !important;
  animation: none !important;
  overflow: visible !important;
  will-change: transform;
}

.scroll-story-ready .steps-section .steps-flow::before,
.scroll-story-ready .steps-section .step-connector {
  display: none !important;
}

.scroll-story-ready .steps-section .step-card {
  flex: 0 0 60vw !important;
  width: 60vw;
  min-width: 0;
  min-height: clamp(430px, 52vh, 600px);
  padding: clamp(34px, 3.5vw, 54px) !important;
  display: flex !important;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  text-align: left;
  border: none !important;
  border-radius: 28px;
  position: relative;
  overflow: hidden;
  animation: none !important;
  will-change: transform, opacity;
}

.scroll-story-ready .steps-section .step-card::before {
  display: none !important;
}

.scroll-story-ready .steps-section .step-card.is-story-active::before {
  display: none !important;
}

.scroll-story-ready .steps-section .step-card::after {
  display: none;
}

.scroll-story-ready .steps-section .step-card:hover {
  transform: translate3d(0, 0, 0) scale(1);
}

.scroll-story-ready .steps-section .step-card.step-card--light {
  background: #ffffff !important;
  border: none !important;
  color: #111827;
}

.scroll-story-ready .steps-section .step-card.step-card--light.is-story-active {
  border: none !important;
}

.scroll-story-ready .steps-section .step-card.step-card--light .step-badge {
  color: var(--accent-primary);
}

.scroll-story-ready .steps-section .step-card.step-card--light h4 {
  color: #050505;
}

.scroll-story-ready .steps-section .step-card.step-card--light p {
  color: #52525b;
}

.scroll-story-ready .steps-section .step-card.step-card--light .step-card-foot {
  color: #6b7280;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
}

.scroll-story-ready .steps-section .step-card.step-card--light .step-num-watermark {
  color: rgba(220, 38, 38, 0.14);
}

.scroll-story-ready .steps-section .step-card.step-card--red {
  background: linear-gradient(145deg, #DC2626 0%, #B91C1C 58%, #991B1B 100%) !important;
  border: none !important;
  color: #ffffff;
}

.scroll-story-ready .steps-section .step-card.step-card--red::before {
  display: none !important;
}

.scroll-story-ready .steps-section .step-card.step-card--red.is-story-active {
  border: none !important;
}

.scroll-story-ready .steps-section .step-card.step-card--red .step-badge {
  color: rgba(255, 255, 255, 0.94);
}

.scroll-story-ready .steps-section .step-card.step-card--red h4 {
  color: #ffffff;
}

.scroll-story-ready .steps-section .step-card.step-card--red p {
  color: rgba(255, 255, 255, 0.90);
}

.scroll-story-ready .steps-section .step-card.step-card--red .step-card-foot {
  color: rgba(255, 255, 255, 0.82);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.scroll-story-ready .steps-section .step-card.step-card--red .step-num-watermark {
  color: rgba(255, 255, 255, 0.22);
}

.scroll-story-ready .steps-section .step-card-top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 18px;
}

.scroll-story-ready .steps-section .step-card-top .step-badge {
  margin-bottom: 0;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.scroll-story-ready .steps-section .step-card-body h4 {
  max-width: none;
  margin-bottom: 12px;
  font-size: clamp(1.3rem, 1.9vw, 1.65rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.scroll-story-ready .steps-section .step-card-body p {
  max-width: 44ch;
  font-size: clamp(0.92rem, 1.06vw, 1rem);
  line-height: 1.65;
}

.scroll-story-ready .steps-section .step-card-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  margin-top: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.scroll-story-ready .steps-section .step-num-watermark {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.2vw, 2.8rem);
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: -0.05em;
}

.scroll-story-ready .ads-section,
.scroll-story-ready .pricing-section,
.scroll-story-ready .site-footer {
  position: relative;
  z-index: 10;
}

/* Full-screen single-viewport fit & navbar-aligned width for Ads & Pricing sections on desktop. */
main > .ads-section {
  --header-h: 86px;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(22px, 3vh, 44px) 0;
  background: #FFFFFF;
  border-top: none;
  scroll-margin-top: var(--header-h);
}

main > .ads-section > .section-container {
  width: min(94%, 1400px);
  padding: 0 10px;
}

main > .pricing-section {
  --header-h: 86px;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(16px, 2.5vh, 36px) 0;
  background: #f1f1f1;
  scroll-margin-top: var(--header-h);
}

main > .pricing-section > .section-container {
  width: min(94%, 1400px);
  padding: 0 10px;
}

main > .pricing-section .section-header {
  margin-bottom: clamp(14px, 2.2vh, 30px);
}

main > .pricing-section .section-title {
  margin-top: 0;
  margin-bottom: clamp(6px, 1vh, 10px);
  font-size: clamp(1.7rem, 2.8vw, 2.55rem);
  line-height: 1.14;
}

main > .pricing-section .section-desc {
  font-size: clamp(0.86rem, 1vw, 1rem);
  line-height: 1.48;
}

main > .pricing-section .pricing-grid {
  gap: clamp(16px, 1.8vw, 28px);
  padding: 14px 0 8px;
  align-items: stretch;
}

main > .pricing-section .pricing-card {
  padding: clamp(18px, 2.2vh, 30px) clamp(18px, 1.9vw, 28px);
}

main > .pricing-section .featured-tier {
  transform: scale(1.02);
}

main > .pricing-section .featured-tier:hover {
  transform: scale(1.035) translateY(-3px);
}

main > .pricing-section .tier-name {
  font-size: clamp(1.05rem, 1.25vw, 1.3rem);
  margin-bottom: clamp(4px, 0.7vh, 8px);
}

main > .pricing-section .tier-price {
  margin-bottom: clamp(4px, 0.7vh, 8px);
}

main > .pricing-section .currency {
  font-size: clamp(1.2rem, 1.4vw, 1.45rem);
}

main > .pricing-section .amount {
  font-size: clamp(2rem, 2.6vw, 2.75rem);
}

main > .pricing-section .cents {
  font-size: clamp(1rem, 1.2vw, 1.25rem);
}

main > .pricing-section .tier-desc {
  min-height: 0;
  font-size: clamp(0.79rem, 0.86vw, 0.88rem);
  line-height: 1.4;
  margin-bottom: clamp(10px, 1.4vh, 20px);
}

main > .pricing-section .tier-features {
  gap: clamp(5px, 0.85vh, 10px);
  margin-bottom: clamp(12px, 1.8vh, 24px);
}

main > .pricing-section .tier-features li {
  font-size: clamp(0.78rem, 0.85vw, 0.88rem);
  line-height: 1.28;
}

main > .pricing-section .btn-tier-outline,
main > .pricing-section .btn-tier-featured {
  padding: clamp(9px, 1.15vh, 13px) 16px;
  font-size: clamp(0.84rem, 0.9vw, 0.94rem);
}

@media (max-width: 980px) {
  main > .ads-section {
    min-height: calc(100svh - var(--header-h));
    height: auto;
    padding: 52px 0;
  }

  main > .pricing-section {
    min-height: calc(100svh - var(--header-h));
    height: auto;
    padding: 52px 0;
  }

  main > .pricing-section .pricing-grid {
    max-width: 520px;
    margin: 0 auto;
    padding: 10px 0 0;
  }

  main > .pricing-section .featured-tier,
  main > .pricing-section .featured-tier:hover {
    transform: none;
  }

  .advantages-section > .section-container {
    grid-template-columns: 1fr;
    row-gap: 18px;
  }

  .advantages-section .advantages-collage-wrap,
  .advantages-section .advantages-caption-grid {
    grid-column: 1;
  }

  .advantages-section .advantages-caption-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: auto;
    gap: 12px !important;
  }

  .advantages-section .advantages-caption-grid .collage-caption {
    min-height: 96px;
    padding: 15px 16px;
  }
}

@media (max-width: 900px) {
  .scroll-story-ready .steps-section .step-card {
    flex-basis: min(76vw, 480px) !important;
    width: min(76vw, 480px);
    min-height: clamp(265px, 38vh, 340px);
  }
}

@media (max-width: 620px) {
  .scroll-story-ready .advantages-section {
    --header-h: 72px;
    padding: 36px 0 42px;
  }

  .advantages-section,
  .ads-section,
  .pricing-section {
    scroll-margin-top: 72px;
  }

  main > .ads-section {
    --header-h: 72px;
    padding: 44px 0;
  }

  main > .pricing-section {
    --header-h: 72px;
    padding: 44px 0;
  }

  .advantages-section .advantages-collage-wrap,
  .advantages-section .advantages-collage {
    border-radius: 20px;
  }

  .scroll-story-ready .steps-section {
    min-height: 580vh !important;
    min-height: 580svh !important;
  }

  .scroll-story-ready .steps-story-panel {
    justify-content: center;
    padding: 86px 0 24px;
  }

  .scroll-story-ready .steps-story-inner {
    justify-content: center;
    gap: 20px;
  }

  .scroll-story-ready .steps-story-head {
    padding-inline: 16px;
  }

  .scroll-story-ready .steps-story-head .section-title {
    font-size: clamp(1.45rem, 6.4vw, 1.9rem);
  }

  .scroll-story-ready .steps-story-head .section-desc {
    display: none;
  }

  .scroll-story-ready .steps-section .step-card {
    flex-basis: calc(100vw - 32px) !important;
    width: calc(100vw - 32px);
    max-width: 420px;
    min-height: clamp(245px, 42svh, 325px);
    padding: 22px 20px !important;
    border-radius: 22px;
  }

  .scroll-story-ready .steps-section .step-card-body h4 {
    font-size: 1.25rem;
  }

  .scroll-story-ready .steps-section .step-card-body p {
    font-size: 0.9rem;
  }
}

@media (max-width: 430px) {
  .advantages-section .advantages-caption-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .site-header .logo-mark,
  .site-header .logo-text,
  .site-header .btn-primary-nav {
    transition: none;
  }

  .scroll-story-ready .advantages-section,
  .advantages-section {
    position: relative !important;
    top: auto !important;
    min-height: 0 !important;
    scroll-margin-top: 86px;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .scroll-story-ready .advantages-section::after {
    display: none;
  }

  .scroll-story-ready .steps-section,
  .steps-section {
    margin-top: 0 !important;
    min-height: auto !important;
    padding: 84px 0 !important;
    scroll-margin-top: 86px;
    background: #f1f1f1 !important;
  }

  .steps-section::before,
  .steps-flow::before {
    display: none !important;
  }

  .steps-story-viewport {
    position: static !important;
    height: auto !important;
    overflow: visible !important;
  }

  .steps-story-panel {
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    border-radius: 0 !important;
    border: none !important;
    background: transparent !important;
    color: var(--text-main) !important;
    padding: 0 !important;
  }

  .steps-story-head {
    opacity: 1 !important;
    transform: none !important;
  }

  .steps-story-head .section-header {
    text-align: center !important;
    margin-left: auto;
    margin-right: auto;
  }

  .steps-story-head .section-title {
    color: var(--text-main) !important;
  }

  .steps-story-head .section-desc {
    color: var(--text-muted) !important;
    margin-left: auto;
    margin-right: auto;
  }

  .steps-track-stage {
    width: 100% !important;
    margin-left: 0 !important;
  }

  .steps-section .steps-flow {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 20px !important;
    width: 100% !important;
    transform: none !important;
    opacity: 1 !important;
  }

  .steps-section .step-card {
    flex: initial !important;
    width: auto !important;
    min-height: 260px !important;
    padding: 28px 24px !important;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
    align-items: flex-start !important;
    text-align: left !important;
    justify-content: flex-start !important;
    background: #ffffff !important;
    border: none !important;
    color: var(--text-main) !important;
  }

  .steps-section .step-card::before {
    display: none !important;
  }

  .steps-section .step-card.step-card--light .step-badge {
    color: var(--accent-primary) !important;
  }

  .steps-section .step-card.step-card--red {
    background: linear-gradient(145deg, #DC2626 0%, #B91C1C 58%, #991B1B 100%) !important;
    border: none !important;
    color: #ffffff !important;
  }

  .steps-section .step-card.step-card--red .step-badge {
    color: rgba(255, 255, 255, 0.94) !important;
  }

  .steps-section .step-card.step-card--red h4 {
    color: #ffffff !important;
  }

  .steps-section .step-card.step-card--red p {
    color: rgba(255, 255, 255, 0.90) !important;
  }

  .steps-section .step-card-top {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 14px;
  }

  .steps-section .step-card-top .step-badge {
    margin: 0 !important;
  }

  .steps-section .step-card h4 {
    max-width: none !important;
    color: var(--text-main) !important;
  }

  .steps-section .step-card p {
    max-width: none !important;
    color: var(--text-muted) !important;
  }

  .steps-section .step-connector {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) and (max-width: 980px) {
  .steps-section .steps-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (prefers-reduced-motion: reduce) and (max-width: 620px) {
  .advantages-section,
  .steps-section,
  .ads-section,
  .pricing-section {
    scroll-margin-top: 72px;
  }

  .steps-section .steps-flow {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================================================
   FAQ — Single-open accessible accordion
   ========================================================================== */
.faq-section {
  padding: clamp(58px, 6vw, 88px) 0;
  background: #ffffff;
  border-top: 1px solid rgba(17, 24, 39, 0.06);
}

.faq-container {
  width: min(90%, 980px);
  margin: 0 auto;
  padding: 0 20px;
}

.faq-heading {
  text-align: center;
  margin: 0 auto clamp(30px, 3.5vw, 44px);
}

.faq-heading .section-title {
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  margin-top: 0;
  margin-bottom: 10px;
}

.faq-heading .section-desc {
  font-size: 1rem;
}

.faq-list {
  border-top: 1px solid #e5e7eb;
}

.faq-item {
  border-bottom: 1px solid #e5e7eb;
  transition: border-color 280ms ease, background-color 280ms ease;
}

.faq-item.is-open {
  border-bottom-color: #d1d5db;
  background: #fafafa;
}

.faq-question-heading {
  font: inherit;
}

.faq-question {
  width: 100%;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 17px 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text-main);
  font-size: clamp(0.95rem, 1.15vw, 1.08rem);
  font-weight: 600;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
  transition: color 240ms ease;
}

.faq-question:hover,
.faq-question:focus-visible,
.faq-item.is-open .faq-question {
  color: var(--text-main);
}

.faq-question:focus-visible {
  outline: 3px solid rgba(220, 38, 38, 0.2);
  outline-offset: 5px;
  border-radius: 8px;
}

.faq-icon {
  position: relative;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  color: currentColor;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  top: 10px;
  width: 12px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-icon::before {
  left: 1px;
  transform: rotate(45deg);
}

.faq-icon::after {
  right: 1px;
  transform: rotate(-45deg);
}

.faq-item.is-open .faq-icon::before {
  transform: rotate(-45deg);
}

.faq-item.is-open .faq-icon::after {
  transform: rotate(45deg);
}

.faq-answer {
  height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    height 440ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 260ms ease;
}

.faq-item.is-open .faq-answer {
  opacity: 1;
}

.faq-answer-inner {
  max-width: 760px;
  padding: 0 48px 20px 4px;
}

.faq-answer p {
  color: var(--text-muted);
  font-size: clamp(0.9rem, 1vw, 0.98rem);
  line-height: 1.65;
}

@media (max-width: 760px) {
  .faq-section {
    padding: 50px 0 56px;
  }

  .faq-container {
    width: 100%;
    padding: 0 22px;
  }

  .faq-heading {
    margin-bottom: 28px;
  }

  .faq-question {
    min-height: 64px;
    gap: 16px;
    padding: 16px 2px;
  }

  .faq-answer-inner {
    padding: 0 38px 18px 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-item,
  .faq-question,
  .faq-icon::before,
  .faq-icon::after,
  .faq-answer {
    transition-duration: 0.01ms !important;
  }
}

/* ======================================================================
   STATIC HOW-IT-WORKS GRID
   Proportions follow the reference section: 1280px container, 128px
   vertical rhythm, 48px header-to-grid spacing, 32px gaps and card padding.
   ====================================================================== */
#how-it-works.steps-section {
  position: relative !important;
  z-index: 1 !important;
  display: block !important;
  min-height: 0 !important;
  margin-top: 0 !important;
  padding: 128px 0 !important;
  overflow: hidden !important;
  background: #eff6ff !important;
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
  scroll-snap-align: none !important;
}

#how-it-works.steps-section::before {
  display: none !important;
}

#how-it-works .steps-story-viewport,
#how-it-works .steps-story-panel {
  position: static !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  animation: none !important;
}

#how-it-works .steps-story-panel {
  display: block !important;
  padding: 0 !important;
  color: #111827;
}

#how-it-works .steps-story-inner {
  display: block !important;
  width: min(calc(100% - 48px), 1280px) !important;
  max-width: 1280px !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

#how-it-works .steps-story-head {
  width: 100% !important;
  max-width: none !important;
  margin: 0 0 48px !important;
  padding: 0 !important;
  display: block !important;
  opacity: 1 !important;
  transform: none !important;
}

#how-it-works .steps-story-head .section-header {
  width: 100% !important;
  max-width: none !important;
  margin: 0 auto !important;
  text-align: center !important;
}

#how-it-works .steps-story-head .section-title {
  width: 100% !important;
  max-width: none !important;
  margin: 0 0 12px !important;
  color: #111827 !important;
  font-size: clamp(2rem, 3vw, 2.75rem) !important;
  line-height: 1.12 !important;
}

#how-it-works .steps-story-head .section-desc {
  width: 100% !important;
  max-width: 720px !important;
  margin: 0 auto !important;
  color: #64748b !important;
  font-size: 1rem !important;
  line-height: 1.6 !important;
}

#how-it-works .steps-track-stage {
  width: 100% !important;
  margin: 0 !important;
  overflow: visible !important;
}

#how-it-works .steps-flow {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 32px !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

#how-it-works .steps-flow::before,
#how-it-works .step-connector {
  display: none !important;
}

#how-it-works .step-card,
#how-it-works .step-card.step-card--light,
#how-it-works .step-card.step-card--red {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 320px !important;
  padding: 32px !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 16px !important;
  background: #ffffff !important;
  color: #111827 !important;
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  animation: none !important;
  transition: none !important;
  pointer-events: auto !important;
}

#how-it-works .step-card::before {
  display: block !important;
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 96px;
  height: 96px;
  border-radius: 0 16px 0 96px;
  background: rgba(220, 38, 38, 0.06);
}

#how-it-works .step-card::after {
  display: none !important;
}

#how-it-works .step-card-top {
  position: relative;
  z-index: 1;
  margin: 0 0 24px !important;
}

#how-it-works .step-card .step-badge,
#how-it-works .step-card.step-card--red .step-badge {
  margin: 0 !important;
  color: #dc2626 !important;
}

#how-it-works .step-card-body {
  position: relative;
  z-index: 1;
}

#how-it-works .step-card h4,
#how-it-works .step-card.step-card--red h4 {
  max-width: none !important;
  margin: 0 0 12px !important;
  color: #111827 !important;
  font-size: clamp(1.15rem, 1.3vw, 1.35rem) !important;
  line-height: 1.25 !important;
}

#how-it-works .step-card p,
#how-it-works .step-card.step-card--red p {
  max-width: none !important;
  margin: 0 !important;
  color: #64748b !important;
  font-size: 0.92rem !important;
  line-height: 1.6 !important;
}

#how-it-works .step-card-foot,
#how-it-works .step-card.step-card--light .step-card-foot,
#how-it-works .step-card.step-card--red .step-card-foot {
  position: relative;
  z-index: 1;
  margin-top: 28px !important;
  padding-top: 18px !important;
  color: #64748b !important;
  border-top: 1px solid rgba(15, 23, 42, 0.08) !important;
}

#how-it-works .step-num-watermark,
#how-it-works .step-card.step-card--red .step-num-watermark {
  color: rgba(220, 38, 38, 0.14) !important;
}

@media (max-width: 1099px) {
  #how-it-works .steps-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 767px) {
  #how-it-works.steps-section {
    padding: 96px 0 !important;
  }

  #how-it-works .steps-story-inner {
    width: min(calc(100% - 32px), 1280px) !important;
  }

  #how-it-works .steps-story-head {
    margin-bottom: 40px !important;
  }

  #how-it-works .steps-flow {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  #how-it-works .step-card,
  #how-it-works .step-card.step-card--light,
  #how-it-works .step-card.step-card--red {
    min-height: 280px !important;
    padding: 28px !important;
  }
}

/* ======================================================================
   HONEYCOMB ADS SHOWCASE
   Six image-backed promotion formats arranged as a responsive hex cluster.
   ====================================================================== */
#ads.ads-section {
  --header-h: 86px;
  position: relative;
  padding: clamp(76px, 8vh, 108px) 0 clamp(72px, 9vh, 112px) !important;
  display: block !important;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 55%, rgba(220, 38, 38, 0.10), transparent 38%),
    linear-gradient(180deg, #fbf9fb 0%, #fff7f7 100%) !important;
}

#ads .ads-onepage-container {
  width: 100% !important;
  max-width: none !important;
  margin: 0 auto;
  padding: 0 clamp(22px, 4vw, 72px);
}

#ads .ads-header-compact {
  position: relative;
  z-index: 5;
  width: min(900px, 100%);
  margin: 0 auto !important;
  text-align: center;
}

#ads .ads-header-compact .section-title {
  max-width: none;
  margin: 0;
  color: #171717;
  font-size: clamp(2.35rem, 4.7vw, 4.7rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

#ads .ads-editorial-stage {
  position: relative;
  width: min(1120px, 100%);
  margin: clamp(42px, 6vh, 72px) auto 0;
}

#ads .ad-formats-grid {
  --hex-size: clamp(220px, 22vw, 300px);
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#ads .ad-hex-row {
  display: flex;
  justify-content: center;
  gap: clamp(6px, 0.8vw, 12px);
}

#ads .ad-hex-row--two,
#ads .ad-hex-row--one {
  margin-top: calc(var(--hex-size) * -0.24);
}

#ads .ad-format-card {
  position: relative;
  isolation: isolate;
  flex: 0 0 var(--hex-size);
  width: var(--hex-size);
  aspect-ratio: 1 / 1.08;
  margin: 0;
  padding: 1px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background-color: #1f2937;
  background-position: center;
  background-size: cover;
  border: 0;
  border-radius: 0;
  text-align: center;
  box-shadow:
    inset 0 22px 30px rgba(255, 255, 255, 0.07),
    inset 0 -34px 46px rgba(0, 0, 0, 0.46),
    inset 22px 0 34px rgba(255, 255, 255, 0.025),
    inset -22px 0 34px rgba(0, 0, 0, 0.18);
  clip-path: polygon(50% 0%, 94% 24%, 94% 76%, 50% 100%, 6% 76%, 6% 24%);
  transform: none;
  transition:
    transform 360ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 360ms ease,
    box-shadow 360ms ease;
}

#ads .ad-format-card::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.16), transparent 38%),
    linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.22) 100%);
}

#ads .ad-format-card::after {
  content: '';
  position: absolute;
  inset: 7px;
  z-index: 2;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.28);
  clip-path: polygon(50% 0%, 94% 24%, 94% 76%, 50% 100%, 6% 76%, 6% 24%);
}

#ads .ad-format-card:hover {
  transform: translateY(-8px) scale(1.025);
  filter: saturate(1.08) contrast(1.03);
  box-shadow:
    inset 0 26px 34px rgba(255, 255, 255, 0.10),
    inset 0 -38px 50px rgba(0, 0, 0, 0.50),
    inset 24px 0 36px rgba(255, 255, 255, 0.035),
    inset -24px 0 36px rgba(0, 0, 0, 0.20);
  z-index: 5;
}

#ads .ad-format-card--feed,
#ads .ad-format-card--boost,
#ads .ad-format-card--stories,
#ads .ad-format-card--events,
#ads .ad-format-card--targeting,
#ads .ad-format-card--analytics {
  background-image: linear-gradient(145deg, #4b5563 0%, #1f2937 55%, #111827 100%);
}

#ads .ad-format-content {
  position: relative;
  z-index: 3;
  width: 76%;
  padding: 0;
  color: #ffffff;
}

#ads .ad-format-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 24px;
  margin-bottom: 10px;
  padding: 0 9px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.56);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

#ads .ad-format-title {
  margin: 0;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.45vw, 1.45rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

#ads .ad-format-content p {
  max-width: 220px;
  margin: 10px auto 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(0.72rem, 0.82vw, 0.86rem);
  line-height: 1.45;
  text-shadow: 0 1px 7px rgba(0, 0, 0, 0.9);
}

@media (max-width: 980px) {
  #ads .ad-formats-grid {
    --hex-size: clamp(190px, 29vw, 245px);
  }
}

@media (max-width: 680px) {
  #ads.ads-section {
    --header-h: 72px;
    padding-top: 72px !important;
  }

  #ads .ads-onepage-container {
    padding-inline: 16px;
  }

  #ads .ads-header-compact .section-title {
    font-size: clamp(2.15rem, 11vw, 3.25rem);
  }

  #ads .ads-editorial-stage {
    margin-top: 36px;
  }

  #ads .ad-formats-grid {
    --hex-size: min(47vw, 190px);
    display: grid;
    grid-template-columns: repeat(2, var(--hex-size));
    justify-content: center;
    column-gap: 4px;
  }

  #ads .ad-hex-row {
    display: contents;
  }

  #ads .ad-format-card {
    width: var(--hex-size);
    margin-top: calc(var(--hex-size) * -0.12);
  }

  #ads .ad-format-card--boost,
  #ads .ad-format-card--events,
  #ads .ad-format-card--analytics {
    transform: translateY(calc(var(--hex-size) * 0.48));
  }

  #ads .ad-format-card--boost:hover,
  #ads .ad-format-card--events:hover,
  #ads .ad-format-card--analytics:hover {
    transform: translateY(calc(var(--hex-size) * 0.48 - 6px)) scale(1.02);
  }

  #ads .ad-format-content {
    width: 80%;
    padding: 0;
  }

  #ads .ad-format-title {
    font-size: clamp(0.88rem, 4vw, 1.05rem);
  }

  #ads .ad-format-content p {
    display: none;
  }

  #ads .ad-format-number {
    min-width: 32px;
    height: 21px;
    margin-bottom: 7px;
    font-size: 0.62rem;
  }

  #ads.ads-section {
    padding-bottom: calc(72px + min(23vw, 92px)) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  #ads .ad-format-card {
    transition: none;
  }
}

/* ======================================================================
   CURVED SECTION SEPARATORS
   Standalone flex items recreate the reference's broad elliptical section
   overlaps without clipping or resizing any existing section content.
   ====================================================================== */
.curve-separator {
  --curve-from-top: #ffffff;
  --curve-from-bottom: #ffffff;
  --curve-to-top: #ffffff;
  --curve-to-bottom: #ffffff;
  position: relative;
  z-index: 8;
  flex: 0 0 auto;
  display: block;
  width: 100%;
  height: clamp(56px, 6.5vw, 104px);
  margin: -1px 0;
  overflow: hidden;
  border: 0 !important;
  outline: 0;
  background: linear-gradient(
    180deg,
    var(--curve-to-top) 0%,
    var(--curve-to-bottom) 100%
  );
  pointer-events: none;
}

.curve-separator::before {
  content: "";
  position: absolute;
  left: -15%;
  bottom: 42%;
  width: 130%;
  height: 220%;
  border-radius: 50%;
  border: 0;
  background: linear-gradient(
    180deg,
    var(--curve-from-top) 0%,
    var(--curve-from-bottom) 100%
  );
}

.curve-separator--hero {
  --curve-from-top: #f1f1f1;
  --curve-from-bottom: #f1f1f1;
  --curve-to-top: #ffffff;
  --curve-to-bottom: #ffffff;
  order: 1;
}

.curve-separator--advantages {
  --curve-from-top: #ffffff;
  --curve-from-bottom: #ffffff;
  --curve-to-top: #eff6ff;
  --curve-to-bottom: #eff6ff;
  order: 2;
}

.curve-separator--steps {
  --curve-from-top: #eff6ff;
  --curve-from-bottom: #eff6ff;
  --curve-to-top: #fbf9fb;
  --curve-to-bottom: #fbf9fb;
  order: 3;
}

.curve-separator--ads {
  --curve-from-top: #fff7f7;
  --curve-from-bottom: #fff7f7;
  --curve-to-top: #f1f1f1;
  --curve-to-bottom: #f1f1f1;
  order: 4;
}

.curve-separator--pricing {
  --curve-from-top: #f1f1f1;
  --curve-from-bottom: #f1f1f1;
  --curve-to-top: #ffffff;
  --curve-to-bottom: #ffffff;
  order: 5;
}

/* Section edges stay borderless; internal component dividers are untouched. */
main > section.section,
main > .hero-section,
main > .advantages-section,
main > .steps-section,
main > .ads-section,
main > .pricing-section,
main > .faq-section {
  border-top: 0 !important;
  border-right: 0 !important;
  border-bottom: 0 !important;
  border-left: 0 !important;
  outline: 0 !important;
}

@media (max-width: 680px) {
  .curve-separator {
    height: 48px;
  }

  .curve-separator::before {
    left: -25%;
    width: 150%;
    bottom: 38%;
  }
}

/* ======================================================================
   RESPONSIVE SAFETY OVERRIDES
   Keep the existing compositions intact while preventing narrow-screen
   clipping and excessive ultra-wide footer spacing.
   ====================================================================== */
@media (max-width: 620px) {
  .hero-container {
    width: calc(100% - 32px);
    padding-inline: 0;
  }

  .hero-mockup-wrapper {
    width: 100%;
  }

  .phone-frame {
    width: min(290px, 100%);
    height: auto;
    aspect-ratio: 1 / 2;
  }
}

@media (max-width: 680px) {
  #ads .ad-formats-grid {
    /* Two cards, one 4px gap, and the section's 16px gutters. */
    --hex-size: min(calc((100vw - 36px) / 2), 190px);
  }
}

@media (min-width: 1600px) {
  .footer-container,
  .footer-bottom-container {
    width: min(94%, 1400px);
    padding-inline: 10px;
  }
}

/* ======================================================================
   SIMPLIFIED FOOTER
   Essential navigation with accessible contrast on the dark background.
   ====================================================================== */
.site-footer {
  padding-top: clamp(52px, 6vw, 76px);
  background: #0d0d0e !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.site-footer .footer-container {
  grid-template-columns: minmax(260px, 1.8fr) minmax(150px, 0.7fr);
  gap: clamp(42px, 7vw, 110px);
  margin-bottom: 48px;
}

.site-footer .footer-brand-col {
  align-items: flex-start;
  gap: 14px;
}

.site-footer .brand-logo {
  color: #ffffff;
}

.site-footer .logo-text {
  color: #ffffff !important;
}

.site-footer .logo-mark {
  background: #ffffff;
  border-color: rgba(255, 255, 255, 0.8);
}

.site-footer .footer-tagline {
  max-width: 390px;
  margin: 0;
  color: #a8a8b3;
  font-size: 0.92rem;
  font-style: normal;
  line-height: 1.7;
}

.site-footer .footer-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: #ffffff;
  color: #111827;
  font-size: 0.84rem;
  font-weight: 700;
}

.site-footer .footer-cta-link:hover {
  background: #f3f4f6;
  color: #111827;
  transform: translateY(-1px);
}

.site-footer .footer-links-col {
  gap: 11px;
}

.site-footer .footer-links-col h4 {
  margin: 0 0 5px;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.site-footer .footer-links-col a {
  width: fit-content;
  color: #a8a8b3;
  font-size: 0.84rem;
  line-height: 1.5;
}

.site-footer .footer-links-col a:hover,
.site-footer .footer-links-col a:focus-visible {
  color: #ffffff;
}

.site-footer .footer-links-col a:focus-visible,
.site-footer .footer-cta-link:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 4px;
}

.site-footer .footer-bottom {
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer .footer-bottom-container {
  color: #858591;
  font-size: 0.76rem;
}

@media (max-width: 760px) {
  .site-footer .footer-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 38px 28px;
  }

  .site-footer .footer-brand-col {
    grid-column: 1 / -1;
  }
}

@media (max-width: 460px) {
  .site-footer .footer-container {
    grid-template-columns: 1fr;
  }

  .site-footer .footer-brand-col {
    grid-column: auto;
  }
}

/* ======================================================================
   HERO THREE-PHONE COLLAGE
   Uses the supplied transparent phone renders as separate, unedited assets.
   ====================================================================== */
.hero-mockup-wrapper {
  width: min(1100px, 100%);
  min-height: 0;
  height: clamp(580px, 50vw, 720px);
  align-items: stretch;
}

.hero-mockup-wrapper > .phone-frame,
.hero-mockup-wrapper > .floating-pill {
  display: none;
}

.hero-phone-collage {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  isolation: isolate;
}

.hero-phone-image {
  --phone-start: translateX(-50%) scale(0.96);
  --phone-final: translateX(-50%);
  position: absolute;
  top: auto;
  bottom: 0;
  left: 50%;
  display: block;
  width: clamp(290px, 28vw, 410px);
  height: auto;
  object-fit: contain;
  user-select: none;
  pointer-events: none;
  transform-origin: center bottom;
  transform: var(--phone-final);
  filter: none;
}

.hero-phone-image--left {
  --phone-start: translateX(-50%) rotate(0deg) scale(0.94);
  --phone-final: translateX(-122%) rotate(-8deg);
  z-index: 1;
  animation: heroSidePhoneSlide 0.95s cubic-bezier(0.16, 1, 0.3, 1) 3.55s both;
}

.hero-phone-image--center {
  z-index: 3;
  width: clamp(340px, 33vw, 480px);
  animation: heroCenterPhoneReveal 0.72s cubic-bezier(0.16, 1, 0.3, 1) 2.9s both;
}

.hero-phone-image--right {
  --phone-start: translateX(-50%) rotate(0deg) scale(0.94);
  --phone-final: translateX(22%) rotate(8deg);
  z-index: 1;
  animation: heroSidePhoneSlide 0.95s cubic-bezier(0.16, 1, 0.3, 1) 3.55s both;
}

@keyframes heroCenterPhoneReveal {
  from {
    opacity: 0;
    transform: var(--phone-start) translateY(24px);
  }
  to {
    opacity: 1;
    transform: var(--phone-final);
  }
}

@keyframes heroSidePhoneSlide {
  from {
    opacity: 0;
    transform: var(--phone-start);
  }
  to {
    opacity: 1;
    transform: var(--phone-final);
  }
}

@media (max-width: 760px) {
  .hero-mockup-wrapper {
    height: clamp(390px, 110vw, 540px);
  }

  .hero-phone-image {
    width: min(54vw, 250px);
  }

  .hero-phone-image--left {
    --phone-final: translateX(-115%) rotate(-7deg);
  }

  .hero-phone-image--center {
    width: min(68vw, 310px);
  }

  .hero-phone-image--right {
    --phone-final: translateX(15%) rotate(7deg);
  }
}

@media (max-width: 380px) {
  .hero-mockup-wrapper {
    height: 365px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-phone-image {
    opacity: 1;
    animation: none;
    transform: var(--phone-final);
  }
}

/* Inverted transition from How It Works into Promotions. */
.curve-separator--steps {
  height: clamp(84px, 8.5vw, 136px);
  background: linear-gradient(180deg, #eff6ff 0%, #eff6ff 100%);
}

.curve-separator--steps::before {
  left: -10%;
  width: 120%;
  top: 18%;
  bottom: auto;
  background: linear-gradient(180deg, #fbf9fb 0%, #fbf9fb 100%);
}

@media (max-width: 680px) {
  .curve-separator--steps {
    height: 64px;
  }

  .curve-separator--steps::before {
    left: -14%;
    width: 128%;
    top: 22%;
    bottom: auto;
  }
}
