html { scroll-behavior: smooth; }

* { position: relative; z-index: 1; }

/* ── Nav ──────────────────────────────────────────────────────── */

nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(14, 165, 233, 0.12);
  padding: 0 48px;
  display: flex; align-items: center;
  justify-content: space-between; height: 82px;
}

nav .nav-logo { height: 61px; width: auto; }

nav .nav-links { display: flex; align-items: center; gap: 32px; }
nav .nav-links a { font-size: 14px; color: var(--muted); transition: color .15s; }
nav .nav-links a:hover { color: var(--text); }

.btn-nav {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 20px; border-radius: 8px;
  font-size: 13px; font-weight: 700; cursor: pointer;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: #fff; border: none;
  box-shadow: 0 0 20px rgba(14, 165, 233, 0.3);
  transition: opacity .15s, box-shadow .15s;
  font-family: inherit;
}

.btn-nav:hover { opacity: 0.88; box-shadow: 0 0 32px rgba(14, 165, 233, 0.45); }

/* ── Hero ─────────────────────────────────────────────────────── */

.hero-wrap {
  position: relative;
  overflow: hidden;
}

/* glowing orbs */
.orb {
  position: absolute;
  filter: blur(80px);
}

.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(14,165,233,0.18) 0%, transparent 70%);
  top: -200px; left: -100px;
  animation: drift1 12s ease-in-out infinite alternate;
}

.orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(124,58,237,0.15) 0%, transparent 70%);
  top: -100px; right: -150px;
  animation: drift2 14s ease-in-out infinite alternate;
}

@keyframes drift1 { from { transform: translate(0, 0); } to { transform: translate(60px, 40px); } }
@keyframes drift2 { from { transform: translate(0, 0); } to { transform: translate(-40px, 60px); } }

.hero {
  position: relative; z-index: 1;
  max-width: 1100px; margin: 0 auto;
  padding: 120px 48px 100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}

@media (max-width: 800px) { .hero { grid-template-columns: 1fr; padding: 80px 24px; } }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--blue); background: rgba(14, 165, 233, 0.08);
  border: 1px solid rgba(14, 165, 233, 0.2);
  padding: 5px 14px; border-radius: 999px; margin-bottom: 28px;
}

.hero-badge span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 6px var(--blue);
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:0.3;} }

.hero h1 {
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 900; line-height: 1.08;
  letter-spacing: -0.03em; margin-bottom: 22px;
}

.hero h1 .grad {
  background: linear-gradient(135deg, var(--blue2), var(--purple2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 17px; color: var(--muted); line-height: 1.8;
  max-width: 440px; margin-bottom: 0;
}

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 32px; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 30px; border-radius: 10px;
  font-size: 15px; font-weight: 700; cursor: pointer;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: #fff; border: none;
  box-shadow: 0 0 28px rgba(14,165,233,0.35), 0 4px 16px rgba(0,0,0,0.3);
  transition: opacity .15s, transform .1s, box-shadow .15s;
  font-family: inherit;
}

.btn-primary:hover { opacity: 0.88; transform: translateY(-2px); box-shadow: 0 0 40px rgba(14,165,233,0.5), 0 8px 24px rgba(0,0,0,0.3); }
.btn-primary:active { transform: translateY(0); }

/* ── Hero visual: conversion diagram ─────────────────────────── */

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

.conv-diagram {
  display: flex; align-items: center; gap: 0;
  background: rgba(14, 165, 233, 0.04);
  border: 1px solid rgba(14, 165, 233, 0.15);
  border-radius: 16px; padding: 32px 28px;
  box-shadow: 0 0 60px rgba(14,165,233,0.08);
  width: 100%; max-width: 400px;
}

.doc-card {
  flex: 1; background: rgba(14,165,233,0.06);
  border: 1px solid rgba(14,165,233,0.2);
  border-radius: 10px; padding: 20px 16px; text-align: center;
}

.doc-icon { font-size: 32px; margin-bottom: 8px; }
.doc-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--dim); }
.doc-ext   { font-size: 22px; font-weight: 900; margin-top: 4px; }
.doc-ext.word { color: var(--blue); }
.doc-ext.pdf  {
  background: linear-gradient(135deg, var(--blue), var(--purple));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.conv-arrow {
  flex-shrink: 0; padding: 0 14px; text-align: center;
}

.arrow-track {
  width: 48px; height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  border-radius: 1px; position: relative; margin: 0 auto;
  box-shadow: 0 0 8px rgba(14,165,233,0.6);
}

.arrow-track::after {
  content: ""; position: absolute;
  right: -1px; top: -4px;
  border-left: 8px solid var(--purple);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

.arrow-label { font-size: 9px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--dim); margin-top: 8px; }

/* ── Stats strip ──────────────────────────────────────────────── */

.stats-strip {
  border-top: 1px solid rgba(14, 165, 233, 0.1);
  border-bottom: 1px solid rgba(14, 165, 233, 0.1);
}

.stats-inner {
  max-width: 1100px; margin: 0 auto;
  padding: 48px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
}

.stat-item {
  text-align: center; padding: 0 24px;
  border-right: 1px solid rgba(14,165,233,0.1);
}

.stat-item:last-child { border-right: none; }

.stat-num {
  font-size: 42px; font-weight: 900; line-height: 1;
  background: linear-gradient(135deg, var(--blue2), var(--purple2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-unit { font-size: 16px; font-weight: 700; }
.stat-desc { font-size: 12px; color: var(--dim); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 8px; }

@media (max-width: 640px) { .stats-inner { grid-template-columns: repeat(2,1fr); } .stat-item { padding: 16px; border-right: none; border-bottom: 1px solid rgba(14,165,233,0.1); } }

/* ── Features section ─────────────────────────────────────────── */

.section { max-width: 1100px; margin: 0 auto; padding: 96px 48px; }
.section-sm { max-width: 1100px; margin: 0 auto; padding: 80px 48px; }

.section-eyebrow {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--blue); margin-bottom: 12px;
}

.section-title {
  font-size: 32px; font-weight: 800;
  letter-spacing: -0.02em; margin-bottom: 16px;
}

.section-sub { font-size: 16px; color: var(--muted); max-width: 520px; line-height: 1.7; margin-bottom: 56px; }

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

.feat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px; padding: 30px 26px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
  cursor: default;
}

.feat-card:hover {
  border-color: var(--blue);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(14,165,233,0.12), 0 0 0 1px rgba(14,165,233,0.1);
}

.feat-icon-wrap {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(14, 165, 233, 0.08);
  border: 1px solid rgba(14, 165, 233, 0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 18px;
}

.feat-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.feat-card p  { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ── How it works ─────────────────────────────────────────────── */

.how-bg {
  background: var(--surface);
  border-top: 1px solid rgba(14, 165, 233, 0.08);
  border-bottom: 1px solid rgba(14, 165, 233, 0.08);
}

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

.step {
  flex: 1; min-width: 220px; max-width: 300px;
  text-align: center; padding: 0 20px;
  position: relative;
}

.step + .step::before {
  content: "";
  position: absolute; left: -1px; top: 22px;
  width: 2px; height: 40px;
  background: linear-gradient(180deg, var(--blue), var(--purple));
  opacity: 0.3;
}

@media (min-width: 640px) {
  .step + .step::before {
    top: 22px; left: -1px; width: 100%; height: 2px;
    background: linear-gradient(90deg, var(--blue), var(--purple));
  }
}

.step-num {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: #fff; font-size: 18px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 0 20px rgba(14,165,233,0.4);
}

.step h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.step p   { font-size: 13px; color: var(--muted); line-height: 1.65; }

/* ── Privacy section ──────────────────────────────────────────── */

.privacy-section {
  max-width: 1100px; margin: 0 auto; padding: 96px 48px;
}

.privacy-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
}

@media (max-width: 720px) { .privacy-grid { grid-template-columns: 1fr; } }

.privacy-visual {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px; padding: 36px;
  box-shadow: 0 0 60px rgba(14,165,233,0.06);
}

.privacy-row {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid rgba(14,165,233,0.08);
}

.privacy-row:last-child { border-bottom: none; }

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

.dot-green  { background: var(--green); box-shadow: 0 0 8px var(--green); }
.dot-blue   { background: var(--blue);  box-shadow: 0 0 8px var(--blue); }
.dot-purple { background: var(--purple2); box-shadow: 0 0 8px var(--purple2); }

.privacy-label { font-size: 13px; font-weight: 600; flex: 1; }
.privacy-value { font-size: 12px; color: var(--muted); }

/* ── CTA section ──────────────────────────────────────────────── */

.cta-section {
  max-width: 1100px; margin: 0 auto; padding: 0 48px 100px;
}

.cta-card {
  background: linear-gradient(135deg, rgba(14,165,233,0.06) 0%, rgba(124,58,237,0.06) 100%);
  border: 1px solid rgba(14, 165, 233, 0.2);
  border-radius: 20px; padding: 64px;
  text-align: center;
  box-shadow: 0 0 80px rgba(14, 165, 233, 0.06);
  position: relative; overflow: hidden;
}

.cta-card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(14,165,233,0.1) 0%, transparent 60%);
  pointer-events: none;
}

.cta-card h2 {
  font-size: 38px; font-weight: 900;
  letter-spacing: -0.03em; margin-bottom: 16px;
  background: linear-gradient(135deg, var(--text), var(--blue2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-card p { font-size: 16px; color: var(--muted); margin-bottom: 40px; max-width: 460px; margin-left: auto; margin-right: auto; line-height: 1.7; }

/* ── Footer ───────────────────────────────────────────────────── */

footer {
  border-top: 1px solid rgba(14, 165, 233, 0.08);
  background: rgba(3, 7, 18, 0.9);
  padding: 32px 48px;
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 16px;
}

footer svg { height: 61px; width: auto; opacity: 0.85; }

.footer-links { display: flex; gap: 28px; }
.footer-links a { font-size: 13px; color: var(--dim); transition: color .15s; }
.footer-links a:hover { color: var(--blue); }

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