/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-primary: #0C1B33;
  --bg-secondary: #0F2347;
  --bg-card: #112550;
  --accent-blue: #1D4ED8;
  --accent-amber: #F59E0B;
  --accent-teal: #14B8A6;
  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --border: rgba(148, 163, 184, 0.12);
  --blue-glow: rgba(29, 78, 216, 0.25);
  --amber-glow: rgba(245, 158, 11, 0.2);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Sora', sans-serif;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* === NAVBAR === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(12, 27, 51, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.nav-brand {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--text-primary);
}

.nav-tagline {
  font-size: 13px;
  color: var(--text-muted);
}

/* === HERO === */
.hero {
  min-height: 100vh;
  padding: 100px 32px 80px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black, transparent);
}

.hero-radial {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(ellipse at center, rgba(29,78,216,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.25);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-amber);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 28px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-amber);
  animation: pulse-dot 2s infinite;
}

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

.hero-headline {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.7;
  max-width: 480px;
}

.hero-regulators {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.reg-badge {
  background: rgba(29,78,216,0.15);
  border: 1px solid rgba(29,78,216,0.3);
  color: #60A5FA;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 4px;
}

.reg-more {
  font-size: 12px;
  color: var(--text-muted);
}

/* === RADAR WIDGET === */
.hero-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.radar-widget {
  position: relative;
  width: 260px;
  height: 260px;
  margin: 0 auto;
}

.radar-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(29,78,216,0.3);
}

.radar-ring-1 { inset: 0; }
.radar-ring-2 { inset: 30px; border-color: rgba(29,78,216,0.2); }
.radar-ring-3 { inset: 60px; border-color: rgba(245,158,11,0.25); }

.radar-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.radar-sweep {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120px;
  height: 120px;
  transform-origin: 0 0;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(29,78,216,0.15) 30deg, transparent 60deg);
  border-radius: 50%;
  animation: sweep 4s linear infinite;
  margin: -60px 0 0 -60px;
}

@keyframes sweep {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.blip {
  position: absolute;
  background: rgba(245,158,11,0.15);
  border: 1px solid rgba(245,158,11,0.5);
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 10px;
  font-weight: 600;
  color: var(--accent-amber);
  white-space: nowrap;
}

.blip-1 { top: 15px; left: 50%; transform: translateX(-50%); }
.blip-2 { top: 40%; right: 5px; }
.blip-3 { bottom: 25%; left: 10px; }

.blip-label { font-size: 10px; }

/* === COMPLIANCE STATUS === */
.compliance-status {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.status-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-ok .status-dot { background: var(--accent-teal); box-shadow: 0 0 6px var(--accent-teal); }
.status-warn .status-dot { background: var(--accent-amber); box-shadow: 0 0 6px var(--accent-amber); }
.status-fail .status-dot { background: #EF4444; box-shadow: 0 0 6px #EF4444; }

/* === PROBLEM === */
.problem {
  padding: 100px 32px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.problem-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.problem-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-amber);
  margin-bottom: 24px;
}

.problem-headline {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  max-width: 700px;
  margin-bottom: 56px;
  color: var(--text-primary);
}

.problem-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
}

.stat-number {
  font-family: 'Sora', sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: var(--accent-blue);
  margin-bottom: 8px;
  line-height: 1;
}

.stat-label {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.problem-quote {
  border-left: 3px solid var(--accent-amber);
  padding-left: 24px;
}

.problem-quote blockquote {
  font-size: 18px;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 8px;
}

.problem-quote cite {
  font-size: 13px;
  color: var(--text-muted);
}

/* === FEATURES === */
.features {
  padding: 100px 32px;
}

.features-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.features-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-blue);
  margin-bottom: 20px;
}

.features-headline {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  max-width: 560px;
  margin-bottom: 56px;
  color: var(--text-primary);
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: border-color 0.3s, transform 0.3s;
}

.feature-card:hover {
  border-color: rgba(29,78,216,0.4);
  transform: translateY(-3px);
}

.feature-card-wide {
  grid-column: span 2;
}

.feature-icon {
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* === HOW IT WORKS === */
.howitworks {
  padding: 100px 32px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.howitworks-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.howitworks-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-teal);
  margin-bottom: 20px;
}

.howitworks-headline {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  margin-bottom: 64px;
  color: var(--text-primary);
}

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

.step {
  flex: 1;
  max-width: 280px;
  text-align: center;
}

.step-number {
  font-family: 'Sora', sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: rgba(29,78,216,0.3);
  margin-bottom: 16px;
}

.step h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.step p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.step-connector {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, var(--border), rgba(29,78,216,0.4), var(--border));
  align-self: center;
  flex-shrink: 0;
  margin-top: -24px;
}

/* === REGULATORS === */
.regulators {
  padding: 80px 32px;
}

.regulators-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.regulators-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 32px;
}

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

.reg-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 20px;
}

.reg-name {
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-blue);
  margin-bottom: 4px;
}

.reg-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* === CLOSING === */
.closing {
  padding: 100px 32px;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  border-top: 1px solid var(--border);
}

.closing-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.closing-headline {
  font-family: 'Sora', sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 24px;
  line-height: 1.15;
}

.closing-sub {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 48px;
}

.closing-cta {
  display: flex;
  justify-content: center;
}

.cta-box {
  background: var(--bg-card);
  border: 1px solid rgba(245,158,11,0.25);
  border-radius: 16px;
  padding: 32px 40px;
  max-width: 480px;
  text-align: left;
}

.cta-badge {
  display: inline-block;
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.25);
  color: var(--accent-amber);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.cta-box h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.cta-box p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* === SIGNUP FORM === */
.signup-form {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-group input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(12, 27, 51, 0.6);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
  font-size: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-group input::placeholder {
  color: var(--text-muted);
}

.form-group input:focus {
  border-color: var(--accent-amber);
  box-shadow: 0 0 0 3px var(--amber-glow);
}

.btn-submit {
  width: 100%;
  padding: 12px 20px;
  background: var(--accent-amber);
  border: none;
  border-radius: 8px;
  color: #0C1B33;
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.btn-submit:hover {
  background: #D97706;
}

.btn-submit:active {
  transform: scale(0.98);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-message {
  font-size: 13px;
  border-radius: 6px;
  padding: 10px 14px;
  display: none;
}

.form-message.success {
  display: block;
  background: rgba(20, 184, 166, 0.1);
  border: 1px solid rgba(20, 184, 166, 0.3);
  color: var(--accent-teal);
}

.form-message.error {
  display: block;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #EF4444;
}

/* === FOOTER === */
.footer {
  padding: 40px 32px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--text-primary);
}

.footer-tagline {
  font-size: 13px;
  color: var(--text-muted);
  flex: 1;
}

.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-right {
    display: none;
  }

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

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

  .feature-card-wide {
    grid-column: span 1;
  }

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

  .steps-row {
    flex-direction: column;
    gap: 32px;
  }

  .step-connector {
    display: none;
  }

  .step {
    max-width: 100%;
  }

  .nav-tagline {
    display: none;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}