/* =============================================
   HAWKBIT — Security Landing Page Theme
   ============================================= */

:root {
  --bg: #0b0f1a;
  --bg-surface: #111827;
  --bg-card: #0f172a;
  --fg: #f1f5f9;
  --fg-muted: #64748b;
  --fg-subtle: #334155;
  --accent: #f59e0b;
  --accent-dim: rgba(245, 158, 11, 0.12);
  --green: #10b981;
  --border: #1e293b;
  --border-subtle: #0f172a;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(11, 15, 26, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}

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

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

.nav-wordmark {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-tag {
  font-size: 0.75rem;
  color: var(--fg-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(30, 41, 59, 0.4) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(30, 41, 59, 0.4) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 0%, transparent 100%);
}

.hero-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(245, 158, 11, 0.06) 0%, transparent 70%);
}

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

.hero-content {
  max-width: 540px;
}

.hero-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(245, 158, 11, 0.2);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero-headline {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 20px;
}

.hero-lede {
  font-size: 1.125rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 460px;
}

.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--fg-muted);
}

.hero-meta-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* ---- RADAR ---- */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.radar-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.radar-svg {
  width: 280px;
  height: 280px;
  filter: drop-shadow(0 0 40px rgba(245, 158, 11, 0.15));
}

.radar-sweep {
  transform-origin: 160px 160px;
  animation: sweep 4s linear infinite;
}

.radar-trail {
  transform-origin: 160px 160px;
  animation: sweep 4s linear infinite;
}

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

.radar-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.radar-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.radar-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.radar-count {
  font-size: 0.75rem;
  color: var(--fg-muted);
}

/* ---- SECTIONS ---- */
.section-header {
  margin-bottom: 56px;
  max-width: 640px;
}

.section-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-headline {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--fg);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* ---- HOW ---- */
.how {
  padding: 96px 0;
  border-top: 1px solid var(--border-subtle);
}

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

.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.how-step-num {
  font-family: 'Sora', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.how-step-title {
  font-family: 'Sora', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.how-step-body {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ---- OUTCOMES ---- */
.outcomes {
  padding: 96px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

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

.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
}

.outcome-card {
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
}

.outcome-icon {
  color: var(--accent);
  margin-bottom: 20px;
}

.outcome-title {
  font-family: 'Sora', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 10px;
}

.outcome-body {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ---- PRICING ---- */
.pricing {
  padding: 96px 0;
  border-top: 1px solid var(--border-subtle);
}

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

.pricing-card {
  max-width: 520px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
}

.pricing-top {
  margin-bottom: 28px;
}

.pricing-name {
  font-family: 'Sora', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 12px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}

.pricing-amount {
  font-family: 'Sora', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--fg);
  line-height: 1;
}

.pricing-period {
  font-size: 1.25rem;
  color: var(--fg-muted);
  font-weight: 400;
}

.pricing-tagline {
  font-size: 0.9rem;
  color: var(--fg-muted);
}

.pricing-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 28px;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--fg-muted);
}

.pricing-feature svg {
  flex-shrink: 0;
}

.pricing-feature-muted {
  opacity: 0.5;
}

/* ---- CLOSING ---- */
.closing {
  padding: 120px 0;
  border-top: 1px solid var(--border-subtle);
}

.closing-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 40px;
}

.closing-radar {
  position: relative;
}

.closing-sweep {
  transform-origin: 90px 90px;
  animation: sweep 5s linear infinite;
}

.closing-trail {
  transform-origin: 90px 90px;
  animation: sweep 5s linear infinite;
}

.closing-headline {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: var(--fg);
  max-width: 640px;
}

.closing-sub {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 520px;
}

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

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-wordmark {
  font-family: 'Sora', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--fg-muted);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--fg-muted);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 60px 24px;
    min-height: auto;
    padding-top: 80px;
  }

  .hero-visual {
    order: -1;
  }

  .radar-svg {
    width: 220px;
    height: 220px;
  }

  .how-steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .section-header {
    max-width: 100%;
  }

  .closing-inner {
    padding: 80px 24px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-headline {
    font-size: 2.25rem;
  }

  .pricing-card {
    padding: 28px 20px;
  }

  .outcome-card {
    padding: 28px 20px;
  }
}