:root {
  --bg: #ffffff;
  --bg-soft: #f5f5f7;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --muted-2: #86868b;
  --accent: #0071e3;
  --accent-dark: #0060c0;
  --line: #d2d2d7;
  --dark: #000000;
  --dark-ink: #f5f5f7;
  --max: 1000px;
  --nav-h: 52px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

.eyebrow {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
}

.eyebrow-dark {
  color: var(--accent);
}

/* ---------- Top bar (translucent, blurred) ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.nav {
  height: var(--nav-h);
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(18px, 5vw, 32px);
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 28px;
  margin: 0 auto 0 24px;
  padding: 0;
  list-style: none;
  font-size: 0.82rem;
  color: var(--muted);
}

.nav-links a {
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-cta {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--accent);
  transition: opacity 0.2s ease;
}

.nav-cta:hover {
  opacity: 0.7;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  border-radius: 980px;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: background 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: scale(1.03);
}

.btn-ghost {
  color: var(--accent);
  padding: 13px 10px;
}

.btn-ghost:hover {
  opacity: 0.6;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(72px, 14vh, 140px) clamp(20px, 6vw, 48px);
  overflow: hidden;
  background:
    radial-gradient(140% 80% at 50% -10%, #f0f6ff 0%, rgba(240, 246, 255, 0) 60%),
    linear-gradient(180deg, #fbfbfd 0%, #ffffff 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.hero-title {
  margin: 0 0 26px;
  font-size: clamp(3rem, 11vw, 6.5rem);
  line-height: 0.98;
  font-weight: 700;
  letter-spacing: -0.035em;
  background: linear-gradient(180deg, #1d1d1f 0%, #4b4b52 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  margin: 0 auto 40px;
  max-width: 580px;
  font-size: clamp(1.15rem, 2.6vw, 1.5rem);
  line-height: 1.4;
  font-weight: 400;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 20px;
}

.hero-glow {
  position: absolute;
  z-index: 1;
  bottom: -30%;
  left: 50%;
  width: min(1100px, 120vw);
  height: 620px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(0, 113, 227, 0.18), rgba(0, 113, 227, 0));
  filter: blur(20px);
  pointer-events: none;
}

/* ---------- Section head ---------- */
.section-head {
  text-align: center;
  margin: 0 auto 56px;
  max-width: 720px;
}

.section-title {
  margin: 0;
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.03em;
}

/* ---------- Features ---------- */
.features {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(80px, 14vh, 160px) clamp(20px, 6vw, 32px);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature {
  background: var(--bg-soft);
  border-radius: 22px;
  padding: 40px 32px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.08);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  color: var(--accent);
  font-size: 1.7rem;
  margin-bottom: 24px;
}

.feature-title {
  margin: 0 0 12px;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.feature-text {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

/* ---------- Showcase (dark, cinematic) ---------- */
.showcase {
  background:
    radial-gradient(120% 90% at 50% 0%, #1a2740 0%, rgba(0, 0, 0, 0) 55%),
    var(--dark);
  color: var(--dark-ink);
  padding: clamp(96px, 18vh, 200px) clamp(20px, 6vw, 32px);
}

.showcase-copy {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.showcase-title {
  margin: 0 0 22px;
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1.03;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
}

.showcase-lead {
  margin: 0 auto 64px;
  max-width: 620px;
  font-size: clamp(1.1rem, 2.4vw, 1.35rem);
  color: #a1a1aa;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.metrics li {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.metric-value {
  font-size: clamp(2.4rem, 7vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, #ffffff 0%, #9fb6ff 120%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.metric-label {
  font-size: 0.95rem;
  color: #8e8e93;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-soft);
  color: var(--ink);
  text-align: center;
  padding: clamp(80px, 14vh, 160px) clamp(20px, 6vw, 32px) 64px;
}

.footer-inner {
  max-width: 640px;
  margin: 0 auto;
}

.footer-title {
  margin: 0 0 12px;
  font-size: clamp(1.9rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.footer-lead {
  margin: 0 auto 32px;
  max-width: 460px;
  font-size: 1.1rem;
  color: var(--muted);
}

.footer-contacts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 32px;
  margin: 0 0 36px;
  padding: 0;
  list-style: none;
  font-size: 1.02rem;
  color: var(--muted);
}

.footer-contacts a {
  color: var(--accent);
  transition: opacity 0.2s ease;
}

.footer-contacts a:hover {
  opacity: 0.65;
}

.footer-copy {
  margin: 48px 0 0;
  font-size: 0.82rem;
  color: var(--muted-2);
}

/* ---------- Responsive ---------- */
@media (max-width: 800px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  .metrics {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 620px) {
  .nav-links {
    display: none;
  }
  .nav-cta {
    margin-left: auto;
  }
}
