/* ============================================================
   Smart Ministry — Stylesheet  (Light + Dark Mode)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400&display=swap');

/* ── DARK MODE (default) ─────────────────────────────────── */
:root {
  /* Brand */
  --primary:        #5227FF;
  --primary-dark:   #3a10e0;
  --primary-deeper: #290aab;
  --secondary:      #F59E0B;
  --success:        #059669;
  --cyan:           #0891B2;
  --purple:         #7C3AED;

  /* Backgrounds */
  --bg-dark:    #0B1120;
  --bg-darker:  #060B18;
  --card-dark:  #16213E;
  --card-darker:#0F1729;
  --border-dark:#1E3A5F;
  --border-subtle: rgba(255,255,255,0.07);

  /* Text */
  --text-primary:   #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted:     #64748B;

  /* Gradients */
  --gradient-hero:    linear-gradient(135deg, #0B1120 0%, #0F1C3F 50%, #290aab 100%);
  --gradient-card:    linear-gradient(145deg, #16213E, #0F1729);
  --gradient-primary: linear-gradient(135deg, #5227FF, #3a10e0);
  --gradient-glow:    radial-gradient(ellipse at top, rgba(82,39,255,0.15) 0%, transparent 70%);
  --gradient-heading: linear-gradient(135deg, #F8FAFC 30%, #93C5FD 100%);
  --gradient-heading-green: linear-gradient(135deg, #F8FAFC, #6EE7B7);

  /* Shadows */
  --shadow-sm:   0 2px 8px  rgba(0,0,0,0.30);
  --shadow-md:   0 8px 32px rgba(0,0,0,0.40);
  --shadow-lg:   0 16px 64px rgba(0,0,0,0.50);
  --shadow-glow: 0 0 40px rgba(82,39,255,0.28);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.30);

  /* Navbar */
  --navbar-scrolled-bg:  rgba(11,17,32,0.92);
  --mobile-menu-bg:      rgba(11,17,32,0.97);

  /* Components */
  --store-btn-bg:     rgba(255,255,255,0.07);
  --store-btn-border: rgba(255,255,255,0.14);
  --privacy-card-bg:  rgba(15,23,41,0.8);
  --offline-pill-bg:  rgba(255,255,255,0.05);
  --offline-pill-bd:  rgba(255,255,255,0.10);
  --legal-highlight:  rgba(82,39,255,0.08);
  --legal-pp-bg:      rgba(5,150,105,0.10);
  --legal-pp-border:  rgba(5,150,105,0.25);
  --legal-pp-color:   #6EE7B7;
  --legal-tc-bg:      rgba(82,39,255,0.10);
  --legal-tc-border:  rgba(82,39,255,0.25);
  --legal-tc-color:   #93C5FD;
  --privacy-banner-bg: linear-gradient(135deg, rgba(5,150,105,0.12), rgba(82,39,255,0.12));
  --privacy-banner-bd: rgba(5,150,105,0.25);
  --check-color:      #34D399;
  --svg-fill:         white;

  /* Misc */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ── LIGHT MODE ──────────────────────────────────────────── */
[data-theme="light"] {
  --bg-dark:    #F1F5F9;
  --bg-darker:  #E2E8F0;
  --card-dark:  #FFFFFF;
  --card-darker:#F8FAFC;
  --border-dark:#CBD5E1;
  --border-subtle: rgba(0,0,0,0.06);

  --text-primary:   #0F172A;
  --text-secondary: #475569;
  --text-muted:     #94A3B8;

  --gradient-hero:    linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 60%, #C7D2FE 100%);
  --gradient-card:    linear-gradient(145deg, #FFFFFF, #F8FAFC);
  --gradient-glow:    radial-gradient(ellipse at top, rgba(82,39,255,0.07) 0%, transparent 70%);
  --gradient-heading: linear-gradient(135deg, #0F172A 30%, #3a10e0 100%);
  --gradient-heading-green: linear-gradient(135deg, #0F172A, #059669);

  --shadow-sm:   0 2px 8px  rgba(0,0,0,0.07);
  --shadow-md:   0 8px 32px rgba(0,0,0,0.10);
  --shadow-lg:   0 16px 64px rgba(0,0,0,0.12);
  --shadow-glow: 0 0 40px rgba(82,39,255,0.14);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.08);

  --navbar-scrolled-bg:  rgba(255,255,255,0.95);
  --mobile-menu-bg:      rgba(255,255,255,0.99);

  --store-btn-bg:     rgba(82,39,255,0.07);
  --store-btn-border: rgba(82,39,255,0.20);
  --privacy-card-bg:  #FFFFFF;
  --offline-pill-bg:  rgba(82,39,255,0.06);
  --offline-pill-bd:  rgba(82,39,255,0.18);
  --legal-highlight:  rgba(82,39,255,0.05);
  --legal-pp-bg:      rgba(5,150,105,0.07);
  --legal-pp-border:  rgba(5,150,105,0.20);
  --legal-pp-color:   #047857;
  --legal-tc-bg:      rgba(82,39,255,0.07);
  --legal-tc-border:  rgba(82,39,255,0.20);
  --legal-tc-color:   #3a10e0;
  --privacy-banner-bg: linear-gradient(135deg, rgba(5,150,105,0.06), rgba(82,39,255,0.06));
  --privacy-banner-bd: rgba(5,150,105,0.20);
  --check-color:      #059669;
  --svg-fill:         #0F172A;
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color .4s, color .4s;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-darker); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ── Utilities ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(82,39,255,0.12);
  border: 1px solid rgba(82,39,255,0.25);
  color: var(--primary);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  background: var(--gradient-heading);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 52px;
  line-height: 1.7;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 12px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient-primary);
  color: #fff !important;
  box-shadow: 0 4px 20px rgba(82,39,255,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(82,39,255,.5); }

.btn-secondary {
  background: var(--card-dark);
  color: var(--text-primary);
  border: 1px solid var(--border-dark);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid rgba(82,39,255,.4);
}
.btn-outline:hover { background: rgba(82,39,255,.08); border-color: var(--primary); transform: translateY(-2px); }

/* ── Theme Toggle ── */
.theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--card-dark);
  border: 1.5px solid var(--border-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.theme-toggle:hover {
  border-color: var(--primary);
  transform: rotate(20deg) scale(1.08);
  box-shadow: 0 0 16px rgba(82,39,255,.25);
}
.theme-toggle-icon { display: block; line-height: 1; }

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 14px 0;
  transition: var(--transition);
}
.navbar.scrolled {
  background: var(--navbar-scrolled-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-dark);
  padding: 10px 0;
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-icon {
  width: 40px; height: 40px;
  background: var(--gradient-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 16px rgba(82,39,255,.4);
  flex-shrink: 0;
  overflow: hidden;
}
.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.logo-text {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  background: var(--gradient-heading);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}
.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: .9rem;
  padding: 8px 12px;
  border-radius: 8px;
  transition: var(--transition);
}
.nav-links a:hover { color: var(--text-primary); background: var(--border-subtle); }
.nav-links .btn { padding: 9px 18px; font-size: .88rem; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  padding: 110px 0 70px;
  position: relative;
  overflow: hidden;
  transition: background .4s;
}
.hero-bg-glow {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 600px;
  background: radial-gradient(ellipse, rgba(82,39,255,.18) 0%, transparent 70%);
  pointer-events: none;
}
[data-theme="light"] .hero-bg-glow {
  background: radial-gradient(ellipse, rgba(82,39,255,.09) 0%, transparent 70%);
}
.hero-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(82,39,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(82,39,255,.06) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero-orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(82,39,255,.22), transparent 70%);
  top: -100px; right: -100px;
  opacity: .5;
}
.hero-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(245,158,11,.15), transparent 70%);
  bottom: -100px; left: -50px;
  opacity: .5;
}
[data-theme="light"] .hero-orb-1 { opacity: .25; }
[data-theme="light"] .hero-orb-2 { opacity: .25; }

.hero-content {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,158,11,.15);
  border: 1px solid rgba(245,158,11,.3);
  color: #D97706;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}
[data-theme="dark"] .hero-badge { color: #FCD34D; }

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--text-primary);
}
.hero-title .highlight {
  background: linear-gradient(135deg, #5227FF, #3a10e0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
[data-theme="dark"] .hero-title .highlight {
  background: linear-gradient(135deg, #60A5FA, #5227FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-title .highlight-amber {
  background: linear-gradient(135deg, #F59E0B, #D97706);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-description {
  font-size: 1.08rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 500px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--store-btn-bg);
  border: 1px solid var(--store-btn-border);
  border-radius: 14px;
  padding: 11px 18px;
  text-decoration: none;
  color: var(--text-primary);
  transition: var(--transition);
}
.store-btn:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
  background: rgba(82,39,255,.1);
}
.store-btn svg path { fill: var(--svg-fill); }
.store-btn-text { line-height: 1.25; }
.store-btn-label { font-size: .68rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.store-btn-name  { font-size: .95rem; font-weight: 800; color: var(--text-primary); }

.hero-stats { display: flex; gap: 28px; flex-wrap: wrap; }
.hero-stat  { text-align: left; }
.hero-stat-value {
  font-size: 1.7rem;
  font-weight: 900;
  background: var(--gradient-heading);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat-label { font-size: .75rem; color: var(--text-muted); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }

/* ── Phone Mockup & Realistic Shell ── */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  perspective: 1000px;
}
.phone-mockup {
  width: 280px; height: 560px;
  background: var(--gradient-card);
  border-radius: 44px;
  border: 12px solid #0f172a; /* Realistic bezelless thick border */
  box-shadow: var(--shadow-lg), 0 0 40px rgba(82,39,255,0.15), inset 0 0 0 1px rgba(255,255,255,0.08);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s;
}
[data-theme="light"] .phone-mockup {
  border-color: #f1f5f9;
  box-shadow: var(--shadow-lg), 0 20px 50px rgba(82,39,255,0.08), inset 0 0 0 1px rgba(0,0,0,0.05);
}
.phone-mockup:hover {
  transform: translateY(-5px) rotateY(-3deg) rotateX(3deg);
  box-shadow: var(--shadow-lg), 0 25px 60px rgba(82,39,255,0.25);
}
.phone-notch {
  width: 100px; height: 28px;
  background: #0f172a;
  border-radius: 0 0 18px 18px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}
[data-theme="light"] .phone-notch {
  background: #f1f5f9;
}
.phone-screen {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.phone-header { display: flex; justify-content: space-between; align-items: center; }
.phone-app-title { font-size: .9rem; font-weight: 800; color: var(--text-primary); }
.phone-timer-card {
  background: var(--gradient-primary);
  border-radius: 18px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 10px 24px rgba(82,39,255,.35);
}
.phone-timer-label { font-size: .65rem; color: rgba(255,255,255,.7); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; margin-bottom: 6px; }
.phone-timer-value { font-size: 2rem; font-weight: 900; color: #fff; font-variant-numeric: tabular-nums; letter-spacing: 2px; }
.phone-controls { display: flex; gap: 8px; justify-content: center; margin-top: 10px; }
.phone-btn { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .9rem; cursor: pointer; transition: transform 0.2s; }
.phone-btn:hover { transform: scale(1.1); }
.phone-btn-primary { background: rgba(255,255,255,.25); }
.phone-btn-danger  { background: rgba(220,38,38,.5); }
.phone-stats-grid  { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.phone-stat-card {
  background: var(--border-subtle);
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  padding: 12px;
  transition: background .4s, border-color .4s, transform 0.3s;
}
.phone-stat-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.02);
}
[data-theme="light"] .phone-stat-card:hover {
  background: rgba(82,39,255,0.02);
}
.phone-stat-icon   { font-size: .95rem; margin-bottom: 3px; }
.phone-stat-number { font-size: 1.05rem; font-weight: 800; color: var(--text-primary); }
.phone-stat-text   { font-size: .65rem; color: var(--text-muted); font-weight: 600; }
.phone-bottom-nav  { display: flex; justify-content: space-around; padding: 12px 8px; border-top: 1px solid var(--border-dark); }
.nav-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--text-muted); }
.nav-dot.active { background: var(--primary); box-shadow: 0 0 7px rgba(82,39,255,.55); }

/* ── Interactive Floating Cards ── */
.phone-float-card {
  position: absolute;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25), 0 0 20px rgba(82, 39, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 5;
}
[data-theme="light"] .phone-float-card {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(82, 39, 255, 0.1);
  box-shadow: 0 20px 40px rgba(82, 39, 255, 0.05), 0 0 20px rgba(82, 39, 255, 0.05);
}
.phone-float-card:hover {
  transform: scale(1.05) !important;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35), 0 0 30px rgba(82, 39, 255, 0.15);
}
.float-left {
  left: -48px;
  top: 110px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float 6s ease-in-out infinite;
}
.float-right {
  right: -58px;
  bottom: 150px;
  animation: float-delayed 6s ease-in-out infinite;
}
.float-icon  { width: 38px; height: 38px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.float-label { font-size: .7rem; color: var(--text-muted); font-weight: 600; }
.float-value { font-size: .95rem; font-weight: 800; color: var(--text-primary); }

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

/* ── Features Card Styling Redesign ── */
.features { padding: 120px 0; position: relative; }
.features::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-dark), transparent);
}
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* Responsive adjustments for features grid */
@media (max-width: 900px) {
  .features-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
}

.feature-card {
  background: rgba(22, 33, 62, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 36px 32px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.4s, box-shadow 0.4s;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
[data-theme="light"] .feature-card {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(82, 39, 255, 0.06);
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), #a855f7);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.feature-card:hover {
  border-color: rgba(82, 39, 255, 0.35);
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25), 0 0 30px rgba(82, 39, 255, 0.12);
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: var(--shadow-sm);
}
.feature-card:hover .feature-icon {
  transform: rotate(10deg) scale(1.1);
}

.icon-blue   { background: rgba(82, 39, 255, 0.12); border: 1px solid rgba(82, 39, 255, 0.25); color: var(--primary); }
.icon-amber  { background: rgba(245, 158, 11, 0.12); border: 1px solid rgba(245, 158, 11, 0.25); color: var(--secondary); }
.icon-green  { background: rgba(5, 150, 105, 0.12); border: 1px solid rgba(5, 150, 105, 0.25); color: var(--success); }
.icon-purple { background: rgba(124, 58, 237, 0.12); border: 1px solid rgba(124, 58, 237, 0.25); color: var(--purple); }
.icon-cyan   { background: rgba(8, 145, 178, 0.12); border: 1px solid rgba(8, 145, 178, 0.25); color: var(--cyan); }
.icon-red    { background: rgba(220, 38, 38, 0.12); border: 1px solid rgba(220, 38, 38, 0.25); color: #dc2626; }

.feature-title { font-size: 1.15rem; font-weight: 800; margin-bottom: 12px; color: var(--text-primary); }
.feature-desc  { font-size: .92rem; color: var(--text-secondary); line-height: 1.65; }

/* ── Privacy Banner ── */
.privacy-banner { padding: 72px 0; }
.privacy-banner-inner {
  background: var(--privacy-banner-bg);
  border: 1px solid var(--privacy-banner-bd);
  border-radius: var(--radius-xl);
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.privacy-banner-inner::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(5,150,105,.08), transparent 70%);
  pointer-events: none;
}
.privacy-shield {
  width: 72px; height: 72px;
  background: rgba(5,150,105,.15);
  border: 1px solid rgba(5,150,105,.35);
  border-radius: 22px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  box-shadow: 0 0 28px rgba(5,150,105,.12);
}
.privacy-title {
  font-size: 1.85rem;
  font-weight: 900;
  margin-bottom: 14px;
  background: var(--gradient-heading-green);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.privacy-desc { color: var(--text-secondary); font-size: .97rem; line-height: 1.7; margin-bottom: 24px; }
.privacy-points { display: flex; flex-direction: column; gap: 13px; }
.privacy-point  { display: flex; align-items: flex-start; gap: 12px; }
.privacy-check  {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(5,150,105,.15);
  border: 1px solid rgba(5,150,105,.4);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  font-size: .68rem;
  color: var(--check-color);
}
.privacy-point-text         { font-size: .93rem; color: var(--text-secondary); line-height: 1.55; }
.privacy-point-text strong  { color: var(--text-primary); }
.privacy-offline-card {
  background: var(--privacy-card-bg);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: background .4s, border-color .4s;
}
.offline-icon-row  { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.offline-icon-pill {
  display: flex; align-items: center; gap: 7px;
  background: var(--offline-pill-bg);
  border: 1px solid var(--offline-pill-bd);
  border-radius: 100px;
  padding: 7px 14px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--text-primary);
}
.offline-icon-pill span { font-size: .95rem; }
.offline-title { font-size: 1.05rem; font-weight: 800; margin-bottom: 9px; color: var(--text-primary); }
.offline-desc  { font-size: .88rem; color: var(--text-secondary); line-height: 1.6; }
.offline-internet-section {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-dark);
}
.offline-internet-label { font-size: .78rem; color: var(--text-muted); margin-bottom: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.offline-internet-item  { display: flex; align-items: center; gap: 9px; font-size: .88rem; color: var(--text-secondary); margin-bottom: 7px; }

/* ── How It Works ── */
.how-it-works { padding: 120px 0; background: linear-gradient(180deg, transparent, rgba(82,39,255,.03) 50%, transparent); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 22px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 35px;
  left: calc(12.5% + 28px);
  right: calc(12.5% + 28px);
  height: 2px;
  background: linear-gradient(90deg, var(--primary), rgba(82,39,255,.1));
}
.step-card { text-align: center; position: relative; }
.step-number {
  width: 52px; height: 52px;
  background: var(--gradient-primary);
  border-radius: 15px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem; font-weight: 900; color: #fff;
  margin: 0 auto 18px;
  box-shadow: 0 4px 18px rgba(82,39,255,.35);
  position: relative; z-index: 1;
}
.step-title { font-size: .97rem; font-weight: 800; margin-bottom: 8px; color: var(--text-primary); }
.step-desc  { font-size: .88rem; color: var(--text-secondary); line-height: 1.6; }

/* ── App Preview ── */
.app-preview { padding: 120px 0; }
.preview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.preview-features { display: flex; flex-direction: column; gap: 14px; }
.preview-feature {
  display: flex; gap: 18px;
  padding: 20px 22px;
  background: var(--gradient-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.preview-feature:hover { border-color: rgba(82,39,255,.3); transform: translateX(5px); box-shadow: var(--shadow-card); }
.preview-feature-icon  { width: 46px; height: 46px; border-radius: 13px; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; flex-shrink: 0; }
.preview-feature-title { font-size: .97rem; font-weight: 800; margin-bottom: 3px; color: var(--text-primary); }
.preview-feature-desc  { font-size: .88rem; color: var(--text-secondary); line-height: 1.5; }
.preview-phones        { display: flex; gap: 18px; justify-content: center; align-items: flex-start; }
.mini-phone {
  width: 158px;
  background: var(--gradient-card);
  border: 1px solid var(--border-dark);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: background .4s, border-color .4s;
}
.mini-phone:first-child { margin-top: 38px; }
.mini-phone-inner  { padding: 11px; }
.mini-phone-notch  { width: 58px; height: 17px; background: var(--bg-darker); border-radius: 0 0 11px 11px; margin: 0 auto 9px; }
.mini-screen-chart { background: rgba(82,39,255,.08); border-radius: 9px; padding: 9px; margin-bottom: 7px; height: 76px; display: flex; align-items: flex-end; gap: 4px; overflow: hidden; }
.chart-bar         { flex: 1; border-radius: 3px 3px 0 0; background: var(--gradient-primary); opacity: .85; }
.mini-screen-map   { background: rgba(8,145,178,.08); border-radius: 9px; height: 86px; margin-bottom: 7px; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.map-dot           { width: 12px; height: 12px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.mini-label        { font-size: .62rem; color: var(--text-muted); font-weight: 700; text-align: center; text-transform: uppercase; letter-spacing: .06em; padding: 3px 0 7px; }

/* ── CTA ── */
.cta { padding: 120px 0; }
.cta-inner {
  background: linear-gradient(135deg, #290aab 0%, #5227FF 50%, #3a10e0 100%);
  border-radius: var(--radius-xl);
  padding: 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(82,39,255,.28), var(--shadow-lg);
}
.cta-inner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(255,255,255,.07) 0%, transparent 50%),
              radial-gradient(ellipse at 80% 50%, rgba(255,255,255,.05) 0%, transparent 50%);
  pointer-events: none;
}
.cta-inner::after {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,.06), transparent 70%);
  pointer-events: none;
}
.cta-title    { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; color: #fff; margin-bottom: 14px; position: relative; }
.cta-subtitle { font-size: 1.05rem; color: rgba(255,255,255,.8); margin-bottom: 44px; max-width: 480px; margin-left: auto; margin-right: auto; position: relative; }
.cta-buttons  { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }
.cta-store-btn {
  display: flex; align-items: center; gap: 11px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 13px;
  padding: 13px 22px;
  text-decoration: none;
  color: #fff !important;
  transition: var(--transition);
}
.cta-store-btn .store-btn-name {
  color: #fff !important;
}
.cta-store-btn .store-btn-label {
  color: rgba(255, 255, 255, 0.72) !important;
}
.cta-store-btn svg path {
  fill: #fff !important;
}
.cta-store-btn:hover { background: rgba(255,255,255,.24); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.22); }

/* ── Footer ── */
.footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--border-dark);
  padding: 56px 0 28px;
  transition: background .4s, border-color .4s;
}
.footer-grid   { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 44px; margin-bottom: 44px; }
.footer-brand .logo-text-wrap { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-desc   { font-size: .93rem; color: var(--text-secondary); line-height: 1.7; max-width: 300px; }
.footer-heading{ font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); margin-bottom: 14px; }
.footer-links  { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-links a { color: var(--text-secondary); text-decoration: none; font-size: .93rem; font-weight: 600; transition: var(--transition); }
.footer-links a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid var(--border-dark); padding-top: 22px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer-copy   { font-size: .82rem; color: var(--text-muted); }
.footer-legal  { display: flex; gap: 22px; }
.footer-legal a { font-size: .82rem; color: var(--text-muted); text-decoration: none; transition: var(--transition); }
.footer-legal a:hover { color: var(--primary); }

/* ── Legal Pages ── */
.legal-hero {
  padding: 130px 0 52px;
  background: var(--gradient-hero);
  position: relative; overflow: hidden;
  transition: background .4s;
}
.legal-hero::before { content: ''; position: absolute; inset: 0; background: var(--gradient-glow); pointer-events: none; }
.legal-hero-content { position: relative; z-index: 1; }
.legal-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(82,39,255,.12);
  border: 1px solid rgba(82,39,255,.25);
  color: var(--primary);
  font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 7px 15px; border-radius: 100px; margin-bottom: 18px;
}
.legal-title {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 900; margin-bottom: 14px;
  background: var(--gradient-heading);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.legal-updated { font-size: .88rem; color: var(--text-muted); font-weight: 600; }
.legal-content { padding: 56px 0 90px; }
.legal-container { max-width: 840px; margin: 0 auto; padding: 0 24px; }

.legal-intro-box {
  border-radius: 14px;
  padding: 22px 26px;
  margin-bottom: 36px;
  display: flex; gap: 14px; align-items: flex-start;
}
.legal-intro-box.pp { background: var(--legal-pp-bg); border: 1px solid var(--legal-pp-border); }
.legal-intro-box.tc { background: var(--legal-tc-bg); border: 1px solid var(--legal-tc-border); }
.legal-intro-title-pp { font-size: .97rem; font-weight: 800; color: var(--legal-pp-color); margin-bottom: 5px; }
.legal-intro-title-tc { font-size: .97rem; font-weight: 800; color: var(--legal-tc-color); margin-bottom: 5px; }
.legal-intro-desc     { font-size: .93rem; color: var(--text-secondary); line-height: 1.7; margin: 0; }

.legal-section {
  margin-bottom: 36px; padding: 28px;
  background: var(--gradient-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.legal-section:hover { border-color: rgba(82,39,255,.22); box-shadow: var(--shadow-card); }
.legal-section-header { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.legal-section-num {
  width: 34px; height: 34px;
  background: rgba(82,39,255,.12);
  border: 1px solid rgba(82,39,255,.22);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: .82rem; font-weight: 800; color: var(--primary);
  flex-shrink: 0; margin-top: 2px;
}
.legal-section-title  { font-size: 1.12rem; font-weight: 800; color: var(--text-primary); }
.legal-section p      { font-size: .95rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 11px; }
.legal-section p:last-child { margin-bottom: 0; }
.legal-section ul, .legal-section ol { padding-left: 20px; margin-bottom: 11px; }
.legal-section li     { font-size: .95rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 5px; }
.legal-section li::marker { color: var(--primary); }
.legal-highlight {
  background: var(--legal-highlight);
  border-left: 3px solid var(--primary);
  border-radius: 0 8px 8px 0;
  padding: 14px 18px; margin: 14px 0;
}
.legal-highlight p { margin: 0 !important; color: var(--text-primary) !important; font-weight: 600 !important; }

/* ══════════════════ RESPONSIVE ═══════════════════════════ */

/* ── Tablet (≤1024px) ── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2,1fr); }
  .steps-grid { grid-template-columns: repeat(2,1fr); }
  .steps-grid::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .privacy-banner-inner { padding: 44px 36px; gap: 40px; }
}

/* ── Mobile (≤768px) ── */
@media (max-width: 768px) {
  /* Nav */
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--mobile-menu-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-dark);
    padding: 12px 16px 16px;
    gap: 2px;
    box-shadow: var(--shadow-md);
  }
  .nav-links.open li { width: 100%; }
  .nav-links.open a  { display: block; padding: 12px 14px; font-size: .97rem; }
  .nav-links.open .btn { margin-top: 4px; justify-content: center; }

  /* Hero */
  .hero { padding: 90px 0 56px; }
  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual  { order: -1; }
  .phone-mockup { width: 230px; height: 460px; }
  .phone-float-card { display: none; }
  .hero-title   { font-size: 2.2rem; }
  .hero-actions { flex-direction: row; }
  .hero-stats   { gap: 20px; }

  /* Sections */
  .features     { padding: 64px 0; }
  .features-grid{ grid-template-columns: 1fr; }
  .privacy-banner { padding: 52px 0; }
  .privacy-banner-inner { grid-template-columns: 1fr; gap: 28px; padding: 32px 24px; }
  .how-it-works { padding: 64px 0; }
  .steps-grid   { grid-template-columns: repeat(2,1fr); gap: 18px; }
  .app-preview  { padding: 64px 0; }
  .preview-grid { grid-template-columns: 1fr; }
  .preview-phones { display: none; }
  .cta { padding: 64px 0; }
  .cta-inner { padding: 48px 24px; }

  /* Footer — brand full-width, Nav + Legal side-by-side */
  .footer { padding: 44px 0 24px; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-bottom: 28px;
  }
  .footer-brand {
    grid-column: 1 / -1;
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-dark);
  }
  .footer-brand .footer-desc { max-width: 100%; }
  .footer-grid > div:not(.footer-brand):first-of-type {
    padding-right: 20px;
    border-right: 1px solid var(--border-dark);
  }
  .footer-grid > div:not(.footer-brand):last-of-type {
    padding-left: 20px;
  }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; gap: 10px; }
  .footer-legal  { justify-content: center; flex-wrap: wrap; gap: 14px; }

  /* Legal */
  .legal-hero   { padding: 110px 0 44px; }
  .legal-content { padding: 40px 0 70px; }
  .legal-section { padding: 22px 20px; }
}

/* ── Small phones (≤480px) ── */
@media (max-width: 480px) {
  .container { padding: 0 16px; }

  /* Nav */
  .logo-text { font-size: 1rem; }
  .theme-toggle { width: 38px; height: 38px; font-size: 1rem; }

  /* Hero */
  .hero { padding: 80px 0 48px; }
  .hero-title { font-size: 1.9rem; }
  .hero-description { font-size: 1rem; }
  .phone-mockup { width: 200px; height: 410px; }
  .phone-timer-value { font-size: 1.55rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .store-btn { justify-content: center; }
  .hero-stats { gap: 16px; }
  .hero-stat-value { font-size: 1.4rem; }

  /* Sections */
  .features    { padding: 52px 0; }
  .feature-card { padding: 22px 18px; }
  .how-it-works { padding: 52px 0; }
  .steps-grid  { grid-template-columns: 1fr; gap: 16px; }
  .app-preview { padding: 52px 0; }
  .privacy-banner { padding: 40px 0; }
  .privacy-banner-inner { padding: 24px 16px; }
  .cta         { padding: 48px 0; }
  .cta-inner   { padding: 36px 16px; border-radius: 20px; }
  .cta-buttons { flex-direction: column; align-items: stretch; }
  .cta-store-btn { justify-content: center; }

  /* Legal */
  .legal-section { padding: 18px 16px; }
  .legal-intro-box { padding: 16px 18px; gap: 12px; }
  .legal-container { padding: 0 16px; }
  .legal-hero { padding: 96px 0 36px; }

  /* Footer — stack to 1 col on very small screens */
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:not(.footer-brand):first-of-type {
    border-right: none;
    padding-right: 0;
    border-bottom: 1px solid var(--border-dark);
    padding-bottom: 20px;
    margin-bottom: 4px;
  }
  .footer-grid > div:not(.footer-brand):last-of-type { padding-left: 0; }
  .footer-copy { font-size: .78rem; }
  .section-title { font-size: 1.75rem; }
  .section-subtitle { font-size: .97rem; margin-bottom: 36px; }
}

/* ── Very small (≤360px) ── */
@media (max-width: 360px) {
  .hero-title   { font-size: 1.7rem; }
  .phone-mockup { width: 185px; height: 380px; }
  .nav-links.open a { padding: 11px 12px; }
}

/* ════════════════ ANIMATIONS ═════════════════════════════ */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-13px); }
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 4px 16px rgba(82,39,255,.35); }
  50%       { box-shadow: 0 4px 28px rgba(82,39,255,.62); }
}
@keyframes timer-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: .72; }
}

.hero-visual .phone-mockup { animation: float 5s ease-in-out infinite; }
.phone-timer-value          { animation: timer-blink 2s ease-in-out infinite; }

/* ── Fade in on scroll ── */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── Light mode overrides ── */
[data-theme="light"] .features::before {
  background: linear-gradient(90deg, transparent, #CBD5E1, transparent);
}
[data-theme="light"] .cta-inner {
  box-shadow: 0 0 60px rgba(82,39,255,.18), 0 20px 60px rgba(0,0,0,.08);
}
[data-theme="light"] .feature-card:hover {
  box-shadow: 0 0 28px rgba(82,39,255,.1), 0 12px 40px rgba(0,0,0,.08);
}
[data-theme="light"] .mini-screen-map {
  background: rgba(8,145,178,.06);
}
[data-theme="light"] .mini-screen-chart {
  background: rgba(82,39,255,.06);
}

/* ============================================================
   LEGAL PAGES — Beautiful Redesign
   ============================================================ */

/* ── Reading Progress Bar ── */
.reading-progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #5227FF, #7C3AED, #F59E0B);
  z-index: 9999;
  transition: width .1s linear;
  border-radius: 0 2px 2px 0;
}

/* ── Legal Hero V2 ── */
.legal-hero-v2 {
  padding: 120px 0 64px;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  text-align: center;
  transition: background .4s;
}
.legal-hero-v2::after {
  content: '';
  position: absolute; inset: 0;
  background: var(--gradient-glow);
  pointer-events: none;
}
.lhero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
}
.lhero-orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(82,39,255,.2), transparent 70%);
  top: -150px; right: -100px; opacity: .6;
}
.lhero-orb-2 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(124,58,237,.18), transparent 70%);
  bottom: -80px; left: -80px; opacity: .5;
}
[data-theme="light"] .lhero-orb-1 { opacity: .25; }
[data-theme="light"] .lhero-orb-2 { opacity: .2; }

.lhero-content { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }

.lhero-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 88px; height: 88px;
  border-radius: 28px;
  margin-bottom: 28px;
  position: relative;
}
.lhero-icon-wrap::before {
  content: '';
  position: absolute; inset: -3px;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(255,255,255,.15), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.12);
}
.lhero-icon-wrap.green-wrap {
  background: linear-gradient(135deg, rgba(5,150,105,.3), rgba(5,150,105,.15));
  box-shadow: 0 0 60px rgba(5,150,105,.3);
}
.lhero-icon-wrap.blue-wrap {
  background: linear-gradient(135deg, rgba(82,39,255,.3), rgba(82,39,255,.15));
  box-shadow: 0 0 60px rgba(82,39,255,.3);
}
.lhero-icon { font-size: 2.6rem; }

.lhero-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.lhero-chip.green { background: rgba(5,150,105,.15); border: 1px solid rgba(5,150,105,.3); color: var(--check-color); }
.lhero-chip.blue  { background: rgba(82,39,255,.15);  border: 1px solid rgba(82,39,255,.3);  color: var(--primary); }

.lhero-title {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 14px;
  background: var(--gradient-heading);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.lhero-sub {
  font-size: 1.08rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 520px;
  margin: 0 auto 28px;
}
.lhero-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: var(--text-muted);
  font-weight: 600;
  background: var(--card-dark);
  border: 1px solid var(--border-dark);
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 44px;
}

/* ── Key Facts Strip ── */
.legal-facts {
  display: flex;
  gap: 0;
  background: var(--card-dark);
  border: 1px solid var(--border-dark);
  border-radius: 20px;
  overflow: hidden;
  margin: 0 auto;
  max-width: 600px;
  transition: background .4s, border-color .4s;
}
.legal-fact {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 16px;
  position: relative;
}
.legal-fact + .legal-fact::before {
  content: '';
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: var(--border-dark);
}
.legal-fact-icon { font-size: 1.4rem; margin-bottom: 6px; }
.legal-fact-value {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 3px;
}
.legal-fact-label { font-size: .72rem; color: var(--text-muted); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; text-align: center; }

/* ── Legal Layout (2-col) ── */
.legal-layout-wrap { padding: 60px 0 90px; }
.legal-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 40px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Sticky TOC ── */
.legal-toc-wrap {
  position: sticky;
  top: 80px;
}
.legal-toc-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-dark);
  border-radius: 20px;
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
  transition: background .4s, border-color .4s;
}
.toc-heading {
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--text-muted);
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-dark);
}
.toc-list { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.toc-link {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border-radius: 10px;
  text-decoration: none;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid transparent;
}
.toc-link:hover { color: var(--text-primary); background: var(--border-subtle); }
.toc-link.active { color: var(--primary); background: rgba(82,39,255,.1); border-color: rgba(82,39,255,.2); font-weight: 700; }
.toc-num { font-size: .72rem; font-weight: 800; color: var(--text-muted); min-width: 18px; }
.toc-link.active .toc-num { color: var(--primary); }

/* ── Legal Content ── */
.legal-sections { display: flex; flex-direction: column; gap: 20px; }

/* Intro callout */
.legal-intro-callout {
  border-radius: 18px;
  padding: 24px 28px;
  margin-bottom: 8px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}
.legal-intro-callout.pp {
  background: linear-gradient(135deg, rgba(5,150,105,.1), rgba(5,150,105,.05));
  border: 1px solid rgba(5,150,105,.25);
}
.legal-intro-callout.tc {
  background: linear-gradient(135deg, rgba(82,39,255,.1), rgba(82,39,255,.05));
  border: 1px solid rgba(82,39,255,.25);
}
[data-theme="light"] .legal-intro-callout.pp {
  background: linear-gradient(135deg, rgba(5,150,105,.07), rgba(5,150,105,.03));
  border-color: rgba(5,150,105,.2);
}
[data-theme="light"] .legal-intro-callout.tc {
  background: linear-gradient(135deg, rgba(82,39,255,.07), rgba(82,39,255,.03));
  border-color: rgba(82,39,255,.2);
}
.intro-callout-icon { font-size: 2rem; flex-shrink: 0; line-height: 1; margin-top: 2px; }
.intro-callout-title { font-size: 1.05rem; font-weight: 800; margin-bottom: 7px; }
.intro-callout-title.green { color: var(--legal-pp-color); }
.intro-callout-title.blue  { color: var(--legal-tc-color); }
.intro-callout-body { font-size: .95rem; color: var(--text-secondary); line-height: 1.7; }

/* Section card redesign */
.lsec {
  background: var(--gradient-card);
  border: 1px solid var(--border-dark);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  scroll-margin-top: 90px;
}
.lsec:hover { border-color: var(--lsec-accent, rgba(82,39,255,.3)); box-shadow: 0 0 0 1px var(--lsec-accent, rgba(82,39,255,.15)), var(--shadow-card); transform: translateY(-2px); }

.lsec-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px 18px;
  border-bottom: 1px solid var(--border-dark);
  background: var(--lsec-header-bg, rgba(82,39,255,.04));
}
.lsec-icon-wrap {
  width: 44px; height: 44px;
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  background: var(--lsec-icon-bg, rgba(82,39,255,.15));
}
.lsec-title-wrap { flex: 1; }
.lsec-num { font-size: .7rem; font-weight: 800; color: var(--lsec-accent-text, var(--primary)); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 2px; }
.lsec-title { font-size: 1.1rem; font-weight: 800; color: var(--text-primary); line-height: 1.2; }

.lsec-body { padding: 22px 24px; }
.lsec-body p { font-size: .96rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 12px; }
.lsec-body p:last-child { margin-bottom: 0; }
.lsec-body ul, .lsec-body ol { padding-left: 0; margin-bottom: 12px; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.lsec-body li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  padding: 8px 12px;
  background: var(--border-subtle);
  border-radius: 9px;
  border: 1px solid var(--border-dark);
}
.lsec-body li::before { content: '→'; color: var(--lsec-accent-text, var(--primary)); font-weight: 800; font-size: .85rem; margin-top: 1px; flex-shrink: 0; }
.lsec-body strong { color: var(--text-primary); font-weight: 700; }

/* Callout box inside section */
.lsec-callout {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: 12px;
  margin: 14px 0;
}
.lsec-callout.green { background: rgba(5,150,105,.08); border: 1px solid rgba(5,150,105,.2); }
.lsec-callout.blue  { background: rgba(82,39,255,.07); border: 1px solid rgba(82,39,255,.18); }
.lsec-callout.amber { background: rgba(245,158,11,.08); border: 1px solid rgba(245,158,11,.22); }
.lsec-callout.red   { background: rgba(220,38,38,.07); border: 1px solid rgba(220,38,38,.18); }
[data-theme="light"] .lsec-callout.green { background: rgba(5,150,105,.05); }
[data-theme="light"] .lsec-callout.blue  { background: rgba(82,39,255,.05); }
[data-theme="light"] .lsec-callout.amber { background: rgba(245,158,11,.05); }
[data-theme="light"] .lsec-callout.red   { background: rgba(220,38,38,.05); }
.lsec-callout-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 1px; }
.lsec-callout p { font-size: .93rem !important; margin: 0 !important; color: var(--text-primary) !important; font-weight: 600 !important; line-height: 1.6 !important; }

/* Accent colors per section */
.acc-blue   { --lsec-accent: rgba(82,39,255,.3);  --lsec-accent-text: #5227FF; --lsec-icon-bg: rgba(82,39,255,.15);  --lsec-header-bg: rgba(82,39,255,.04); }
.acc-purple { --lsec-accent: rgba(124,58,237,.3); --lsec-accent-text: #7C3AED; --lsec-icon-bg: rgba(124,58,237,.15); --lsec-header-bg: rgba(124,58,237,.04); }
.acc-cyan   { --lsec-accent: rgba(8,145,178,.3);  --lsec-accent-text: #0891B2; --lsec-icon-bg: rgba(8,145,178,.15);  --lsec-header-bg: rgba(8,145,178,.04); }
.acc-green  { --lsec-accent: rgba(5,150,105,.3);  --lsec-accent-text: #059669; --lsec-icon-bg: rgba(5,150,105,.15);  --lsec-header-bg: rgba(5,150,105,.04); }
.acc-amber  { --lsec-accent: rgba(245,158,11,.3); --lsec-accent-text: #D97706; --lsec-icon-bg: rgba(245,158,11,.15); --lsec-header-bg: rgba(245,158,11,.04); }
.acc-red    { --lsec-accent: rgba(220,38,38,.3);  --lsec-accent-text: #DC2626; --lsec-icon-bg: rgba(220,38,38,.15);  --lsec-header-bg: rgba(220,38,38,.04); }

/* ── Legal Footer CTA ── */
.legal-footer-cta {
  background: var(--gradient-card);
  border: 1px solid var(--border-dark);
  border-radius: 24px;
  padding: 40px 36px;
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--shadow-sm);
  transition: background .4s, border-color .4s;
}
.lfc-text { flex: 1; }
.lfc-title { font-size: 1.2rem; font-weight: 800; color: var(--text-primary); margin-bottom: 6px; }
.lfc-sub   { font-size: .92rem; color: var(--text-secondary); line-height: 1.5; }
.lfc-actions { display: flex; gap: 12px; flex-shrink: 0; }

/* ── Legal Responsive ── */
@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc-wrap { position: static; }
  .legal-toc-card { display: none; }
  .legal-layout-wrap { padding: 40px 0 70px; }
}
@media (max-width: 600px) {
  .legal-hero-v2 { padding: 96px 0 48px; }
  .lhero-icon-wrap { width: 72px; height: 72px; }
  .lhero-icon { font-size: 2rem; }
  .lhero-title { font-size: 2rem; }
  .legal-facts { flex-wrap: wrap; max-width: 100%; }
  .legal-fact { min-width: 45%; }
  .legal-fact + .legal-fact::before { display: none; }
  .lsec-header { padding: 18px 18px 14px; gap: 12px; }
  .lsec-body { padding: 18px; }
  .lsec-icon-wrap { width: 38px; height: 38px; font-size: 1.1rem; }
  .legal-footer-cta { flex-direction: column; text-align: center; padding: 28px 20px; }
  .lfc-actions { justify-content: center; flex-wrap: wrap; }
  .legal-layout { padding: 0 16px; }
}

/* ── Beautiful Coming Soon Dialog (App Store) ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(6, 11, 24, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

[data-theme="light"] .modal-overlay {
  background: rgba(15, 23, 42, 0.4);
}

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

.modal-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 480px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 50px rgba(82,39,255,0.15);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  padding: 40px 32px;
  text-align: center;
}

[data-theme="light"] .modal-card {
  background: #ffffff;
  border-color: rgba(82,39,255,0.15);
  box-shadow: var(--shadow-lg), 0 10px 30px rgba(82,39,255,0.06);
}

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

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-secondary);
  font-size: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

[data-theme="light"] .modal-close {
  background: rgba(0,0,0,0.04);
  border-color: rgba(0,0,0,0.05);
}

.modal-close:hover {
  background: rgba(220,38,38,0.2);
  border-color: rgba(220,38,38,0.3);
  color: #ef4444;
  transform: rotate(90deg);
}

.modal-icon-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border: 1px solid var(--border-dark);
  margin-bottom: 24px;
  font-size: 2.5rem;
  box-shadow: var(--shadow-md);
  position: relative;
}

[data-theme="light"] .modal-icon-container {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-color: rgba(82,39,255,0.15);
}

.modal-ios-logo {
  color: var(--text-primary);
  display: block;
}

.modal-icon-glow {
  position: absolute;
  inset: -10px;
  background: radial-gradient(circle, rgba(82,39,255,0.25) 0%, transparent 70%);
  z-index: -1;
  border-radius: 30px;
  animation: pulse-glow 3s infinite ease-in-out;
}

@keyframes pulse-glow {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.15); opacity: 1; }
}

.modal-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
  background: var(--gradient-heading);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.modal-subtitle {
  color: var(--secondary);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245,158,11,0.1);
  padding: 6px 12px;
  border-radius: 30px;
  border: 1px solid rgba(245,158,11,0.2);
}

.modal-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 28px;
}

.modal-highlights {
  text-align: left;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

[data-theme="light"] .modal-highlights {
  background: rgba(82,39,255,0.02);
}

.modal-highlight-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.modal-highlight-icon {
  font-size: 1.1rem;
  color: var(--primary);
  background: rgba(82,39,255,0.1);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.modal-highlight-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.modal-highlight-text strong {
  color: var(--text-primary);
  display: block;
  margin-bottom: 2px;
}

.modal-btn {
  width: 100%;
  padding: 14px;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  background: var(--gradient-primary);
  border: none;
  color: white;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

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

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

/* ── Interactive Phone Mockup Demo & Toast ── */
.interactive-stat-card {
  cursor: pointer;
  user-select: none;
}
.interactive-stat-card:hover {
  transform: translateY(-4px) scale(1.03) !important;
  border-color: rgba(82, 39, 255, 0.4) !important;
  background: rgba(82, 39, 255, 0.05) !important;
}
.interactive-stat-card:active {
  transform: scale(0.97) !important;
}
@keyframes bounce-scale {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}
.bounce-animate {
  animation: bounce-scale 0.3s ease-in-out;
}

.phone-toast {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(82, 39, 255, 0.3);
  color: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s;
  z-index: 100;
  white-space: nowrap;
}
.phone-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── Testimonials Section ── */
.testimonials {
  padding: 120px 0;
  position: relative;
  background: radial-gradient(circle at bottom right, rgba(82, 39, 255, 0.03), transparent 60%);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 900px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
.testimonial-card {
  background: rgba(22, 33, 62, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
[data-theme="light"] .testimonial-card {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(82, 39, 255, 0.06);
}
.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: rgba(82, 39, 255, 0.25);
  box-shadow: 0 16px 32px rgba(82, 39, 255, 0.08);
}
.testimonial-stars {
  font-size: 1.1rem;
  letter-spacing: 2px;
}
.testimonial-quote {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
  font-style: italic;
  flex-grow: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border-dark);
  padding-top: 16px;
}
.author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.author-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-primary);
}
.author-role {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ── CTA QR Code Split Layout ── */
.cta-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 56px;
  align-items: center;
  text-align: left;
}
@media (max-width: 900px) {
  .cta-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .cta-buttons {
    justify-content: center;
  }
}
.cta-qr-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.cta-qr-box {
  background: #ffffff;
  border-radius: 24px;
  padding: 18px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25), 0 0 30px rgba(82, 39, 255, 0.2);
  position: relative;
  width: 170px;
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
}
.cta-qr-box:hover {
  transform: scale(1.06);
}
.cta-qr-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
}
.cta-qr-badge {
  position: absolute;
  bottom: -10px;
  background: var(--primary);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 4px 10px rgba(82, 39, 255, 0.4);
}
.cta-qr-caption {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
}

/* ============================================================
   PREMIUM DESIGN UPGRADES — Professional & Modern Enhancements
   ============================================================ */

/* ── Advanced Hero Enhancements ── */
.hero-badge {
  font-size: .80rem;
  padding: 8px 18px;
  gap: 10px;
  box-shadow: 0 0 20px rgba(245,158,11,.12);
  animation: badge-pulse 3s ease-in-out infinite;
}

@keyframes badge-pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(245,158,11,.12); }
  50%       { box-shadow: 0 0 32px rgba(245,158,11,.25); }
}

/* Mesh gradient background for hero */
.hero-bg-mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(82,39,255,.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(245,158,11,.08) 0%, transparent 60%);
}
[data-theme="light"] .hero-bg-mesh {
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(82,39,255,.09) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(245,158,11,.05) 0%, transparent 60%);
}

/* Hero title enhanced */
.hero-title {
  letter-spacing: -.02em;
}

/* ── Gradient section divider lines ── */
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(82,39,255,.3), rgba(124,58,237,.2), transparent);
  margin: 0;
}

/* ── Enhanced Section Labels ── */
.section-label {
  letter-spacing: .12em;
  position: relative;
  overflow: hidden;
}
.section-label::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(82,39,255,.05), transparent);
  animation: shimmer 3s infinite;
}
@keyframes shimmer {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* ── Premium Navbar Upgrade ── */
.navbar {
  padding: 16px 0;
}
.navbar.scrolled {
  padding: 10px 0;
  border-bottom-color: rgba(82,39,255,.15);
}
.nav-logo {
  transition: opacity .2s;
}
.nav-logo:hover {
  opacity: .85;
}

/* ── Enhanced Feature Cards ── */
.features-grid {
  gap: 28px;
}

.feature-card {
  background: rgba(22, 33, 62, 0.5);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 24px;
  padding: 40px 36px;
}

.feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: radial-gradient(ellipse at top left, rgba(82,39,255,.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}
.feature-card:hover::after { opacity: 1; }

[data-theme="light"] .feature-card {
  background: rgba(255,255,255,0.75);
  border-color: rgba(82,39,255,.07);
  box-shadow: 0 2px 20px rgba(82,39,255,.04);
}
[data-theme="light"] .feature-card:hover {
  box-shadow: 0 24px 48px rgba(82,39,255,.1), 0 8px 24px rgba(0,0,0,.06);
  background: rgba(255,255,255,0.92);
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  font-size: 1.6rem;
  margin-bottom: 28px;
  box-shadow: none;
  position: relative;
}
.feature-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
  opacity: 0;
  transition: opacity .3s;
}
.feature-card:hover .feature-icon::after { opacity: 1; }

.feature-title {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -.01em;
  margin-bottom: 14px;
}
.feature-desc {
  font-size: .9rem;
  line-height: 1.72;
}

/* Feature card number badge (visual-only) */
.feature-number {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: .68rem;
  font-weight: 900;
  color: rgba(82,39,255,.25);
  letter-spacing: .05em;
}

/* ── Privacy Banner Enhanced ── */
.privacy-banner-inner {
  box-shadow: var(--shadow-md);
  border-radius: 28px;
}
[data-theme="light"] .privacy-banner-inner {
  background: linear-gradient(135deg, rgba(5,150,105,.05), rgba(82,39,255,.05));
  border-color: rgba(82,39,255,.1);
  box-shadow: 0 4px 30px rgba(0,0,0,.06);
}

/* Privacy shield enhanced */
.privacy-shield {
  border-radius: 24px;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s;
}
.privacy-shield:hover {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 0 40px rgba(5,150,105,.2);
}

/* ── How It Works — Premium Steps ── */
.step-card {
  padding: 32px 24px;
  background: var(--gradient-card);
  border: 1px solid var(--border-dark);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform .4s cubic-bezier(.4,0,.2,1), border-color .4s, box-shadow .4s;
}
.step-card:hover {
  transform: translateY(-8px);
  border-color: rgba(82,39,255,.35);
  box-shadow: 0 20px 40px rgba(0,0,0,.2), 0 0 20px rgba(82,39,255,.1);
}
[data-theme="light"] .step-card {
  background: linear-gradient(145deg, #FFFFFF, #F8FAFC);
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
}
[data-theme="light"] .step-card:hover {
  box-shadow: 0 20px 40px rgba(82,39,255,.08), 0 4px 16px rgba(0,0,0,.06);
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 17px;
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: -.02em;
  box-shadow: 0 6px 20px rgba(82,39,255,.4);
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s;
}
.step-card:hover .step-number {
  transform: scale(1.12) rotate(-5deg);
  box-shadow: 0 8px 28px rgba(82,39,255,.55);
}
.step-title {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -.01em;
  margin-bottom: 10px;
}

/* ── App Preview — Enhanced feature rows ── */
.preview-feature {
  padding: 22px 24px;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
}
.preview-feature::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--gradient-primary);
  border-radius: 3px 0 0 3px;
  opacity: 0;
  transition: opacity .3s;
}
.preview-feature:hover::before { opacity: 1; }
[data-theme="light"] .preview-feature {
  background: linear-gradient(145deg, #FFFFFF, #F8FAFC);
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
}

/* ── Testimonials Section Premium ── */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(82,39,255,.1);
  border: 1px solid rgba(82,39,255,.22);
  color: var(--primary);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
  display: block;
}
.section-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.testimonial-card {
  border-radius: 24px;
  padding: 36px;
  position: relative;
  overflow: hidden;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 7rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(82,39,255,.07);
  font-family: Georgia, serif;
  pointer-events: none;
  transition: color .3s;
}
.testimonial-card:hover::before {
  color: rgba(82,39,255,.12);
}
[data-theme="light"] .testimonial-card {
  background: rgba(255,255,255,0.85);
  border-color: rgba(82,39,255,.07);
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
}
[data-theme="light"] .testimonial-card:hover {
  box-shadow: 0 20px 40px rgba(82,39,255,.1), 0 4px 16px rgba(0,0,0,.06);
  background: rgba(255,255,255,.98);
}

.testimonial-quote {
  font-size: .97rem;
  line-height: 1.7;
  color: var(--text-secondary);
  font-style: italic;
  position: relative;
  z-index: 1;
}
.testimonial-stars {
  font-size: 1rem;
  letter-spacing: 3px;
}

/* Author avatar placeholder */
.author-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  font-weight: 900;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(82,39,255,.3);
}

/* ── CTA Section Enhanced ── */
.cta-inner {
  border-radius: 32px;
  padding: 80px;
  box-shadow: 0 0 80px rgba(82,39,255,.35), 0 40px 80px rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.08);
}
.cta-inner::before {
  background:
    radial-gradient(ellipse at 10% 30%, rgba(255,255,255,.1) 0%, transparent 40%),
    radial-gradient(ellipse at 90% 70%, rgba(255,255,255,.06) 0%, transparent 40%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  letter-spacing: -.02em;
  font-weight: 900;
  line-height: 1.1;
}
.cta-subtitle {
  font-size: 1.08rem;
  color: rgba(255,255,255,.82);
  line-height: 1.7;
  max-width: 520px;
}
.cta-store-btn {
  padding: 14px 24px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background .3s, transform .3s, box-shadow .3s;
  position: relative;
  overflow: hidden;
}
.cta-store-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.08), transparent);
  pointer-events: none;
}
.cta-store-btn:hover {
  background: rgba(255,255,255,.22);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 32px rgba(0,0,0,.3);
}

/* ── Footer Premium Upgrade ── */
.footer {
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(82,39,255,.4), rgba(124,58,237,.3), transparent);
}
.footer-links a {
  transition: color .2s, padding-left .2s;
  padding-left: 0;
  display: inline-block;
}
.footer-links a:hover {
  padding-left: 4px;
}
.footer-bottom {
  border-top: 1px solid rgba(82,39,255,.1);
}
[data-theme="light"] .footer::before {
  background: linear-gradient(90deg, transparent, rgba(82,39,255,.2), transparent);
}

/* ── Trust Badges Row ── */
.trust-badges {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 28px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--border-dark);
}
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--border-subtle);
  border: 1px solid var(--border-dark);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: .75rem;
  font-weight: 700;
  color: var(--text-secondary);
  transition: border-color .3s, color .3s;
}
.trust-badge:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.trust-badge-icon { font-size: .95rem; }

/* ── Scroll-reveal animation stagger ── */
.fade-in-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays */
.stagger-1 { transition-delay: .1s; }
.stagger-2 { transition-delay: .2s; }
.stagger-3 { transition-delay: .3s; }
.stagger-4 { transition-delay: .4s; }

/* ── General text readability improvements ── */
.section-title {
  letter-spacing: -.02em;
  line-height: 1.12;
}

/* ── Improved hero stats ── */
.hero-stats {
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
  gap: 32px;
}
.hero-stat {
  position: relative;
}
.hero-stat::after {
  content: '';
  position: absolute;
  right: -16px;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: var(--border-subtle);
}
.hero-stat:last-child::after { display: none; }

/* ── Store buttons enhanced ── */
.store-btn {
  border-radius: 16px;
  padding: 13px 20px;
  transition: border-color .3s, transform .3s, box-shadow .3s, background .3s;
  position: relative;
  overflow: hidden;
}
.store-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(82,39,255,.04), transparent);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.store-btn:hover::after { opacity: 1; }

/* ── Refined scrollbar ── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #5227FF, #7C3AED); border-radius: 4px; }

/* ── Selection color ── */
::selection {
  background: rgba(82,39,255,.25);
  color: var(--text-primary);
}

/* ── Focus ring ── */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Smooth transitions on theme switch ── */
*, *::before, *::after {
  transition-property: background-color, border-color, color, box-shadow;
  transition-duration: .25s;
  transition-timing-function: ease;
}
/* Override for elements that need their own transition */
.btn, .store-btn, .feature-card, .step-card, .testimonial-card, .preview-feature,
.nav-links a, .footer-links a, .phone-mockup, .phone-float-card {
  transition: all .3s cubic-bezier(.4,0,.2,1);
}

/* ── Stats marquee strip (trust band) ── */
.stats-strip {
  background: rgba(82,39,255,.06);
  border-top: 1px solid rgba(82,39,255,.1);
  border-bottom: 1px solid rgba(82,39,255,.1);
  padding: 16px 0;
  overflow: hidden;
  position: relative;
}
[data-theme="light"] .stats-strip {
  background: rgba(82,39,255,.04);
}
.stats-strip-inner {
  display: flex;
  gap: 48px;
  align-items: center;
  animation: marquee 30s linear infinite;
  width: max-content;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.strip-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}
.strip-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(82,39,255,.3);
  flex-shrink: 0;
}

/* ── Section text center improvements ── */
.section-subtitle {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

/* ── Phone mockup depth effect ── */
.phone-mockup {
  box-shadow:
    var(--shadow-lg),
    0 0 0 1px rgba(255,255,255,.04),
    0 40px 80px rgba(82,39,255,.2),
    inset 0 0 0 1px rgba(255,255,255,.06);
}
[data-theme="light"] .phone-mockup {
  box-shadow:
    var(--shadow-lg),
    0 30px 60px rgba(82,39,255,.1),
    inset 0 0 0 1px rgba(0,0,0,.04);
}

/* ── Feature cards number decoration ── */
.feature-num-badge {
  position: absolute;
  top: 20px;
  right: 22px;
  font-size: 4rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(82,39,255,.05);
  pointer-events: none;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.04em;
  transition: color .4s;
}
.feature-card:hover .feature-num-badge {
  color: rgba(82,39,255,.09);
}

/* ── CTA text align fix for grid layout ── */
.cta-info {
  text-align: left;
}
@media (max-width: 900px) {
  .cta-info { text-align: center; }
  .cta-inner { padding: 60px 40px; }
}
@media (max-width: 600px) {
  .cta-inner { padding: 44px 24px; }
  .cta-title { font-size: 1.85rem; }
}

/* ── Rounded corners for full premium look ── */
.features-grid { gap: 24px; }
.testimonials-grid { gap: 24px; }

/* ── Hero phone glow pulse ── */
.hero-visual::before {
  content: '';
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 40px;
  background: radial-gradient(ellipse, rgba(82,39,255,.35) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(8px);
  animation: phone-shadow-pulse 5s ease-in-out infinite;
}
@keyframes phone-shadow-pulse {
  0%, 100% { opacity: .6; transform: translateX(-50%) scaleX(1); }
  50%       { opacity: 1; transform: translateX(-50%) scaleX(1.2); }
}

/* ── Refined section background gradient ── */
.how-it-works {
  background: linear-gradient(180deg, transparent 0%, rgba(82,39,255,.025) 50%, transparent 100%);
}
[data-theme="light"] .how-it-works {
  background: linear-gradient(180deg, transparent, rgba(82,39,255,.015) 50%, transparent);
}

/* ── App preview phones hover depth ── */
.mini-phone {
  transition: transform .4s cubic-bezier(.4,0,.2,1), box-shadow .4s;
}
.mini-phone:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: var(--shadow-lg), 0 0 24px rgba(82,39,255,.12);
}

/* ── Privacy offline card enhancement ── */
.privacy-offline-card {
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}
.privacy-offline-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #5227FF, #7C3AED, #059669);
  border-radius: 3px 3px 0 0;
}

/* ── Floating cards shadow improvement ── */
.phone-float-card {
  box-shadow: 0 20px 48px rgba(0,0,0,.3), 0 0 0 1px rgba(255,255,255,.06);
  gap: 12px;
}
[data-theme="light"] .phone-float-card {
  box-shadow: 0 16px 32px rgba(82,39,255,.08), 0 0 0 1px rgba(82,39,255,.06);
}

/* ── Gradient borders for a premium glow ── */
.glow-card {
  position: relative;
  isolation: isolate;
}
.glow-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(82,39,255,.4), rgba(124,58,237,.2), transparent 50%);
  z-index: -1;
  opacity: 0;
  transition: opacity .4s;
}
.glow-card:hover::before { opacity: 1; }

