/* ═══════════════════════════════════════════════════════
   BERANI SAMPOROA — Landing Page Styles
   Design System: Green (#33C738) + Dark slate backgrounds
   ═══════════════════════════════════════════════════════ */

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

:root {
  /* Primary */
  --green-50: #f0fdf0;
  --green-100: #dcfce7;
  --green-200: #bbf7d0;
  --green-300: #86efac;
  --green-400: #4ade80;
  --green-500: #33C738;
  --green-600: #28A32D;
  --green-700: #1A8F2F;
  --green-800: #166534;
  --green-900: #134E15;

  /* Accent */
  --red-500: #EF4444;
  --red-600: #DC2626;
  --blue-500: #3B82F6;
  --blue-600: #2563EB;
  --amber-500: #F59E0B;
  --purple-500: #8B5CF6;
  --teal-500: #14B8A6;

  /* Neutrals */
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;

  /* Spacing */
  --section-py: 100px;
  --container-px: 24px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,0.25);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration: 0.3s;
}

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

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

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

a {
  text-decoration: none;
  color: inherit;
}

ul { list-style: none; }

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

/* ══════════════════════════════════
   NAVIGATION
   ══════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--duration) var(--ease);
}

.navbar.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  padding: 10px 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--container-px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
}

.nav-brand {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  transition: color var(--duration);
}

.nav-sub {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.5px;
  transition: color var(--duration);
}

.navbar.scrolled .nav-brand { color: var(--slate-800); }
.navbar.scrolled .nav-sub { color: var(--slate-400); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  transition: color var(--duration);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green-500);
  transition: width var(--duration) var(--ease);
  border-radius: 1px;
}

.nav-link:hover::after { width: 100%; }
.nav-link:hover { color: #fff; }

.navbar.scrolled .nav-link { color: var(--slate-600); }
.navbar.scrolled .nav-link:hover { color: var(--green-600); }

.nav-cta {
  background: var(--green-500);
  color: #fff !important;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-weight: 600;
  transition: all var(--duration);
}

.nav-cta::after { display: none; }
.nav-cta:hover {
  background: var(--green-600);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(51,199,56,0.4);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--duration);
}

.navbar.scrolled .nav-toggle span { background: var(--slate-700); }

/* ══════════════════════════════════
   HERO
   ══════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15,23,42,0.92) 0%,
    rgba(19,78,21,0.85) 50%,
    rgba(15,23,42,0.78) 100%
  );
}

.hero-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px var(--container-px) 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(51,199,56,0.15);
  border: 1px solid rgba(51,199,56,0.3);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--green-300);
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--green-400);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 12px;
  letter-spacing: -1px;
}

.text-gradient {
  background: linear-gradient(135deg, var(--green-400), var(--green-300));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline {
  font-size: 20px;
  font-weight: 600;
  color: var(--green-300);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.hero-desc {
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  border: none;
  white-space: nowrap;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 15px;
}

.btn-primary {
  background: var(--green-500);
  color: #fff;
  box-shadow: 0 4px 14px rgba(51,199,56,0.4);
}

.btn-primary:hover {
  background: var(--green-600);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(51,199,56,0.5);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-2px);
}

.hero-stores {
  display: flex;
  gap: 12px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  font-weight: 500;
  transition: all var(--duration);
}

.store-badge:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
  transform: translateY(-1px);
}

/* Hero Visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-phone-wrapper {
  position: relative;
  animation: float 6s ease-in-out infinite;
}

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

/* Phone Frame Component */
.phone-frame {
  position: relative;
  width: 280px;
  background: #1a1a1a;
  border-radius: 36px;
  padding: 12px;
  box-shadow: 
    0 0 0 2px rgba(255,255,255,0.1),
    0 30px 60px rgba(0,0,0,0.4),
    inset 0 0 0 1px rgba(255,255,255,0.05);
}

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 28px;
  background: #1a1a1a;
  border-radius: 0 0 16px 16px;
  z-index: 10;
}

.phone-notch::after {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  background: #333;
  border-radius: 50%;
}

.phone-screen {
  width: 100%;
  border-radius: 26px;
  display: block;
}

.hero-phone-wrapper .phone-frame {
  width: 300px;
}

.hero-phone-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(51,199,56,0.3) 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
  animation: glow 4s ease-in-out infinite alternate;
}

@keyframes glow {
  0% { opacity: 0.5; transform: translate(-50%, -50%) scale(0.8); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 2;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: 80px;
}

/* ══════════════════════════════════
   SECTION HEADERS
   ══════════════════════════════════ */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--green-600);
  margin-bottom: 12px;
}

.section-eyebrow--light {
  color: var(--green-300);
}

.section-title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  color: var(--slate-800);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-title--light { color: #fff; }

.section-desc {
  font-size: 17px;
  color: var(--slate-500);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ══════════════════════════════════
   FEATURES
   ══════════════════════════════════ */
.features {
  padding: var(--section-py) 0;
  background: #fff;
}

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

.feature-card {
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: var(--slate-50);
  border: 1px solid var(--slate-100);
  transition: all var(--duration) var(--ease);
  position: relative;
  overflow: hidden;
}

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

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
  background: #fff;
}

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

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

.feature-icon--green { background: var(--green-100); color: var(--green-700); }
.feature-icon--red { background: #fef2f2; color: var(--red-600); }
.feature-icon--blue { background: #eff6ff; color: var(--blue-600); }
.feature-icon--amber { background: #fffbeb; color: #d97706; }
.feature-icon--purple { background: #f5f3ff; color: var(--purple-500); }
.feature-icon--teal { background: #f0fdfa; color: var(--teal-500); }

.feature-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--slate-800);
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 14px;
  color: var(--slate-500);
  line-height: 1.6;
}

/* ══════════════════════════════════
   SERVICES / EMERGENCY
   ══════════════════════════════════ */
.services {
  padding: var(--section-py) 0;
  background: linear-gradient(135deg, var(--slate-900) 0%, #1a1a2e 50%, var(--green-900) 100%);
  position: relative;
  overflow: hidden;
}

.services::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(51,199,56,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.services-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.services-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 36px;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.service-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  transition: all var(--duration);
}

.service-item:hover {
  background: rgba(255,255,255,0.08);
  transform: translateX(4px);
}

.service-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon--red { background: rgba(239,68,68,0.15); color: var(--red-500); }
.service-icon--blue { background: rgba(59,130,246,0.15); color: var(--blue-500); }
.service-icon--green { background: rgba(51,199,56,0.15); color: var(--green-400); }

.service-item strong {
  display: block;
  font-size: 15px;
  color: #fff;
  margin-bottom: 2px;
}

.service-item span {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

/* SOS Button Animation */
.services-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 400px;
}

.sos-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(239,68,68,0.15);
}

.sos-ring--outer {
  width: 340px;
  height: 340px;
  animation: sos-pulse 3s ease-in-out infinite;
}

.sos-ring--middle {
  width: 260px;
  height: 260px;
  animation: sos-pulse 3s ease-in-out infinite 0.5s;
}

.sos-ring--inner {
  width: 200px;
  height: 200px;
  animation: sos-pulse 3s ease-in-out infinite 1s;
}

@keyframes sos-pulse {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.08); opacity: 0.6; border-color: rgba(239,68,68,0.3); }
}

.sos-button {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: linear-gradient(135deg, #EF4444, #DC2626);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 60px rgba(239,68,68,0.4), 0 0 120px rgba(239,68,68,0.2);
  cursor: pointer;
  transition: all var(--duration);
  animation: sos-glow 2s ease-in-out infinite alternate;
  border: 4px solid rgba(255,255,255,0.2);
  z-index: 1;
}

.sos-button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 80px rgba(239,68,68,0.5), 0 0 160px rgba(239,68,68,0.3);
}

@keyframes sos-glow {
  0% { box-shadow: 0 0 40px rgba(239,68,68,0.3), 0 0 80px rgba(239,68,68,0.15); }
  100% { box-shadow: 0 0 60px rgba(239,68,68,0.5), 0 0 120px rgba(239,68,68,0.25); }
}

.sos-button span {
  font-size: 36px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 4px;
}

.sos-label {
  margin-top: 24px;
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
  z-index: 1;
}

/* ══════════════════════════════════
   SCREENSHOTS CAROUSEL
   ══════════════════════════════════ */
.screenshots {
  padding: var(--section-py) 0;
  background: var(--slate-50);
  overflow: hidden;
}

.screenshots-carousel {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 28px;
  padding: 20px 0 10px;
}

.screenshot-phone {
  text-align: center;
  transition: all 0.5s var(--ease);
  flex-shrink: 0;
}

.screenshot-phone .phone-frame {
  width: 200px;
  transition: all 0.4s var(--ease);
}

.screenshot-phone:hover .phone-frame {
  transform: translateY(-12px);
  box-shadow: 
    0 0 0 2px rgba(255,255,255,0.1),
    0 40px 80px rgba(0,0,0,0.3);
}

.screenshot-phone--hero .phone-frame {
  width: 240px;
  box-shadow: 
    0 0 0 2px rgba(51,199,56,0.3),
    0 40px 80px rgba(0,0,0,0.35),
    0 0 40px rgba(51,199,56,0.15);
}

.screenshot-label {
  display: block;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-500);
  letter-spacing: 0.5px;
}

/* ══════════════════════════════════
   STATISTICS
   ══════════════════════════════════ */
.stats {
  padding: 80px 0;
  background: #fff;
}

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

.stat-card {
  text-align: center;
  padding: 40px 20px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--green-50), #fff);
  border: 1px solid var(--green-100);
  position: relative;
  overflow: hidden;
  transition: all var(--duration);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green-200);
}

.stat-number {
  font-size: 48px;
  font-weight: 800;
  color: var(--green-600);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-number::after {
  content: '+';
  font-size: 32px;
}

.stat-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--slate-600);
}

.stat-icon {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 28px;
  opacity: 0.3;
}

/* ══════════════════════════════════
   HOW IT WORKS
   ══════════════════════════════════ */
.how-it-works {
  padding: var(--section-py) 0;
  background: var(--slate-50);
}

.steps-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.step-card {
  flex: 1;
  max-width: 300px;
  text-align: center;
  padding: 40px 28px;
  position: relative;
}

.step-number {
  font-size: 64px;
  font-weight: 800;
  color: var(--green-100);
  line-height: 1;
  margin-bottom: 12px;
}

.step-icon {
  font-size: 44px;
  margin-bottom: 16px;
}

.step-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--slate-800);
  margin-bottom: 8px;
}

.step-card p {
  font-size: 14px;
  color: var(--slate-500);
  line-height: 1.6;
}

.step-connector {
  display: flex;
  align-items: center;
  padding-top: 80px;
}

/* ══════════════════════════════════
   CTA / DOWNLOAD
   ══════════════════════════════════ */
.cta {
  padding: var(--section-py) 0;
  position: relative;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--green-900), var(--green-800), var(--green-700));
  z-index: 0;
}

.cta-bg::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 60%);
  border-radius: 50%;
}

.cta-bg::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(51,199,56,0.15) 0%, transparent 60%);
  border-radius: 50%;
}

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

.cta-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.cta-desc {
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 36px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  transition: all var(--duration);
  border: 1.5px solid rgba(255,255,255,0.2);
}

.store-btn--play {
  background: #fff;
  color: var(--slate-800);
  border-color: transparent;
}

.store-btn--apple {
  background: transparent;
  color: #fff;
}

.store-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.store-btn--play:hover {
  background: #f0fdf0;
}

.store-btn--apple:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.4);
}

.store-btn small {
  display: block;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.6;
}

.store-btn strong {
  display: block;
  font-size: 16px;
  line-height: 1.2;
}

/* ══════════════════════════════════
   FOOTER
   ══════════════════════════════════ */
.footer {
  background: var(--slate-900);
  padding: 60px 0 30px;
  color: rgba(255,255,255,0.5);
}

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

.footer-logo {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  margin-bottom: 12px;
}

.footer-brand h3 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.5;
}

.footer-tagline {
  margin-top: 12px;
  font-size: 13px;
  color: var(--green-400);
  font-weight: 600;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 14px;
  transition: color var(--duration);
}

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

.footer-contact p {
  font-size: 14px;
  margin-bottom: 6px;
}

.footer-emergency {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--red-500);
  font-weight: 600;
  margin-top: 8px;
  transition: color var(--duration);
}

.footer-emergency:hover { color: var(--red-500); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p { font-size: 13px; }

.footer-version {
  font-size: 12px;
  color: var(--slate-600);
}

/* ══════════════════════════════════
   REVEAL ANIMATIONS
   ══════════════════════════════════ */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

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

/* ══════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-container { grid-template-columns: 1fr; text-align: center; }
  .hero-content { order: 1; }
  .hero-visual { order: 0; margin-bottom: 20px; }
  .hero-desc { margin: 0 auto 32px; }
  .hero-actions { justify-content: center; }
  .hero-stores { justify-content: center; }
  .hero-phone-wrapper .phone-frame { width: 240px; }

  .screenshots-carousel { gap: 20px; }
  .screenshot-phone .phone-frame { width: 160px; }
  .screenshot-phone--hero .phone-frame { width: 200px; }

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

  .services-wrapper { grid-template-columns: 1fr; gap: 60px; }
  .services-visual { min-height: 320px; }

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

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

@media (max-width: 768px) {
  :root {
    --section-py: 64px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    padding: 20px;
    flex-direction: column;
    gap: 0;
    box-shadow: var(--shadow-xl);
  }

  .nav-links.open { display: flex; }

  .nav-links .nav-link {
    color: var(--slate-700);
    padding: 12px 16px;
    width: 100%;
    border-radius: var(--radius-sm);
  }

  .nav-links .nav-link:hover {
    background: var(--slate-50);
    color: var(--green-600);
  }

  .nav-links .nav-cta {
    text-align: center;
    margin-top: 8px;
  }

  .nav-toggle { display: flex; }

  .hero { min-height: auto; padding: 60px 0 0; }
  .hero-container { padding: 100px var(--container-px) 60px; }
  .hero-phone-wrapper .phone-frame { width: 200px; }

  .screenshots-carousel {
    gap: 14px;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 20px 24px 20px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .screenshot-phone {
    scroll-snap-align: center;
  }

  .screenshot-phone .phone-frame { width: 180px; }
  .screenshot-phone--hero .phone-frame { width: 200px; }

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

  .sos-ring--outer { width: 240px; height: 240px; }
  .sos-ring--middle { width: 180px; height: 180px; }
  .sos-ring--inner { width: 140px; height: 140px; }
  .sos-button { width: 100px; height: 100px; }
  .sos-button span { font-size: 24px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-number { font-size: 36px; }

  .steps-grid { flex-direction: column; align-items: center; }
  .step-connector { transform: rotate(90deg); padding-top: 0; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 32px; }
  .hero-tagline { font-size: 16px; }
  .hero-desc { font-size: 15px; }
  .hero-actions { flex-direction: column; }
  .hero-stores { flex-direction: column; align-items: center; }

  .stat-card { padding: 28px 16px; }
  .stat-number { font-size: 32px; }

  .cta-buttons { flex-direction: column; align-items: center; }
  .store-btn { width: 100%; max-width: 280px; justify-content: center; }
}
