:root {
  --teal-50: #f0fdfa;
  --teal-100: #ccfbf1;
  --teal-200: #99f6e4;
  --teal-300: #5eead4;
  --teal-400: #2dd4bf;
  --teal-500: #14b8a6;
  --teal-600: #0d9488;
  --teal-700: #0f766e;
  --teal-800: #115e59;
  --teal-900: #134e4a;

  --ink-900: #0f172a;
  --ink-700: #334155;
  --ink-500: #64748b;
  --ink-300: #cbd5e1;
  --ink-100: #f1f5f9;

  --surface: #ffffff;
  --surface-alt: #f7fbfa;
  --border: #e2e8f0;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-md: 0 8px 24px -8px rgba(15, 118, 110, 0.18);
  --shadow-lg: 0 24px 60px -20px rgba(15, 118, 110, 0.28);

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --surface: #0b1524;
    --surface-alt: #0e1c2b;
    --border: #1e2f3f;
    --ink-900: #f1f5f9;
    --ink-700: #cbd5e1;
    --ink-500: #94a3b8;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink-700);
  background: var(--surface);
  line-height: 1.55;
  overflow-x: hidden;
}

a { color: inherit; }

h1, h2, h3 { color: var(--ink-900); margin: 0; line-height: 1.15; }

.bg-decor {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(600px 400px at 85% -5%, rgba(20, 184, 166, 0.16), transparent 60%),
    radial-gradient(500px 350px at 5% 15%, rgba(45, 212, 191, 0.12), transparent 60%);
  pointer-events: none;
}

.text-gradient {
  background: linear-gradient(120deg, var(--teal-600), var(--teal-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ===== Nav ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--surface) 85%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  color: var(--ink-900);
}

.brand-mark {
  display: inline-flex;
  color: var(--teal-500);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--ink-700);
  transition: background 0.15s, color 0.15s;
}

.nav-link:hover { background: var(--teal-50); color: var(--teal-700); }
.nav-link.active { color: var(--teal-700); }

.nav-link-cta {
  background: var(--teal-500);
  color: #fff !important;
  margin-left: 0.5rem;
}

.nav-link-cta:hover { background: var(--teal-600); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 2.25rem;
  height: 2.25rem;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink-900);
  border-radius: 2px;
}

/* ===== Hero ===== */
.hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 4.5rem 1.5rem 3rem;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.hero-inner { max-width: 560px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: var(--teal-50);
  color: var(--teal-700);
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid var(--teal-200);
  margin-bottom: 1.25rem;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal-500);
  box-shadow: 0 0 0 3px var(--teal-100);
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1.1rem;
}

.hero-sub {
  font-size: 1.02rem;
  color: var(--ink-500);
  margin-bottom: 1.75rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.hero-note {
  font-size: 0.82rem;
  color: var(--ink-500);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s, border-color 0.15s;
}

.btn-lg { padding: 0.85rem 1.5rem; font-size: 0.95rem; }

.btn-primary {
  background: linear-gradient(135deg, var(--teal-500), var(--teal-600));
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn-ghost {
  background: transparent;
  color: var(--ink-900);
  border-color: var(--border);
}

.btn-ghost:hover { border-color: var(--teal-400); color: var(--teal-700); }

.btn-white {
  background: #fff;
  color: var(--teal-700);
}

.btn-white:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(0,0,0,0.25); }

/* ===== Hero visual mock ===== */
.hero-visual { position: relative; }

.mock-window {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
}

.mock-titlebar {
  display: flex;
  gap: 6px;
  padding: 0.75rem 1rem;
  background: var(--surface-alt);
  border-bottom: 1px solid var(--border);
}

.mock-titlebar span {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--ink-300);
}

.mock-body { padding: 1.1rem; display: flex; flex-direction: column; gap: 0.7rem; }

.mock-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 0.7rem;
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
  border: 1px solid var(--border);
}

.mock-check {
  width: 1.6rem; height: 1.6rem; flex-shrink: 0;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 800;
  color: #fff;
}

.mock-check-pass { background: var(--teal-500); }
.mock-check-fail { background: #f43f5e; }
.mock-check-pending { background: var(--ink-300); color: var(--ink-700); }

.mock-lines { flex: 1; display: flex; flex-direction: column; gap: 0.35rem; }

.mock-line { height: 8px; border-radius: 4px; background: var(--ink-300); opacity: 0.55; }
.mock-line.dim { opacity: 0.3; }
.w-30 { width: 30%; } .w-35 { width: 35%; } .w-40 { width: 40%; }
.w-45 { width: 45%; } .w-50 { width: 50%; } .w-60 { width: 60%; }
.w-70 { width: 70%; } .w-80 { width: 80%; }

.mock-tag {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  letter-spacing: 0.03em;
}

.mock-tag.pass { background: var(--teal-100); color: var(--teal-700); }
.mock-tag.fail { background: #ffe4e6; color: #be123c; }
.mock-tag.pending { background: var(--ink-100); color: var(--ink-500); }

.mock-progress {
  height: 8px;
  border-radius: 999px;
  background: var(--ink-100);
  overflow: hidden;
  margin-top: 0.3rem;
}

.mock-progress-bar {
  width: 68%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal-400), var(--teal-600));
}

.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink-900);
  box-shadow: var(--shadow-md);
  animation: float 4s ease-in-out infinite;
}

.floating-card-1 { top: -1rem; right: -1rem; animation-delay: 0s; }
.floating-card-2 { bottom: -0.5rem; left: -1.5rem; animation-delay: 1.5s; }

.pi-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--teal-500);
  box-shadow: 0 0 0 3px var(--teal-100);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ===== Trust strip ===== */
/* ===== Sections ===== */
.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.section-alt {
  max-width: none;
  background: var(--surface-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-alt > * { max-width: 1180px; margin-left: auto; margin-right: auto; }

.section-head {
  max-width: 640px;
  margin: 0 auto 3rem;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 0.6rem;
}

.section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.85rem;
}

.section-head p { color: var(--ink-500); }

/* ===== Features ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal-200);
}

.feature-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--c) 14%, transparent);
  color: var(--c);
  margin-bottom: 1rem;
}

.feature-card h3 { font-size: 1.02rem; margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.88rem; color: var(--ink-500); margin: 0; }

/* ===== Steps ===== */
.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0.5rem;
}

.step { text-align: center; max-width: 260px; margin: 0 auto; }

.step-num {
  width: 2.75rem;
  height: 2.75rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-500), var(--teal-700));
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}

.step h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.step p { font-size: 0.86rem; color: var(--ink-500); margin: 0; }

.step-line {
  height: 2px;
  margin-top: 1.375rem;
  background: repeating-linear-gradient(90deg, var(--teal-300) 0 6px, transparent 6px 12px);
}

/* ===== CTA banner ===== */
.cta-banner {
  margin: 0 1.5rem 4rem;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--teal-600), var(--teal-800));
  overflow: hidden;
  position: relative;
}

.cta-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(400px 200px at 90% 0%, rgba(255,255,255,0.18), transparent 60%);
}

.cta-banner-inner {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
  text-align: center;
}

.cta-banner-inner h2 { color: #fff; font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: 0.75rem; }
.cta-banner-inner p { color: rgba(255,255,255,0.85); margin-bottom: 1.75rem; }

/* ===== Footer ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem 1.5rem;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--ink-900);
}

.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { text-decoration: none; font-size: 0.88rem; color: var(--ink-500); }
.footer-links a:hover { color: var(--teal-600); }

.footer-copy { font-size: 0.8rem; color: var(--ink-500); width: 100%; text-align: center; margin-top: 0.5rem; }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding-top: 2.5rem; }
  .hero-visual { order: -1; max-width: 420px; margin: 0 auto; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 2rem; }
  .step-line { display: none; }
}

@media (max-width: 640px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 1.5rem 1.25rem;
    display: none;
  }

  .nav-links.open { display: flex; }
  .nav-link, .nav-link-cta { text-align: center; margin: 0.15rem 0; }
  .nav-toggle { display: flex; }

  .feature-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
  .floating-card { display: none; }
}
