/* ═══════════════════════════════════════════════════════════
   mmCashBook Landing Page — Design System
   Matches Flutter app: AppTheme colours, Plus Jakarta Sans,
   Lucide Icons — dark mode only
   ═══════════════════════════════════════════════════════════ */

/* ── CSS Custom Properties ── */
:root {
  /* Brand — mirrors AppTheme */
  --seed:          #6A5AE0;
  --primary-light: #8E6CFF;
  --primary-dark:  #5A4BD1;
  --secondary:     #4FC3F7;
  --accent:        #2DD4BF;

  /* Status */
  --income:  #4CAF50;
  --expense: #F44336;
  --warning: #FF9800;

  /* Dark surfaces */
  --bg:            #161622;
  --surface:       #1E1E2E;
  --surface-2:     #252538;
  --border:        rgba(255,255,255,0.08);
  --text-primary:  #FFFFFF;
  --text-secondary:#9CA3AF;
  --text-inverse:  #FFFFFF;

  /* Shadows */
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.3);
  --shadow-md:  0 8px 32px rgba(0,0,0,0.4);
  --shadow-lg:  0 24px 64px rgba(0,0,0,0.5);

  /* Layout */
  --radius-sm:  8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --max-w: 1200px;
  --nav-h: 68px;

  /* Transitions */
  --ease: cubic-bezier(.4,0,.2,1);

  /* Nav background (semi-transparent for glass effect) */
  --nav-bg: rgba(22,22,34,0.85);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  transition: background .3s var(--ease), color .3s var(--ease);
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
svg { display: block; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }

/* ── Typography ── */
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.75rem); font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.3; }
h4 { font-size: .9rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-secondary); }
p { color: var(--text-secondary); line-height: 1.7; }

.gradient-text {
  background: linear-gradient(135deg, var(--seed), var(--primary-light), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: .95rem;
  transition: all .2s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-lg { padding: 16px 32px; font-size: 1rem; border-radius: var(--radius-lg); }
.btn-sm { padding: 8px 18px; font-size: .85rem; }
.btn-full { width: 100%; justify-content: center; }

.btn-primary {
  background: linear-gradient(135deg, var(--seed), var(--primary-light));
  color: #fff;
  box-shadow: 0 4px 20px rgba(106,90,224,.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(106,90,224,.45);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  border: 1.5px solid var(--border);
  color: var(--text-primary);
  background: var(--surface);
}
.btn-outline:hover {
  border-color: var(--seed);
  color: var(--seed);
  background: rgba(106,90,224,.06);
}

.btn-pro {
  background: linear-gradient(135deg, #F59E0B, #FBBF24);
  color: #1A1100;
  box-shadow: 0 4px 20px rgba(245,158,11,.3);
  font-weight: 700;
}
.btn-pro:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(245,158,11,.4);
}

/* ═══════════════════════════════════════════ NAVBAR ═══ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  height: var(--nav-h);
  background: var(--nav-bg);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid var(--border);
  transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}

.nav.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-primary);
  flex-shrink: 0;
}
.nav-logo img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all .15s var(--ease);
}
.nav-links a:hover { color: var(--seed); background: rgba(106,90,224,.08); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 16px;
}


.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  margin-left: 8px;
}
.nav-hamburger span {
  width: 22px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all .2s var(--ease);
  display: block;
}

/* ═══════════════════════════════════════════ HERO ═══ */
.hero {
  min-height: 100vh;
  padding-top: calc(var(--nav-h) + 40px);
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 0%, rgba(106,90,224,.25) 0%, transparent 70%),
              radial-gradient(ellipse 50% 50% at 10% 80%, rgba(79,195,247,.12) 0%, transparent 60%);
  pointer-events: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(106,90,224,.1);
  border: 1px solid rgba(106,90,224,.2);
  border-radius: 100px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--seed);
  margin-bottom: 24px;
}

.badge-dot {
  width: 7px; height: 7px;
  background: var(--income);
  border-radius: 50%;
  animation: pulse 2s infinite;
  will-change: opacity, transform;
}

@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50% { opacity:.6; transform:scale(.85); }
}

.hero h1 { margin-bottom: 24px; }

.hero-sub {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 40px;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}
.stat { display: flex; flex-direction: column; }
.stat strong { font-size: 1.1rem; font-weight: 700; color: var(--text-primary); }
.stat span { font-size: .8rem; color: var(--text-secondary); }
.stat-divider { width: 1px; height: 32px; background: var(--border); }

/* Phone mockup */
.hero-phone {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-glow {
  position: absolute;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(106,90,224,.4), transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  pointer-events: none;
  filter: blur(40px);
  animation: glow 3s ease-in-out infinite alternate;
  will-change: opacity, transform;
}

@keyframes glow {
  from { opacity: .6; transform: translate(-50%,-50%) scale(1); }
  to   { opacity: 1;  transform: translate(-50%,-50%) scale(1.1); }
}

.phone-frame {
  width: 280px;
  background: var(--surface);
  border-radius: 44px;
  padding: 12px;
  box-shadow: 0 32px 80px rgba(0,0,0,.25), 0 0 0 1px var(--border), inset 0 0 0 1px rgba(255,255,255,.1);
  position: relative;
  z-index: 1;
}

.phone-frame::before {
  content: '';
  display: block;
  width: 80px; height: 26px;
  background: var(--surface);
  border-radius: 0 0 18px 18px;
  margin: 0 auto 8px;
  box-shadow: inset 0 -4px 8px rgba(0,0,0,.08);
}

.phone-frame.large {
  width: 260px;
}

.phone-screen {
  border-radius: 34px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--seed) 0%, var(--primary-light) 100%);
  aspect-ratio: 9/19.5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-screen img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.phone-screen.placeholder,
.phone-screen:not(:has(img[src])) {
  background: linear-gradient(135deg, var(--seed) 0%, var(--primary-light) 100%);
}

/* ═══════════════════════════════════════════ SECTION HEADER ═══ */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-header h2 { margin-bottom: 16px; }
.section-header p { font-size: 1.05rem; }

.section-label {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(106,90,224,.1);
  color: var(--seed);
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 16px;
}

/* ═══════════════════════════════════════════ FEATURES ═══ */
.features { background: var(--surface); }

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

.feature-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all .25s var(--ease);
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(106,90,224,.04), transparent);
  opacity: 0;
  transition: opacity .25s var(--ease);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(106,90,224,.25);
}
.feature-card:hover::after { opacity: 1; }

.feature-card.featured {
  background: linear-gradient(135deg, rgba(106,90,224,.08), rgba(142,108,255,.06));
  border-color: rgba(106,90,224,.3);
  grid-column: span 1;
}

.feature-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
}
.feature-icon svg { width: 22px; height: 22px; color: #fff; stroke: #fff; }

/* Feature icon colour variants */
.fi-voice     { background: linear-gradient(135deg, #6A5AE0, #9B6DFF); }
.fi-csv       { background: linear-gradient(135deg, #10B981, #34D399); }
.fi-invoice   { background: linear-gradient(135deg, #F59E0B, #FBBF24); }
.fi-analytics { background: linear-gradient(135deg, #3B82F6, #60A5FA); }
.fi-recurring { background: linear-gradient(135deg, #8B5CF6, #A78BFA); }
.fi-budget    { background: linear-gradient(135deg, #EC4899, #F472B6); }
.fi-cashbook  { background: linear-gradient(135deg, #14B8A6, #2DD4BF); }
.fi-lock      { background: linear-gradient(135deg, #6366F1, #818CF8); }

.feature-card h3 { margin-bottom: 10px; font-size: 1.05rem; }
.feature-card p { font-size: .9rem; line-height: 1.65; }

.feature-tag {
  display: inline-block;
  margin-top: 14px;
  padding: 3px 10px;
  background: rgba(106,90,224,.12);
  color: var(--seed);
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 700;
}

/* ═══════════════════════════════════════════ SCREENSHOTS ═══ */
.screenshots {
  background: linear-gradient(180deg, #161622 0%, #1E1E2E 100%);
}

.screenshot-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.tab-btn {
  padding: 10px 22px;
  border-radius: 100px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--surface);
  border: 1.5px solid var(--border);
  transition: all .2s var(--ease);
}

.tab-btn:hover { color: var(--seed); border-color: rgba(106,90,224,.4); }

.tab-btn.active {
  background: linear-gradient(135deg, var(--seed), var(--primary-light));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(106,90,224,.35);
}

.screenshot-viewer {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 64px;
  align-items: center;
}

.screenshot-info { display: none; }
.screenshot-info.active { display: block; }
.screenshot-info h3 { font-size: 1.5rem; margin-bottom: 16px; }
.screenshot-info > p { font-size: 1rem; margin-bottom: 24px; }
.screenshot-info ul li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: .95rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}
.screenshot-info ul li::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--seed);
  border-radius: 50%;
  flex-shrink: 0;
}

.phone-showcase { display: flex; justify-content: center; }

.ss-placeholder { width: 100%; height: 100%; }
.ss-placeholder.hidden { display: none; }
.ss-placeholder img { width: 100%; height: 100%; object-fit: cover; }
.ss-empty {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 8px;
  color: rgba(255,255,255,.5);
}
.ss-empty span { font-size: 2rem; }
.ss-empty p { font-size: .75rem; text-align: center; }

/* ═══════════════════════════════════════════ PRICING ═══ */
.pricing-toggle {
  display: flex;
  gap: 4px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 100px;
  padding: 4px;
  width: fit-content;
  margin: 0 auto 56px;
}

.toggle-btn {
  padding: 10px 24px;
  border-radius: 100px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all .2s var(--ease);
}
.toggle-btn.active {
  background: linear-gradient(135deg, var(--seed), var(--primary-light));
  color: #fff;
  box-shadow: 0 2px 12px rgba(106,90,224,.3);
}

.save-badge {
  background: rgba(76,175,80,.2);
  color: var(--income);
  padding: 2px 8px;
  border-radius: 100px;
  font-size: .7rem;
  font-weight: 700;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 64px;
}

.pricing-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  position: relative;
  transition: all .25s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 0;
}

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

.pricing-card.popular {
  border-color: var(--seed);
  background: var(--surface);
  box-shadow: 0 0 0 4px rgba(106,90,224,.08), var(--shadow-md);
  transform: scale(1.02);
}
.pricing-card.popular:hover { transform: scale(1.02) translateY(-4px); }

.pricing-card.pro {
  background: linear-gradient(160deg, #1C1A08 0%, #2A2208 100%);
  border-color: rgba(245,158,11,.3);
}

.pricing-card.pro h3,
.pricing-card.pro .plan-tagline,
.pricing-card.pro .plan-features li { color: #FFF8E1; }

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--seed), var(--primary-light));
  color: #fff;
  padding: 4px 18px;
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(106,90,224,.4);
}

.plan-header { margin-bottom: 24px; }

.plan-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.plan-icon svg { width: 26px; height: 26px; }

.free-icon { background: rgba(107,114,128,.15); }
.free-icon svg { stroke: var(--text-secondary); }
.basic-icon { background: rgba(96,165,250,.15); }
.basic-icon svg { stroke: #60A5FA; }
.pro-icon { background: rgba(245,158,11,.15); }
.pro-icon svg { stroke: #F59E0B; }

.plan-tagline { font-size: .875rem; color: var(--text-secondary); margin-top: 4px; }

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.price-amount {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}
.price-currency { font-size: .9rem; font-weight: 600; color: var(--text-secondary); }
.price-period { font-size: .85rem; color: var(--text-secondary); }

.plan-features { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
  color: var(--text-secondary);
}
.plan-features li.yes { color: var(--text-primary); }
.plan-features li.yes::before {
  content: '';
  width: 18px; height: 18px;
  background: rgba(76,175,80,.15);
  border-radius: 50%;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234CAF50' stroke-width='2.5'%3E%3Cpolyline points='20,6 9,17 4,12'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}
.plan-features li.limited::before {
  content: '';
  width: 18px; height: 18px;
  background: rgba(255,152,0,.15);
  border-radius: 50%;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF9800' stroke-width='2.5'%3E%3Cpath d='M12 2L2 22h20L12 2z'/%3E%3Cpath d='M12 9v5M12 16h.01'/%3E%3C/svg%3E");
  background-size: 11px;
  background-repeat: no-repeat;
  background-position: center;
}
.plan-features li.no {
  opacity: .45;
  text-decoration: line-through;
}
.plan-features li.no::before {
  content: '';
  width: 18px; height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Comparison table */
.comparison-table {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 32px;
}
.comparison-table h3 {
  padding: 24px 28px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 1rem;
}
.comparison-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}
.comparison-table th,
.comparison-table td {
  padding: 13px 20px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.comparison-table th:first-child,
.comparison-table td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--text-primary);
  width: 40%;
}
.comparison-table th { font-weight: 700; color: var(--text-secondary); font-size: .85rem; }
.comparison-table .col-basic { color: #60A5FA; }
.comparison-table .col-pro { color: #F59E0B; }
.comparison-table tr:hover td { background: rgba(106,90,224,.03); }
.comparison-table tbody tr:last-child td { border-bottom: none; }

.trial-note {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(106,90,224,.07);
  border: 1px solid rgba(106,90,224,.2);
  border-radius: var(--radius-md);
  padding: 16px 20px;
}
.trial-note svg { width: 20px; height: 20px; stroke: var(--seed); flex-shrink: 0; }
.trial-note p { font-size: .9rem; color: var(--text-secondary); }
.trial-note strong { color: var(--text-primary); }

/* ═══════════════════════════════════════════ DOWNLOAD ═══ */
.download {
  background: linear-gradient(135deg, #6A5AE0 0%, #4B3DC8 40%, #2D1FA8 100%);
  position: relative;
  overflow: hidden;
}
.download::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='1.5' fill='rgba(255,255,255,.06)'/%3E%3C/svg%3E");
}

.download-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.download-text h2 { color: #fff; margin-bottom: 16px; }
.download-text > p { color: rgba(255,255,255,.75); margin-bottom: 32px; font-size: 1.05rem; }

.store-badges { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.store-badge {
  display: block;
  transition: transform .2s var(--ease);
}
.store-badge:hover { transform: scale(1.03); }
.store-badge svg { width: auto; height: 48px; }

.contact-line { font-size: .9rem; color: rgba(255,255,255,.6); }
.contact-line a { color: rgba(255,255,255,.9); text-decoration: underline; text-underline-offset: 3px; }

.download-phones {
  display: flex;
  gap: -20px;
  position: relative;
}

.phone-frame.tilt-left {
  transform: rotate(-8deg) translateX(20px);
  width: 200px;
  z-index: 1;
}
.phone-frame.tilt-right {
  transform: rotate(8deg) translateX(-20px);
  width: 200px;
  z-index: 2;
  box-shadow: -16px 24px 60px rgba(0,0,0,.35);
}

/* ═══════════════════════════════════════════ FOOTER ═══ */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .nav-logo { margin-bottom: 12px; }
.footer-brand p { font-size: .9rem; color: var(--text-secondary); line-height: 1.7; }
.footer-copy { font-size: .8rem; color: var(--text-secondary); margin-top: 20px; opacity: .7; }

.footer-col h4 { margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: .9rem; color: var(--text-secondary); transition: color .15s var(--ease); }
.footer-col a:hover { color: var(--seed); }

/* ═══════════════════════════════════════════ RESPONSIVE ═══ */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .hero .container { grid-template-columns: 1fr 340px; gap: 40px; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }

  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    gap: 4px;
    z-index: 998;
    box-shadow: var(--shadow-md);
  }
  .nav-links.open a { padding: 12px 16px; border-radius: var(--radius-sm); }

  .nav-hamburger { display: flex; }
  .nav-inner .btn-primary { display: none; }

  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-sub { margin: 0 auto 40px; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-phone { display: none; }

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

  .screenshot-viewer {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .phone-showcase { order: -1; }

  .pricing-cards { grid-template-columns: 1fr; }
  .pricing-card.popular { transform: none; }

  .comparison-table { overflow-x: auto; }

  .download-inner { grid-template-columns: 1fr; }
  .download-phones { display: none; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .hero-cta { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
}
