/* ==========================================================================
   Redu Landing Page — Styles (Premium Redesign)
   ========================================================================== */

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

:root {
  --green: #16A34A;
  --green-light: #dcfce7;
  --green-dark: #15803d;
  --green-50: #f0fdf4;
  --orange: #E95C0E;
  --orange-light: #fff7ed;
  --blue: #3B82F6;
  --purple: #8B5CF6;
  --red: #EF4444;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --gray-950: #030712;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,.07), 0 2px 4px -2px rgba(0,0,0,.05);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.08), 0 4px 6px -4px rgba(0,0,0,.04);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,.08), 0 8px 10px -6px rgba(0,0,0,.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,.15);
  --shadow-green: 0 8px 32px rgba(22,163,74,.25);
  --shadow-green-lg: 0 12px 40px rgba(22,163,74,.35);
  --transition: 0.2s cubic-bezier(.4,0,.2,1);
  --transition-medium: 0.3s cubic-bezier(.4,0,.2,1);
  --transition-slow: 0.5s cubic-bezier(.4,0,.2,1);
  --transition-spring: 0.5s cubic-bezier(.175,.885,.32,1.275);

  /* Semantic color tokens (light defaults) */
  --bg: #ffffff;
  --bg-alt: var(--gray-50);
  --surface: #ffffff;
  --surface-alt: var(--gray-50);
  --text: var(--gray-700);
  --text-strong: var(--gray-900);
  --text-muted: var(--gray-500);
  --border: var(--gray-200);
  --border-light: var(--gray-100);
}

/* --- Dark Theme Overrides --- */
[data-theme="dark"] {
  --bg: #0f1117;
  --bg-alt: #1a1d27;
  --surface: #1e2130;
  --surface-alt: #252838;
  --text: #c8ccd8;
  --text-strong: #e8ecf4;
  --text-muted: #8b92a8;
  --border: #2d3148;
  --border-light: #252838;
  --green: #22c55e;
  --green-light: rgba(34,197,94,0.1);
  --green-dark: #16a34a;
  --green-50: rgba(34,197,94,0.05);
  --gray-50: #1a1d27;
  --gray-100: #1e2130;
  --gray-200: #2d3148;
  --gray-300: #3d4260;
  --gray-400: #8b92a8;
  --gray-500: #8b92a8;
  --gray-600: #c8ccd8;
  --gray-700: #c8ccd8;
  --gray-800: #e8ecf4;
  --gray-900: #e8ecf4;
  --gray-950: #0a0c12;
  --orange-light: rgba(233,92,14,0.1);
  color-scheme: dark;
}

[data-theme="dark"] body {
  background: #0f1117;
  color: #c8ccd8;
}

/* --- Dark: Navigation --- */
[data-theme="dark"] .nav {
  background: rgba(15,17,23,0.7);
  border-bottom-color: #2d3148;
}

[data-theme="dark"] .nav--scrolled {
  background: rgba(15,17,23,0.85);
  border-bottom-color: #2d3148;
  box-shadow: 0 1px 3px rgba(0,0,0,.2), 0 8px 24px rgba(0,0,0,.15);
}

[data-theme="dark"] .nav__links {
  background: rgba(15,17,23,0.95);
  border-bottom-color: #2d3148;
  box-shadow: 0 12px 40px rgba(0,0,0,.3);
}

[data-theme="dark"] .nav__logo { color: #e8ecf4; }
[data-theme="dark"] .nav__link { color: #8b92a8; }
[data-theme="dark"] .nav__link:hover { color: #e8ecf4; }
[data-theme="dark"] .nav__link--active { color: #22c55e; }
[data-theme="dark"] .nav__hamburger span { background: #c8ccd8; }

[data-theme="dark"] .nav__hamburger:hover {
  background: #1e2130;
}

[data-theme="dark"] .nav__store-btn {
  background: #e8ecf4;
  color: #0f1117;
}

[data-theme="dark"] .nav__store-btn:hover {
  background: #fff;
}

/* --- Dark: Language switcher --- */
[data-theme="dark"] .lang-switcher__btn { color: #8b92a8; }
[data-theme="dark"] .lang-switcher__btn:hover { color: #e8ecf4; background: rgba(255,255,255,0.06); }
[data-theme="dark"] .lang-switcher__btn[aria-expanded="true"] { color: #e8ecf4; background: rgba(255,255,255,0.06); }

[data-theme="dark"] .lang-switcher__dropdown {
  background: rgba(30,33,48,0.95);
  border-color: #2d3148;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,.2), 0 12px 32px -4px rgba(0,0,0,.4), 0 0 0 1px rgba(255,255,255,.04);
}

[data-theme="dark"] .lang-switcher__option { color: #8b92a8; }
[data-theme="dark"] .lang-switcher__option:hover { background: rgba(255,255,255,0.06); color: #e8ecf4; }
[data-theme="dark"] .lang-switcher__option--active { color: #22c55e; background: rgba(34,197,94,0.1); }
[data-theme="dark"] .lang-switcher__option--active:hover { color: #16a34a; background: rgba(34,197,94,0.15); }
[data-theme="dark"] .lang-switcher__option + .lang-switcher__option { border-top-color: #2d3148; }

[data-theme="dark"] .nav--scrolled .lang-switcher__btn {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
}

/* --- Dark: Hero --- */
[data-theme="dark"] .hero {
  background: #0f1117;
}

[data-theme="dark"] .hero__bg-gradient {
  opacity: 0.4;
}

[data-theme="dark"] .hero__title { color: #e8ecf4; }
[data-theme="dark"] .hero__subtitle { color: #8b92a8; }
[data-theme="dark"] .hero__badge { color: #22c55e; background: rgba(34,197,94,0.1); border-color: rgba(34,197,94,0.2); }
[data-theme="dark"] .hero__stat-number { color: #e8ecf4; }
[data-theme="dark"] .hero__stat-label { color: #8b92a8; }
[data-theme="dark"] .hero__stat-divider { background: linear-gradient(to bottom, transparent, #2d3148, transparent); }

[data-theme="dark"] .hero__store-btn {
  background: #e8ecf4;
  color: #0f1117;
}

[data-theme="dark"] .hero__store-btn:hover {
  background: #fff;
}

[data-theme="dark"] .hero__store-btn small { color: #6b7280; }

[data-theme="dark"] .hero__float {
  background: rgba(30,33,48,0.85);
  border-color: rgba(255,255,255,0.06);
  box-shadow: 0 8px 32px rgba(0,0,0,.3), 0 0 0 1px rgba(255,255,255,.04) inset;
}

[data-theme="dark"] .hero__float strong { color: #e8ecf4; }
[data-theme="dark"] .hero__float span { color: #8b92a8; }

[data-theme="dark"] .hero__phone-frame {
  background: #1e2130;
  box-shadow: 0 0 0 1px rgba(255,255,255,.06) inset, 0 0 0 1px rgba(0,0,0,.3), 0 20px 40px -10px rgba(0,0,0,.4), 0 40px 80px -20px rgba(0,0,0,.5);
}

[data-theme="dark"] .hero__phone-screen { background: #1e2130; }
[data-theme="dark"] .hero__phone-notch { background: #1e2130; }

/* --- Dark: Mock app --- */
[data-theme="dark"] .mock-app__nav { background: #1e2130; border-top-color: #2d3148; }
[data-theme="dark"] .mock-product { background: #252838; }
[data-theme="dark"] .mock-product__name { color: #c8ccd8; }
[data-theme="dark"] .mock-cat__label { color: #c8ccd8; }
[data-theme="dark"] .mock-cat--active { background: rgba(34,197,94,0.1); }
[data-theme="dark"] .mock-app__search { background: rgba(255,255,255,0.15); }

/* --- Dark: Trust bar --- */
[data-theme="dark"] .trust-bar {
  background: #1a1d27;
  border-color: #2d3148;
}

[data-theme="dark"] .trust-bar__label { color: #8b92a8; }
[data-theme="dark"] .trust-bar__logo { color: #8b92a8; }
[data-theme="dark"] .trust-bar__disclaimer { color: #8b92a8; }
[data-theme="dark"] .trust-bar__disclaimer a { color: #22c55e; }

/* --- Dark: Problem / Solution --- */
[data-theme="dark"] .problem-solution { background: #1a1d27; }
[data-theme="dark"] .problem-solution::before { background: linear-gradient(to right, transparent, #2d3148, transparent); }

[data-theme="dark"] .ps-card {
  background: #1e2130;
  border-color: #2d3148;
}

[data-theme="dark"] .ps-card--solution {
  background: linear-gradient(135deg, rgba(34,197,94,0.05) 0%, #1e2130 100%);
  border-color: rgba(34,197,94,0.15);
}

[data-theme="dark"] .ps-card__title { color: #e8ecf4; }
[data-theme="dark"] .ps-card__text { color: #8b92a8; }
[data-theme="dark"] .ps-card__list li { color: #c8ccd8; }
[data-theme="dark"] .ps-card__icon { }
[data-theme="dark"] .ps-card--problem .ps-card__icon { background: rgba(239,68,68,0.1); }
[data-theme="dark"] .ps-card--solution .ps-card__icon { background: rgba(34,197,94,0.1); }

/* --- Dark: Section headers --- */
[data-theme="dark"] .section-header__label { color: #22c55e; background: rgba(34,197,94,0.1); border-color: rgba(34,197,94,0.2); }
[data-theme="dark"] .section-header__title { color: #e8ecf4; }
[data-theme="dark"] .section-header__desc { color: #8b92a8; }

/* --- Dark: Features --- */
[data-theme="dark"] .feature-showcase__number { color: #22c55e; background: rgba(34,197,94,0.1); border-color: rgba(34,197,94,0.2); }
[data-theme="dark"] .feature-showcase__title { color: #e8ecf4; }
[data-theme="dark"] .feature-showcase__desc { color: #8b92a8; }
[data-theme="dark"] .feature-showcase__list li { color: #c8ccd8; }

[data-theme="dark"] .feature-card {
  background: #1e2130;
  border-color: #2d3148;
}

[data-theme="dark"] .feature-card:hover {
  border-color: transparent;
  box-shadow: 0 12px 40px rgba(0,0,0,.3);
}

[data-theme="dark"] .feature-card__title { color: #e8ecf4; }
[data-theme="dark"] .feature-card__desc { color: #8b92a8; }
[data-theme="dark"] .feature-card__icon--blue { background: rgba(59,130,246,0.1); }
[data-theme="dark"] .feature-card__icon--red { background: rgba(239,68,68,0.1); }
[data-theme="dark"] .feature-card__icon--purple { background: rgba(139,92,246,0.1); }
[data-theme="dark"] .feature-card__icon--orange { background: rgba(233,92,14,0.1); }
[data-theme="dark"] .feature-card__icon--gray { background: #252838; }
[data-theme="dark"] .feature-card__icon--green { background: rgba(34,197,94,0.1); }

/* --- Dark: Feature demo cards --- */
[data-theme="dark"] .feature-demo-card {
  background: #1e2130;
  border-color: #2d3148;
}

[data-theme="dark"] .feature-demo-card:hover {
  box-shadow: 0 12px 32px rgba(0,0,0,.4);
}

[data-theme="dark"] .feature-demo-card__name { color: #c8ccd8; }
[data-theme="dark"] .feature-demo-card__price { color: #8b92a8; }
[data-theme="dark"] .feature-demo-card__price s { color: #3d4260; }

/* --- Dark: Compare demo --- */
[data-theme="dark"] .compare-demo {
  background: #1e2130;
  border-color: #2d3148;
}

[data-theme="dark"] .compare-demo__header { border-bottom-color: #2d3148; }
[data-theme="dark"] .compare-demo__product-name { color: #e8ecf4; }
[data-theme="dark"] .compare-demo__product-sub { color: #8b92a8; }
[data-theme="dark"] .compare-demo__new { color: #e8ecf4; }

[data-theme="dark"] .compare-demo__row {
  background: #252838;
}

[data-theme="dark"] .compare-demo__row--best {
  background: linear-gradient(135deg, rgba(34,197,94,0.08) 0%, rgba(34,197,94,0.03) 100%);
  border-color: rgba(34,197,94,0.15);
}

[data-theme="dark"] .compare-demo__row--best .compare-demo__new { color: #22c55e; }
[data-theme="dark"] .compare-demo__old { color: #3d4260; }
[data-theme="dark"] .compare-demo__expiry { color: #8b92a8; }
[data-theme="dark"] .compare-demo__badge--muted { background: #3d4260; }

/* --- Dark: Chart demo --- */
[data-theme="dark"] .chart-demo {
  background: #1e2130;
  border-color: #2d3148;
}

[data-theme="dark"] .chart-demo__title { color: #c8ccd8; }
[data-theme="dark"] .chart-demo__legend-item { color: #8b92a8; }

/* --- Dark: List demo --- */
[data-theme="dark"] .list-demo {
  background: #1e2130;
  border-color: #2d3148;
}

[data-theme="dark"] .list-demo__store { border-bottom-color: #2d3148; }
[data-theme="dark"] .list-demo__store-count { color: #8b92a8; }
[data-theme="dark"] .list-demo__item { border-bottom-color: #252838; }
[data-theme="dark"] .list-demo__item-name { color: #c8ccd8; }
[data-theme="dark"] .list-demo__item-meta { color: #8b92a8; }
[data-theme="dark"] .list-demo__item-price { color: #c8ccd8; }
[data-theme="dark"] .list-demo__item-qty { color: #8b92a8; }
[data-theme="dark"] .list-demo__total { border-top-color: #2d3148; }
[data-theme="dark"] .list-demo__total-label { color: #e8ecf4; }
[data-theme="dark"] .list-demo__total-amount { color: #e8ecf4; }

/* --- Dark: How It Works --- */
[data-theme="dark"] .how-it-works { background: #1a1d27; }
[data-theme="dark"] .how-it-works::before { background: linear-gradient(to right, transparent, #2d3148, transparent); }
[data-theme="dark"] .step__title { color: #e8ecf4; }
[data-theme="dark"] .step__desc { color: #8b92a8; }
[data-theme="dark"] .step__connector { background: linear-gradient(to bottom, rgba(34,197,94,0.2), #2d3148); }

/* --- Dark: At a Glance --- */
[data-theme="dark"] .glance-item {
  background: #1e2130;
  border-color: #2d3148;
}

[data-theme="dark"] .glance-item:hover {
  background: #252838;
  border-color: rgba(34,197,94,0.2);
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}

[data-theme="dark"] .glance-item strong { color: #e8ecf4; }
[data-theme="dark"] .glance-item span { color: #8b92a8; }

/* --- Dark: Mid CTA --- */
[data-theme="dark"] .mid-cta {
  background: linear-gradient(135deg, rgba(34,197,94,0.05) 0%, rgba(34,197,94,0.02) 100%);
  border-color: #2d3148;
}

[data-theme="dark"] .mid-cta__title { color: #e8ecf4; }
[data-theme="dark"] .mid-cta__desc { color: #8b92a8; }

/* --- Dark: Download CTA --- */
[data-theme="dark"] .download { background: #080a0f; }
[data-theme="dark"] .download__title { color: #fff; }
[data-theme="dark"] .download__desc { color: #8b92a8; }
[data-theme="dark"] .download__legal { color: #8b92a8; }
[data-theme="dark"] .download__legal a { color: #fff; }

[data-theme="dark"] .store-badge {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.1);
}

[data-theme="dark"] .store-badge:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.18);
}

/* --- Dark: Footer --- */
[data-theme="dark"] .footer { background: #080a0f; }
[data-theme="dark"] .footer__logo { color: #fff; }
[data-theme="dark"] .footer__tagline { color: #8b92a8; }
[data-theme="dark"] .footer__col h4 { color: #8b92a8; }
[data-theme="dark"] .footer__col a,
[data-theme="dark"] .footer__link-btn { color: #8b92a8; }
[data-theme="dark"] .footer__col a:hover,
[data-theme="dark"] .footer__link-btn:hover { color: #fff; }
[data-theme="dark"] .footer__bottom { border-top-color: rgba(255,255,255,0.04); }
[data-theme="dark"] .footer__bottom p { color: #3d4260; }

/* --- Dark: Cookie banner --- */
[data-theme="dark"] .cookie-banner__inner {
  background: rgba(30,33,48,0.95);
  border-color: #2d3148;
  box-shadow: 0 16px 36px rgba(0,0,0,.4);
}

[data-theme="dark"] .cookie-banner__title { color: #e8ecf4; }
[data-theme="dark"] .cookie-banner__text { color: #8b92a8; }
[data-theme="dark"] .cookie-banner__text a { color: #22c55e; }

[data-theme="dark"] .cookie-banner__btn--secondary {
  background: #252838;
  border-color: #2d3148;
  color: #c8ccd8;
}

[data-theme="dark"] .cookie-banner__btn--secondary:hover {
  background: #1e2130;
  border-color: #3d4260;
}

/* --- Dark: Buttons --- */
[data-theme="dark"] .btn--ghost {
  background: rgba(255,255,255,0.06);
  border-color: #2d3148;
  color: #c8ccd8;
}

[data-theme="dark"] .btn--ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: #3d4260;
  color: #e8ecf4;
}

/* --- Dark: Images --- */
[data-theme="dark"] img {
  filter: brightness(0.92);
}

/* --- Theme Toggle Button --- */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  border-radius: var(--radius-full);
  cursor: pointer;
  color: var(--gray-500);
  transition: color var(--transition), background var(--transition);
  flex-shrink: 0;
}

.theme-toggle:hover {
  color: var(--gray-900);
  background: rgba(0,0,0,0.04);
}

[data-theme="dark"] .theme-toggle:hover {
  background: rgba(255,255,255,0.06);
}

.theme-toggle:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 2px;
}

.theme-toggle__sun,
.theme-toggle__moon {
  transition: opacity var(--transition), transform var(--transition);
  position: absolute;
}

.theme-toggle__moon {
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
}

[data-theme="dark"] .theme-toggle__sun {
  opacity: 0;
  transform: rotate(90deg) scale(0.5);
}

[data-theme="dark"] .theme-toggle__moon {
  opacity: 1;
  transform: rotate(0) scale(1);
}

/* Legal pages dark mode */
[data-theme="dark"] .legal-content h1 { color: #e8ecf4; }
[data-theme="dark"] .legal-content h2 { color: #e8ecf4; }
[data-theme="dark"] .legal-content h3 { color: #e8ecf4; }
[data-theme="dark"] .legal-content p { color: #c8ccd8; }
[data-theme="dark"] .legal-content li { color: #c8ccd8; }
[data-theme="dark"] .legal-content strong { color: #e8ecf4; }
[data-theme="dark"] .legal-content a { color: #22c55e; }
[data-theme="dark"] .legal-content a:hover { color: #16a34a; }

[data-theme="dark"] .legal-content__meta {
  color: #8b92a8;
  border-bottom-color: #2d3148;
}

[data-theme="dark"] .legal-content th {
  background: #252838;
  color: #e8ecf4;
}

[data-theme="dark"] .legal-content td {
  color: #c8ccd8;
}

[data-theme="dark"] .legal-content th,
[data-theme="dark"] .legal-content td {
  border-bottom-color: #2d3148;
}

[data-theme="dark"] .legal-nav__back { color: #8b92a8; }
[data-theme="dark"] .legal-nav__back:hover { color: #22c55e; }

/* Mobile nav dark mode */
[data-theme="dark"] .nav__link:hover { background: #1e2130; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--gray-700);
  background: #fff;
  line-height: 1.65;
  overflow-x: hidden;
  font-size: 16px;
}

img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-accent { color: var(--green); }

/* --- Accessibility: Screen Reader Only --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Accessibility: Skip Link --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: #fff;
  padding: 12px 24px;
  border-radius: 0 0 8px 8px;
  font-weight: 600;
  font-size: 0.875rem;
  z-index: 200;
  transition: top 0.2s;
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
  outline: 3px solid var(--green-dark);
  outline-offset: 2px;
}

/* --- Accessibility: Global Focus Styles --- */
*:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 2px;
}

/* Remove outline for mouse users, keep for keyboard */
*:focus:not(:focus-visible) {
  outline: none;
}

/* --- Noise Texture Overlay (subtle grain) --- */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* --- Section Header --- */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-header__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--green);
  background: var(--green-light);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid rgba(22,163,74,.12);
}

.section-header__title {
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--gray-900);
  margin-bottom: 18px;
  letter-spacing: -0.025em;
}

.section-header__desc {
  font-size: 1.125rem;
  color: var(--gray-500);
  line-height: 1.75;
  letter-spacing: -0.01em;
}

/* ==========================================================================
   Navigation — Glassmorphism
   ========================================================================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,.6);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,.4);
  transition: all var(--transition-medium);
}

.nav--scrolled {
  background: rgba(255,255,255,.85);
  border-bottom-color: rgba(0,0,0,.06);
  box-shadow: 0 1px 3px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.03);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.02em;
  transition: opacity var(--transition);
}

.nav__logo:hover { opacity: 0.8; }

.nav__logo:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 4px;
  border-radius: 4px;
}

.nav__logo-icon {
  transition: transform var(--transition-spring);
}

.nav__logo:hover .nav__logo-icon {
  transform: rotate(-6deg) scale(1.05);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-500);
  transition: color var(--transition);
  position: relative;
  padding: 4px 0;
  letter-spacing: -0.01em;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green);
  border-radius: 1px;
  transition: width var(--transition-medium);
}

.nav__link:hover {
  color: var(--gray-900);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__link:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 4px;
  border-radius: 4px;
}

.nav__link:focus-visible::after {
  width: 100%;
}

.nav__link--active {
  color: var(--green);
}

.nav__link--active::after {
  width: 100%;
}

.nav__store-btns {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__store-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  background: var(--gray-900);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  transition: all var(--transition);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.nav__store-btn:hover {
  background: var(--gray-800);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.nav__store-btn:active {
  transform: translateY(0);
}

.nav__store-btn:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}

.nav__store-btn svg {
  flex-shrink: 0;
  opacity: 0.9;
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.nav__hamburger:hover {
  background: var(--gray-100);
}

.nav__hamburger:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 4px;
  border-radius: 4px;
}

.nav__hamburger span {
  width: 22px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: transform var(--transition-medium), opacity var(--transition);
}

.nav__hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__hamburger.active span:nth-child(2) { opacity: 0; }
.nav__hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Language Switcher --- */
.lang-switcher {
  position: relative;
}

.lang-switcher__btn {
  display: flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  padding: 7px 12px 7px 10px;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-500);
  cursor: pointer;
  transition: all var(--transition);
  min-height: 36px;
  letter-spacing: -0.01em;
}

.lang-switcher__btn:hover {
  color: var(--gray-900);
  background: rgba(0,0,0,.04);
}

.lang-switcher__btn:hover .lang-switcher__globe {
  color: var(--green);
}

.lang-switcher__btn:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 2px;
  border-radius: var(--radius-full);
}

.lang-switcher__globe {
  transition: color var(--transition), transform var(--transition-spring);
  flex-shrink: 0;
}

.lang-switcher__btn:hover .lang-switcher__globe {
  transform: rotate(-12deg);
}

.lang-switcher__chevron {
  transition: transform var(--transition-spring);
  opacity: 0.5;
}

.lang-switcher__btn:hover .lang-switcher__chevron {
  opacity: 0.8;
}

.lang-switcher__btn[aria-expanded="true"] .lang-switcher__chevron {
  transform: rotate(180deg);
  opacity: 1;
}

.lang-switcher__btn[aria-expanded="true"] {
  color: var(--gray-900);
  background: rgba(0,0,0,.04);
}

.lang-switcher__btn[aria-expanded="true"] .lang-switcher__globe {
  color: var(--green);
  transform: rotate(-12deg);
}

/* Scrolled nav state — give the button a subtle surface */
.nav--scrolled .lang-switcher__btn {
  background: rgba(0,0,0,.02);
  border-color: rgba(0,0,0,.06);
}

.nav--scrolled .lang-switcher__btn:hover {
  background: rgba(0,0,0,.05);
  border-color: rgba(0,0,0,.08);
}

.lang-switcher__dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 172px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255,255,255,.6);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 6px -1px rgba(0,0,0,.05),
              0 12px 32px -4px rgba(0,0,0,.1),
              0 0 0 1px rgba(0,0,0,.03);
  padding: 5px;
  z-index: 110;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(0.97);
  transform-origin: top right;
  transition: opacity 0.18s ease, transform var(--transition-spring), visibility 0.18s ease;
}

.lang-switcher__dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.lang-switcher__option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 12px;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--gray-600);
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  text-align: left;
  position: relative;
  letter-spacing: -0.01em;
}

.lang-switcher__option:hover {
  background: rgba(0,0,0,.04);
  color: var(--gray-900);
}

.lang-switcher__option:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: -2px;
}

/* Active language — subtle green accent */
.lang-switcher__option--active {
  color: var(--green);
  background: rgba(22,163,74,.07);
  font-weight: 600;
}

.lang-switcher__option--active:hover {
  background: rgba(22,163,74,.1);
  color: var(--green-dark);
}

/* Checkmark for active option */
.lang-switcher__option--active::after {
  content: '';
  width: 16px;
  height: 16px;
  margin-left: auto;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2316A34A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.lang-switcher__flag {
  font-size: 1.125rem;
  line-height: 1;
}

/* Divider between options */
.lang-switcher__option + .lang-switcher__option {
  border-top: 1px solid rgba(0,0,0,.04);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.lang-switcher__option:first-child + .lang-switcher__option {
  border-radius: 0;
}

.lang-switcher__option:first-child {
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.lang-switcher__option:last-child {
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.lang-switcher__option:only-child {
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  padding: 100px 0 60px;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero__bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 65% 15%, rgba(22,163,74,.07) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 25% 75%, rgba(233,92,14,.04) 0%, transparent 60%),
    radial-gradient(ellipse 40% 30% at 90% 80%, rgba(59,130,246,.03) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* Blob shapes behind hero */
.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

.hero__blob--1 {
  width: 600px;
  height: 600px;
  background: rgba(22,163,74,.08);
  top: -200px;
  right: -100px;
  animation: blob-float 20s ease-in-out infinite;
}

.hero__blob--2 {
  width: 400px;
  height: 400px;
  background: rgba(233,92,14,.06);
  bottom: -100px;
  left: -100px;
  animation: blob-float 25s ease-in-out infinite reverse;
}

.hero__blob--3 {
  width: 300px;
  height: 300px;
  background: rgba(59,130,246,.05);
  top: 40%;
  left: 30%;
  animation: blob-float 18s ease-in-out infinite 5s;
}

@keyframes blob-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--green-dark);
  background: rgba(22,163,74,.08);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 28px;
  border: 1px solid rgba(22,163,74,.12);
  backdrop-filter: blur(8px);
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse-dot 2s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(22,163,74,.4);
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 8px rgba(22,163,74,.4); }
  50% { opacity: .6; transform: scale(1.4); box-shadow: 0 0 16px rgba(22,163,74,.2); }
}

.hero__title {
  font-size: clamp(2.25rem, 5.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.08;
  color: var(--gray-900);
  margin-bottom: 16px;
  letter-spacing: -0.03em;
  max-width: 600px;
}

.hero__title-accent {
  background: linear-gradient(135deg, var(--green) 0%, #22c55e 50%, #4ade80 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 1.125rem;
  color: var(--gray-500);
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 520px;
  letter-spacing: -0.01em;
}

.hero__ctas {
  display: flex;
  gap: 12px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.hero__store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--gray-900);
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  transition: all var(--transition);
  min-height: 52px;
}

.hero__store-btn:hover {
  background: var(--gray-800);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.hero__store-btn:active {
  transform: translateY(0);
}

.hero__store-btn:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}

.hero__store-btn svg {
  flex-shrink: 0;
  opacity: 0.85;
}

.hero__store-btn small {
  display: block;
  font-size: 0.6875rem;
  color: var(--gray-400);
  text-align: left;
  line-height: 1.2;
  font-weight: 400;
}

.hero__store-btn strong {
  display: block;
  font-size: 0.9375rem;
  text-align: left;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: inherit;
  font-weight: 600;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-full);
  transition: all var(--transition);
  letter-spacing: -0.01em;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 2px 12px rgba(22,163,74,.2);
}

.btn--primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.15) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition);
}

.btn--primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-green-lg);
}

.btn--primary:hover::before { opacity: 1; }

.btn--primary:active {
  transform: translateY(0);
  box-shadow: var(--shadow-green);
}

.btn--primary:focus-visible {
  outline: 3px solid var(--green-dark);
  outline-offset: 3px;
}

.btn--ghost {
  background: rgba(255,255,255,.7);
  color: var(--gray-700);
  border: 1.5px solid var(--gray-200);
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  border-color: var(--gray-300);
  background: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--ghost:active {
  transform: translateY(0);
}

.btn--ghost:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}

.btn--ghost svg {
  transition: transform var(--transition);
}

.btn--ghost:hover svg {
  transform: translateX(3px);
}

.btn--lg {
  padding: 16px 32px;
  font-size: 1rem;
}

/* Hero Stats */
.hero__stats {
  display: flex;
  align-items: center;
  gap: 28px;
}

.hero__stat-number {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.hero__stat-label {
  font-size: 0.8125rem;
  color: var(--gray-500);
  letter-spacing: -0.01em;
}

.hero__stat-divider {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, transparent, var(--gray-200), transparent);
}

/* Hero Phone Mockup */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero__phone {
  position: relative;
  z-index: 2;
}

/* Glow behind phone */
.hero__phone::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(22,163,74,.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}

.hero__phone-frame {
  width: 280px;
  height: 560px;
  background: var(--gray-900);
  border-radius: 40px;
  padding: 8px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.1) inset,
    0 0 0 1px rgba(0,0,0,.1),
    0 20px 40px -10px rgba(0,0,0,.15),
    0 40px 80px -20px rgba(0,0,0,.2);
  position: relative;
  transition: transform var(--transition-slow);
}

.hero__phone-frame:hover {
  transform: translateY(-8px) rotateX(2deg);
}

.hero__phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 28px;
  background: var(--gray-900);
  border-radius: 0 0 16px 16px;
  z-index: 10;
}

.hero__phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  background: #fff;
}

/* Mock App UI */
.mock-app {
  height: 100%;
  display: flex;
  flex-direction: column;
  font-size: 11px;
}

.mock-app__header {
  padding: 36px 14px 10px;
  background: linear-gradient(135deg, var(--green) 0%, #22c55e 100%);
}

.mock-app__logo {
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.mock-app__search {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.2);
  color: rgba(255,255,255,.8);
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 10px;
  backdrop-filter: blur(4px);
}

.mock-app__categories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 10px 8px 6px;
}

.mock-cat {
  text-align: center;
  padding: 6px 2px;
  border-radius: 8px;
  transition: background var(--transition);
}

.mock-cat--active {
  background: var(--green-light);
}

.mock-cat__icon { font-size: 18px; margin-bottom: 2px; }
.mock-cat__label { font-weight: 600; font-size: 9px; color: var(--gray-700); }
.mock-cat__count { font-size: 7px; color: var(--gray-400); }

.mock-app__products {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 6px 8px;
  overflow: hidden;
}

.mock-product {
  background: var(--gray-50);
  border-radius: 10px;
  padding: 8px;
  text-align: center;
  position: relative;
}

.mock-product__badge {
  position: absolute;
  top: 4px;
  right: 4px;
  background: var(--orange);
  color: #fff;
  font-size: 7px;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 4px;
}

.mock-product__img { font-size: 24px; margin: 4px 0; }
.mock-product__name { font-size: 8px; font-weight: 600; color: var(--gray-700); margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-product__prices { font-size: 8px; }
.mock-product__old { color: var(--gray-400); text-decoration: line-through; font-size: 7px; }
.mock-product__new { color: var(--green); font-weight: 700; }
.mock-product__store { font-size: 7px; color: var(--gray-400); margin-top: 2px; }

.mock-app__nav {
  display: flex;
  justify-content: space-around;
  padding: 8px 4px 12px;
  border-top: 1px solid var(--gray-100);
  background: #fff;
}

.mock-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 7px;
  color: var(--gray-400);
  position: relative;
}

.mock-nav-item--active {
  color: var(--green);
}

.mock-nav-badge {
  position: absolute;
  top: -4px;
  right: -8px;
  background: var(--orange);
  color: #fff;
  font-size: 7px;
  font-weight: 700;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Floating Cards — Glassmorphism style */
.hero__float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,.75);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 32px rgba(0,0,0,.08), 0 0 0 1px rgba(255,255,255,.5) inset;
  border: 1px solid rgba(255,255,255,.3);
  z-index: 3;
  animation: float-card 6s ease-in-out infinite;
}

.hero__float strong {
  display: block;
  font-size: 0.8125rem;
  color: var(--gray-800);
  letter-spacing: -0.01em;
}

.hero__float span {
  font-size: 0.75rem;
  color: var(--gray-400);
}

.hero__float--savings {
  top: 12%;
  right: -20px;
  animation-delay: 0s;
}

.hero__float--alert {
  bottom: 18%;
  left: -30px;
  animation-delay: -3s;
}

@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ==========================================================================
   Social Proof / Trust Bar
   ========================================================================== */

.trust-bar {
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-100);
  background: var(--gray-50);
  position: relative;
  overflow: hidden;
}

.trust-bar__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.trust-bar__label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--gray-400);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.trust-bar__logos {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.trust-bar__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-400);
  opacity: 0.6;
  transition: opacity var(--transition);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
}

.trust-bar__logo:hover {
  opacity: 1;
}

.trust-bar__logo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.trust-bar__disclaimer {
  max-width: 860px;
  text-align: center;
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--gray-500);
}

.trust-bar__disclaimer a {
  color: var(--green-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.trust-bar__disclaimer a:hover {
  color: var(--green);
}

/* ==========================================================================
   Problem / Solution
   ========================================================================== */

.problem-solution {
  padding: 72px 0;
  background: var(--gray-50);
  position: relative;
}

.problem-solution::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gray-200), transparent);
}

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

.ps-card {
  padding: 44px;
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
  border: 1px solid var(--gray-100);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.ps-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.ps-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.ps-card--problem .ps-card__icon {
  background: #fef2f2;
  color: var(--red);
}

.ps-card--solution .ps-card__icon {
  background: var(--green-light);
  color: var(--green);
}

.ps-card--solution {
  border-color: rgba(22,163,74,.12);
  background: linear-gradient(135deg, rgba(240,253,244,.5) 0%, #fff 100%);
}

.ps-card__title {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--gray-900);
  letter-spacing: -0.02em;
}

.ps-card__text {
  font-size: 0.9375rem;
  color: var(--gray-500);
  line-height: 1.75;
  margin-bottom: 24px;
}

.ps-card__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ps-card__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
  color: var(--gray-600);
  letter-spacing: -0.01em;
}

.ps-card__list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.ps-card--problem .ps-card__list li::before { background: var(--red); opacity: 0.7; }
.ps-card--solution .ps-card__list li::before { background: var(--green); }

/* ==========================================================================
   Features
   ========================================================================== */

.features {
  padding: 72px 0;
  position: relative;
}

/* Feature Showcase (alternating layout) */
.feature-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  margin-bottom: 72px;
}

.feature-showcase--reverse {
  direction: rtl;
}

.feature-showcase--reverse > * {
  direction: ltr;
}

.feature-showcase__number {
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--green);
  background: var(--green-light);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 1px solid rgba(22,163,74,.12);
  letter-spacing: 0.02em;
}

.feature-showcase__title {
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 14px;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.feature-showcase__desc {
  font-size: 1rem;
  color: var(--gray-500);
  line-height: 1.75;
  margin-bottom: 28px;
}

.feature-showcase__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature-showcase__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--gray-600);
  letter-spacing: -0.01em;
}

.feature-showcase__list li svg { flex-shrink: 0; }

/* Feature Visual Demos */
.feature-showcase__visual {
  display: flex;
  justify-content: center;
}

/* Deal Cards Grid */
.feature-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 380px;
}

.feature-demo-card {
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
  position: relative;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
  transition: transform var(--transition-spring), box-shadow var(--transition-medium);
}

.feature-demo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,.1);
}

.feature-demo-card__badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--orange);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(233,92,14,.3);
}

.feature-demo-card__emoji { font-size: 2.5rem; margin-bottom: 8px; }
.feature-demo-card__name { font-size: 0.8125rem; font-weight: 600; color: var(--gray-700); margin-bottom: 6px; letter-spacing: -0.01em; }
.feature-demo-card__price { font-size: 0.8125rem; color: var(--gray-500); }
.feature-demo-card__price s { color: var(--gray-300); margin-right: 4px; }
.feature-demo-card__price strong { color: var(--green); }

/* Compare Demo */
.compare-demo {
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl);
  padding: 28px;
  max-width: 440px;
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
}

.compare-demo__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-100);
}

.compare-demo__product-icon { font-size: 2rem; }
.compare-demo__product-name { font-size: 1rem; font-weight: 700; color: var(--gray-900); letter-spacing: -0.01em; }
.compare-demo__product-sub { font-size: 0.8125rem; color: var(--gray-400); }

.compare-demo__rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.compare-demo__row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: var(--gray-50);
  flex-wrap: wrap;
  transition: transform var(--transition);
}

.compare-demo__row:hover {
  transform: translateX(4px);
}

.compare-demo__row--best {
  background: linear-gradient(135deg, rgba(22,163,74,.06) 0%, rgba(22,163,74,.02) 100%);
  border: 1px solid rgba(22,163,74,.12);
}

.compare-demo__store {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  min-width: 90px;
}

.compare-demo__store-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(255,255,255,1), 0 0 0 3px currentColor;
}

.compare-demo__prices { flex: 1; text-align: right; }
.compare-demo__old { color: var(--gray-400); text-decoration: line-through; font-size: 0.8125rem; margin-right: 6px; }
.compare-demo__new { font-weight: 700; color: var(--gray-800); font-size: 0.9375rem; }
.compare-demo__row--best .compare-demo__new { color: var(--green-dark); }

.compare-demo__badge {
  font-size: 0.6875rem;
  font-weight: 700;
  color: #fff;
  background: var(--green);
  padding: 4px 10px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(22,163,74,.2);
}

.compare-demo__badge--muted {
  background: var(--gray-300);
  box-shadow: none;
}

.compare-demo__expiry {
  font-size: 0.75rem;
  color: var(--gray-400);
}

.compare-demo__expiry--urgent {
  color: var(--red);
  font-weight: 600;
}

/* Chart Demo */
.chart-demo {
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl);
  padding: 28px;
  max-width: 400px;
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
}

.chart-demo__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.chart-demo__svg {
  width: 100%;
  height: auto;
  margin-bottom: 12px;
}

.chart-demo__legend {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.chart-demo__legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  color: var(--gray-500);
}

.chart-demo__legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

/* Shopping List Demo */
.list-demo {
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl);
  padding: 28px;
  max-width: 400px;
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
}

.list-demo__store {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.9375rem;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-100);
}

.list-demo__store-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.list-demo__store-count {
  margin-left: auto;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gray-400);
}

.list-demo__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-50);
  transition: background var(--transition);
}

.list-demo__item:last-of-type {
  border-bottom: none;
}

.list-demo__item-emoji { font-size: 1.5rem; }
.list-demo__item-info { flex: 1; }
.list-demo__item-name { font-size: 0.875rem; font-weight: 600; color: var(--gray-700); letter-spacing: -0.01em; }
.list-demo__item-meta { font-size: 0.75rem; color: var(--gray-400); }
.list-demo__item-price { text-align: right; font-size: 0.875rem; font-weight: 600; color: var(--gray-700); }
.list-demo__item-qty { display: block; font-size: 0.75rem; font-weight: 500; color: var(--gray-400); text-align: right; }

.list-demo__total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 2px solid var(--gray-100);
}

.list-demo__total-label { font-weight: 700; font-size: 0.9375rem; color: var(--gray-900); }
.list-demo__total-savings { display: block; font-size: 0.75rem; color: var(--green); font-weight: 600; }
.list-demo__total-amount { font-size: 1.25rem; font-weight: 800; color: var(--gray-900); letter-spacing: -0.02em; }

/* Features Grid (smaller features) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  padding: 24px;
  border-radius: var(--radius-xl);
  background: #fff;
  border: 1px solid var(--gray-100);
  transition: all var(--transition-medium);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-medium);
  border-radius: 3px 3px 0 0;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,.08);
  border-color: transparent;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: transform var(--transition-spring);
}

.feature-card:hover .feature-card__icon {
  transform: scale(1.1) rotate(-3deg);
}

.feature-card__icon--blue { background: #eff6ff; color: var(--blue); }
.feature-card__icon--red { background: #fef2f2; color: var(--red); }
.feature-card__icon--purple { background: #f5f3ff; color: var(--purple); }
.feature-card__icon--orange { background: var(--orange-light); color: var(--orange); }
.feature-card__icon--gray { background: var(--gray-100); color: var(--gray-600); }
.feature-card__icon--green { background: var(--green-light); color: var(--green); }

.feature-card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.feature-card__desc {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.65;
}

/* ==========================================================================
   How It Works
   ========================================================================== */

.how-it-works {
  padding: 72px 0;
  background: var(--gray-50);
  position: relative;
}

.how-it-works::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gray-200), transparent);
}

.steps {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  transition: transform var(--transition);
}

.step:hover {
  transform: translateX(6px);
}

.step__number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 1.125rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(22,163,74,.25);
  transition: transform var(--transition-spring), box-shadow var(--transition);
}

.step:hover .step__number {
  transform: scale(1.1);
  box-shadow: var(--shadow-green-lg);
}

.step__content {
  padding-top: 6px;
}

.step__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.step__desc {
  font-size: 0.9375rem;
  color: var(--gray-500);
  line-height: 1.7;
}

.step__connector {
  width: 2px;
  height: 24px;
  background: linear-gradient(to bottom, var(--green-light), var(--gray-200));
  margin-left: 25px;
  border-radius: 1px;
}

/* ==========================================================================
   At a Glance
   ========================================================================== */

.at-a-glance {
  padding: 72px 0;
  position: relative;
}

.glance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.glance-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px;
  border-radius: var(--radius-md);
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  transition: all var(--transition-medium);
}

.glance-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
  background: #fff;
  border-color: rgba(22,163,74,.15);
}

.glance-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  transition: transform var(--transition-spring);
}

.glance-item:hover svg {
  transform: scale(1.15);
}

.glance-item strong { display: block; font-size: 0.9375rem; color: var(--gray-900); margin-bottom: 3px; letter-spacing: -0.01em; }
.glance-item span { font-size: 0.8125rem; color: var(--gray-500); line-height: 1.5; }

/* ==========================================================================
   Download CTA
   ========================================================================== */

.download {
  padding: 64px 0;
  background: var(--gray-950);
  position: relative;
  overflow: hidden;
}

/* Decorative gradient orbs in CTA section */
.download::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(22,163,74,.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.download::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(233,92,14,.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.download__inner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.download__title {
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 18px;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.download__desc {
  font-size: 1.125rem;
  color: var(--gray-400);
  margin-bottom: 44px;
  line-height: 1.75;
}

.download__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.store-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,.08);
  color: #fff;
  padding: 16px 28px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,.12);
  transition: all var(--transition-medium);
  backdrop-filter: blur(8px);
}

.store-badge:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,.14);
  box-shadow: 0 8px 30px rgba(0,0,0,.3);
  border-color: rgba(255,255,255,.2);
}

.store-badge:active {
  transform: translateY(0);
}

.store-badge:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}

.store-badge svg {
  opacity: 0.9;
}

.store-badge small {
  display: block;
  font-size: 0.6875rem;
  color: var(--gray-400);
  text-align: left;
}

.store-badge strong {
  display: block;
  font-size: 1rem;
  text-align: left;
  letter-spacing: -0.01em;
}

.download__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.8125rem;
  color: var(--gray-500);
}

.download__meta-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gray-600);
}

.download__legal {
  margin-top: 20px;
  font-size: 0.8125rem;
  color: var(--gray-500);
  line-height: 1.7;
}

.download__legal a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.download__legal a:hover {
  color: var(--green-light);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  padding: 48px 0 24px;
  background: var(--gray-950);
  border-top: 1px solid rgba(255,255,255,.04);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

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

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.footer__tagline {
  font-size: 0.875rem;
  color: var(--gray-500);
}

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

.footer__col h4 {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.footer__col a,
.footer__link-btn {
  display: block;
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 12px;
  transition: color var(--transition), transform var(--transition);
  padding: 2px 0;
}

.footer__link-btn {
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
}

.footer__col a:hover,
.footer__link-btn:hover {
  color: #fff;
  transform: translateX(3px);
}

.footer__col a:focus-visible,
.footer__link-btn:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
  border-radius: 2px;
}

.footer__bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.04);
}

.footer__bottom p {
  font-size: 0.8125rem;
  color: var(--gray-600);
}

/* ==========================================================================
   Cookie Banner
   ========================================================================== */

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translate(-50%, 140%);
  width: min(960px, calc(100% - 32px));
  z-index: 180;
  opacity: 0;
  visibility: hidden;
  transition: transform var(--transition-medium), opacity var(--transition-medium), visibility var(--transition-medium);
}

.cookie-banner.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
  visibility: visible;
}

.cookie-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 16px 36px rgba(0,0,0,.12);
}

.cookie-banner__content {
  flex: 1;
}

.cookie-banner__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 6px;
}

.cookie-banner__text {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.cookie-banner__text a {
  color: var(--green-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cookie-banner__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 10px 16px;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.cookie-banner__btn--secondary {
  color: var(--gray-700);
  background: var(--gray-100);
  border-color: var(--gray-200);
}

.cookie-banner__btn--secondary:hover {
  background: #fff;
  border-color: var(--gray-300);
}

.cookie-banner__btn--primary {
  color: #fff;
  background: var(--green);
}

.cookie-banner__btn--primary:hover {
  background: var(--green-dark);
}

.cookie-banner__btn:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 2px;
}

/* ==========================================================================
   Legal Pages
   ========================================================================== */

.legal-nav__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-500);
  text-decoration: none;
  transition: color var(--transition);
}

.legal-nav__back:hover {
  color: var(--green);
}

.legal-nav__back svg {
  transition: transform var(--transition);
}

.legal-nav__back:hover svg {
  transform: translateX(-3px);
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 120px 24px 80px;
}

.legal-content h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.3;
  margin-bottom: 8px;
}

.legal-content__meta {
  font-size: 0.875rem;
  color: var(--gray-400);
  padding-bottom: 24px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--gray-200);
}

.legal-content h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-top: 40px;
  margin-bottom: 12px;
}

.legal-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-top: 28px;
  margin-bottom: 8px;
}

.legal-content p {
  margin-bottom: 16px;
  color: var(--gray-600);
  line-height: 1.75;
}

.legal-content ul,
.legal-content ol {
  margin-bottom: 16px;
  padding-left: 24px;
  color: var(--gray-600);
}

.legal-content li {
  margin-bottom: 6px;
  line-height: 1.7;
}

.legal-content a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition);
}

.legal-content a:hover {
  color: var(--green-dark);
}

.legal-content strong {
  font-weight: 600;
  color: var(--gray-800);
}

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  font-size: 0.925rem;
}

.legal-content th,
.legal-content td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--gray-200);
  color: var(--gray-600);
}

.legal-content th {
  font-weight: 600;
  color: var(--gray-800);
  background: var(--gray-50);
}

@media (max-width: 768px) {
  .legal-content {
    padding-top: 100px;
    padding-bottom: 60px;
  }

  .legal-content h1 {
    font-size: 1.6rem;
  }

  .legal-content h2 {
    font-size: 1.2rem;
    margin-top: 32px;
  }
}

/* ==========================================================================
   Animations (scroll-triggered)
   ========================================================================== */

[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for grid items */
[data-animate][data-delay="1"] { transition-delay: 0.08s; }
[data-animate][data-delay="2"] { transition-delay: 0.16s; }
[data-animate][data-delay="3"] { transition-delay: 0.24s; }
[data-animate][data-delay="4"] { transition-delay: 0.32s; }
[data-animate][data-delay="5"] { transition-delay: 0.40s; }
[data-animate][data-delay="6"] { transition-delay: 0.48s; }

/* Hero-specific entrance animations */
.hero__content {
  opacity: 0;
  transform: translateY(32px);
  animation: hero-fade-in 0.9s cubic-bezier(.4,0,.2,1) 0.15s forwards;
}

.hero__visual {
  opacity: 0;
  transform: translateY(40px);
  animation: hero-fade-in 0.9s cubic-bezier(.4,0,.2,1) 0.4s forwards;
}

@keyframes hero-fade-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Feature showcase visual entrance */
.feature-showcase__visual {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(.4,0,.2,1), transform 0.8s cubic-bezier(.4,0,.2,1);
}

.feature-showcase--reverse .feature-showcase__visual {
  transform: translateX(-40px);
}

.feature-showcase__visual.visible {
  opacity: 1;
  transform: translateX(0);
}

.feature-showcase__content {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(.4,0,.2,1), transform 0.8s cubic-bezier(.4,0,.2,1);
}

.feature-showcase--reverse .feature-showcase__content {
  transform: translateX(40px);
}

.feature-showcase__content.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Section headers animate in */
.section-header {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
}

.section-header.visible {
  opacity: 1;
  transform: translateY(0);
}

/* PS cards animate in */
.ps-card {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(.4,0,.2,1),
              transform 0.7s cubic-bezier(.4,0,.2,1),
              box-shadow var(--transition-medium);
}

.ps-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.ps-card.visible:nth-child(2) {
  transition-delay: 0.12s;
}

/* Download section animation */
.download__inner {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
}

.download__inner.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Mid-page CTA banner
   ========================================================================== */

.mid-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--green-50) 0%, rgba(22,163,74,.04) 100%);
  border-top: 1px solid rgba(22,163,74,.08);
  border-bottom: 1px solid rgba(22,163,74,.08);
}

.mid-cta__inner {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.mid-cta__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 14px;
  letter-spacing: -0.025em;
}

.mid-cta__desc {
  font-size: 1.0625rem;
  color: var(--gray-500);
  margin-bottom: 32px;
  line-height: 1.7;
}

.mid-cta__buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 56px;
    text-align: center;
  }

  .hero__subtitle { margin: 0 auto 32px; }
  .hero__ctas { justify-content: center; }
  .hero__stats { justify-content: center; }

  .hero__float--savings { top: 5%; right: 10%; }
  .hero__float--alert { bottom: 10%; left: 10%; }

  .ps-grid { grid-template-columns: 1fr; }

  .feature-showcase,
  .feature-showcase--reverse {
    grid-template-columns: 1fr;
    gap: 48px;
    direction: ltr;
  }

  .feature-showcase__content { text-align: center; }
  .feature-showcase__list { align-items: center; }

  .feature-showcase__content,
  .feature-showcase--reverse .feature-showcase__content {
    transform: translateY(24px);
  }

  .feature-showcase__visual,
  .feature-showcase--reverse .feature-showcase__visual {
    transform: translateY(24px);
  }

  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .glance-grid { grid-template-columns: repeat(2, 1fr); }

  .hero { padding: 88px 0 48px; }
  .problem-solution,
  .features,
  .how-it-works,
  .at-a-glance { padding: 56px 0; }
  .download { padding: 56px 0; }
}

@media (max-width: 768px) {
  .nav__links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 8px;
    box-shadow: 0 12px 40px rgba(0,0,0,.08);
    border-bottom: 1px solid var(--gray-100);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  }

  .nav__links.active { display: flex; }
  .nav__hamburger { display: flex; }

  .nav__link {
    padding: 12px 16px;
    width: 100%;
    text-align: center;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav__link:hover {
    background: var(--gray-50);
  }

  .nav__link::after { display: none; }

  /* Theme toggle mobile */
  .theme-toggle {
    position: absolute;
    top: 50%;
    right: 90px;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
  }

  /* Language switcher mobile */
  .lang-switcher {
    position: absolute;
    top: 50%;
    right: 56px;
    transform: translateY(-50%);
  }

  .lang-switcher__btn {
    padding: 6px 10px 6px 8px;
    min-height: 34px;
    font-size: 0.75rem;
  }

  .lang-switcher__dropdown {
    right: 0;
    min-width: 152px;
    top: calc(100% + 12px);
  }

  .nav--scrolled .lang-switcher__btn {
    background: transparent;
    border-color: transparent;
  }

  .nav__store-btns {
    flex-direction: column;
    width: 100%;
    gap: 8px;
  }

  .nav__store-btn {
    justify-content: center;
    width: 100%;
    padding: 13px 20px;
    font-size: 0.875rem;
    min-height: 48px;
  }

  .hero {
    padding: 80px 0 40px;
    min-height: auto;
  }

  .problem-solution,
  .features,
  .how-it-works,
  .at-a-glance { padding: 48px 0; }
  .download { padding: 48px 0; }
  .section-header { margin-bottom: 36px; }

  .hero__phone-frame {
    width: 240px;
    height: 480px;
    border-radius: 32px;
  }

  .hero__phone-screen { border-radius: 24px; }
  .hero__phone-notch { width: 80px; height: 24px; }

  .hero__float { display: none; }

  .hero__stats {
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }

  .hero__stat-divider { display: none; }

  .hero__stat {
    min-width: 80px;
    text-align: center;
  }

  .features-grid { grid-template-columns: 1fr; }
  .glance-grid { grid-template-columns: 1fr; }

  .feature-card-grid { max-width: 320px; margin: 0 auto; }

  .footer__links { grid-template-columns: 1fr; gap: 24px; }

  /* Better touch targets for mobile */
  .btn--lg {
    padding: 16px 28px;
    min-height: 52px;
  }

  .store-badge {
    min-height: 56px;
    padding: 14px 24px;
  }

  .trust-bar__logos {
    gap: 16px;
  }

  .trust-bar__logo {
    font-size: 0.875rem;
    padding: 10px 14px;
  }

  .trust-bar__disclaimer {
    font-size: 0.75rem;
    line-height: 1.6;
  }

  .cookie-banner {
    width: calc(100% - 20px);
    bottom: 10px;
  }

  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 16px;
  }

  .cookie-banner__actions {
    width: 100%;
  }

  .cookie-banner__btn {
    flex: 1;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }

  .hero__title { font-size: 1.85rem; }
  .hero { padding: 72px 0 36px; }

  .hero__phone-frame {
    width: 220px;
    height: 440px;
  }

  .hero__ctas {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .hero__store-btn {
    justify-content: center;
    width: 100%;
  }

  .download__buttons { flex-direction: column; align-items: center; }
  .store-badge { width: 100%; max-width: 300px; justify-content: center; }

  .cookie-banner__actions {
    flex-direction: column-reverse;
  }

  .cookie-banner__btn {
    width: 100%;
  }

  .cookie-banner {
    max-height: 90vh;
    overflow-y: auto;
  }

  .trust-bar__disclaimer {
    font-size: 0.7rem;
  }

  .mid-cta__buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .mid-cta__buttons .btn {
    justify-content: center;
  }

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

  .feature-showcase {
    margin-bottom: 56px;
  }

  .features { padding: 40px 0; }
  .how-it-works { padding: 40px 0; }
  .at-a-glance { padding: 40px 0; }
  .download { padding: 40px 0; }
}

/* ==========================================================================
   Utility: Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  [data-animate] {
    opacity: 1;
    transform: none;
  }

  .hero__content,
  .hero__visual {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .feature-showcase__visual,
  .feature-showcase__content,
  .section-header,
  .ps-card,
  .download__inner {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   Print Styles
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  body {
    font-size: 12pt;
    line-height: 1.5;
  }

  .nav,
  .nav__hamburger,
  .hero__visual,
  .hero__float,
  .hero__bg-gradient,
  .hero__blob,
  .noise-overlay,
  .cookie-banner,
  .skip-link,
  .download__buttons,
  .store-badge,
  .feature-showcase__visual,
  .trust-bar {
    display: none !important;
  }

  .hero {
    min-height: auto !important;
    padding: 20px 0 !important;
  }

  .hero__inner {
    grid-template-columns: 1fr !important;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: #666 !important;
  }

  a[href^="#"]::after {
    content: "";
  }

  .container {
    max-width: 100%;
    padding: 0;
  }

  section {
    padding: 30px 0 !important;
    page-break-inside: avoid;
  }

  h1, h2, h3 {
    page-break-after: avoid;
  }

  .feature-showcase,
  .feature-showcase--reverse {
    grid-template-columns: 1fr !important;
    direction: ltr !important;
  }

  [data-animate] {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero__content,
  .section-header,
  .ps-card,
  .download__inner {
    opacity: 1 !important;
    transform: none !important;
  }
}
