/* ============================================
   HOTELS RATE MONITORING — LANDING PAGE 2026
   Modern Design: Bento Grid, Glassmorphism,
   Mesh Gradients, Timeline, Aurora Effects
   ============================================ */

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
  --color-bg-primary: #f8fafc;
  --color-bg-secondary: #ffffff;
  --color-bg-tertiary: #f1f5f9;
  --color-bg-dark: #0f172a;

  --color-blue-50: #eff6ff;
  --color-blue-100: #dbeafe;
  --color-blue-200: #bfdbfe;
  --color-blue-400: #60a5fa;
  --color-blue-500: #3b82f6;
  --color-blue-600: #2563eb;
  --color-blue-700: #1d4ed8;

  --color-slate-50: #f8fafc;
  --color-slate-100: #f1f5f9;
  --color-slate-200: #e2e8f0;
  --color-slate-300: #cbd5e1;
  --color-slate-400: #94a3b8;
  --color-slate-500: #64748b;
  --color-slate-600: #475569;
  --color-slate-700: #334155;
  --color-slate-800: #1e293b;
  --color-slate-900: #0f172a;

  --color-teal-500: #14b8a6;
  --color-orange-500: #f97316;
  --color-violet-500: #8b5cf6;
  --color-green-500: #22c55e;

  --gradient-blue: linear-gradient(135deg, #2563eb 0%, #3b82f6 50%, #0ea5e9 100%);
  --gradient-hero-overlay: linear-gradient(135deg, rgba(15, 23, 42, 0.82) 0%, rgba(30, 41, 59, 0.7) 50%, rgba(15, 23, 42, 0.85) 100%);
  --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  --gradient-mesh: radial-gradient(at 20% 30%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
    radial-gradient(at 80% 70%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
    radial-gradient(at 50% 50%, rgba(14, 165, 233, 0.08) 0%, transparent 60%);

  --color-text-primary: #0f172a;
  --color-text-secondary: #475569;
  --color-text-muted: #94a3b8;

  --color-border-light: rgba(148, 163, 184, 0.18);
  --color-border-medium: rgba(148, 163, 184, 0.35);

  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-blur: 20px;

  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.1);
  --shadow-xl: 0 24px 48px rgba(15, 23, 42, 0.14);
  --shadow-glow-blue: 0 0 40px rgba(59, 130, 246, 0.25);
  --shadow-glow-blue-sm: 0 0 20px rgba(59, 130, 246, 0.15);

  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-5: 20px; --space-6: 24px; --space-8: 32px; --space-10: 40px;
  --space-12: 48px; --space-16: 64px; --space-20: 80px; --space-24: 96px;

  --radius-sm: 8px; --radius-md: 12px; --radius-lg: 16px;
  --radius-xl: 24px; --radius-2xl: 32px; --radius-full: 9999px;

  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--color-bg-primary);
  color: var(--color-text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4 {
  font-weight: 700;
  color: var(--color-text-primary);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.125rem, 2.5vw, 1.375rem); }
p { color: var(--color-text-secondary); line-height: 1.7; }

.text-gradient {
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-light {
  background: linear-gradient(135deg, #93c5fd 0%, #60a5fa 50%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   LAYOUT
   ============================================ */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--space-6); }
.section { padding: var(--space-24) 0; position: relative; overflow: hidden; }

/* ============================================
   SECTION LABELS
   ============================================ */
.section-label { margin-bottom: var(--space-4); }
.section-label__tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px 16px;
  background: var(--color-blue-50);
  color: var(--color-blue-600);
  border: 1px solid var(--color-blue-100);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.section-label__tag--light {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-blue-400);
  border-color: rgba(255, 255, 255, 0.15);
}

.section-header { text-align: center; max-width: 720px; margin: 0 auto var(--space-12); }
.section-header--left { text-align: left; margin-left: 0; }
.section-header--light h2 { color: white; }
.section-header--light .section-header__sub { color: var(--color-slate-400); }
.section-header__sub { font-size: 1.1rem; margin-top: var(--space-4); }

.section-footnote {
  text-align: center;
  margin-top: var(--space-10);
  padding: var(--space-5) var(--space-8);
  background: var(--color-blue-50);
  border: 1px solid var(--color-blue-100);
  border-radius: var(--radius-xl);
  font-size: 0.95rem;
  color: var(--color-blue-600);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   SECTION DIVIDERS (unique per section)
   ============================================ */
.section-divider {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  line-height: 0;
  z-index: 2;
  pointer-events: none;
}
.section-divider svg { display: block; width: 100%; height: auto; }
.section-divider--curve svg { height: 80px; }
.section-divider--diagonal svg { height: 60px; }
.section-divider--wave svg { height: 60px; }
.section-divider--steps svg { height: 50px; }
.section-divider--wave-reverse svg { height: 60px; }
.section-divider--triangle svg { height: 50px; }
.section-divider--curve-up svg { height: 60px; }

/* ============================================
   DECORATIVE ELEMENTS
   ============================================ */
/* Dot pattern overlay */
.deco-dots {
  position: absolute;
  width: 200px;
  height: 200px;
  background-image: radial-gradient(circle, var(--color-slate-300) 1px, transparent 1px);
  background-size: 16px 16px;
  opacity: 0.4;
  pointer-events: none;
}
.deco-dots--right { right: -40px; top: 80px; }

/* Ambient glow circles */
.ambient-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  pointer-events: none;
}
.ambient-glow--left { background: var(--color-blue-500); left: -150px; top: 20%; }
.ambient-glow--right { background: var(--color-violet-500); right: -150px; bottom: 10%; }

/* Mesh gradient bg */
.mesh-gradient {
  position: absolute;
  inset: 0;
  background: var(--gradient-mesh);
  pointer-events: none;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn--primary {
  background: var(--gradient-blue);
  color: white;
  box-shadow:
    var(--shadow-md),
    0 4px 20px rgba(59, 130, 246, 0.35),
    0 0 40px rgba(59, 130, 246, 0.15);
}
.btn--primary:hover {
  box-shadow:
    var(--shadow-lg),
    var(--shadow-glow-blue),
    0 8px 30px rgba(59, 130, 246, 0.4);
  transform: translateY(-2px);
}

.btn--glass {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.2),
    0 0 30px rgba(255, 255, 255, 0.05);
}
.btn--glass:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.25),
    0 0 40px rgba(255, 255, 255, 0.08);
}

.btn--glass-light {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn--glass-light:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

.btn--white {
  background: white;
  color: var(--color-blue-600);
  box-shadow: var(--shadow-lg);
}
.btn--white:hover {
  background: var(--color-slate-50);
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.btn--outline-light {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
}
.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.btn--lg { padding: var(--space-4) var(--space-8); font-size: 1.05rem; }
.btn--full { width: 100%; }
.btn--header { padding: var(--space-2) var(--space-5); font-size: 0.9rem; }
.btn--glow { box-shadow: var(--shadow-md), var(--shadow-glow-blue-sm); }

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-4) 0;
  transition: all var(--transition-base);
}

.header--scrolled {
  padding: var(--space-3) 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--color-border-light);
}

.header__inner { display: flex; justify-content: space-between; align-items: center; }

.header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-weight: 700;
  font-size: 1.05rem;
  color: white;
  transition: color var(--transition-base);
}
.header--scrolled .header__logo { color: var(--color-slate-800); }

.logo-box {
  width: 36px;
  height: 36px;
  background: var(--gradient-blue);
  border-radius: var(--radius-sm);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* PNG Logo image */
.logo-img {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  object-fit: contain;
  flex-shrink: 0;
}
.logo-img--sm {
  width: 32px;
  height: 32px;
}

.header__nav { display: flex; gap: var(--space-6); align-items: center; }

.header__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition-fast);
}
.header__link:hover { color: white; }
.header--scrolled .header__link { color: var(--color-slate-600); }
.header--scrolled .header__link:hover { color: var(--color-blue-600); }

.header__mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: white;
}
.header--scrolled .header__mobile-toggle { color: var(--color-slate-700); }

@media (max-width: 768px) {
  .header__nav { display: none; }
  .header__nav--open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    padding: var(--space-6);
    box-shadow: var(--shadow-lg);
  }
  .header__nav--open .header__link { color: var(--color-slate-700); }
  .header__nav--open .btn { width: 100%; margin-top: var(--space-3); }
  .header__mobile-toggle { display: flex; }

  /* Disable sticky header on mobile */
  .header {
    position: absolute;
  }
  .header--scrolled {
    position: absolute;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    border-bottom: none;
  }
  .header--scrolled .header__logo { color: white; }
  .header--scrolled .header__mobile-toggle { color: white; }
  /* When nav is open, restore background for readability */
  .header__nav--open {
    background: white;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 120px;
  position: relative;
  overflow: hidden;
}

/* Background image — full-bleed under header */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  filter: saturate(0.85) brightness(1.08);
}
.hero__bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg,
      rgba(15, 23, 42, 0.62) 0%,
      rgba(30, 41, 59, 0.48) 40%,
      rgba(15, 23, 42, 0.58) 70%,
      rgba(15, 23, 42, 0.68) 100%);
}

/* Floating geometric shapes */
.hero__shapes {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.floating-shape {
  position: absolute;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  opacity: 0.08;
  animation: float 20s ease-in-out infinite;
}
.floating-shape--1 {
  width: 500px; height: 500px;
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
  top: -100px; right: -80px;
  animation-delay: 0s;
}
.floating-shape--2 {
  width: 300px; height: 300px;
  background: linear-gradient(135deg, #8b5cf6, #3b82f6);
  bottom: -50px; left: -80px;
  animation-delay: -5s;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
}
.floating-shape--3 {
  width: 200px; height: 200px;
  background: linear-gradient(135deg, #06b6d4, #22c55e);
  top: 40%; left: 15%;
  animation-delay: -10s;
}
.floating-shape--4 {
  width: 150px; height: 150px;
  background: linear-gradient(135deg, #f97316, #f59e0b);
  top: 20%; right: 25%;
  animation-delay: -15s;
  border-radius: 40% 60% 50% 50% / 50% 40% 60% 50%;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
  25% { transform: translate(30px, -20px) rotate(5deg) scale(1.05); }
  50% { transform: translate(-20px, 20px) rotate(-3deg) scale(0.95); }
  75% { transform: translate(15px, 10px) rotate(3deg) scale(1.02); }
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero__content { max-width: 560px; }

/* Hero badge */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: var(--space-6);
}

.dot-pulse {
  width: 8px;
  height: 8px;
  background: var(--color-green-500);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--color-green-500);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero__title { color: white; margin-bottom: var(--space-5); }
.hero__subtitle { color: rgba(255, 255, 255, 0.75); font-size: 1.15rem; margin-bottom: var(--space-8); }

.hero__cta { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-bottom: var(--space-10); }

/* Hero stats panel (right column) */
.hero__stats-panel {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Override fade-in-up: card is always frosted/opaque.
   We slide it up without touching opacity so backdrop-filter is always visible. */
.hero__stats-panel.fade-in-up {
  opacity: 1;
  transform: translateY(30px);
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero__stats-panel.fade-in-up.visible {
  transform: translateY(0);
}

.hero__stats-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-8);
  padding: var(--space-10) var(--space-8);
  min-width: 300px;
  overflow: hidden;

  /* Glassmorphism — semi-transparent white */
  background:
    linear-gradient(135deg,
      rgba(255, 255, 255, 0.12) 0%,
      rgba(255, 255, 255, 0.05) 40%,
      rgba(255, 255, 255, 0.08) 100%);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-2xl);

  /* Multi-layer shadow — depth + glow */
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.12),
    0 0 60px rgba(59, 130, 246, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    inset 0 -1px 0 rgba(255, 255, 255, 0.05);
  contain: paint;
}

/* Top highlight edge — refraction effect */
.hero__stats-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.5) 30%,
    rgba(255, 255, 255, 0.8) 50%,
    rgba(255, 255, 255, 0.5) 70%,
    transparent 100%);
  z-index: 3;
}

/* Animated border glow sweep */
.hero__stats-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-2xl);
  padding: 1px;
  background: linear-gradient(
    var(--border-angle, 0deg),
    rgba(59, 130, 246, 0.4),
    transparent 40%,
    transparent 60%,
    rgba(6, 182, 212, 0.3)
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: borderSweep 9s linear infinite;
  z-index: 2;
  pointer-events: none;
}

.hero__stats-card.sparkline-paused::after { animation-play-state: paused; }
.hero__stats-card.sparkline-active::after { animation-play-state: running; }

@keyframes borderSweep {
  0%   { --border-angle: 0deg; }
  100% { --border-angle: 360deg; }
}

/* Register custom property for animation */
@property --border-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

/* Sparkline chart layer */
.hero__sparkline-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.7;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  contain: paint;
}

.hero__sparkline-svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Area fill under accent line — delayed fade-in */
.sparkline-area {
  opacity: 0;
  animation: areaFadeIn 2.5s ease-out 4.5s forwards;
}

@keyframes areaFadeIn {
  0%   { opacity: 0; }
  100% { opacity: 0.7; }
}

/* Sparkline polylines — calm draw-on with varied speeds.
   Lines start beyond left edge and end beyond right edge (via polyline coords).
   stroke-dashoffset draws each line smoothly from start to end. */
.sparkline-path {
  fill: none;
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
}

/* Each line draws at its own pace */
.sparkline-path--1 {
  animation:
    drawLine 3.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s forwards,
    settleDown 1.5s ease-in-out 4.5s forwards;
}
.sparkline-path--2 {
  animation:
    drawLine 4.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s forwards,
    settleDown 1.5s ease-in-out 5.2s forwards;
}
.sparkline-path--3 {
  animation:
    drawLine 3.2s cubic-bezier(0.16, 0.73, 0.38, 0.98) 0.3s forwards,
    settleDown 1.5s ease-in-out 4.0s forwards;
}
.sparkline-path--4 {
  animation:
    drawLine 5.0s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.7s forwards,
    settleDown 1.5s ease-in-out 6.0s forwards;
}
.sparkline-path--5 {
  animation:
    drawLine 4.0s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1.0s forwards,
    settleDown 1.5s ease-in-out 5.5s forwards;
}

@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}

@keyframes settleDown {
  0%   { opacity: 1; }
  100% { opacity: 0.35; }
}

/* Shimmer highlight overlays — appear only after all lines settle */
.sparkline-shimmer {
  fill: none;
  opacity: 0;
  animation: shimmerAppear 1s ease-out 6.5s forwards;
}

@keyframes shimmerAppear {
  to { opacity: 0.5; }
}

/* Vertical scan-line (cursor traveling across chart) */
.sparkline-scanline {
  opacity: 0;
  animation: scanlineAppear 0.5s ease-out 3s forwards;
}

@keyframes scanlineAppear {
  to { opacity: 1; }
}

/* Completion pulse — brief glow burst when the last line finishes drawing */
.hero__sparkline-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-2xl);
  background: radial-gradient(ellipse at 70% 30%, rgba(59, 130, 246, 0.12), transparent 70%);
  opacity: 0;
  pointer-events: none;
  animation: completionPulse 2s ease-in-out 5.5s forwards;
  animation-play-state: inherit;
}

@keyframes completionPulse {
  0%   { opacity: 0; }
  40%  { opacity: 1; }
  100% { opacity: 0; }
}

/* Mobile-only Stage 1 hero performance tuning */
html.hero-perf-mobile[data-hero-perf-stage='1'] .hero__stats-card::after {
  animation-duration: 6.5s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}

html.hero-perf-mobile[data-hero-perf-stage='1'] .floating-shape {
  animation-duration: 30s;
  opacity: 0.065;
}

html.hero-perf-mobile[data-hero-perf-stage='1'] .floating-shape--2 { animation-duration: 33s; }
html.hero-perf-mobile[data-hero-perf-stage='1'] .floating-shape--3 { animation-duration: 31s; }
html.hero-perf-mobile[data-hero-perf-stage='1'] .floating-shape--4 { animation-duration: 34s; }

html.hero-perf-mobile[data-hero-perf-stage='1'] .sparkline-path--1,
html.hero-perf-mobile[data-hero-perf-stage='1'] .sparkline-path--2,
html.hero-perf-mobile[data-hero-perf-stage='1'] .sparkline-path--4,
html.hero-perf-mobile[data-hero-perf-stage='1'] .sparkline-path--5 {
  animation: none !important;
  stroke-dasharray: none;
  stroke-dashoffset: 0;
  opacity: 0.33;
}

html.hero-perf-mobile[data-hero-perf-stage='1'] .sparkline-path--3 {
  animation:
    drawLine 2.9s cubic-bezier(0.16, 0.73, 0.38, 0.98) 0.2s forwards,
    settleDown 1.2s ease-in-out 3.3s forwards;
}

html.hero-perf-mobile[data-hero-perf-stage='1'] .hero__stats-card.sparkline-mobile-frozen::after,
html.hero-perf-mobile[data-hero-perf-stage='1'] .hero__stats-card.sparkline-mobile-frozen .sparkline-path,
html.hero-perf-mobile[data-hero-perf-stage='1'] .hero__stats-card.sparkline-mobile-frozen .sparkline-shimmer,
html.hero-perf-mobile[data-hero-perf-stage='1'] .hero__stats-card.sparkline-mobile-frozen .sparkline-area,
html.hero-perf-mobile[data-hero-perf-stage='1'] .hero__stats-card.sparkline-mobile-frozen .sparkline-scanline,
html.hero-perf-mobile[data-hero-perf-stage='1'] .hero__stats-card.sparkline-mobile-frozen .hero__sparkline-wrap::after {
  animation: none !important;
}

html.hero-perf-mobile[data-hero-perf-stage='1'] .hero__stats-card.sparkline-mobile-frozen .sparkline-path {
  stroke-dasharray: none !important;
  stroke-dashoffset: 0 !important;
  opacity: 0.35 !important;
}

html.hero-perf-mobile[data-hero-perf-stage='1'] .hero__stats-card.sparkline-mobile-frozen .sparkline-area {
  opacity: 0.5 !important;
}

html.hero-perf-mobile[data-hero-perf-stage='1'] .hero__stats-card.sparkline-mobile-frozen .sparkline-shimmer,
html.hero-perf-mobile[data-hero-perf-stage='1'] .hero__stats-card.sparkline-mobile-frozen .sparkline-scanline,
html.hero-perf-mobile[data-hero-perf-stage='1'] .hero__stats-card.sparkline-mobile-frozen .hero__sparkline-wrap::after {
  opacity: 0 !important;
}

/* ── Stats content — above sparkline ── */
.hero__stat-block {
  text-align: center;
  position: relative;
  z-index: 2;
  padding: var(--space-2) var(--space-3);
}
.hero__stat-value-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 3px;
}
.hero__stat-num {
  font-size: 2.6rem;
  font-weight: 800;
  color: white;
  line-height: 1;
  text-shadow:
    0 0 20px rgba(59, 130, 246, 0.35),
    0 2px 8px rgba(0, 0, 0, 0.3);
}
.hero__stat-suffix {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-blue-400);
  text-shadow: 0 0 12px rgba(96, 165, 250, 0.4);
}
.hero__stat-label {
  display: block;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* Prominent glowing dividers between stat blocks */
.hero__stat-divider {
  width: 80px;
  height: 2px;
  position: relative;
  z-index: 2;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(59, 130, 246, 0.15) 15%,
    rgba(59, 130, 246, 0.4) 50%,
    rgba(59, 130, 246, 0.15) 85%,
    transparent 100%);
  border-radius: 1px;
}
.hero__stat-divider-glow {
  display: block;
  position: absolute;
  inset: -3px 10%;
  background: linear-gradient(90deg,
    transparent,
    rgba(59, 130, 246, 0.25),
    transparent);
  border-radius: 4px;
  filter: blur(4px);
}

/* Hero responsive */

/* Large tablets / small desktops */
@media (max-width: 1200px) {
  .hero__stats-card { min-width: 260px; padding: var(--space-8) var(--space-6); }
  .hero__stat-num { font-size: 2.2rem; }
}

/* Tablets — single column layout */
@media (max-width: 992px) {
  .hero { min-height: auto; padding-top: 100px; padding-bottom: 80px; }
  .hero__inner { grid-template-columns: 1fr; text-align: center; gap: var(--space-10); }
  .hero__content { max-width: 100%; }
  .hero__cta { justify-content: center; }
  .hero__stats-panel { max-width: 520px; margin: 0 auto; width: 100%; }
  .hero__stats-card {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-6);
    padding: var(--space-8) var(--space-8);
    min-width: auto;
    width: 100%;
  }
  .hero__stat-divider {
    width: 2px;
    height: 44px;
    background: linear-gradient(180deg,
      transparent 0%,
      rgba(59, 130, 246, 0.35) 50%,
      transparent 100%);
  }
  .hero__stat-divider-glow {
    inset: 10% -3px;
    background: linear-gradient(180deg,
      transparent,
      rgba(59, 130, 246, 0.2),
      transparent);
    filter: blur(3px);
  }
  .hero__sparkline-wrap { opacity: 0.35; }
  .hero__bg-img { object-position: 60% center; }
  .hero__bg-overlay {
    background:
      linear-gradient(180deg,
        rgba(15, 23, 42, 0.72) 0%,
        rgba(15, 23, 42, 0.55) 50%,
        rgba(15, 23, 42, 0.70) 100%);
  }
}

/* Large phones */
@media (max-width: 768px) {
  .hero__stats-panel { max-width: 100%; padding: 0 var(--space-4); }
  .hero__stats-card { padding: var(--space-6) var(--space-5); gap: var(--space-5); }
  .hero__stat-num { font-size: 2rem; }
  .hero__stat-label { font-size: 0.7rem; }
  .hero__sparkline-wrap { opacity: 0.3; }
}

/* Small phones */
@media (max-width: 576px) {
  .hero__stats-card {
    flex-direction: column;
    gap: var(--space-4);
    min-width: auto;
    width: 100%;
    padding: var(--space-6) var(--space-4);
  }
  .hero__stat-divider {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg,
      transparent 0%,
      rgba(59, 130, 246, 0.35) 50%,
      transparent 100%);
  }
  .hero__stat-divider-glow {
    inset: -3px 10%;
  }
  .hero__stat-num { font-size: 1.8rem; }
  .hero__sparkline-wrap { opacity: 0.2; }
  .hero__bg-overlay {
    background:
      linear-gradient(180deg,
        rgba(15, 23, 42, 0.80) 0%,
        rgba(15, 23, 42, 0.65) 40%,
        rgba(15, 23, 42, 0.78) 100%);
  }
  .hero__bg-img { object-position: 65% center; }
}

/* Very small phones */
@media (max-width: 380px) {
  .hero__stats-card { padding: var(--space-5) var(--space-3); gap: var(--space-3); }
  .hero__stat-num { font-size: 1.6rem; }
  .hero__stat-suffix { font-size: 0.85rem; }
  .hero__stat-label { font-size: 0.65rem; letter-spacing: 0.04em; }
  .hero__sparkline-wrap { opacity: 0.15; }
}

/* Ultra-wide screens */
@media (min-width: 1600px) {
  .hero__stats-card { min-width: 340px; padding: var(--space-12) var(--space-10); gap: var(--space-10); }
  .hero__stat-num { font-size: 3rem; }
  .hero__sparkline-wrap { opacity: 0.65; }
}

/* Disable complex animations for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .sparkline-path,
  .sparkline-shimmer,
  .sparkline-area,
  .sparkline-scanline,
  .hero__sparkline-wrap::after {
    animation: none !important;
    stroke-dashoffset: 0 !important;
  }
  .sparkline-path {
    opacity: 0.35 !important;
    stroke-dasharray: none !important;
  }
  .sparkline-area { opacity: 0.5 !important; }
  .sparkline-shimmer { opacity: 0 !important; }
  .sparkline-scanline { opacity: 0 !important; }
  .hero__sparkline-wrap::after { opacity: 0 !important; }
  .hero__stats-card::after { animation: none !important; }
  .hero__stats-panel.fade-in-up {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ============================================
   PROBLEMS SECTION
   ============================================ */
.section--problems {
  background: var(--color-bg-primary);
  position: relative;
  overflow: hidden;
}
.section--problems::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(148, 163, 184, 0.12) 1px, transparent 0);
  background-size: 28px 28px;
  pointer-events: none;
  animation: dots-drift 30s linear infinite;
}
.section--problems::after {
  content: '';
  position: absolute;
  top: -80px;
  right: -120px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.03) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
@keyframes dots-drift {
  0% { background-position: 0 0; }
  100% { background-position: 28px 28px; }
}

.problems__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.problem-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  position: relative;
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  overflow: hidden;
}
.problem-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--color-slate-300), var(--color-slate-200));
  transition: background var(--transition-base);
}
.problem-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.problem-card:hover::before {
  background: var(--gradient-blue);
}

.problem-card__num {
  font-size: 3rem;
  font-weight: 900;
  color: var(--color-slate-100);
  line-height: 1;
  margin-bottom: var(--space-4);
  transition: color var(--transition-base);
}
.problem-card:hover .problem-card__num { color: var(--color-blue-100); }

.problem-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-4);
  color: var(--color-slate-400);
  transition: color var(--transition-base);
}
.problem-card__icon svg { width: 100%; height: 100%; }
.problem-card:hover .problem-card__icon { color: var(--color-blue-500); }

.problem-card h3 { margin-bottom: var(--space-3); font-size: 1.15rem; }

/* Problems bridge */
.problems__bridge {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  margin-top: var(--space-12);
  padding: var(--space-6);
  background: var(--color-blue-50);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-blue-100);
}
.problems__bridge-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-blue-300), transparent);
}
.problems__bridge-text {
  text-align: center;
  font-size: 0.95rem;
  color: var(--color-slate-600);
  max-width: 480px;
}

@media (max-width: 768px) {
  .problems__grid { grid-template-columns: 1fr; }
  .problems__bridge { flex-direction: column; }
  .problems__bridge-line { width: 100%; height: 1px; }
}

/* ============================================
   SOLUTION SECTION — BENTO GRID
   ============================================ */
.section--solution {
  background: var(--color-bg-tertiary);
  position: relative;
  overflow: hidden;
}
.section--solution::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.04) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
  animation: section-glow 12s ease-in-out infinite alternate;
}
@keyframes section-glow {
  0% { opacity: 0.5; transform: translateX(-50%) scale(1); }
  100% { opacity: 1; transform: translateX(-50%) scale(1.15); }
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: var(--space-5);
}

.bento-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}
.bento-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: background var(--transition-base);
}
.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.bento-card:hover::after { background: var(--gradient-blue); }

.bento-card--lg {
  grid-column: 1;
  grid-row: 1 / 3;
}
.bento-card--wide {
  grid-column: 2 / 4;
  display: flex;
  gap: var(--space-6);
  align-items: flex-start;
}

.bento-card__icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: var(--space-4);
}
.bento-card__icon-wrap svg { width: 26px; height: 26px; }

.bento-card__icon-wrap--blue { background: var(--color-blue-50); color: var(--color-blue-600); }
.bento-card__icon-wrap--teal { background: #f0fdfa; color: var(--color-teal-500); }
.bento-card__icon-wrap--violet { background: #f5f3ff; color: var(--color-violet-500); }
.bento-card__icon-wrap--orange { background: #fff7ed; color: var(--color-orange-500); }

.bento-card h3 { margin-bottom: var(--space-3); }

.bento-card__tags { display: flex; gap: var(--space-2); margin-top: var(--space-5); }
.tag {
  padding: 4px 12px;
  background: var(--color-slate-100);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-slate-500);
}

@media (max-width: 768px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bento-card--lg { grid-column: 1; grid-row: auto; }
  .bento-card--wide { flex-direction: column; grid-column: 1; }
}

/* ============================================
   EXAMPLES SECTION
   ============================================ */
.section--examples {
  background: linear-gradient(180deg, #eff6ff 0%, #f0f9ff 40%, #f8fafc 100%);
  position: relative;
  overflow: hidden;
}
.section--examples::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.section--examples::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -60px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.examples__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.example-card {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}
.example-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl), var(--shadow-glow-blue-sm);
}

.example-card__image {
  padding: 0;
  background: linear-gradient(135deg, var(--color-slate-50), var(--color-blue-50));
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 10;
}
.example-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.example-card:hover .example-card__image img {
  transform: scale(1.03);
}

.example-card__content {
  padding: var(--space-6);
}

.example-card__badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--color-blue-50);
  color: var(--color-blue-600);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: var(--space-3);
}
.example-card__badge--teal {
  background: #f0fdfa;
  color: var(--color-teal-500);
}
.example-card__badge--violet {
  background: #f5f3ff;
  color: var(--color-violet-500);
}

.example-card__content h3 { margin-bottom: var(--space-4); }

.example-card__features { margin-top: var(--space-2); }
.example-card__features li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-2);
  padding-left: var(--space-4);
  position: relative;
}
.example-card__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-blue-500);
}

@media (max-width: 992px) {
  .examples__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 576px) {
  .examples__grid { grid-template-columns: 1fr; }
}

/* ============================================
   HOW IT WORKS — TIMELINE
   ============================================ */
.section--how {
  background: var(--color-bg-tertiary);
  position: relative;
  overflow: hidden;
}
.section--how::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(0deg, rgba(148, 163, 184, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.timeline__line {
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--color-blue-200), var(--color-blue-400), var(--color-teal-500));
}

.timeline__step {
  display: flex;
  gap: var(--space-6);
  margin-bottom: var(--space-8);
  position: relative;
}
.timeline__step:last-child { margin-bottom: 0; }

.timeline__marker {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--color-blue-400);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 1;
  transition: all var(--transition-base);
}
.timeline__marker span {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--color-blue-600);
}
.timeline__marker--accent {
  background: var(--gradient-blue);
  border-color: var(--color-blue-600);
}

.timeline__step:hover .timeline__marker {
  background: var(--gradient-blue);
  border-color: var(--color-blue-600);
  box-shadow: var(--shadow-glow-blue);
  transform: scale(1.1);
}
.timeline__step:hover .timeline__marker span { color: white; }

.timeline__card {
  flex: 1;
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}
.timeline__step:hover .timeline__card {
  box-shadow: var(--shadow-md);
  border-color: var(--color-blue-200);
}
.timeline__card h3 { margin-bottom: var(--space-2); }

@media (max-width: 576px) {
  .timeline__line { left: 20px; }
  .timeline__marker { width: 42px; height: 42px; }
  .timeline__marker span { font-size: 0.95rem; }
}

/* ============================================
   AUDIENCE SECTION
   ============================================ */
.section--audience {
  background: linear-gradient(180deg, #fffbf5 0%, #fefce8 30%, #faf5ff 70%, #f8fafc 100%);
  position: relative;
  overflow: hidden;
}
.section--audience::before {
  content: '';
  position: absolute;
  top: 60px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.04) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.section--audience::after {
  content: '';
  position: absolute;
  bottom: -80px;
  right: -60px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.04) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.audience__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.audience-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

/* Gradient borders via background trick */
.audience-card--gradient-1 { border-image: linear-gradient(135deg, #3b82f6, #06b6d4) 1; border-radius: var(--radius-xl); }
.audience-card--gradient-2 { border-image: linear-gradient(135deg, #8b5cf6, #3b82f6) 1; }
.audience-card--gradient-3 { border-image: linear-gradient(135deg, #f97316, #f59e0b) 1; }

/* Override border-image with pseudo for rounded corners */
.audience-card--gradient-1,
.audience-card--gradient-2,
.audience-card--gradient-3 {
  border: none;
  background: white;
}
.audience-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  padding: 2px;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.audience-card--gradient-1::before { background: linear-gradient(135deg, #3b82f6, #06b6d4); }
.audience-card--gradient-2::before { background: linear-gradient(135deg, #8b5cf6, #3b82f6); }
.audience-card--gradient-3::before { background: linear-gradient(135deg, #f97316, #f59e0b); }

.audience-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.audience-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-5);
  color: var(--color-blue-500);
}
.audience-card__icon svg { width: 100%; height: 100%; }
.audience-card--gradient-2 .audience-card__icon { color: var(--color-violet-500); }
.audience-card--gradient-3 .audience-card__icon { color: var(--color-orange-500); }

.audience-card h3 { margin-bottom: var(--space-5); font-size: 1.15rem; }

.audience-card ul { text-align: left; }
.audience-card li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-3);
}
.audience-card li::before {
  content: '→';
  color: var(--color-blue-500);
  font-weight: 700;
  flex-shrink: 0;
}
.audience-card--gradient-2 li::before { color: var(--color-violet-500); }
.audience-card--gradient-3 li::before { color: var(--color-orange-500); }

@media (max-width: 768px) {
  .audience__grid { grid-template-columns: 1fr; max-width: 450px; margin: 0 auto; }
}

/* ============================================
   PRICING SECTION — DARK THEME
   ============================================ */
.section--pricing {
  background: var(--color-bg-dark);
  position: relative;
  overflow: hidden;
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  max-width: 1100px;
  margin: 0 auto;
}

.pricing-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  position: relative;
  transition: all var(--transition-base);
}
.pricing-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
}

.pricing-card--featured {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: var(--shadow-glow-blue);
}
.pricing-card--featured:hover {
  border-color: rgba(59, 130, 246, 0.5);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-blue);
  color: white;
  padding: 6px 20px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-card__type {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-slate-400);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-2);
}

.pricing-card__name {
  color: white;
  font-size: 1.35rem;
  margin-bottom: var(--space-5);
}

.pricing-card__price {
  margin-bottom: var(--space-3);
}
.pricing-card__price-row { display: flex; align-items: baseline; gap: var(--space-2); }
.pricing-card__amount { font-size: 3rem; font-weight: 800; color: white; }
.pricing-card__currency { font-size: 1.1rem; font-weight: 500; color: var(--color-slate-400); }
.pricing-card__annual { display: block; font-size: 0.85rem; color: var(--color-teal-500); margin-top: var(--space-1); }
.pricing-card__price-alt {
  font-size: 0.85rem;
  color: var(--color-slate-400);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.pricing-card__price-alt strong { color: var(--color-slate-300); }

.pricing-card__features {
  margin-bottom: var(--space-8);
}
.pricing-card__features li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 0.95rem;
  color: var(--color-slate-300);
  margin-bottom: var(--space-3);
}
.pricing-card__features svg { color: var(--color-blue-400); flex-shrink: 0; }

.pricing-card__frequency-item {
  align-items: flex-start !important;
}

.pricing-card__frequency-item > svg {
  margin-top: 2px;
}

.pricing-frequency {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pricing-frequency__title {
  color: var(--color-slate-200);
  line-height: 1.35;
}

.pricing-frequency__track {
  position: relative;
  height: 2px;
  margin: 2px 0 0;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(148, 163, 184, 0.2) 0%,
    rgba(59, 130, 246, 0.55) 50%,
    rgba(148, 163, 184, 0.2) 100%
  );
}

.pricing-frequency__dot {
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: #93c5fd;
  box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.9), 0 0 10px rgba(96, 165, 250, 0.45);
}

.pricing-frequency__dot:nth-child(1) { left: 6%; }
.pricing-frequency__dot:nth-child(2) { left: 50%; }
.pricing-frequency__dot:nth-child(3) { left: 94%; }

.pricing-frequency__labels {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.69rem;
  line-height: 1.25;
  color: var(--color-slate-400);
}

.pricing-frequency__labels span {
  flex: 1;
  white-space: nowrap;
}

.pricing-frequency__labels span:first-child { text-align: left; }
.pricing-frequency__labels span:nth-child(2) { text-align: center; }
.pricing-frequency__labels span:last-child { text-align: right; }

/* FREE trial card — приглушённый стиль */
.pricing-card--free {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.06);
}
.pricing-card--free:hover {
  border-color: rgba(255, 255, 255, 0.12);
}
.pricing-card--free .pricing-card__amount {
  font-size: 2.2rem;
  color: var(--color-slate-400);
}
.pricing-card--free .pricing-card__name {
  color: var(--color-slate-400);
}
.pricing-card--free .pricing-card__features li {
  color: var(--color-slate-500);
}
.pricing-card--free .pricing-card__features svg {
  color: var(--color-slate-500);
}
.pricing-badge--free {
  background: linear-gradient(135deg, var(--color-slate-500), var(--color-slate-400));
  font-size: 0.7rem;
}

.pricing__extra {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  max-width: 600px;
  margin: var(--space-10) auto 0;
  padding: var(--space-5) var(--space-6);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  color: var(--color-slate-300);
  font-size: 0.9rem;
}
.pricing__extra-icon { color: var(--color-blue-400); flex-shrink: 0; }
.pricing__extra strong { color: white; }

@media (max-width: 992px) {
  .pricing__grid { grid-template-columns: 1fr 1fr; max-width: 700px; margin: 0 auto; }
}
@media (max-width: 576px) {
  .pricing__grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .pricing-frequency__labels {
    font-size: 0.64rem;
    gap: 4px;
  }
  .pricing-frequency__labels span { white-space: normal; }
}

/* ============================================
   CTA SECTION
   ============================================ */
.section--cta {
  background: var(--gradient-blue);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta__bg-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 25% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 75% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  animation: cta-pulse 8s ease-in-out infinite alternate;
}
@keyframes cta-pulse {
  0% { opacity: 0.6; }
  100% { opacity: 1; }
}

.cta__inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.cta__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-6);
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.cta__title { color: white; margin-bottom: var(--space-4); }
.cta__text { color: rgba(255, 255, 255, 0.85); font-size: 1.2rem; margin-bottom: var(--space-8); }

.cta__buttons { display: flex; justify-content: center; flex-wrap: wrap; gap: var(--space-4); }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--color-slate-900);
  color: var(--color-slate-400);
  padding: var(--space-16) 0 var(--space-8);
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

.footer__brand { max-width: 320px; }

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  margin-bottom: var(--space-4);
}

.footer__description { font-size: 0.9rem; line-height: 1.7; }

.footer__title { font-size: 0.95rem; font-weight: 600; color: white; margin-bottom: var(--space-5); }

.footer__links li { margin-bottom: var(--space-3); }
.footer__link {
  font-size: 0.9rem;
  color: var(--color-slate-400);
  transition: color var(--transition-fast);
}
.footer__link:hover { color: white; }

.footer__contact {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}
.footer__contact svg { width: 18px; height: 18px; color: var(--color-slate-500); flex-shrink: 0; }
.footer__contact a {
  font-size: 0.85rem;
  color: var(--color-slate-300);
  transition: color var(--transition-fast);
  word-break: break-all;
}
.footer__contact a:hover { color: var(--color-blue-400); }

.footer__bottom {
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-slate-800);
  text-align: center;
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .footer__inner { grid-template-columns: 1fr; gap: var(--space-8); text-align: center; }
  .footer__brand { max-width: 100%; }
  .footer__logo { justify-content: center; }
  .footer__contact { justify-content: center; }
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 { transition-delay: 100ms; }
.stagger-2 { transition-delay: 200ms; }
.stagger-3 { transition-delay: 300ms; }
.stagger-4 { transition-delay: 400ms; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
  .hero__inner { gap: var(--space-8); }
}

@media (max-width: 992px) {
  .section { padding: var(--space-16) 0; }
  .problems__grid { grid-template-columns: 1fr; max-width: 500px; margin-left: auto; margin-right: auto; }
  .audience__grid { grid-template-columns: 1fr; max-width: 450px; margin: 0 auto; }
}

@media (max-width: 768px) {
  .section { padding: var(--space-12) 0; }
  .container { padding: 0 var(--space-5); }
  .section-divider svg { height: 40px !important; }
  .deco-dots { display: none; }
}

@media (max-width: 576px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  .btn--lg { padding: var(--space-3) var(--space-6); font-size: 0.95rem; }
  .hero { padding-top: 80px; padding-bottom: 60px; }
  .hero__badge { font-size: 0.72rem; }
  .cta__title { font-size: 1.5rem; }
  .cta__text { font-size: 1rem; }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .fade-in-up { opacity: 1; transform: none; }
}

/* Touch devices */
@media (hover: none) and (pointer: coarse) {
  .problem-card:hover,
  .bento-card:hover,
  .example-card:hover,
  .audience-card:hover,
  .pricing-card:hover,
  .timeline__step:hover .timeline__card,
  .timeline__step:hover .timeline__marker,
  .hero__mockup:hover {
    transform: none;
    box-shadow: var(--shadow-md);
  }
}

/* ── Missing semantic classes ── */
.mockup-card { /* base for reuse; hero__mockup overrides */ }
.footer__col { min-width: 0; }
.footer__contacts { list-style: none; }

/* ============================================
   GOLD TEXT EFFECT (PRO label)
   ============================================ */
.text-gold {
  background: linear-gradient(135deg, #d4a843 0%, #f5d280 40%, #c9952e 60%, #e8c35a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 6px rgba(212, 168, 67, 0.3));
  font-weight: 800;
  letter-spacing: 0.08em;
}

/* ============================================
   PRICING CARD NOTE
   ============================================ */
.pricing-card__note {
  font-size: 0.78rem;
  color: var(--color-slate-500);
  line-height: 1.5;
  margin-bottom: var(--space-4);
  padding: var(--space-2) var(--space-3);
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-md);
  border-left: 2px solid rgba(255, 255, 255, 0.1);
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  padding: var(--space-6);
}
.lightbox--open {
  display: flex;
  animation: lightbox-in 0.3s ease-out;
}
@keyframes lightbox-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.lightbox__img {
  max-width: 95vw;
  max-height: 92vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.5);
  cursor: default;
  animation: lightbox-zoom 0.35s ease-out;
}
@keyframes lightbox-zoom {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.lightbox__close {
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 2.5rem;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
  line-height: 1;
  opacity: 0.7;
  transition: opacity var(--transition-fast);
}
.lightbox__close:hover { opacity: 1; }

/* ============================================
   MODAL (ORDER FORM)
   ============================================ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: var(--space-5);
}
.modal-overlay--open {
  display: flex;
  animation: lightbox-in 0.25s ease-out;
}
.modal {
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  max-width: 480px;
  width: 100%;
  position: relative;
  box-shadow: var(--shadow-xl);
  max-height: 92vh;
  overflow-y: auto;
}
.modal__close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 1.75rem;
  color: var(--color-slate-400);
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
  transition: color var(--transition-fast);
}
.modal__close:hover { color: var(--color-slate-700); }

.modal__selected-plan {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  background: var(--color-blue-50);
  border: 1px solid var(--color-blue-200);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-5);
  flex-wrap: wrap;
}
.modal__plan-label {
  font-size: 0.8rem;
  color: var(--color-slate-500);
}
.modal__plan-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-blue-600);
}
.modal__plan-price {
  font-size: 0.85rem;
  color: var(--color-slate-600);
  margin-left: auto;
}

.modal__title {
  font-size: 1.35rem;
  margin-bottom: var(--space-2);
}
.modal__subtitle {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-6);
}

.modal__field {
  margin-bottom: var(--space-4);
}
.modal__field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: var(--space-1);
}
.modal__field input {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border-medium);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}
.modal__field input:focus {
  border-color: var(--color-blue-500);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}
.modal__field input.field-error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.modal__form .btn {
  margin-top: var(--space-4);
}

.modal__success {
  text-align: center;
  padding: var(--space-6) 0;
}
.modal__success svg {
  margin: 0 auto var(--space-4);
}
.modal__success h3 {
  margin-bottom: var(--space-2);
  color: var(--color-green-500);
}
.modal__success p {
  font-size: 0.9rem;
}

@media (max-width: 576px) {
  .modal {
    padding: var(--space-5);
    border-radius: var(--radius-lg);
    max-height: 100vh;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    margin-top: auto;
  }
  .modal-overlay { align-items: flex-end; padding: 0; }
}

/* Print */
@media print {
  .header, .hero__bg, .hero__shapes, .section-divider,
  .deco-dots, .ambient-glow, .mesh-gradient, .cta__bg-pattern,
  .section--cta, .footer { display: none; }
  .section { padding: 20px 0; page-break-inside: avoid; }
  body { background: white; }
}

/* ============================================
   LANGUAGE SWITCHER
   ============================================ */
.lang-switcher {
  position: relative;
  z-index: 1001;
  margin-left: var(--space-3);
}

.lang-switcher__current {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
  color: white;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.header--scrolled .lang-switcher__current {
  background: rgba(255, 255, 255, 0.85);
  border-color: var(--color-border-light);
  color: var(--color-text-primary);
}

.lang-switcher__current:hover {
  border-color: var(--color-blue-400);
  box-shadow: var(--shadow-glow-blue-sm);
}

.lang-switcher__flag {
  width: 20px;
  height: 15px;
  border-radius: 2px;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.08);
}

.lang-switcher__code {
  letter-spacing: 0.04em;
}

.lang-switcher__arrow {
  transition: transform var(--transition-fast);
  opacity: 0.5;
  flex-shrink: 0;
}

.lang-switcher--open .lang-switcher__arrow {
  transform: rotate(180deg);
}

.lang-switcher__dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 160px;
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition-fast);
  overflow: hidden;
}

.lang-switcher--open .lang-switcher__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-switcher__option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 16px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  background: none;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: left;
  font-family: inherit;
}

.lang-switcher__option:hover {
  background: var(--color-blue-50);
  color: var(--color-blue-600);
}

.lang-switcher__option--active {
  color: var(--color-blue-600);
  background: var(--color-blue-50);
  font-weight: 600;
}

.lang-switcher__option + .lang-switcher__option {
  border-top: 1px solid var(--color-border-light);
}

/* Mobile: switcher in header row */
@media (max-width: 768px) {
  .lang-switcher {
    position: absolute;
    right: 56px;
    top: 50%;
    transform: translateY(-50%);
  }

  .lang-switcher__current {
    padding: 5px 10px;
    font-size: 0.78rem;
  }

  .lang-switcher__dropdown {
    right: 0;
    min-width: 145px;
  }

  .header--scrolled .lang-switcher__current {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
  }
}
