/* ═══════════════════════════════════════════
   SAFETY PAGES — Design System
   ═══════════════════════════════════════════ */

:root {
  --primary: #1B2A4A;
  --primary-light: #2D4A7A;
  --accent: #00C9A7;
  --accent-glow: rgba(0, 201, 167, 0.3);
  --cta: #FF6B35;
  --cta-hover: #FF8555;
  --bg-dark: #0A0F1C;
  --bg-section: #111827;
  --card-bg: rgba(255, 255, 255, 0.04);
  --card-border: rgba(255, 255, 255, 0.08);
  --card-hover: rgba(255, 255, 255, 0.08);
  --text: #FFFFFF;
  --text-muted: #94A3B8;
  --text-dim: #64748B;
  --green: #10B981;
  --orange: #F59E0B;
  --blue: #3B82F6;
  --purple: #8B5CF6;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1200px;
  --nav-height: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

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

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

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

/* ─── UTILITIES ─── */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ═══════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════ */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.nav.scrolled {
  background: rgba(10, 15, 28, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05);
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.nav-logo img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}
.nav-logo span { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.nav-cta {
  background: var(--cta);
  color: white;
  padding: 10px 24px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover {
  background: var(--cta-hover);
  transform: translateY(-1px);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 8px;
}
.nav-hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0; bottom: 0;
  background: rgba(10, 15, 28, 0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  padding: 40px 24px;
  flex-direction: column;
  gap: 24px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 12px 0;
  border-bottom: 1px solid var(--card-border);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--text); }
.mobile-menu .nav-cta {
  display: inline-block;
  text-align: center;
  margin-top: 16px;
  padding: 16px 32px;
  font-size: 18px;
}

/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(0, 201, 167, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(59, 130, 246, 0.06) 0%, transparent 50%);
  pointer-events: none;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-content { max-width: 560px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 201, 167, 0.1);
  border: 1px solid rgba(0, 201, 167, 0.2);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.hero h1 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}
.hero h1 .highlight {
  background: linear-gradient(135deg, var(--accent), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.btn-primary {
  background: var(--cta);
  color: white;
  padding: 16px 32px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 700;
  transition: all 0.3s;
  box-shadow: 0 4px 24px rgba(255, 107, 53, 0.3);
}
.btn-primary:hover {
  background: var(--cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255, 107, 53, 0.4);
}
.btn-secondary {
  background: transparent;
  color: var(--text);
  padding: 16px 32px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  border: 1px solid var(--card-border);
  transition: all 0.3s;
}
.btn-secondary:hover {
  background: var(--card-hover);
  border-color: rgba(255,255,255,0.2);
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-dim);
}
.hero-trust svg {
  color: var(--accent);
  flex-shrink: 0;
}
.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-image img {
  max-height: 600px;
  width: auto;
  filter: drop-shadow(0 20px 60px rgba(0, 201, 167, 0.15));
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ═══════════════════════════════════════════
   PROBLEM → SOLUTION
   ═══════════════════════════════════════════ */

.problems {
  padding: 100px 0;
  background: var(--bg-section);
  position: relative;
}
.problems::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--card-border), transparent);
}
.problems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.problem-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  transition: all 0.3s;
}
.problem-card:hover {
  background: var(--card-hover);
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.12);
}
.problem-icon {
  font-size: 40px;
  margin-bottom: 16px;
}
.problem-before {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 12px;
  text-decoration: line-through;
  text-decoration-color: rgba(239, 68, 68, 0.5);
}
.problem-arrow {
  color: var(--accent);
  font-size: 20px;
  margin-bottom: 12px;
}
.problem-after {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

/* ═══════════════════════════════════════════
   FEATURES
   ═══════════════════════════════════════════ */

.features {
  padding: 120px 0;
  position: relative;
}
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--blue));
  opacity: 0;
  transition: opacity 0.3s;
}
.feature-card:hover {
  background: var(--card-hover);
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.12);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}
.feature-icon.green { background: rgba(16, 185, 129, 0.15); color: var(--green); }
.feature-icon.orange { background: rgba(245, 158, 11, 0.15); color: var(--orange); }
.feature-icon.blue { background: rgba(59, 130, 246, 0.15); color: var(--blue); }
.feature-icon.purple { background: rgba(139, 92, 246, 0.15); color: var(--purple); }
.feature-icon.teal { background: rgba(0, 201, 167, 0.15); color: var(--accent); }
.feature-icon.slate { background: rgba(100, 116, 139, 0.15); color: #94A3B8; }
.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════
   STATS / SOCIAL PROOF
   ═══════════════════════════════════════════ */

.stats {
  padding: 100px 0;
  background: var(--bg-section);
  text-align: center;
  position: relative;
}
.stats::before, .stats::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--card-border), transparent);
}
.stats::before { top: 0; }
.stats::after { bottom: 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.stat-item .stat-number {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-item .stat-label {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 8px;
  font-weight: 500;
}
.testimonial {
  margin-top: 64px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.testimonial-quote {
  font-size: 18px;
  font-style: italic;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 20px;
}
.testimonial-author {
  font-size: 14px;
  color: var(--text-muted);
}
.testimonial-author strong {
  color: var(--text);
  font-weight: 600;
}

/* ═══════════════════════════════════════════
   PRICING
   ═══════════════════════════════════════════ */

.pricing {
  padding: 120px 0;
  text-align: center;
}
.pricing-card {
  max-width: 480px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(0, 201, 167, 0.05), rgba(59, 130, 246, 0.05));
  border: 1px solid rgba(0, 201, 167, 0.2);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  position: relative;
}
.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--blue));
  color: white;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 20px;
  border-radius: 100px;
}
.pricing-price {
  margin: 24px 0 8px;
}
.pricing-price .amount {
  font-size: 56px;
  font-weight: 800;
}
.pricing-price .period {
  font-size: 16px;
  color: var(--text-muted);
}
.pricing-trial {
  font-size: 15px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 32px;
}
.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 36px;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 15px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--card-border);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li svg {
  color: var(--accent);
  flex-shrink: 0;
}
.pricing-note {
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 16px;
}

/* ═══════════════════════════════════════════
   CTA BANNER
   ═══════════════════════════════════════════ */

.cta-banner {
  padding: 100px 0;
  text-align: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(ellipse, rgba(0, 201, 167, 0.1) 0%, transparent 60%);
  pointer-events: none;
}
.cta-banner h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  margin-bottom: 16px;
  position: relative;
}
.cta-banner p {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 36px;
  position: relative;
}
.cta-banner .btn-primary { position: relative; }
.store-badges {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
  position: relative;
}
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  transition: all 0.3s;
}
.store-badge:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */

.footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--card-border);
}
.footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
}
.footer-logo img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a {
  font-size: 14px;
  color: var(--text-dim);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }
.footer-copy {
  font-size: 13px;
  color: var(--text-dim);
}

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

@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .hero { min-height: auto; padding: calc(var(--nav-height) + 40px) 0 60px; }
  .hero-content { max-width: 100%; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-image { order: -1; }
  .hero-image img { max-height: 400px; }

  .problems-grid { grid-template-columns: 1fr; gap: 16px; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }

  .pricing-card { padding: 36px 24px; }
  .pricing-price .amount { font-size: 44px; }

  .section-header { margin-bottom: 40px; }
  .features, .pricing { padding: 80px 0; }
  .problems, .stats { padding: 60px 0; }
  .cta-banner { padding: 60px 0; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-secondary { width: 100%; text-align: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .store-badges { flex-direction: column; align-items: center; }
}
