/* ================================================
   MonitorWorld — Landing Page Styles
   Dark intelligence theme with cyan/blue accents
   ================================================ */

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

:root {
  --bg:         #06080f;
  --bg-alt:     #0b0f1a;
  --bg-card:    rgba(14, 19, 35, 0.7);
  --bg-glass:   rgba(255, 255, 255, 0.03);
  --border:     rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);

  --text:       #e2e8f0;
  --text-muted: #8892a4;
  --text-dim:   #4a5568;

  --accent-blue:   #3b82f6;
  --accent-cyan:   #06b6d4;
  --accent-purple: #8b5cf6;
  --accent-red:    #ef4444;
  --accent-amber:  #f59e0b;
  --accent-green:  #22c55e;

  --gradient-main: linear-gradient(135deg, #3b82f6, #06b6d4, #8b5cf6);
  --gradient-glow: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.15), transparent 70%);

  --radius:    12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --nav-height: 72px;
}

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

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

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

/* --- Globe Canvas --- */
#globe-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.4;
}

/* --- Gradient Text --- */
.gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ================================================
   NAVIGATION
   ================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: background 0.3s, backdrop-filter 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
  background: rgba(6, 8, 15, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}
.nav-brand img {
  border-radius: 8px;
}
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-main);
  border-radius: 1px;
  transition: width 0.3s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  white-space: nowrap;
}
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-primary {
  background: var(--gradient-main);
  color: #fff;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-hover);
  padding: 14px 28px;
}
.btn-outline:hover {
  border-color: var(--accent-blue);
  background: rgba(59, 130, 246, 0.05);
  transform: translateY(-2px);
}
.btn-ghost {
  background: rgba(255,255,255,0.05);
  color: var(--text);
  border: 1px solid var(--border);
  padding: 14px 28px;
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

/* Mobile toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  display: none;
  position: absolute;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: rgba(6, 8, 15, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 24px;
  border-bottom: 1px solid var(--border);
}
.mobile-menu.open { display: block; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 16px; }
.mobile-menu a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--text); }

/* ================================================
   HERO
   ================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  overflow: hidden;
  z-index: 1;
}
.hero-content {
  max-width: 800px;
  position: relative;
  z-index: 2;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 100px;
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent-blue);
  margin-bottom: 32px;
  animation: fadeInUp 0.8s ease-out;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-green);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6); }
  50% { opacity: 0.8; box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease-out 0.1s both;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}
.hero-sub strong { color: var(--text); }

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-metrics {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-top: 64px;
  animation: fadeInUp 0.8s ease-out 0.5s both;
}
.metric { text-align: center; }
.metric-value {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.metric-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}
.metric-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

.hero-glow {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.08) 0%, rgba(139, 92, 246, 0.04) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.5;
  animation: fadeInUp 0.8s ease-out 0.7s both;
}
.scroll-line {
  width: 2px;
  height: 40px;
  background: var(--border-hover);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--accent-blue);
  border-radius: 2px;
  animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown {
  0% { top: -50%; }
  100% { top: 150%; }
}

/* ================================================
   TICKER BAR
   ================================================ */
.ticker-bar {
  position: relative;
  z-index: 2;
  background: rgba(14, 19, 35, 0.8);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 12px 0;
}
.ticker-track { overflow: hidden; }
.ticker-content {
  display: flex;
  gap: 64px;
  animation: ticker 40s linear infinite;
  width: max-content;
}
.ticker-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.ticker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.ticker-dot.red { background: var(--accent-red); box-shadow: 0 0 8px var(--accent-red); }
.ticker-dot.amber { background: var(--accent-amber); box-shadow: 0 0 8px var(--accent-amber); }
.ticker-dot.green { background: var(--accent-green); box-shadow: 0 0 8px var(--accent-green); }
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ================================================
   SECTIONS
   ================================================ */
.section {
  position: relative;
  z-index: 1;
  padding: 120px 0;
}
.section-alt { background: var(--bg-alt); }
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-badge {
  display: inline-block;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-blue);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-top: 16px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ================================================
   FEATURES GRID
   ================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-main);
  opacity: 0;
  transition: opacity 0.4s;
}
.feature-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.feature-card:hover::before { opacity: 1; }

.feature-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-icon-wrap svg { width: 24px; height: 24px; }
.feature-icon-wrap.blue   { background: rgba(59, 130, 246, 0.1); color: var(--accent-blue); }
.feature-icon-wrap.purple { background: rgba(139, 92, 246, 0.1); color: var(--accent-purple); }
.feature-icon-wrap.red    { background: rgba(239, 68, 68, 0.1);  color: var(--accent-red); }
.feature-icon-wrap.cyan   { background: rgba(6, 182, 212, 0.1);  color: var(--accent-cyan); }
.feature-icon-wrap.amber  { background: rgba(245, 158, 11, 0.1); color: var(--accent-amber); }
.feature-icon-wrap.green  { background: rgba(34, 197, 94, 0.1);  color: var(--accent-green); }

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.feature-tag {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.08);
  padding: 4px 10px;
  border-radius: 6px;
}

/* ================================================
   HOW IT WORKS — TIMELINE
   ================================================ */
.steps-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}
.steps-timeline::before {
  content: '';
  position: absolute;
  left: 40px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent-blue), var(--accent-purple), var(--accent-cyan));
  opacity: 0.3;
}
.step-item {
  display: grid;
  grid-template-columns: 80px 1fr 200px;
  gap: 32px;
  align-items: center;
  padding: 48px 0;
  position: relative;
}
.step-number {
  font-size: 2rem;
  font-weight: 900;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
  position: relative;
  z-index: 2;
}
.step-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.step-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Step visuals */
.step-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Data streams animation */
.data-stream {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
.stream-line {
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
  animation: streamFlow 2s ease-in-out infinite;
}
.stream-line:nth-child(2) { animation-delay: 0.3s; opacity: 0.7; }
.stream-line:nth-child(3) { animation-delay: 0.6s; opacity: 0.5; }
.stream-line:nth-child(4) { animation-delay: 0.9s; opacity: 0.3; }
.stream-line:nth-child(5) { animation-delay: 1.2s; opacity: 0.2; }
@keyframes streamFlow {
  0%, 100% { transform: scaleX(0.3); opacity: 0.2; }
  50% { transform: scaleX(1); opacity: 1; }
}

/* Neural dots animation */
.neural-dots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100px;
}
.neural-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-purple);
  animation: neuralPulse 1.5s ease-in-out infinite;
}
.neural-dots span:nth-child(1) { animation-delay: 0s; }
.neural-dots span:nth-child(2) { animation-delay: 0.15s; }
.neural-dots span:nth-child(3) { animation-delay: 0.3s; }
.neural-dots span:nth-child(4) { animation-delay: 0.45s; }
.neural-dots span:nth-child(5) { animation-delay: 0.6s; }
.neural-dots span:nth-child(6) { animation-delay: 0.75s; }
.neural-dots span:nth-child(7) { animation-delay: 0.9s; }
.neural-dots span:nth-child(8) { animation-delay: 1.05s; }
.neural-dots span:nth-child(9) { animation-delay: 1.2s; }
@keyframes neuralPulse {
  0%, 100% { transform: scale(0.5); opacity: 0.3; }
  50% { transform: scale(1); opacity: 1; box-shadow: 0 0 12px var(--accent-purple); }
}

/* Mini alert cards */
.alert-cards-mini {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
.mini-card {
  height: 24px;
  border-radius: 6px;
  animation: slideInRight 0.6s ease-out both;
}
.mini-card.mc-red {
  background: linear-gradient(90deg, rgba(239, 68, 68, 0.2), rgba(239, 68, 68, 0.05));
  border-left: 3px solid var(--accent-red);
  animation-delay: 0s;
}
.mini-card.mc-amber {
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.2), rgba(245, 158, 11, 0.05));
  border-left: 3px solid var(--accent-amber);
  animation-delay: 0.15s;
  width: 85%;
}
.mini-card.mc-green {
  background: linear-gradient(90deg, rgba(34, 197, 94, 0.2), rgba(34, 197, 94, 0.05));
  border-left: 3px solid var(--accent-green);
  animation-delay: 0.3s;
  width: 70%;
}
@keyframes slideInRight {
  from { transform: translateX(40px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ================================================
   STATS
   ================================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.stat-icon svg { width: 24px; height: 24px; }
.stat-icon.blue   { background: rgba(59, 130, 246, 0.1); color: var(--accent-blue); }
.stat-icon.purple { background: rgba(139, 92, 246, 0.1); color: var(--accent-purple); }
.stat-icon.cyan   { background: rgba(6, 182, 212, 0.1);  color: var(--accent-cyan); }
.stat-icon.green  { background: rgba(34, 197, 94, 0.1);  color: var(--accent-green); }

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.stat-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  overflow: hidden;
}
.stat-bar-fill {
  height: 100%;
  width: 0;
  border-radius: 4px;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.stat-bar-fill.blue-fill   { background: var(--accent-blue); }
.stat-bar-fill.purple-fill { background: var(--accent-purple); }
.stat-bar-fill.cyan-fill   { background: var(--accent-cyan); }
.stat-bar-fill.green-fill  { background: var(--accent-green); }
.stat-card.animated .stat-bar-fill { width: var(--fill-width); }

/* ================================================
   APP PREVIEW
   ================================================ */
.app-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.preview-left h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-top: 20px;
  margin-bottom: 20px;
}
.preview-left p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}
.preview-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.preview-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text);
}

/* Phone mockup */
.preview-right {
  display: flex;
  justify-content: center;
}
.phone-mockup { position: relative; }
.phone-frame {
  width: 280px;
  height: 580px;
  background: #111827;
  border-radius: 40px;
  border: 3px solid #1f2937;
  overflow: hidden;
  position: relative;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}
.phone-notch {
  width: 120px;
  height: 28px;
  background: #111827;
  border-radius: 0 0 20px 20px;
  margin: 0 auto;
  position: relative;
  z-index: 5;
}
.phone-screen {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #0a0e1a;
  display: flex;
  flex-direction: column;
}

/* Mock map inside phone */
.mock-map {
  flex: 1;
  position: relative;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 60%, rgba(139, 92, 246, 0.06) 0%, transparent 50%),
    var(--bg);
  overflow: hidden;
}
.mock-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 30px 30px;
}
.mock-pin {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  animation: pinPulse 2s ease-in-out infinite;
}
.mock-pin::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid;
  animation: pinRing 2s ease-in-out infinite;
}
.pin-1 { top: 25%; left: 60%; background: var(--accent-red); }
.pin-1::after { border-color: var(--accent-red); }
.pin-2 { top: 40%; left: 30%; background: var(--accent-amber); animation-delay: 0.4s; }
.pin-2::after { border-color: var(--accent-amber); animation-delay: 0.4s; }
.pin-3 { top: 55%; left: 70%; background: var(--accent-green); animation-delay: 0.8s; }
.pin-3::after { border-color: var(--accent-green); animation-delay: 0.8s; }
.pin-4 { top: 35%; left: 50%; background: var(--accent-red); animation-delay: 1.2s; }
.pin-4::after { border-color: var(--accent-red); animation-delay: 1.2s; }
.pin-5 { top: 65%; left: 40%; background: var(--accent-amber); animation-delay: 1.6s; }
.pin-5::after { border-color: var(--accent-amber); animation-delay: 1.6s; }
@keyframes pinPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.3); }
}
@keyframes pinRing {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(2); opacity: 0; }
}

.mock-bottom-bar {
  display: flex;
  justify-content: space-around;
  padding: 12px 0 28px;
  background: rgba(14, 19, 35, 0.95);
  border-top: 1px solid var(--border);
}
.mock-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 0.6rem;
  color: var(--text-dim);
}
.mock-tab.active { color: var(--accent-blue); }

.phone-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}


/* ================================================
   CTA
   ================================================ */
.cta-section {
  position: relative;
  z-index: 1;
  padding: 120px 0;
}
.cta-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 80px 40px;
  text-align: center;
  overflow: hidden;
}
.cta-card h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}
.cta-card p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 550px;
  margin: 0 auto 40px;
  line-height: 1.7;
  position: relative;
  z-index: 2;
}
.cta-card .btn { position: relative; z-index: 2; }

.cta-bg-orbs {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.orb-1 {
  width: 300px;
  height: 300px;
  background: rgba(59, 130, 246, 0.12);
  top: -100px;
  left: -50px;
  animation: orbFloat 8s ease-in-out infinite;
}
.orb-2 {
  width: 250px;
  height: 250px;
  background: rgba(139, 92, 246, 0.1);
  bottom: -80px;
  right: -30px;
  animation: orbFloat 10s ease-in-out infinite reverse;
}
.orb-3 {
  width: 200px;
  height: 200px;
  background: rgba(6, 182, 212, 0.08);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: orbFloat 6s ease-in-out infinite 2s;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(30px, -20px); }
  66% { transform: translate(-20px, 30px); }
}

/* ================================================
   FOOTER
   ================================================ */
.footer {
  position: relative;
  z-index: 1;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 12px;
  line-height: 1.6;
}
.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 0.9rem;
  color: var(--text-dim);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: center;
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* ================================================
   LEGAL PAGES
   ================================================ */
.legal-page {
  padding: 120px 0 80px;
  position: relative;
  z-index: 1;
}
.legal-page h1 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.legal-page .last-updated {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 40px;
}
.legal-page h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.legal-page h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 8px;
}
.legal-page p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}
.legal-page ul {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
  padding-left: 24px;
  list-style: disc;
}
.legal-page a {
  color: var(--accent-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-page a:hover { color: var(--accent-cyan); }

/* ================================================
   REVEAL ANIMATIONS
   ================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }
.reveal[data-delay="5"] { transition-delay: 0.5s; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .app-preview { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .preview-left { order: 1; }
  .preview-right { order: 2; }
  .preview-features { align-items: center; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .mobile-toggle { display: flex; }

  .section { padding: 80px 0; }
  .hero { padding: 100px 16px 64px; min-height: auto; }
  .hero h1 { font-size: 2.2rem; }
  .hero-sub { font-size: 1rem; }
  .hero-metrics { gap: 20px; }
  .metric-value { font-size: 1.5rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn-lg { width: 100%; justify-content: center; max-width: 320px; }

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

  .step-item {
    grid-template-columns: 60px 1fr;
    gap: 16px;
  }
  .step-visual { display: none; }
  .steps-timeline::before { left: 28px; }

  .phone-frame { width: 240px; height: 500px; }

  .cta-card { padding: 48px 24px; }

  .scroll-indicator { display: none; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .hero-metrics { flex-direction: column; gap: 16px; }
  .metric-divider { width: 40px; height: 1px; }
}
