/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: #050a14;
  color: #e2e8f0;
  overflow-x: hidden;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== CSS VARIABLES ===== */
:root {
  --blue: #3b82f6;
  --purple: #8b5cf6;
  --green: #10b981;
  --orange: #f59e0b;
  --red: #ef4444;
  --teal: #14b8a6;
  --bg: #050a14;
  --bg2: #0a1628;
  --bg3: #0f1f3d;
  --border: rgba(59,130,246,0.15);
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --radius: 16px;
}
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 3px; }

/* ===== UTILITIES ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.gradient-text {
  background: linear-gradient(135deg, var(--blue), var(--purple));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 50px; font-weight: 600;
  font-size: 15px; cursor: pointer; transition: all 0.3s ease;
  border: none; font-family: 'Inter', sans-serif;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: #fff; box-shadow: 0 8px 30px rgba(59,130,246,0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(59,130,246,0.6); }
.btn-secondary {
  background: rgba(255,255,255,0.05); color: #fff;
  border: 1px solid rgba(255,255,255,0.15); backdrop-filter: blur(10px);
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
  display: inline-block; background: rgba(59,130,246,0.15); color: var(--blue);
  border: 1px solid rgba(59,130,246,0.3); padding: 6px 16px; border-radius: 50px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.5px; margin-bottom: 16px; text-transform: uppercase;
}
.section-tag.light { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.2); }
.section-title { font-size: clamp(28px, 4vw, 44px); font-weight: 800; line-height: 1.2; margin-bottom: 16px; }
.section-desc { color: var(--text-muted); font-size: 17px; max-width: 560px; margin: 0 auto; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 16px 0; transition: all 0.3s ease;
}
.navbar.scrolled {
  background: rgba(5,10,20,0.92); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border); padding: 12px 0;
}
.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; color: #fff; }
.logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: #fff;
}
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { color: var(--text-muted); font-size: 15px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: #fff; }
.nav-cta {
  background: linear-gradient(135deg, var(--blue), var(--purple)) !important;
  color: #fff !important; padding: 10px 22px; border-radius: 50px; font-weight: 600 !important;
}
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: all 0.3s; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh; display: flex; flex-direction: column;
  position: relative; overflow: hidden; padding-top: 80px;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(59,130,246,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(59,130,246,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
}
.glow { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; }
.glow-1 { width: 600px; height: 600px; background: rgba(59,130,246,0.15); top: -100px; left: -100px; }
.glow-2 { width: 500px; height: 500px; background: rgba(139,92,246,0.12); bottom: -100px; right: -100px; }
.pulse-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(59,130,246,0.2);
  animation: pulseRing 4s ease-out infinite;
}
.pulse-1 { width: 300px; height: 300px; top: 20%; right: 15%; animation-delay: 0s; }
.pulse-2 { width: 500px; height: 500px; top: 10%; right: 5%; animation-delay: 1.5s; }
.pulse-3 { width: 700px; height: 700px; top: 0%; right: -5%; animation-delay: 3s; }
@keyframes pulseRing {
  0% { opacity: 0.6; transform: scale(0.95); }
  50% { opacity: 0.2; }
  100% { opacity: 0; transform: scale(1.05); }
}
.hero-container {
  flex: 1; display: flex; align-items: center;
  max-width: 1200px; margin: 0 auto; padding: 60px 24px;
  gap: 60px; position: relative; z-index: 1;
  min-height: calc(100vh - 80px);
}
.hero-content { flex: 0 0 auto; max-width: 520px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.3);
  color: var(--green); padding: 8px 16px; border-radius: 50px;
  font-size: 13px; font-weight: 600; margin-bottom: 24px;
}
.badge-dot { width: 8px; height: 8px; background: var(--green); border-radius: 50%; animation: blink 1.5s ease-in-out infinite; }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }
.hero-title { font-size: clamp(40px, 6vw, 72px); font-weight: 900; line-height: 1.05; margin-bottom: 24px; color: #fff; }
.hero-desc { color: var(--text-muted); font-size: 18px; margin-bottom: 36px; line-height: 1.7; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-trust { display: flex; gap: 24px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 8px; color: var(--text-muted); font-size: 13px; font-weight: 500; }
.trust-item i { color: var(--blue); }
.hero-scroll-hint {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--text-muted); font-size: 12px; z-index: 1;
}
.scroll-arrow { animation: bounce 2s ease-in-out infinite; }
@keyframes bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ===== HERO VISUAL ===== */
.hero-visual {
  flex: 1;
  position: relative;
  height: 600px;
  min-height: 600px;
}
.phone-mockup { position: absolute; }
.phone-frame {
  background: linear-gradient(145deg, #1a2744, #0d1a33);
  border-radius: 40px; border: 2px solid rgba(59,130,246,0.3);
  box-shadow: 0 30px 80px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.1);
  overflow: hidden; position: relative;
}
.main-phone {
  left: 50%;
  top: 30px;
  transform: translateX(-50%);
  z-index: 3;
  animation: phoneFloat 6s ease-in-out infinite;
}
@keyframes phoneFloat {
  0%,100% { transform: translateX(-50%) translateY(0px); }
  50% { transform: translateX(-50%) translateY(-14px); }
}
.main-phone .phone-frame { width: 260px; padding: 12px; }
.phone-notch { width: 80px; height: 22px; background: #050a14; border-radius: 0 0 14px 14px; margin: 0 auto 8px; }
.phone-screen { border-radius: 28px; overflow: hidden; background: #0a1628; }
.phone-shadow {
  position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%);
  width: 80%; height: 30px; background: rgba(59,130,246,0.3); filter: blur(20px); border-radius: 50%;
}
.app-screen { padding: 12px; font-size: 10px; }
.app-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.app-header-left { display: flex; align-items: center; gap: 8px; }
.app-avatar { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--purple)); }
.app-greeting { color: var(--text-muted); font-size: 9px; }
.app-name { color: #fff; font-weight: 700; font-size: 11px; }
.app-notif { position: relative; color: var(--text-muted); font-size: 14px; }
.notif-dot { position: absolute; top: -2px; right: -2px; width: 6px; height: 6px; background: var(--red); border-radius: 50%; }
.app-status-bar { display: flex; gap: 6px; margin-bottom: 10px; }
.status-card { flex: 1; border-radius: 10px; padding: 8px 6px; display: flex; align-items: center; gap: 5px; }
.status-live { background: rgba(59,130,246,0.15); border: 1px solid rgba(59,130,246,0.3); }
.status-alert { background: rgba(245,158,11,0.15); border: 1px solid rgba(245,158,11,0.3); }
.status-ok { background: rgba(16,185,129,0.15); border: 1px solid rgba(16,185,129,0.3); }
.status-icon { font-size: 12px; }
.status-live .status-icon { color: var(--blue); }
.status-alert .status-icon { color: var(--orange); }
.status-ok .status-icon { color: var(--green); }
.status-label { color: var(--text-muted); font-size: 8px; }
.status-value { color: #fff; font-weight: 700; font-size: 13px; }
.app-map-preview { border-radius: 10px; overflow: hidden; margin-bottom: 10px; height: 80px; }
.map-bg { width: 100%; height: 100%; background: linear-gradient(135deg, #0a1628, #0f2040); position: relative; overflow: hidden; }
.map-line { position: absolute; height: 2px; background: linear-gradient(90deg, transparent, rgba(59,130,246,0.6), transparent); }
.line-a { width: 80%; top: 30%; left: 10%; transform: rotate(-5deg); }
.line-b { width: 60%; top: 55%; left: 20%; transform: rotate(8deg); }
.line-c { width: 70%; top: 70%; left: 5%; transform: rotate(-3deg); }
.map-dot { position: absolute; width: 10px; height: 10px; border-radius: 50%; }
.map-dot span { position: absolute; inset: -4px; border-radius: 50%; border: 1px solid currentColor; animation: dotPulse 2s ease-out infinite; }
.dot-live { background: var(--green); color: var(--green); }
.dot-alert { background: var(--orange); color: var(--orange); }
.dot-1 { top: 25%; left: 20%; }
.dot-2 { top: 50%; left: 55%; }
.dot-3 { top: 65%; left: 75%; }
@keyframes dotPulse { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(2.5); opacity: 0; } }
.map-label { position: absolute; bottom: 6px; left: 8px; background: rgba(16,185,129,0.2); color: var(--green); font-size: 8px; padding: 2px 6px; border-radius: 4px; font-weight: 600; }
.app-alerts-title { color: var(--text-muted); font-size: 9px; font-weight: 600; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px; }
.app-alert-item { display: flex; align-items: center; gap: 6px; padding: 7px 8px; border-radius: 8px; margin-bottom: 5px; }
.alert-warn { background: rgba(245,158,11,0.1); border: 1px solid rgba(245,158,11,0.2); }
.alert-info { background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.2); }
.alert-warn > i { color: var(--orange); font-size: 11px; }
.alert-info > i { color: var(--green); font-size: 11px; }
.alert-title { color: #fff; font-size: 9px; font-weight: 600; }
.alert-time { color: var(--text-muted); font-size: 8px; }
.alert-badge { margin-left: auto; padding: 2px 6px; border-radius: 4px; font-size: 8px; font-weight: 700; background: rgba(245,158,11,0.2); color: var(--orange); }
.alert-badge.info { background: rgba(16,185,129,0.2); color: var(--green); }

/* Side phone */
.side-phone { right: 20px; top: 60px; z-index: 2; }
.phone-frame.small { width: 180px; padding: 8px; border-radius: 30px; }
.small-notch { width: 60px; height: 16px; background: #050a14; border-radius: 0 0 10px 10px; margin: 0 auto 6px; }
.screen-map { padding: 0; }
.map-full-bg { width: 100%; min-height: 300px; background: linear-gradient(135deg, #071020, #0d1f3c); position: relative; overflow: hidden; }
.map-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(59,130,246,0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(59,130,246,0.08) 1px, transparent 1px); background-size: 20px 20px; }
.map-route { position: absolute; height: 2px; background: linear-gradient(90deg, transparent, rgba(59,130,246,0.5), transparent); }
.route-1 { width: 70%; top: 35%; left: 15%; transform: rotate(-10deg); }
.route-2 { width: 50%; top: 55%; left: 25%; transform: rotate(15deg); }
.route-3 { width: 60%; top: 70%; left: 10%; transform: rotate(-5deg); }
.map-pin { position: absolute; width: 22px; height: 22px; border-radius: 50%; background: rgba(59,130,246,0.2); border: 2px solid var(--blue); display: flex; align-items: center; justify-content: center; font-size: 9px; color: var(--blue); }
.pin-1 { top: 30%; left: 20%; }
.pin-2 { top: 50%; left: 60%; }
.pin-3 { top: 65%; left: 40%; }
.pin-alert { background: rgba(245,158,11,0.2); border-color: var(--orange); color: var(--orange); }
.map-info-card { position: absolute; bottom: 12px; left: 8px; right: 8px; background: rgba(10,22,40,0.95); border: 1px solid var(--border); border-radius: 10px; padding: 8px 10px; }
.mic-title { color: #fff; font-size: 10px; font-weight: 700; }
.mic-status.live { color: var(--green); font-size: 9px; font-weight: 600; }
.mic-voltage { color: var(--blue); font-size: 11px; font-weight: 700; }

/* Floating cards */
.floating-card {
  position: absolute; background: rgba(10,22,40,0.95); border: 1px solid var(--border);
  border-radius: 14px; padding: 12px 16px; display: flex; align-items: center; gap: 12px;
  backdrop-filter: blur(20px); box-shadow: 0 10px 40px rgba(0,0,0,0.4);
  animation: floatCard 3s ease-in-out infinite;
  z-index: 10; white-space: nowrap;
}
.card-voltage { top: 40px; left: 0; animation-delay: 0s; }
.card-alert { bottom: 120px; left: 0; animation-delay: 1s; }
.card-safe { top: 220px; right: 20px; animation-delay: 2s; }
@keyframes floatCard { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.fc-icon { width: 36px; height: 36px; border-radius: 10px; background: rgba(59,130,246,0.2); color: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 16px; }
.fc-icon.alert { background: rgba(245,158,11,0.2); color: var(--orange); }
.fc-icon.safe { background: rgba(16,185,129,0.2); color: var(--green); }
.fc-label { color: var(--text-muted); font-size: 11px; }
.fc-value { color: #fff; font-weight: 700; font-size: 15px; }
.fc-value span { font-size: 11px; color: var(--text-muted); }
.fc-value.red { color: var(--red); }
.fc-value.green { color: var(--green); }

/* ===== STATS ===== */
.stats-section { padding: 60px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(10,22,40,0.5); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; text-align: center; }
.stat-number { font-size: clamp(32px, 4vw, 52px); font-weight: 900; background: linear-gradient(135deg, var(--blue), var(--purple)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-label { color: var(--text-muted); font-size: 14px; font-weight: 500; margin-top: 4px; }

/* ===== FEATURES ===== */
.features-section { padding: 100px 0; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
  background: rgba(10,22,40,0.6); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  transition: all 0.3s ease; position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(59,130,246,0.05), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.feature-card:hover { border-color: rgba(59,130,246,0.4); transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.feature-card:hover::before { opacity: 1; }
.feature-large { grid-column: span 2; }
.feature-icon-wrap { margin-bottom: 16px; }
.feature-icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: rgba(59,130,246,0.15); color: var(--blue);
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.feature-icon.orange { background: rgba(245,158,11,0.15); color: var(--orange); }
.feature-icon.purple { background: rgba(139,92,246,0.15); color: var(--purple); }
.feature-icon.green { background: rgba(16,185,129,0.15); color: var(--green); }
.feature-icon.red { background: rgba(239,68,68,0.15); color: var(--red); }
.feature-icon.teal { background: rgba(20,184,166,0.15); color: var(--teal); }
.feature-card h3 { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.feature-card p { color: var(--text-muted); font-size: 14px; line-height: 1.7; }
.feature-visual { margin-top: 20px; }
.map-mini .mini-map-bg {
  height: 80px; border-radius: 10px; background: linear-gradient(135deg, #071020, #0d1f3c);
  position: relative; overflow: hidden;
}
.mini-line { position: absolute; height: 2px; background: linear-gradient(90deg, transparent, rgba(59,130,246,0.5), transparent); }
.ml-1 { width: 70%; top: 35%; left: 15%; transform: rotate(-8deg); }
.ml-2 { width: 50%; top: 60%; left: 25%; transform: rotate(10deg); }
.mini-dot { position: absolute; width: 8px; height: 8px; border-radius: 50%; }
.live-dot { background: var(--green); }
.alert-dot { background: var(--orange); }
.md-1 { top: 30%; left: 20%; }
.md-2 { top: 55%; left: 55%; }
.md-3 { top: 65%; left: 75%; }
.team-mini { margin-top: 16px; }
.team-avatars { display: flex; gap: -8px; margin-bottom: 8px; }
.ta {
  width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--bg2);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: #fff; margin-right: -8px;
}
.ta-1 { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.ta-2 { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.ta-3 { background: linear-gradient(135deg, #10b981, #059669); }
.ta-4 { background: rgba(255,255,255,0.1); color: var(--text-muted); font-size: 11px; }
.team-status { color: var(--green); font-size: 13px; font-weight: 600; margin-top: 8px; }

/* ===== HOW IT WORKS ===== */
.how-section { padding: 100px 0; background: rgba(10,22,40,0.3); }
.steps-container { display: flex; gap: 0; position: relative; }
.step-item { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; }
.step-number { font-size: 64px; font-weight: 900; color: rgba(59,130,246,0.1); line-height: 1; margin-bottom: 16px; }
.step-content { background: rgba(10,22,40,0.6); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; width: 100%; }
.step-icon { width: 56px; height: 56px; border-radius: 16px; background: linear-gradient(135deg, var(--blue), var(--purple)); display: flex; align-items: center; justify-content: center; font-size: 22px; color: #fff; margin: 0 auto 16px; }
.step-content h3 { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.step-content p { color: var(--text-muted); font-size: 14px; line-height: 1.7; }
.step-connector { position: absolute; top: 80px; right: -50%; width: 100%; height: 2px; background: linear-gradient(90deg, var(--blue), var(--purple)); opacity: 0.3; z-index: 0; }

/* ===== SCREENSHOTS ===== */
.screenshots-section { padding: 100px 0; }
.screenshots-carousel { position: relative; overflow: hidden; }
.screenshots-track { display: flex; gap: 40px; transition: transform 0.5s cubic-bezier(0.4,0,0.2,1); }
.screenshot-slide { flex: 0 0 calc(25% - 30px); display: flex; flex-direction: column; align-items: center; gap: 24px; }
.ss-phone { position: relative; }
.ss-frame {
  width: 200px; background: linear-gradient(145deg, #1a2744, #0d1a33);
  border-radius: 36px; border: 2px solid rgba(59,130,246,0.3);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5); padding: 10px; overflow: hidden;
}
.ss-notch { width: 60px; height: 16px; background: #050a14; border-radius: 0 0 10px 10px; margin: 0 auto 6px; }
.ss-screen { border-radius: 24px; overflow: hidden; background: #0a1628; min-height: 380px; }
.ss-app { padding: 12px; font-size: 10px; height: 100%; }
.ss-label { text-align: center; }
.ss-label h4 { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.ss-label p { color: var(--text-muted); font-size: 13px; line-height: 1.5; }

/* Dashboard screen */
.ss-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.ss-tb-left { display: flex; align-items: center; gap: 8px; }
.ss-avatar { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--purple)); }
.ss-tb-text .ss-tb-sub { color: var(--text-muted); font-size: 8px; }
.ss-tb-text .ss-tb-title { color: #fff; font-weight: 700; font-size: 11px; }
.ss-tb-bell { color: var(--text-muted); font-size: 13px; }
.ss-cards-row { display: flex; gap: 6px; margin-bottom: 10px; }
.ss-mini-card { flex: 1; border-radius: 10px; padding: 8px 6px; text-align: center; }
.ss-mini-card.blue { background: rgba(59,130,246,0.15); border: 1px solid rgba(59,130,246,0.3); }
.ss-mini-card.orange { background: rgba(245,158,11,0.15); border: 1px solid rgba(245,158,11,0.3); }
.ss-mini-card.green { background: rgba(16,185,129,0.15); border: 1px solid rgba(16,185,129,0.3); }
.ss-mini-card.blue i { color: var(--blue); font-size: 12px; }
.ss-mini-card.orange i { color: var(--orange); font-size: 12px; }
.ss-mini-card.green i { color: var(--green); font-size: 12px; }
.ss-mc-val { color: #fff; font-weight: 800; font-size: 14px; margin-top: 2px; }
.ss-mc-lbl { color: var(--text-muted); font-size: 8px; }
.ss-chart-area { margin-bottom: 10px; }
.ss-chart-title { color: var(--text-muted); font-size: 9px; font-weight: 600; margin-bottom: 6px; }
.ss-chart { height: 50px; }
.ss-chart svg { width: 100%; height: 100%; }
.ss-list-title { color: var(--text-muted); font-size: 9px; font-weight: 600; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px; }
.ss-line-item { display: flex; align-items: center; gap: 6px; padding: 6px 8px; border-radius: 8px; background: rgba(255,255,255,0.03); margin-bottom: 4px; }
.ss-li-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.ss-li-dot.live { background: var(--green); }
.ss-li-dot.alert { background: var(--orange); }
.ss-li-info { flex: 1; }
.ss-li-name { color: #fff; font-size: 9px; font-weight: 600; }
.ss-li-val { color: var(--text-muted); font-size: 8px; }
.ss-li-status { font-size: 8px; font-weight: 700; padding: 2px 5px; border-radius: 4px; }
.ss-li-status.live { background: rgba(16,185,129,0.2); color: var(--green); }
.ss-li-status.alert { background: rgba(245,158,11,0.2); color: var(--orange); }

/* Map screen */
.ss-mapview { padding: 0; height: 100%; }
.ss-map-full { width: 100%; min-height: 380px; position: relative; overflow: hidden; background: linear-gradient(135deg, #071020, #0d1f3c); }
.ss-map-grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(59,130,246,0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(59,130,246,0.07) 1px, transparent 1px); background-size: 18px 18px; }
.ss-map-r { position: absolute; height: 2px; background: linear-gradient(90deg, transparent, rgba(59,130,246,0.5), transparent); }
.r1 { width: 70%; top: 30%; left: 10%; transform: rotate(-8deg); }
.r2 { width: 55%; top: 50%; left: 20%; transform: rotate(12deg); }
.r3 { width: 65%; top: 65%; left: 5%; transform: rotate(-5deg); }
.r4 { width: 40%; top: 75%; left: 40%; transform: rotate(6deg); }
.ss-map-p { position: absolute; width: 20px; height: 20px; border-radius: 50%; background: rgba(59,130,246,0.2); border: 2px solid var(--blue); display: flex; align-items: center; justify-content: center; font-size: 8px; color: var(--blue); }
.p1 { top: 25%; left: 15%; }
.p2 { top: 45%; left: 58%; }
.p3 { top: 60%; left: 35%; }
.p4 { top: 72%; left: 70%; }
.p-alert { background: rgba(245,158,11,0.2); border-color: var(--orange); color: var(--orange); }
.ss-map-overlay { position: absolute; top: 0; left: 0; right: 0; padding: 10px; }
.ss-map-search { background: rgba(10,22,40,0.9); border: 1px solid var(--border); border-radius: 8px; padding: 6px 10px; display: flex; align-items: center; gap: 6px; color: var(--text-muted); font-size: 9px; margin-bottom: 8px; }
.ss-map-legend { display: flex; gap: 8px; }
.ss-leg-item { display: flex; align-items: center; gap: 4px; font-size: 8px; color: var(--text-muted); }
.leg-dot { width: 6px; height: 6px; border-radius: 50%; }
.leg-dot.live { background: var(--green); }
.leg-dot.alert { background: var(--orange); }
.leg-dot.off { background: var(--text-muted); }
.ss-map-bottom-card { position: absolute; bottom: 10px; left: 8px; right: 8px; background: rgba(10,22,40,0.95); border: 1px solid var(--border); border-radius: 10px; padding: 8px 10px; }
.ss-mbc-title { color: #fff; font-size: 10px; font-weight: 700; margin-bottom: 4px; }
.ss-mbc-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.ss-mbc-live { color: var(--green); font-size: 9px; font-weight: 600; }
.ss-mbc-kv { color: var(--blue); font-size: 10px; font-weight: 700; }
.ss-mbc-bar { height: 4px; background: rgba(255,255,255,0.1); border-radius: 2px; overflow: hidden; }
.ss-mbc-fill { height: 100%; background: linear-gradient(90deg, var(--blue), var(--purple)); border-radius: 2px; }

/* Alert screen */
.ss-alert { padding: 12px; }
.ss-alert-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.ss-ah-back, .ss-ah-more { color: var(--text-muted); font-size: 12px; }
.ss-ah-title { color: #fff; font-size: 11px; font-weight: 700; }
.ss-alert-badge-big { text-align: center; padding: 16px 0; margin-bottom: 14px; }
.ss-abb-icon { width: 44px; height: 44px; border-radius: 50%; background: rgba(245,158,11,0.2); border: 2px solid var(--orange); display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--orange); margin: 0 auto 8px; }
.ss-abb-text { color: #fff; font-size: 13px; font-weight: 800; }
.ss-abb-sub { color: var(--text-muted); font-size: 9px; }
.ss-alert-details { background: rgba(255,255,255,0.03); border-radius: 10px; padding: 10px; margin-bottom: 12px; }
.ss-ad-row { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.ss-ad-row:last-child { border-bottom: none; }
.ss-ad-label { color: var(--text-muted); font-size: 9px; }
.ss-ad-val { color: #fff; font-size: 9px; font-weight: 600; }
.ss-ad-val.red { color: var(--red); }
.ss-ad-val.orange { color: var(--orange); }
.ss-alert-actions { display: flex; gap: 6px; margin-bottom: 12px; }
.ss-btn-resolve, .ss-btn-dispatch { flex: 1; padding: 7px; border-radius: 8px; font-size: 9px; font-weight: 600; border: none; cursor: pointer; font-family: 'Inter', sans-serif; }
.ss-btn-resolve { background: rgba(16,185,129,0.2); color: var(--green); border: 1px solid rgba(16,185,129,0.3); }
.ss-btn-dispatch { background: linear-gradient(135deg, var(--blue), var(--purple)); color: #fff; }
.ss-alert-timeline { }
.ss-tl-title { color: var(--text-muted); font-size: 9px; font-weight: 600; margin-bottom: 8px; text-transform: uppercase; }
.ss-tl-item { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.ss-tl-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.2); flex-shrink: 0; }
.ss-tl-dot.active { background: var(--orange); }
.ss-tl-text { flex: 1; color: #fff; font-size: 9px; }
.ss-tl-time { color: var(--text-muted); font-size: 8px; }

/* Analytics screen */
.ss-analytics { padding: 12px; }
.ss-an-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.ss-an-title { color: #fff; font-size: 13px; font-weight: 800; }
.ss-an-filter { color: var(--blue); font-size: 9px; font-weight: 600; background: rgba(59,130,246,0.1); padding: 3px 8px; border-radius: 6px; }
.ss-an-summary { display: flex; gap: 6px; margin-bottom: 12px; }
.ss-an-sum-item { flex: 1; background: rgba(255,255,255,0.03); border-radius: 8px; padding: 8px 6px; text-align: center; }
.ss-an-sum-val { color: #fff; font-size: 14px; font-weight: 800; }
.ss-an-sum-val.red { color: var(--red); }
.ss-an-sum-val.green { color: var(--green); }
.ss-an-sum-lbl { color: var(--text-muted); font-size: 8px; }
.ss-an-chart-title { color: var(--text-muted); font-size: 9px; font-weight: 600; margin-bottom: 8px; }
.ss-an-bars { display: flex; align-items: flex-end; gap: 4px; height: 70px; margin-bottom: 10px; }
.ss-bar-wrap { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; justify-content: flex-end; }
.ss-bar { width: 100%; background: linear-gradient(180deg, var(--blue), rgba(59,130,246,0.3)); border-radius: 3px 3px 0 0; transition: height 0.5s ease; }
.ss-bar.high { background: linear-gradient(180deg, var(--orange), rgba(245,158,11,0.3)); }
.ss-bar-lbl { color: var(--text-muted); font-size: 7px; }
.ss-an-insight { display: flex; align-items: center; gap: 6px; background: rgba(59,130,246,0.1); border: 1px solid rgba(59,130,246,0.2); border-radius: 8px; padding: 7px 8px; }
.ss-an-insight i { color: var(--blue); font-size: 10px; flex-shrink: 0; }
.ss-an-insight span { color: var(--text-muted); font-size: 8px; line-height: 1.4; }

/* Carousel controls */
.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 40px; }
.carousel-btn { width: 44px; height: 44px; border-radius: 50%; background: rgba(59,130,246,0.1); border: 1px solid rgba(59,130,246,0.3); color: var(--blue); font-size: 14px; cursor: pointer; transition: all 0.3s; display: flex; align-items: center; justify-content: center; }
.carousel-btn:hover { background: var(--blue); color: #fff; }
.carousel-dots { display: flex; gap: 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.2); cursor: pointer; transition: all 0.3s; }
.dot.active { background: var(--blue); width: 24px; border-radius: 4px; }

/* ===== TESTIMONIALS ===== */
.testimonials-section { padding: 100px 0; background: rgba(10,22,40,0.3); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card { background: rgba(10,22,40,0.6); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: all 0.3s; }
.testimonial-card:hover { border-color: rgba(59,130,246,0.4); transform: translateY(-4px); }
.testimonial-card.featured { background: linear-gradient(135deg, rgba(59,130,246,0.1), rgba(139,92,246,0.1)); border-color: rgba(59,130,246,0.4); }
.tc-stars { color: var(--orange); font-size: 16px; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-card p { color: var(--text-muted); font-size: 14px; line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.tc-author { display: flex; align-items: center; gap: 12px; }
.tc-avatar { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700; color: #fff; }
.av1 { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.av2 { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.av3 { background: linear-gradient(135deg, #10b981, #059669); }
.tc-name { color: #fff; font-size: 14px; font-weight: 700; }
.tc-role { color: var(--text-muted); font-size: 12px; }

/* ===== DOWNLOAD ===== */
.download-section { padding: 100px 0; }
.download-card {
  background: linear-gradient(135deg, rgba(59,130,246,0.1), rgba(139,92,246,0.1));
  border: 1px solid rgba(59,130,246,0.3); border-radius: 24px;
  padding: 60px; display: flex; align-items: center; gap: 60px;
  position: relative; overflow: hidden;
}
.download-bg-glow { position: absolute; width: 400px; height: 400px; background: rgba(59,130,246,0.1); border-radius: 50%; filter: blur(80px); top: -100px; left: -100px; pointer-events: none; }
.download-content { flex: 1; position: relative; z-index: 1; }
.download-content h2 { font-size: clamp(28px, 3.5vw, 44px); font-weight: 800; margin: 16px 0; }
.download-content p { color: var(--text-muted); font-size: 16px; margin-bottom: 32px; line-height: 1.7; }
.download-btns { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.store-btn {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  border-radius: 14px; padding: 14px 22px; color: #fff;
  transition: all 0.3s; backdrop-filter: blur(10px);
}
.store-btn:hover { background: rgba(255,255,255,0.15); transform: translateY(-2px); }
.store-btn i { font-size: 28px; }
.store-sub { font-size: 11px; color: var(--text-muted); }
.store-name { font-size: 16px; font-weight: 700; }
.download-rating { display: flex; align-items: center; gap: 10px; }
.rating-stars { color: var(--orange); font-size: 16px; letter-spacing: 2px; }
.download-rating span { color: var(--text-muted); font-size: 13px; }
.download-phone { position: relative; z-index: 1; }
.dl-phone-frame { width: 200px; background: linear-gradient(145deg, #1a2744, #0d1a33); border-radius: 36px; border: 2px solid rgba(59,130,246,0.3); box-shadow: 0 20px 60px rgba(0,0,0,0.5); padding: 10px; }
.dl-phone-notch { width: 60px; height: 16px; background: #050a14; border-radius: 0 0 10px 10px; margin: 0 auto 8px; }
.dl-phone-screen { border-radius: 24px; overflow: hidden; background: #0a1628; min-height: 340px; }
.dl-app { padding: 24px 16px; text-align: center; position: relative; }
.dl-app-logo { width: 60px; height: 60px; background: linear-gradient(135deg, var(--blue), var(--purple)); border-radius: 18px; display: flex; align-items: center; justify-content: center; font-size: 26px; color: #fff; margin: 20px auto 12px; }
.dl-app-name { color: #fff; font-size: 16px; font-weight: 800; margin-bottom: 4px; }
.dl-app-tagline { color: var(--text-muted); font-size: 10px; margin-bottom: 24px; }
.dl-app-stats { display: flex; gap: 12px; justify-content: center; margin-bottom: 20px; }
.dl-stat { text-align: center; }
.dl-stat-val { color: #fff; font-size: 18px; font-weight: 800; }
.dl-stat-val.green { color: var(--green); }
.dl-stat-lbl { color: var(--text-muted); font-size: 9px; }
.dl-pulse-ring { position: absolute; width: 120px; height: 120px; border-radius: 50%; border: 1px solid rgba(59,130,246,0.2); top: 50%; left: 50%; transform: translate(-50%, -50%); animation: dlPulse 2s ease-out infinite; }
.dl-pr-2 { width: 160px; height: 160px; animation-delay: 1s; }
@keyframes dlPulse { 0% { opacity: 0.6; transform: translate(-50%,-50%) scale(0.9); } 100% { opacity: 0; transform: translate(-50%,-50%) scale(1.2); } }

/* ===== FOOTER ===== */
.footer { padding: 60px 0 30px; border-top: 1px solid var(--border); background: rgba(5,10,20,0.8); }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr; gap: 60px; margin-bottom: 48px; }
.footer-brand p { color: var(--text-muted); font-size: 14px; line-height: 1.7; margin: 16px 0 24px; max-width: 300px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,0.05); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 14px; transition: all 0.3s; }
.footer-social a:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-col h4 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 16px; }
.footer-col a { display: block; color: var(--text-muted); font-size: 14px; margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; border-top: 1px solid var(--border); }
.footer-bottom p { color: var(--text-muted); font-size: 13px; }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: var(--text-muted); font-size: 13px; transition: color 0.2s; }
.footer-legal a:hover { color: #fff; }

/* ===== SCROLL ANIMATIONS ===== */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-container { flex-direction: column; padding: 40px 24px; text-align: center; }
  .hero-content { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-visual { min-height: 400px; width: 100%; }
  .side-phone { display: none; }
  .card-alert { left: 10px; }
  .card-voltage { left: 10px; }
  .card-safe { right: 10px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-large { grid-column: span 2; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .download-card { flex-direction: column; text-align: center; padding: 40px; }
  .download-btns { justify-content: center; }
  .download-rating { justify-content: center; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(5,10,20,0.98); flex-direction: column; justify-content: center; align-items: center; gap: 32px; z-index: 999; }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 20px; }
  .hamburger { display: flex; z-index: 1000; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-large { grid-column: span 1; }
  .steps-container { flex-direction: column; gap: 24px; }
  .step-connector { display: none; }
  .screenshots-track { gap: 20px; }
  .screenshot-slide { flex: 0 0 calc(80% - 10px); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .footer-legal { flex-wrap: wrap; justify-content: center; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 36px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .download-btns { flex-direction: column; align-items: center; }
  .store-btn { width: 100%; justify-content: center; }
  .screenshot-slide { flex: 0 0 90%; }
}