:root {
  --bg: #f6f8ff;
  --surface: #ffffff;
  --surface-soft: #f5f3ff;
  --primary: #1b4dd8;
  --primary-dark: #153ca7;
  --purple: #8a63ff;
  --text: #121f46;
  --muted: #55658a;
  --border: #dde4ff;
  --radius: 22px;
  --shadow: 0 18px 48px rgba(19, 56, 150, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% -10%, #d7e6ff 0%, transparent 42%),
    radial-gradient(circle at 100% 12%, #eadfff 0%, transparent 30%),
    var(--bg);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.bg-orb {
  position: fixed;
  z-index: -1;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  filter: blur(64px);
  opacity: 0.4;
  pointer-events: none;
}

.orb-1 {
  top: -80px;
  left: -100px;
  background: #8bb7ff;
}

.orb-2 {
  bottom: 8%;
  right: -120px;
  background: #b899ff;
}

.container {
  width: min(1140px, 92%);
  margin-inline: auto;
}

.section {
  padding: 5rem 0;
}

h1,
h2,
h3 {
  margin: 0 0 0.8rem;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.15rem, 6.5vw, 4rem);
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.7rem, 4.4vw, 2.9rem);
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.1rem;
}

p,
li {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.eyebrow {
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 0.8rem;
}

.lead,
.section-sub {
  max-width: 64ch;
}

.section-head {
  text-align: center;
  margin-bottom: 2rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 248, 255, 0.8);
  border-bottom: 1px solid #e8edff;
  backdrop-filter: blur(14px);
}

.nav-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.nav {
  display: none;
  gap: 1.35rem;
  font-weight: 600;
  color: #324a77;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.8rem 1.25rem;
  font-weight: 600;
  transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #3b67e2 100%);
  color: #fff;
  box-shadow: 0 12px 26px rgba(33, 83, 217, 0.28);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #2c57d8 100%);
}

.btn-secondary {
  border-color: #cad5ff;
  background: #fff;
  color: #2d4ca8;
}

.btn-glow:hover {
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.28), 0 14px 26px rgba(22, 47, 118, 0.3);
}

.nav-cta {
  display: none;
}

.hero {
  padding-top: 4rem;
}

.hero-grid,
.split-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.hero-visual,
.side-illustration,
.reward-visual,
.network-visual,
.preview-card,
.icon-card,
.role-card,
.step,
.contact-form,
.cta-box,
.celebration-visual {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-visual {
  position: relative;
  min-height: 350px;
  padding: 1rem;
  background: linear-gradient(160deg, #eef3ff 0%, #f8f5ff 100%);
  overflow: hidden;
}

.student-illustration {
  background: #fff;
  border: 1px solid #d6e0ff;
  border-radius: 18px;
  padding: 1rem;
  max-width: 78%;
}

.student-group {
  font-size: 2rem;
  margin-bottom: 0.6rem;
}

.floating-card {
  position: absolute;
  padding: 0.7rem 0.9rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #d6deff;
  box-shadow: 0 10px 25px rgba(30, 70, 172, 0.17);
}

.floating-card span {
  display: block;
  font-size: 0.82rem;
  color: #63779f;
}

.floating-card strong {
  font-size: 1rem;
  color: #1b2f67;
}

.card-progress { top: 12%; right: 8%; }
.card-points { top: 44%; right: 4%; }
.card-achievement { bottom: 10%; left: 48%; }

.particle {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, #bdd0ff 70%);
  opacity: 0.8;
  animation: drift 5s ease-in-out infinite;
}

.particle-1 { top: 20%; left: 12%; }
.particle-2 { top: 70%; left: 25%; animation-delay: 1s; }
.particle-3 { top: 36%; right: 28%; animation-delay: 2s; }

.icon-card-grid,
.steps-grid,
.role-grid,
.preview-track {
  display: grid;
  gap: 1rem;
}

.icon-card,
.step,
.role-card,
.preview-card {
  padding: 1.2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.icon-card:hover,
.role-card:hover,
.step:hover,
.preview-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 30px rgba(29, 67, 166, 0.19);
}

.icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  margin-bottom: 0.7rem;
  background: linear-gradient(145deg, #e6eeff 0%, #f0ebff 100%);
}

.side-illustration,
.reward-visual,
.network-visual {
  min-height: 260px;
  padding: 1rem;
  position: relative;
  overflow: hidden;
}

.illustration-card,
.reward-illustration,
.celebration-visual {
  display: grid;
  place-items: center;
  min-height: 200px;
  border-radius: 16px;
  border: 1px solid #d4ddff;
  background: linear-gradient(140deg, #eff3ff 0%, #f7f1ff 100%);
  text-align: center;
  color: #2d4479;
  font-weight: 600;
  padding: 0.9rem;
}

.point-list {
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
}

.point-list li {
  padding-left: 1.15rem;
  position: relative;
}

.point-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--purple) 100%);
}

.badge {
  position: absolute;
  font-size: 1.35rem;
  padding: 0.45rem 0.55rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #d9e2ff;
}

.badge:nth-of-type(1) { top: 15%; right: 10%; }
.badge:nth-of-type(2) { top: 45%; left: 8%; }
.badge:nth-of-type(3) { bottom: 12%; right: 20%; }

.role-icon {
  width: 45px;
  height: 45px;
  border-radius: 14px;
  background: linear-gradient(145deg, #e6edff 0%, #f3ecff 100%);
  display: grid;
  place-items: center;
  margin-bottom: 0.7rem;
}

.role-card ul {
  margin-top: 0.5rem;
  display: grid;
  gap: 0.45rem;
}

.network-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.network-lines path {
  fill: none;
  stroke: #8ea9f4;
  stroke-width: 2;
  stroke-dasharray: 8;
  animation: dash 8s linear infinite;
}

.node {
  position: absolute;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #cfdcff;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
}

.node-a { top: 10%; left: 8%; }
.node-b { top: 34%; left: 42%; }
.node-c { bottom: 10%; left: 16%; }
.node-d { bottom: 11%; right: 10%; }

.preview-track {
  overflow: hidden;
}

.preview-card {
  background: linear-gradient(150deg, #ffffff 0%, #f4f2ff 100%);
}

.final-cta {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.cta-box {
  background: linear-gradient(140deg, #1d4fd8 0%, #7c58f3 100%);
  text-align: center;
  padding: 2.1rem;
}

.cta-box h2,
.cta-points li {
  color: #fff;
}

.cta-points {
  margin: 1rem auto 0;
  display: grid;
  gap: 0.45rem;
  width: fit-content;
}

.contact {
  background: transparent;
}

.contact-form {
  padding: 1rem;
  display: grid;
  gap: 0.85rem;
}

.contact-form label {
  display: grid;
  gap: 0.32rem;
  font-weight: 600;
  color: #304670;
}

input,
textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #cfdafd;
  padding: 0.74rem 0.8rem;
  font: inherit;
  color: var(--text);
}

input:focus,
textarea:focus {
  outline: 2px solid #bdd0ff;
  border-color: #9cb6f0;
}

.full {
  grid-column: 1 / -1;
}

.site-footer {
  border-top: 1px solid #e6edff;
  padding: 2.2rem 0 1.4rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  gap: 1rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  color: #47608a;
}

.socials {
  display: flex;
  gap: 0.5rem;
}

.socials a {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 1px solid #d2dcff;
  display: grid;
  place-items: center;
  color: #2f4aa0;
  background: #fff;
}

.copyright {
  text-align: center;
  margin-top: 1.15rem;
  color: #6c7ea5;
}

.reveal,
.scroll-step,
[data-stagger] > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-rise {
  animation: appear 0.9s ease both;
}

.float {
  animation: floatY 4.2s ease-in-out infinite;
}

@keyframes floatY {
  0%,
  100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes drift {
  0%,
  100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-12px) scale(1.08); }
}

@keyframes dash {
  to { stroke-dashoffset: -180; }
}

@keyframes appear {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 700px) {
  .contact-form {
    grid-template-columns: 1fr 1fr;
  }

  .icon-card-grid,
  .preview-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps-grid,
  .role-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }
}

@media (min-width: 980px) {
  .nav,
  .nav-cta {
    display: inline-flex;
  }

  .hero-grid,
  .split-grid {
    grid-template-columns: 1.02fr 0.98fr;
  }

  .steps-grid,
  .role-grid,
  .preview-track {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
