:root {
  --navy: #0b1f3a;
  --teal: #14b8a6;
  --blue: #3b82f6;
  --bg: #f6f8fc;
  --text: #0b1220;
  --muted: #6b7280;
  --card: #ffffff;
  --border: #e5e7eb;
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  --glow: 0 0 80px rgba(20, 184, 166, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.18) 0%, rgba(255, 255, 255, 0) 45%),
    radial-gradient(circle at 70% 10%, rgba(20, 184, 166, 0.22) 0%, rgba(255, 255, 255, 0) 45%),
    #f6f8fc;
  line-height: 1.65;
}

h1, h2, h3, h4 {
  font-family: "Sora", "Inter", system-ui, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: #fff;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.skip-link:focus {
  left: 8px;
  z-index: 1000;
}

header {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(135deg, #14b8a6 0%, #3b82f6 100%);
  box-shadow: var(--glow);
}

.nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
  font-weight: 500;
}

.nav-links a {
  color: #0f172a;
  opacity: 0.8;
}

.nav-links a:hover {
  opacity: 1;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.14);
  color: #0f766e;
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn.primary {
  background: linear-gradient(135deg, #0b1f3a 0%, #0f2d52 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow);
}

.btn.accent {
  background: linear-gradient(135deg, #14b8a6 0%, #22d3ee 100%);
  color: #04121b;
  border-color: transparent;
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.65);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.15);
}

.hero {
  padding: 96px 0 64px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% 0 auto auto;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.35) 0%, rgba(20, 184, 166, 0) 70%);
  filter: blur(10px);
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto auto -30% -10%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.35) 0%, rgba(59, 130, 246, 0) 70%);
  filter: blur(10px);
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 42px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: 1.05;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.hero p {
  color: #334155;
  font-size: 18px;
}

.hero-visual {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85) 0%, #ffffff 100%);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.hero-mockup {
  background: #0b1f3a;
  border-radius: 16px;
  padding: 18px;
  color: #e2e8f0;
  margin-top: 12px;
  box-shadow: 0 20px 50px rgba(11, 31, 58, 0.35);
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.mockup-header .title {
  margin-left: auto;
  font-size: 12px;
  color: #94a3b8;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
}

.dot.red { background: #f87171; }
.dot.amber { background: #fbbf24; }
.dot.green { background: #34d399; }

.mockup-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.metric-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px;
}

.hero-list {
  margin-top: 18px;
}

.hero-list ul {
  margin: 8px 0 0;
}

.hero-visual .stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.stat {
  background: rgba(15, 23, 42, 0.04);
  border-radius: 14px;
  padding: 16px;
}

.stat strong {
  font-size: 20px;
  display: block;
}

.trust-bar {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  color: #64748b;
  font-size: 13px;
}

.logo-wall {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.logo-pill {
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.4);
  border-radius: 999px;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  color: #0f172a;
  letter-spacing: 0.01em;
  box-shadow: var(--shadow);
}

.logo-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow);
}

[data-animate] {
  opacity: 0;
  transform: translateY(36px) scale(0.98);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.feature-card:hover,
.pricing-card:hover,
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.section {
  padding: 72px 0;
}

.section h2 {
  font-size: clamp(26px, 3.2vw, 40px);
  margin-bottom: 12px;
}

.section p.lead {
  color: #475569;
  margin-bottom: 24px;
  font-size: 18px;
}

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

.feature-card {
  padding: 24px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: var(--shadow);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.pricing-card {
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 20px;
  padding: 28px;
  background: #fff;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.pricing-card .btn {
  margin-top: 14px;
}

.card-link {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.pricing-card > * {
  position: relative;
  z-index: 1;
}

.pricing-card.recommended {
  border: 2px solid var(--teal);
  background: linear-gradient(180deg, #f0fdfa 0%, #ffffff 100%);
  position: relative;
  transform: translateY(-6px);
}

.recommended-badge {
  position: absolute;
  top: -14px;
  right: 20px;
  background: var(--teal);
  color: #042f2e;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  background: #fff;
}

.form {
  display: grid;
  gap: 12px;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font: inherit;
  background: #fff;
}

.notice {
  font-size: 13px;
  color: #64748b;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 6px 12px;
  background: rgba(59, 130, 246, 0.1);
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 600;
}

.onboarding-hero {
  padding-bottom: 48px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.trust-pill {
  background: rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 600;
  color: #0f172a;
  font-size: 13px;
}

.onboarding-section {
  padding-top: 32px;
}

.onboarding-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.stepper {
  display: grid;
  gap: 14px;
  margin-bottom: 24px;
}

.step {
  display: flex;
  gap: 14px;
  align-items: center;
  background: #fff;
  border-radius: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: var(--shadow);
  opacity: 0.7;
}

.step.active,
.step.complete {
  opacity: 1;
  border-color: rgba(20, 184, 166, 0.6);
}

.step-index {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(20, 184, 166, 0.12);
  color: #0f766e;
  font-weight: 700;
}

.step.complete .step-index {
  background: rgba(59, 130, 246, 0.15);
  color: #1d4ed8;
}

.onboarding-form {
  background: #fff;
  border-radius: 20px;
  padding: 28px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: var(--shadow);
}

.onboarding-success {
  text-align: left;
  padding: 10px 0 24px;
}

.step-panel {
  display: none;
}

.step-panel.active {
  display: block;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 12px;
}

.form-grid label {
  display: grid;
  gap: 6px;
  font-weight: 600;
  color: #1f2937;
}

.field-error {
  border-color: #f87171 !important;
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.2);
}

.check-results {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.check-card {
  background: rgba(15, 23, 42, 0.04);
  border-radius: 14px;
  padding: 14px;
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.check-status {
  display: inline-flex;
  margin-top: 6px;
  font-weight: 600;
  color: #64748b;
}

.check-status.success {
  color: #0f766e;
}

.check-status.warning {
  color: #d97706;
}

.check-status.error {
  color: #dc2626;
}

.plan-grid {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.plan-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: #fff;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.plan-card.featured {
  border-color: var(--teal);
  background: linear-gradient(180deg, #f0fdfa 0%, #ffffff 100%);
}

.plan-card input {
  accent-color: var(--teal);
}

.toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  font-weight: 600;
}

.toggle input {
  width: 18px;
  height: 18px;
}

.wizard-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.summary-card {
  position: sticky;
  top: 120px;
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: var(--shadow);
}

.summary-line,
.summary-total {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  font-weight: 600;
}

.summary-total {
  font-size: 18px;
  color: #0f172a;
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

.summary-trust {
  margin-top: 18px;
  display: grid;
  gap: 8px;
  color: #475569;
  font-size: 14px;
}

.next-steps {
  margin-top: 20px;
  background: rgba(15, 23, 42, 0.04);
  border-radius: 16px;
  padding: 16px;
}

.next-steps ol {
  padding-left: 18px;
  margin: 10px 0 0;
}

@media (max-width: 720px) {
  .nav-links {
    flex-wrap: wrap;
    gap: 10px;
  }
  .hero {
    padding-top: 72px;
  }
  .pricing-card.recommended {
    transform: none;
  }

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

  .summary-card {
    position: static;
    order: -1;
  }
}

@media (max-width: 560px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
  }

  .nav-links a {
    font-size: 14px;
  }

  .nav-links .btn {
    padding: 10px 16px;
    border-radius: 10px;
  }
}

@media (max-width: 420px) {
  .nav-links {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links .btn,
  .nav-links a.btn {
    width: 100%;
    justify-content: center;
  }

  .wizard-actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }
}
