/* Wandrly Website – Design System Synced with Flutter App */

/* Google Fonts - Serif for headlines (matches app's serif typography) */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800;900&family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  color-scheme: light;

  /* Colors - synced with Flutter app */
  --bg: #f8fafc;              /* slate-50 */
  --surface: #ffffff;
  --surface-secondary: #f1f5f9; /* slate-100 */
  --text: #1e293b;            /* slate-800 - app's primary text */
  --text-secondary: #94a3b8;  /* slate-400 - app's secondary text */
  --muted: #475569;           /* slate-600 */
  --muted-2: #64748b;         /* slate-500 */
  --border: #e2e8f0;          /* slate-200 - app's divider */
  --border-alpha: rgba(226, 232, 240, 0.8);

  /* Primary colors - exact match with Flutter app */
  --primary: #4f46e5;         /* indigo-600 - app's primary */
  --primary-light: #818cf8;   /* indigo-400 - app's secondary */
  --primary-dark: #3730a3;    /* indigo-800 */
  --accent: #8b5cf6;          /* violet-500 - app's tertiary */
  --cyan: #06b6d4;            /* cyan-500 */

  /* Indigo-tinted shadows - matching app */
  --shadow-sm: 0 4px 12px rgba(99, 102, 241, 0.08);
  --shadow-md: 0 12px 24px rgba(99, 102, 241, 0.10);
  --shadow-lg: 0 18px 40px rgba(99, 102, 241, 0.12);
  --shadow-xl: 0 24px 50px rgba(99, 102, 241, 0.15);

  /* Ring for focus states */
  --ring: rgba(79, 70, 229, 0.35);

  /* Spacing - synced with app */
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;          /* app's card radius */
  --radius-pill: 999px;       /* app's button radius */

  /* Typography */
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background:
    radial-gradient(900px 520px at 18% 8%, rgba(99, 102, 241, 0.18), transparent 55%),
    radial-gradient(820px 520px at 84% 20%, rgba(139, 92, 246, 0.12), transparent 55%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: rgba(99, 102, 241, 0.18);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 160ms ease;
}

a:hover {
  color: var(--primary);
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.9em;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid var(--border);
  padding: 0.1em 0.5em;
  border-radius: 8px;
}

img {
  max-width: 100%;
  height: auto;
}

/* ========================================
   LAYOUT
   ======================================== */

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

.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;
}

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 600ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-delay-1 { transition-delay: 100ms; }
.fade-up-delay-2 { transition-delay: 200ms; }
.fade-up-delay-3 { transition-delay: 300ms; }
.fade-up-delay-4 { transition-delay: 400ms; }
.fade-up-delay-5 { transition-delay: 500ms; }
.fade-up-delay-6 { transition-delay: 600ms; }

@media (prefers-reduced-motion: reduce) {
  .fade-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ========================================
   ICONS
   ======================================== */

.icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.icon--lg {
  width: 24px;
  height: 24px;
}

/* ========================================
   NAVIGATION
   ======================================== */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 16px 0;
  transition: background 220ms ease, padding 220ms ease, box-shadow 220ms ease;
}

.site-nav.is-scrolled {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border), var(--shadow-md);
  padding: 10px 0;
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 52px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.brand__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: grid;
  place-items: center;
  background: transparent;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.brand__icon-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.brand__name {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.nav-links a {
  color: var(--muted);
  padding: 8px 0;
}

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

.nav-links .store-badge {
  padding: 0;
  transform: scale(0.9);
}

.nav-links .store-badge:hover {
  color: inherit;
  transform: scale(0.9) translateY(-2px);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

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

.nav-mobile {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  padding: 16px;
}

.nav-mobile__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-mobile a {
  color: var(--muted);
  font-weight: 600;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  -webkit-tap-highlight-color: transparent;
}

.nav-mobile a:hover,
.nav-mobile a:active {
  background: rgba(99, 102, 241, 0.06);
  color: var(--primary);
}

.nav-mobile .btn {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

@media (max-width: 940px) {
  .nav-links {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.1px;
  box-shadow: var(--shadow-md);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  min-height: 48px;
}

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

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

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

.btn--primary {
  border: none;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.35);
}

.btn--primary:hover {
  box-shadow: 0 12px 32px rgba(79, 70, 229, 0.4);
}

.btn--secondary {
  background: rgba(255, 255, 255, 0.95);
}

.btn--ghost {
  background: transparent;
  box-shadow: none;
  border-color: transparent;
}

.btn--ghost:hover {
  background: rgba(99, 102, 241, 0.06);
  box-shadow: none;
}

/* ========================================
   STORE BADGES
   ======================================== */

.store-badge {
  --h: 52px;
  height: var(--h);
  width: calc(var(--h) * 3.4);
  max-width: 240px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-md);
  transition: transform 180ms ease, box-shadow 180ms ease;
  -webkit-tap-highlight-color: transparent;
}

.store-badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

.store-badge__img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transform: scale(1.15);
  transform-origin: center;
}

.store-badge--sm {
  --h: 44px;
}

.store-badge--lg {
  --h: 56px;
}

.store-badge--full {
  width: 100%;
  max-width: 280px;
  margin: 8px auto 0;
}


/* ========================================
   HERO SECTION
   ======================================== */

.hero {
  position: relative;
  padding: 140px 0 80px;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  pointer-events: none;
  animation: blob-float 20s ease-in-out infinite;
}

.blob--1 {
  width: 500px;
  height: 500px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.4), rgba(139, 92, 246, 0.3));
  top: -200px;
  right: -150px;
  animation-delay: 0s;
}

.blob--2 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(6, 182, 212, 0.25));
  bottom: -180px;
  left: -150px;
  animation-delay: -10s;
}

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

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: rgba(79, 70, 229, 0.08);
  border: 1px solid rgba(79, 70, 229, 0.15);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.15);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.15); }
  50% { box-shadow: 0 0 0 8px rgba(79, 70, 229, 0.08); }
}

.hero h1 {
  margin: 20px 0 16px;
  font-family: var(--font-serif);
  font-size: 56px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -1.5px;
  color: var(--text);
}

.hero h1 .accent {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  margin: 0;
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 540px;
}

.cta {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.highlights {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
}

.highlights li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.highlights .icon {
  width: 18px;
  height: 18px;
  color: var(--primary);
}

/* Hero Panel - App Preview Card */
.hero-panel {
  position: relative;
}

.hero-card {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-xl);
  padding: 20px;
  transition: transform 400ms cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px rgba(99, 102, 241, 0.18);
}

.hero-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.9);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1px;
}

.pill .icon {
  width: 16px;
  height: 16px;
}

.mini {
  display: grid;
  gap: 12px;
}

.mini-card {
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.95);
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.mini-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.mini-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(79, 70, 229, 0.1);
  color: var(--primary);
  flex-shrink: 0;
}

.mini-title {
  font-weight: 800;
  margin: 0;
  font-size: 14px;
  letter-spacing: -0.2px;
}

.mini-sub {
  margin: 3px 0 0;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 500;
}

.progress {
  height: 6px;
  background: rgba(99, 102, 241, 0.1);
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin-top: 10px;
}

.progress > span {
  display: block;
  height: 100%;
  width: var(--w, 60%);
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
}

@media (max-width: 940px) {
  .hero {
    padding-top: 120px;
    padding-bottom: 60px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero h1 {
    font-size: 40px;
    letter-spacing: -1px;
  }
  .hero-copy {
    text-align: center;
  }
  .lead {
    margin: 0 auto;
  }
  .cta,
  .highlights {
    justify-content: center;
  }
  .hero-panel {
    max-width: 420px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 32px;
  }
  .lead {
    font-size: 16px;
  }
}

/* ========================================
   SECTIONS
   ======================================== */

.section {
  padding: 90px 0;
}

.section--white {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section--alt {
  background: var(--surface-secondary);
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px;
}

.section-head h2 {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.8px;
  color: var(--text);
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

/* ========================================
   FEATURES
   ======================================== */

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

.feature {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 250ms cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 250ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

.feature__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: rgba(79, 70, 229, 0.1);
  color: var(--primary);
}

.feature__icon .icon {
  width: 26px;
  height: 26px;
}

/* Feature icon color variations */
.feature:nth-child(2) .feature__icon {
  background: rgba(139, 92, 246, 0.1);
  color: var(--accent);
}

.feature:nth-child(3) .feature__icon {
  background: rgba(6, 182, 212, 0.1);
  color: var(--cyan);
}

.feature:nth-child(4) .feature__icon {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
}

.feature:nth-child(5) .feature__icon {
  background: rgba(249, 115, 22, 0.1);
  color: #f97316;
}

.feature:nth-child(6) .feature__icon {
  background: rgba(236, 72, 153, 0.1);
  color: #ec4899;
}

.feature h3 {
  margin: 0 0 10px;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--text);
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

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

@media (max-width: 600px) {
  .features {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   SOCIAL PROOF SECTION
   ======================================== */

.social-proof {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--surface-secondary) 0%, var(--bg) 100%);
}

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

.stat {
  text-align: center;
  padding: 32px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 250ms ease, box-shadow 250ms ease;
}

.stat:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.stat__number {
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -1px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
  margin-bottom: 8px;
}

.stat__label {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.2px;
}

.trust-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
}

.trust-badge .icon {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

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

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .stat__number {
    font-size: 36px;
  }
  .trust-badges {
    gap: 24px;
  }
}

/* ========================================
   APP PREVIEW / PHONE CAROUSEL
   ======================================== */

.preview-wrap {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.phone {
  width: 320px;
  height: 677px;
  border: 12px solid #1e293b;
  background: #1e293b;
  border-radius: 48px;
  box-shadow: 0 40px 80px rgba(30, 41, 59, 0.25), var(--shadow-xl);
  position: relative;
  transform: rotate(-2deg);
  transition: transform 400ms cubic-bezier(0.16, 1, 0.3, 1);
  touch-action: pan-y pinch-zoom;
}

.phone:hover {
  transform: rotate(0deg) scale(1.02);
}

@media (max-width: 420px) {
  .phone {
    width: 88vw;
    height: calc(88vw * 677 / 320);
    border-width: 10px;
  }
}

.phone__notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 130px;
  height: 28px;
  background: #1e293b;
  border-radius: 0 0 18px 18px;
  z-index: 2;
}

.phone__screen {
  width: 100%;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: var(--surface);
}

.phone-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.phone-carousel__track {
  display: flex;
  width: 100%;
  height: 100%;
  transform: translateX(calc(var(--index, 0) * -100%));
  transition: transform 500ms cubic-bezier(0.32, 0.72, 0, 1);
  will-change: transform;
}

.phone-carousel__track.is-dragging {
  transition: none;
}

.phone-carousel__slide {
  flex: 0 0 100%;
  height: 100%;
  display: flex;
  align-items: stretch;
  justify-content: center;
  background: var(--surface);
  user-select: none;
}

.phone-carousel__img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: var(--surface);
  pointer-events: none;
}

/* Placeholder slides for new screenshots */
.phone-carousel__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px;
  text-align: center;
  background: linear-gradient(
    180deg,
    rgba(99, 102, 241, 0.08) 0%,
    rgba(139, 92, 246, 0.05) 50%,
    var(--surface) 100%
  );
}

.phone-carousel__placeholder-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary);
  margin-bottom: 16px;
}

.phone-carousel__placeholder-icon .icon {
  width: 32px;
  height: 32px;
}

.phone-carousel__placeholder-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 8px;
}

.phone-carousel__placeholder-text {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  max-width: 200px;
}

.phone-carousel__dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
}

.phone-carousel__dot {
  appearance: none;
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  display: inline-block;
  background: rgba(30, 41, 59, 0.2);
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
  -webkit-tap-highlight-color: transparent;
}

.phone-carousel__dot:hover {
  background: rgba(30, 41, 59, 0.35);
}

.phone-carousel__dot.is-active {
  transform: scale(1.25);
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.phone-carousel__dot:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .phone-carousel__track {
    transition: none;
  }
}

/* ========================================
   CTA BAND
   ======================================== */

.cta-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(800px 500px at 20% 20%, rgba(99, 102, 241, 0.3), transparent 60%),
    radial-gradient(700px 450px at 85% 40%, rgba(139, 92, 246, 0.2), transparent 60%),
    linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  padding: 100px 0;
}

.cta-band h2 {
  margin: 0 0 16px;
  font-family: var(--font-serif);
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.1;
}

.cta-band p {
  margin: 0 auto 28px;
  max-width: 600px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  font-size: 17px;
}

.cta-band .cta {
  justify-content: center;
}

.cta-band .btn--secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-band .btn--secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

@media (max-width: 940px) {
  .cta-band {
    padding: 80px 0;
  }
  .cta-band h2 {
    font-size: 34px;
  }
}

@media (max-width: 480px) {
  .cta-band h2 {
    font-size: 28px;
  }
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
  background: rgba(255, 255, 255, 0.8);
  border-top: 1px solid var(--border);
  padding: 50px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: start;
}

.footer p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: flex-end;
  align-items: center;
}

.footer-links a {
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
  padding: 6px 0;
}

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

.footer-links .store-badge {
  padding: 0;
}

.footer-links .store-badge:hover {
  color: inherit;
}

.footer-bottom {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted-2);
  font-size: 13px;
  font-weight: 500;
}

@media (max-width: 940px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-links {
    justify-content: flex-start;
  }
}

/* ========================================
   LEGAL PAGES
   ======================================== */

.legal {
  padding-top: 140px;
  padding-bottom: 80px;
}

.legal-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}

.legal-card h1 {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.8px;
}

.legal-card h2 {
  margin-top: 28px;
  margin-bottom: 12px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.legal-card h3 {
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 700;
}

.legal-card p,
.legal-card li {
  line-height: 1.7;
  color: var(--muted);
}

.muted {
  color: var(--muted);
}

.callout {
  margin: 20px 0;
  border: 1px solid var(--border);
  background: rgba(99, 102, 241, 0.04);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}

/* ========================================
   UTILITIES
   ======================================== */

.text-center {
  text-align: center;
}

.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
