:root {
  --bg: #050816;
  --bg-soft: #0b1027;
  --surface: #121936;
  --surface-2: #1b244b;
  --text: #e9edff;
  --muted: #a8b1d8;
  --primary: #6d5efc;
  --secondary: #16c5d8;
  --ring: rgba(109, 94, 252, 0.35);
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 10% 10%, #11163a, var(--bg) 45%);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

.section {
  padding: 5rem 0;
}

.section-tint {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(5, 8, 22, 0.62);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.2px;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.brand-icon {
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 0.3rem;
  object-fit: cover;
  box-shadow: 0 0 18px var(--ring);
}

.nav-links {
  display: flex;
  gap: 1.4rem;
  color: var(--muted);
  font-weight: 500;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.7rem 1.2rem;
  font-weight: 600;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.btn-primary {
  background: linear-gradient(120deg, var(--primary), #4d7cff);
  color: #fff;
  box-shadow: 0 12px 24px rgba(78, 95, 255, 0.35);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.2rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: #9db0ff;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 700;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.15;
}

.lead {
  color: var(--muted);
  max-width: 58ch;
}

.hero-cta {
  display: flex;
  gap: 0.8rem;
  margin: 1.4rem 0 1.8rem;
  flex-wrap: wrap;
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.mini-stats > div {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.9rem 0.8rem;
}

.stat-value {
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0;
}

.stat-value::after {
  content: "%";
  color: #9db0ff;
  font-size: 1rem;
  margin-left: 0.1rem;
}

.stat-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.visual-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: var(--shadow);
  border-radius: 18px;
  padding: 1rem;
  position: relative;
}

.visual-head {
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.pulse {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: #1dde9f;
  box-shadow: 0 0 14px rgba(29, 222, 159, 0.7);
  animation: pulse 2.2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.35);
    opacity: 0.7;
  }
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.metric {
  margin: 0;
  padding: 0.85rem;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.metric p {
  margin: 0 0 0.2rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.metric h3 {
  margin: 0;
  font-size: 1.32rem;
}

.flow-svg {
  width: 100%;
  margin-top: 1rem;
}

.flow-svg rect {
  fill: #0e1637;
  stroke: rgba(255, 255, 255, 0.12);
}

.flow-svg path,
.flow-svg circle {
  stroke: url(#lineGrad);
  fill: url(#lineGrad);
}

.flow-svg text {
  fill: #ced7ff;
  font-size: 14px;
  text-anchor: middle;
}

.section-head {
  margin-bottom: 1.6rem;
}

.cards,
.steps,
.results-grid,
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.cards {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card,
.step,
.result,
.testimonial {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 15px;
  padding: 1.15rem;
  transition: border-color 180ms ease, transform 180ms ease;
}

.card:hover,
.step:hover,
.result:hover,
.testimonial:hover {
  transform: translateY(-4px);
  border-color: rgba(157, 176, 255, 0.5);
}

.icon-wrap {
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-content: center;
  border-radius: 9px;
  background: linear-gradient(140deg, rgba(109, 94, 252, 0.34), rgba(22, 197, 216, 0.2));
  margin-bottom: 0.7rem;
  font-size: 1.15rem;
}

.card p,
.step p,
.result p,
.testimonial p {
  color: var(--muted);
  margin-bottom: 0;
}

.step span {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 0.75rem;
  color: #c3cdff;
  font-weight: 700;
}

.testimonial h4 {
  margin-top: 1.1rem;
  margin-bottom: 0.2rem;
}

.testimonial span {
  color: #b8c1e8;
  font-size: 0.9rem;
}

.cta-panel {
  text-align: center;
  background: linear-gradient(170deg, rgba(109, 94, 252, 0.18), rgba(22, 197, 216, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 3rem 1rem;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding: 1.2rem 0 2rem;
  color: #9da8d3;
  text-align: center;
}

.bg-blur {
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(72px);
  opacity: 0.34;
  pointer-events: none;
}

.bg-blur-1 {
  width: 20rem;
  height: 20rem;
  background: #6045ff;
  top: -6rem;
  right: -8rem;
}

.bg-blur-2 {
  width: 18rem;
  height: 18rem;
  background: #00c2d5;
  left: -8rem;
  bottom: -7rem;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .hero-grid,
  .cards {
    grid-template-columns: 1fr 1fr;
  }

  .steps,
  .results-grid,
  .testimonials {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .nav-links {
    display: none;
  }

  .hero-grid,
  .cards,
  .mini-stats,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 4.25rem 0;
  }
}
