﻿@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Source+Serif+4:wght@400;600&display=swap');

:root {
  --accent: #0ea5e9;
  --accent-dark: #0b63b5;
  --accent-soft: #e0f2fe;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Space Grotesk', 'Segoe UI', sans-serif;
  background-image: radial-gradient(circle at 10% 10%, #e0f2fe 0, transparent 45%),
    radial-gradient(circle at 90% 0, #f8fafc 0, transparent 40%);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.5rem 0.75rem;
  background: #0f172a;
  color: #fff;
  border-radius: 999px;
  z-index: 50;
}

.eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #38bdf8;
}

.nav-link {
  color: #0f172a;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--accent);
}

.btn-primary,
.btn-secondary,
.btn-primary-light,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #2563eb 100%);
  color: #fff;
  box-shadow: 0 12px 30px -12px rgba(14, 165, 233, 0.6);
}

.btn-primary:hover {
  transform: translateY(-1px);
}

.btn-secondary {
  background: #fff;
  color: #0f172a;
  border: 1px solid #cbd5f5;
}

.btn-primary-light {
  background: #fff;
  color: #0f172a;
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #e0f2fe;
}

.hero {
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 10% 5% auto auto;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.25), transparent 70%);
  filter: blur(0.5rem);
  z-index: 0;
}

.hero-card {
  position: relative;
  background: linear-gradient(160deg, #0f172a 0%, #1e3a8a 100%);
  border-radius: 2rem;
  padding: 2.5rem;
  box-shadow: 0 30px 60px -40px rgba(15, 23, 42, 0.9);
  z-index: 1;
}

.feature-card {
  border-radius: 1.5rem;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 20px 40px -35px rgba(15, 23, 42, 0.3);
}

.pricing-card {
  position: relative;
  border-radius: 2rem;
  padding: 2rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 20px 50px -35px rgba(15, 23, 42, 0.35);
  display: flex;
  flex-direction: column;
}

.pricing-card--featured {
  border-color: rgba(14, 165, 233, 0.4);
  box-shadow: 0 30px 60px -35px rgba(14, 165, 233, 0.6);
}

.badge {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: #0ea5e9;
  color: #fff;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cta-band {
  background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 40%, #1d4ed8 100%);
}

.info-card,
.metric-card,
.timeline-card {
  border-radius: 1.5rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  padding: 1.25rem;
  box-shadow: 0 16px 36px -30px rgba(15, 23, 42, 0.3);
}

.timeline-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: start;
}

.timeline-badge {
  border-radius: 999px;
  background: #e0f2fe;
  color: #0284c7;
  padding: 0.4rem 1rem;
  font-weight: 600;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0.35rem;
}

.form-input {
  width: 100%;
  border-radius: 0.9rem;
  border: 1px solid #e2e8f0;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  background: #fff;
}

.form-input:focus {
  outline: 2px solid rgba(14, 165, 233, 0.4);
  outline-offset: 2px;
}

.form-error {
  margin-top: 0.35rem;
  font-size: 0.75rem;
  color: #dc2626;
}

.tab-button {
  border-radius: 999px;
  padding: 0.6rem 1.4rem;
  border: 1px solid #e2e8f0;
  font-weight: 600;
  color: #475569;
}

.tab-button.is-active {
  background: #0ea5e9;
  color: #fff;
  border-color: transparent;
}

.footer-link {
  color: #cbd5f5;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #fff;
}

.toc-link {
  color: #475569;
  transition: color 0.2s ease;
}

.toc-link:hover {
  color: #0ea5e9;
}

@media (max-width: 640px) {
  .hero-card {
    padding: 2rem;
  }
}
