/* CSS Variables */
:root {
  --background: #0A1628;
  --text: #E8F4F8;
  --primary: #00D4FF;
  --secondary: #F5A623;
  --card-bg: #0D1F35;
  --border-subtle: rgba(0, 212, 255, 0.15);
  --muted-text: #6B8CA8;
  --glow: 0 0 30px rgba(0, 212, 255, 0.3);
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
}

body, h1, h2, h3, h4, p, ul, li, figure, figcaption, blockquote, dl, dd {
  margin: 0;
  padding: 0;
}

ul[role="list"], ol[role="list"], ul {
  list-style: none;
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
  background-color: var(--background);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

a:not([class]) {
  text-decoration-skip-ink: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

img, picture {
  max-width: 100%;
  display: block;
}

input, button, textarea, select {
  font: inherit;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.1;
}

.text-gradient {
  background: linear-gradient(to right, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Layout Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.section-py {
  padding-top: 96px;
  padding-bottom: 96px;
}

.grid {
  display: grid;
  gap: 24px;
}

.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
.grid-cols-6 { grid-template-columns: repeat(6, 1fr); }

@media (max-width: 992px) {
  .grid-cols-3, .grid-cols-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .grid-cols-2, .grid-cols-3, .grid-cols-4, .grid-cols-6 { grid-template-columns: 1fr; }
}

/* Components */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 22, 40, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  height: 80px;
  display: flex;
  align-items: center;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-text);
  transition: color 0.2s;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  box-shadow: 0 0 8px rgba(0, 212, 255, 0.8);
}

.nav-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 8px;
}

.mobile-menu {
  display: none;
}

@media (max-width: 768px) {
  .nav-links, .nav-actions {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .mobile-menu {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--background);
    border-bottom: 1px solid var(--border-subtle);
    padding: 16px;
    flex-direction: column;
    gap: 16px;
  }
  .mobile-menu.is-open {
    display: flex;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  text-align: center;
}

.btn-primary {
  background-color: var(--primary);
  color: #000;
  box-shadow: var(--glow);
}

.btn-primary:hover {
  background-color: #33DDFF;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: rgba(0, 212, 255, 0.1);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1rem;
  border-radius: 8px;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
}

.card {
  background: rgba(13, 31, 53, 0.6);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
  border-radius: 12px;
  padding: 32px;
  transition: border-color 0.2s;
}

.card:hover {
  border-color: rgba(0, 212, 255, 0.4);
}

/* Utilities */
.text-center { text-align: center; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.mb-12 { margin-bottom: 48px; }
.mt-8 { margin-top: 32px; }
.text-muted { color: var(--muted-text); }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }

/* Sections */
.diagonal-bg {
  position: relative;
  background: radial-gradient(circle at 30% 30%, rgba(0, 212, 255, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 70% 70%, rgba(245, 166, 35, 0.1) 0%, transparent 50%);
}

.diagonal-separator {
  width: 100%;
  height: 96px;
  background-color: var(--card-bg);
  transform: skewY(-2deg);
  transform-origin: top left;
  border-top: 1px solid var(--border-subtle);
  position: relative;
  z-index: 10;
  margin-top: -48px;
}

.footer {
  background-color: var(--card-bg);
  border-top: 1px solid var(--border-subtle);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}

@media (max-width: 992px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer h3 {
  font-size: 1.125rem;
  margin-bottom: 24px;
}

.footer ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: var(--muted-text);
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* Animations */
@keyframes pulseGlow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.05); }
}

.animate-pulse {
  animation: pulseGlow 3s infinite ease-in-out;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.prose {
  color: var(--muted-text);
  line-height: 1.7;
}

.prose h2 {
  color: var(--text);
  margin-top: 48px;
  margin-bottom: 16px;
  font-size: 1.5rem;
}

.prose p {
  margin-bottom: 16px;
}

.prose ul {
  margin-bottom: 16px;
  padding-left: 24px;
  list-style: disc;
}

.prose li {
  margin-bottom: 8px;
}


/* Hero */
    .hero {
      position: relative;
      min-height: 90vh;
      display: flex;
      align-items: center;
      overflow: hidden;
      padding: 120px 0 80px;
    }
    .hero-bg {
      position: absolute;
      inset: 0;
      background: radial-gradient(ellipse 80% 60% at 70% 40%, rgba(0,212,255,0.08) 0%, transparent 60%),
                  radial-gradient(ellipse 60% 50% at 30% 70%, rgba(245,166,35,0.06) 0%, transparent 50%);
      pointer-events: none;
    }
    .hero-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 64px;
      align-items: center;
    }
    @media (max-width: 768px) {
      .hero-grid { grid-template-columns: 1fr; gap: 48px; }
      .hero-visual { display: none; }
    }
    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 6px 14px;
      border-radius: 9999px;
      background: rgba(0,212,255,0.08);
      border: 1px solid rgba(0,212,255,0.2);
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--primary);
      margin-bottom: 28px;
    }
    .hero-badge-dot {
      width: 8px; height: 8px;
      border-radius: 50%;
      background: var(--primary);
      animation: pulse 2s infinite;
    }
    @keyframes pulse {
      0%, 100% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.5; transform: scale(1.3); }
    }
    .hero h1 {
      font-size: clamp(2.8rem, 6vw, 5rem);
      line-height: 1.05;
      margin-bottom: 24px;
      color: var(--text);
    }
    .hero p {
      font-size: 1.15rem;
      color: var(--muted-text);
      line-height: 1.7;
      max-width: 520px;
      margin-bottom: 40px;
    }
    .hero-ctas {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }
    /* Hero Visual */
    .hero-visual {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .shield-wrap {
      position: relative;
      width: 360px;
      height: 380px;
    }
    .shield-glow {
      position: absolute;
      inset: -40px;
      background: radial-gradient(ellipse, rgba(0,212,255,0.12) 0%, transparent 70%);
      pointer-events: none;
    }
    .shield-svg {
      width: 100%;
      height: 100%;
      filter: drop-shadow(0 0 40px rgba(0,212,255,0.25));
    }
    .hero-float-card {
      position: absolute;
      background: rgba(13,31,53,0.9);
      border: 1px solid rgba(0,212,255,0.2);
      border-radius: 12px;
      padding: 12px 16px;
      backdrop-filter: blur(12px);
      font-size: 13px;
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .hero-float-card.top-left { top: 10%; left: -30px; }
    .hero-float-card.bottom-right { bottom: 10%; right: -20px; }
    .float-icon {
      width: 32px; height: 32px;
      border-radius: 8px;
      background: rgba(0,212,255,0.1);
      border: 1px solid rgba(0,212,255,0.2);
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
    }
    .float-label { font-size: 11px; color: var(--muted-text); margin-bottom: 2px; }
    .float-value { font-weight: 700; color: var(--text); }
    .float-icon-amber { background: rgba(245,166,35,0.1); border-color: rgba(245,166,35,0.2); }
    /* Orbit animation */
    .orbit-ring {
      position: absolute;
      border-radius: 50%;
      border: 1.5px dashed rgba(0,212,255,0.2);
      animation: spin 20s linear infinite;
    }
    .orbit-ring.r1 { width: 300px; height: 300px; top: 50%; left: 50%; transform: translate(-50%,-50%); }
    .orbit-ring.r2 { width: 220px; height: 220px; top: 50%; left: 50%; transform: translate(-50%,-50%); animation-duration: 14s; animation-direction: reverse; }
    .orbit-dot {
      position: absolute;
      width: 8px; height: 8px;
      border-radius: 50%;
      background: var(--primary);
      top: -4px; left: 50%; margin-left: -4px;
      box-shadow: 0 0 10px rgba(0,212,255,0.8);
    }
    @keyframes spin { to { transform: translate(-50%,-50%) rotate(360deg); } }

    /* Trust Bar */
    .trust-bar {
      border-top: 1px solid rgba(0,212,255,0.08);
      border-bottom: 1px solid rgba(0,212,255,0.08);
      background: rgba(13,31,53,0.4);
      padding: 32px 0;
    }
    .trust-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
      text-align: center;
    }
    @media (max-width: 640px) {
      .trust-grid { grid-template-columns: repeat(2, 1fr); }
    }
    .trust-item-value {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 1.6rem;
      font-weight: 800;
      color: var(--primary);
      margin-bottom: 4px;
    }
    .trust-item-label {
      font-size: 13px;
      color: var(--muted-text);
    }

    /* Features Section */
    .features-section { padding: 100px 0; }
    .section-header { text-align: center; margin-bottom: 64px; }
    .section-header h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 16px; }
    .section-header p { color: var(--muted-text); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }
    .section-tag {
      display: inline-block;
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--primary);
      background: rgba(0,212,255,0.08);
      border: 1px solid rgba(0,212,255,0.15);
      border-radius: 9999px;
      padding: 4px 14px;
      margin-bottom: 16px;
    }
    .features-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    @media (max-width: 900px) { .features-grid { grid-template-columns: repeat(2,1fr); } }
    @media (max-width: 580px) { .features-grid { grid-template-columns: 1fr; } }
    .feature-card {
      background: rgba(13,31,53,0.6);
      border: 1px solid rgba(0,212,255,0.1);
      border-radius: 20px;
      padding: 32px;
      backdrop-filter: blur(12px);
      transition: border-color 0.3s, transform 0.3s;
    }
    .feature-card:hover { border-color: rgba(0,212,255,0.35); transform: translateY(-4px); }
    .feature-icon {
      width: 48px; height: 48px;
      border-radius: 12px;
      background: rgba(0,212,255,0.08);
      border: 1px solid rgba(0,212,255,0.15);
      display: flex; align-items: center; justify-content: center;
      margin-bottom: 20px;
    }
    .feature-card h3 { font-size: 1.1rem; margin-bottom: 10px; color: var(--text); }
    .feature-card p { font-size: 14px; color: var(--muted-text); line-height: 1.65; }

    /* How it works */
    .how-section { padding: 100px 0; background: rgba(13,31,53,0.3); }
    .steps-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 40px;
      position: relative;
    }
    @media (max-width: 768px) { .steps-grid { grid-template-columns: 1fr; } }
    .step-connector {
      position: absolute;
      top: 40px; left: calc(33.33% - 20px);
      width: calc(33.33%);
      height: 1px;
      background: linear-gradient(to right, var(--primary), transparent);
      opacity: 0.3;
    }
    .step-connector.c2 { left: calc(66.66% - 20px); }
    .step { text-align: center; }
    .step-number {
      width: 72px; height: 72px;
      border-radius: 50%;
      background: linear-gradient(135deg, rgba(0,212,255,0.15), rgba(0,212,255,0.05));
      border: 1px solid rgba(0,212,255,0.25);
      display: flex; align-items: center; justify-content: center;
      font-family: 'Space Grotesk', sans-serif;
      font-size: 1.5rem;
      font-weight: 800;
      color: var(--primary);
      margin: 0 auto 24px;
      position: relative;
      z-index: 1;
    }
    .step h3 { font-size: 1.15rem; margin-bottom: 12px; }
    .step p { font-size: 14px; color: var(--muted-text); max-width: 240px; margin: 0 auto; }

    /* Stats Section */
    .stats-section {
      padding: 100px 0;
      background: linear-gradient(135deg, rgba(0,212,255,0.04) 0%, transparent 50%, rgba(245,166,35,0.04) 100%);
      border-top: 1px solid rgba(0,212,255,0.08);
      border-bottom: 1px solid rgba(0,212,255,0.08);
    }
    .stats-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 32px;
      text-align: center;
    }
    @media (max-width: 768px) { .stats-grid { grid-template-columns: repeat(2,1fr); } }
    .stat-value {
      font-family: 'Space Grotesk', sans-serif;
      font-size: clamp(2.2rem, 4vw, 3.5rem);
      font-weight: 800;
      line-height: 1;
      margin-bottom: 10px;
    }
    .stat-value.cyan { color: var(--primary); }
    .stat-value.amber { color: var(--secondary); }
    .stat-label { font-size: 14px; color: var(--muted-text); }

    /* Pricing Preview */
    .pricing-section { padding: 100px 0; }
    .pricing-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      max-width: 960px;
      margin: 0 auto;
    }
    @media (max-width: 768px) { .pricing-grid { grid-template-columns: 1fr; max-width: 400px; } }
    .price-card {
      background: rgba(13,31,53,0.6);
      border: 1px solid rgba(0,212,255,0.1);
      border-radius: 24px;
      padding: 40px 32px;
      text-align: center;
      position: relative;
      transition: transform 0.3s;
    }
    .price-card:hover { transform: translateY(-4px); }
    .price-card.popular {
      border-color: rgba(0,212,255,0.4);
      box-shadow: 0 0 40px rgba(0,212,255,0.12), inset 0 0 40px rgba(0,212,255,0.03);
      transform: scale(1.04);
    }
    .price-card.popular:hover { transform: scale(1.04) translateY(-4px); }
    .popular-badge {
      position: absolute;
      top: -14px; left: 50%; transform: translateX(-50%);
      background: var(--primary);
      color: #0A1628;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      padding: 4px 16px;
      border-radius: 9999px;
    }
    .price-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
    .price-card .price-desc { font-size: 13px; color: var(--muted-text); margin-bottom: 24px; }
    .price-amount { font-family: 'Space Grotesk', sans-serif; font-size: 3rem; font-weight: 800; color: var(--text); line-height: 1; }
    .price-period { font-size: 14px; color: var(--muted-text); margin-bottom: 32px; }
    .price-features { list-style: none; padding: 0; text-align: left; margin-bottom: 32px; }
    .price-features li {
      display: flex; align-items: center; gap: 10px;
      font-size: 14px; color: var(--muted-text);
      padding: 8px 0;
      border-bottom: 1px solid rgba(255,255,255,0.04);
    }
    .price-features li:last-child { border-bottom: none; }
    .check-icon { color: var(--primary); flex-shrink: 0; }

    /* CTA Section */
    .cta-section { padding: 80px 0; }
    .cta-box {
      background: rgba(13,31,53,0.8);
      border: 1px solid rgba(0,212,255,0.15);
      border-radius: 32px;
      padding: 80px 48px;
      text-align: center;
      position: relative;
      overflow: hidden;
    }
    .cta-box::before {
      content: '';
      position: absolute;
      top: -80px; right: -80px;
      width: 300px; height: 300px;
      background: radial-gradient(ellipse, rgba(0,212,255,0.1) 0%, transparent 70%);
      pointer-events: none;
    }
    .cta-box::after {
      content: '';
      position: absolute;
      bottom: -80px; left: -80px;
      width: 250px; height: 250px;
      background: radial-gradient(ellipse, rgba(245,166,35,0.07) 0%, transparent 70%);
      pointer-events: none;
    }
    .cta-box h2 { font-size: clamp(1.8rem, 4vw, 3rem); margin-bottom: 16px; position: relative; z-index: 1; }
    .cta-box p { color: var(--muted-text); font-size: 1.1rem; max-width: 560px; margin: 0 auto 40px; position: relative; z-index: 1; }
    .cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; position: relative; z-index: 1; }

    /* FAQ Section */
.how-section p {
  background: rgba(13, 31, 53, 0.6);
  border: 1px solid rgba(0, 212, 255, 0.1);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 16px;
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}

.how-section p strong {
  display: block;
  color: var(--text);
  margin-bottom: 6px;
  font-weight: 600;
}

.how-section p {
  color: var(--muted-text);
  font-size: 14px;
  line-height: 1.6;
}

/* Hover effect */
.how-section p:hover {
  border-color: rgba(0, 212, 255, 0.4);
  transform: translateY(-2px);
}

/* Comparison Table */
.features-section table {
  margin-top: 40px;
  background: rgba(13, 31, 53, 0.6);
  border: 1px solid rgba(0, 212, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.features-section th,
.features-section td {
  padding: 18px 16px;
  font-size: 14px;
}

.features-section th {
  color: var(--text);
  font-weight: 600;
  background: rgba(0, 212, 255, 0.05);
}

.features-section td {
  color: var(--muted-text);
}

.features-section tr {
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.features-section tr:last-child {
  border-bottom: none;
}

/* Highlight Pro column */
.features-section td:nth-child(3),
.features-section th:nth-child(3) {
  color: var(--primary);
  font-weight: 600;
}

/* Hover effect */
.features-section tr:hover {
  background: rgba(0, 212, 255, 0.03);
}