:root {
  --bg: #f5f8ff;
  --panel: #ffffff;
  --ink: #071225;
  --muted: #66758c;
  --blue: #1678ff;
  --sky: #39c8ff;
  --dark: #0b1426;
  --line: rgba(7, 18, 37, 0.1);
  --shadow: 0 30px 90px rgba(18, 74, 150, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at 50% 0%, rgba(57, 200, 255, 0.18), transparent 32%),
    radial-gradient(circle at 10% 18%, rgba(22, 120, 255, 0.12), transparent 28%),
    var(--bg);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  margin: 0;
  overflow-x: hidden;
}

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

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

.site-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  border-radius: 999px;
  display: grid;
  gap: 20px;
  grid-template-columns: auto 1fr auto;
  left: 50%;
  max-width: 980px;
  padding: 9px 12px 9px 18px;
  position: fixed;
  top: 14px;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  z-index: 20;
}

.brand img {
  height: 42px;
  width: auto;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: clamp(18px, 3vw, 34px);
  justify-content: center;
}

.site-nav a,
.login-link,
.button,
.eyebrow {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.site-nav a {
  color: var(--muted);
}

.login-link {
  background: var(--dark);
  border-radius: 999px;
  color: #fff;
  padding: 12px 18px;
}

.menu-toggle {
  background: transparent;
  border: 0;
  display: none;
  height: 40px;
  padding: 0;
  width: 40px;
}

.menu-toggle span {
  background: var(--ink);
  display: block;
  height: 2px;
  margin: 7px auto;
  width: 22px;
}

.hero {
  margin: 0 auto;
  max-width: 1120px;
  padding: 112px 20px 80px;
  text-align: center;
}

.avatar-row {
  display: flex;
  justify-content: center;
  margin: 28px 0 20px;
}

.avatar-row span,
.quote-avatar {
  background: linear-gradient(135deg, var(--blue), var(--sky));
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(22, 120, 255, 0.18);
  height: 34px;
  margin-left: -8px;
  width: 34px;
}

.avatar-row span:nth-child(2) { background: linear-gradient(135deg, #ffc857, #ff7a7a); }
.avatar-row span:nth-child(3) { background: linear-gradient(135deg, #75e6a8, #1fa7ff); }
.avatar-row span:nth-child(4) { background: linear-gradient(135deg, #865dff, #49d7ff); }
.avatar-row span:nth-child(5) { background: linear-gradient(135deg, #0b1426, #1678ff); }

.eyebrow {
  color: var(--blue);
  margin: 0 0 16px;
  text-transform: uppercase;
}

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

.hero h1 {
  font-size: clamp(44px, 6.5vw, 86px);
  letter-spacing: -0.065em;
  line-height: 0.96;
  margin: 0 auto 22px;
  max-width: 890px;
}

.hero-copy p,
.section-heading p,
.path-copy p,
.feature-card p,
.contact-card p {
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.6;
}

.hero-copy p {
  margin: 0 auto 28px;
  max-width: 680px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.button {
  align-items: center;
  border-radius: 12px;
  display: inline-flex;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

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

.button.primary {
  background: var(--blue);
  box-shadow: 0 15px 35px rgba(22, 120, 255, 0.28);
  color: #fff;
}

.button.secondary {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
}

.product-console {
  background: var(--dark);
  border-radius: 16px;
  box-shadow: var(--shadow);
  color: #fff;
  margin: 52px auto 0;
  max-width: 760px;
  overflow: hidden;
  text-align: left;
}

.console-top {
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  gap: 7px;
  padding: 16px 18px;
}

.console-top span {
  background: rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  height: 9px;
  width: 9px;
}

.console-top strong {
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
  margin-left: auto;
}

.lesson-card {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(230px, 0.55fr) 1fr;
  padding: 28px;
}

.phone-frame {
  background: linear-gradient(180deg, #102448, #0d1931);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  min-height: 390px;
  padding: 18px;
}

.lesson-video {
  background:
    radial-gradient(circle at 60% 28%, rgba(57, 200, 255, 0.72), transparent 26%),
    linear-gradient(135deg, #1d7bff, #0a1327);
  border-radius: 20px;
  height: 210px;
  margin-bottom: 22px;
}

.phone-frame h2 {
  font-size: 28px;
  margin-bottom: 8px;
}

.phone-frame p {
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 20px;
}

.progress {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  height: 8px;
}

.progress span {
  background: var(--sky);
  border-radius: inherit;
  display: block;
  height: 100%;
  width: 68%;
}

.lesson-feed {
  align-self: center;
  display: grid;
  gap: 14px;
}

.lesson-feed p {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  padding: 18px;
}

.lesson-feed strong {
  color: var(--sky);
  margin-right: 10px;
}

.segment-row {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 18px 40px rgba(18, 74, 150, 0.08);
  display: inline-flex;
  gap: 6px;
  margin-top: 44px;
  padding: 6px;
}

.segment-row span {
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  padding: 10px 14px;
}

.segment-row .active {
  background: var(--dark);
  color: #fff;
}

.integration-orbit {
  height: 270px;
  margin: 54px auto 0;
  position: relative;
  width: min(520px, 100%);
}

.bubble,
.center-bubble {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: 0 16px 38px rgba(22, 120, 255, 0.12);
  color: var(--blue);
  display: flex;
  font-size: 13px;
  font-weight: 900;
  height: 62px;
  justify-content: center;
  position: absolute;
  width: 62px;
}

.center-bubble {
  height: 100px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
}

.center-bubble img {
  width: 72px;
}

.b1 { left: 12%; top: 14%; }
.b2 { left: 24%; bottom: 15%; }
.b3 { right: 18%; top: 16%; }
.b4 { right: 10%; bottom: 18%; }
.b5 { left: 50%; top: 0; transform: translateX(-50%); }

.testimonial,
.platform,
.paths,
.metrics,
.contact {
  margin: 0 auto;
  max-width: 1120px;
  padding: clamp(70px, 10vw, 120px) 20px;
}

.testimonial {
  text-align: center;
}

.quote-avatar {
  margin: 0 auto 20px;
}

.testimonial p {
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin: 0 auto;
  max-width: 760px;
}

.section-heading {
  margin-bottom: 34px;
  text-align: center;
}

.section-heading h2,
.path-copy h2,
.contact-card h2 {
  font-size: clamp(38px, 5vw, 72px);
  letter-spacing: -0.06em;
  line-height: 0.96;
  margin-bottom: 18px;
}

.feature-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(18, 74, 150, 0.08);
  min-height: 300px;
  padding: 26px;
}

.feature-card span {
  color: var(--blue);
  display: block;
  font-weight: 900;
  margin-bottom: 90px;
}

.feature-card h3 {
  font-size: 28px;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}

.paths {
  align-items: center;
  display: grid;
  gap: 46px;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.65fr);
}

.path-list {
  display: grid;
  gap: 12px;
}

.path-list div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  display: grid;
  gap: 16px;
  grid-template-columns: 54px 1fr;
  padding: 18px;
}

.path-list strong {
  color: var(--blue);
}

.metrics {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.metric {
  background: var(--dark);
  border-radius: 24px;
  color: #fff;
  min-height: 220px;
  padding: 28px;
}

.metric strong {
  display: block;
  font-size: clamp(48px, 6vw, 86px);
  letter-spacing: -0.07em;
  line-height: 0.9;
  margin-bottom: 24px;
}

.metric span {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
  text-transform: uppercase;
}

.contact-card {
  background:
    radial-gradient(circle at 16% 18%, rgba(57, 200, 255, 0.18), transparent 30%),
    #fff;
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow);
  padding: clamp(34px, 7vw, 82px);
  text-align: center;
}

.site-footer {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1120px;
  padding: 34px 20px 54px;
}

.site-footer img {
  height: 54px;
}

.site-footer p,
.site-footer small {
  color: var(--muted);
  margin: 0;
}

.footer-copy {
  display: grid;
  gap: 8px;
  justify-items: end;
  text-align: right;
}

.venture-backlink {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.venture-backlink::after {
  content: " ->";
}

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

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .site-nav,
  .login-link {
    display: none;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .site-header.is-open {
    border-radius: 24px;
  }

  .site-header.is-open .site-nav {
    display: grid;
    gap: 16px;
    grid-column: 1 / -1;
    justify-content: start;
    padding: 12px 0;
  }

  .lesson-card,
  .paths,
  .feature-grid,
  .metrics {
    grid-template-columns: 1fr;
  }

  .segment-row {
    border-radius: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
  }

  .brand img {
    height: 36px;
  }

  .hero {
    padding-left: 14px;
    padding-right: 14px;
  }

  .product-console {
    border-radius: 14px;
  }

  .phone-frame {
    min-height: 330px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-copy {
    justify-items: start;
    text-align: left;
  }
}
