:root {
  --bg: #f3f7fb;
  --bg-alt: #eef4f9;
  --surface: #ffffff;
  --surface-soft: #f8fbff;
  --surface-muted: #f8fafc;
  --text: #0f172a;
  --muted: #475569;
  --muted-soft: #64748b;
  --line: #dbe4f0;
  --navy: #0c2d56;
  --navy-strong: #111827;
  --blue: #2563eb;
  --blue-strong: #1d4ed8;
  --blue-soft: #dbeafe;
  --orange: #ea580c;
  --orange-soft: #fff7ed;
  --orange-line: #fdba74;
  --green: #16a34a;
  --green-soft: #ecfdf3;
  --shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
  --shadow-soft: 0 14px 26px rgba(15, 23, 42, 0.06);
  --radius-xl: 34px;
  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --max-width: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.12), transparent 30%),
    radial-gradient(circle at bottom left, rgba(234, 88, 12, 0.08), transparent 28%),
    var(--bg);
  color: var(--text);
}

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

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

button,
input {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
}

.topbar,
.hero,
.content-section,
.footer {
  width: min(calc(100% - 32px), var(--max-width));
  margin-inline: auto;
}

.topbar {
  position: sticky;
  top: 18px;
  z-index: 20;
  margin-top: 18px;
  padding: 14px 18px;
  border: 1px solid rgba(219, 228, 240, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: var(--navy);
  border: 1px solid rgba(191, 219, 254, 0.28);
  overflow: hidden;
  flex-shrink: 0;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-title {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-subtitle {
  font-size: 0.78rem;
  color: var(--muted-soft);
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav a {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--muted);
  transition: color 180ms ease, transform 180ms ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--blue-strong);
  transform: translateY(-1px);
}

.nav-cta {
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--navy-strong);
  color: #fff !important;
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.18);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 16px;
  background: var(--surface-soft);
  box-shadow: inset 0 0 0 1px var(--line);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
  border-radius: 999px;
}

.hero {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 28px;
  margin-top: 28px;
  padding: 34px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 86% 18%, rgba(37, 99, 235, 0.34), transparent 20%),
    radial-gradient(circle at 10% 92%, rgba(234, 88, 12, 0.18), transparent 24%),
    linear-gradient(145deg, #0c2d56 0%, #0f172a 62%, #122848 100%);
  color: #ffffff;
  overflow: hidden;
  position: relative;
  box-shadow: 0 30px 60px rgba(12, 45, 86, 0.26);
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 14px;
  color: #fbbf24;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2 {
  margin: 0;
  letter-spacing: -0.04em;
}

.hero h1 {
  max-width: 11ch;
  font-size: clamp(2.9rem, 5vw, 5.2rem);
  line-height: 0.98;
}

.hero-text {
  max-width: 62ch;
  margin: 20px 0 0;
  color: rgba(226, 232, 240, 0.96);
  font-size: 1.04rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-strong));
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.28);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(226, 232, 240, 0.16);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.metric-card {
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.metric-card strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
}

.metric-card span {
  display: block;
  margin-top: 8px;
  color: rgba(226, 232, 240, 0.92);
  font-size: 0.9rem;
  line-height: 1.55;
}

.hero-visual {
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(12px);
  opacity: 0.85;
}

.hero-glow-blue {
  width: 220px;
  height: 220px;
  right: -26px;
  top: 18px;
  background: rgba(37, 99, 235, 0.3);
}

.hero-glow-orange {
  width: 180px;
  height: 180px;
  left: 4px;
  bottom: 80px;
  background: rgba(234, 88, 12, 0.2);
}

.hero-mockup {
  width: min(100%, 520px);
  padding: 20px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  box-shadow: 0 24px 46px rgba(15, 23, 42, 0.24);
  border: 1px solid rgba(219, 228, 240, 0.82);
  transform: perspective(1100px) rotateY(-10deg) rotateX(7deg);
}

.mockup-header,
.dashboard-topline,
.order-row,
.footer,
.join-layout,
.trust-grid,
.about-grid,
.dashboard-preview {
  display: flex;
}

.mockup-header {
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.mockup-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.mockup-brand img {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  object-fit: cover;
}

.mockup-brand strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
}

.mockup-brand span {
  display: block;
  margin-top: 4px;
  color: var(--muted-soft);
  font-size: 0.85rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.status-open {
  background: var(--green-soft);
  color: #166534;
}

.mockup-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.mockup-card,
.panel,
.feature-card,
.join-card,
.trust-card,
.dashboard-panel,
.benefit-strip,
.timeline-step {
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.mockup-card {
  padding: 18px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.mockup-label,
.dashboard-label,
.footer-heading {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mockup-card strong {
  display: block;
  margin-top: 10px;
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.mockup-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.6;
}

.accent-blue {
  background: linear-gradient(180deg, #ffffff 0%, #edf5ff 100%);
}

.accent-orange {
  background: linear-gradient(180deg, #ffffff 0%, #fff4ea 100%);
}

.accent-green {
  background: linear-gradient(180deg, #ffffff 0%, #effcf4 100%);
}

.accent-dark {
  background: linear-gradient(180deg, #fff 0%, #f6f8fb 100%);
}

.floating-badge {
  position: absolute;
  width: 220px;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.floating-badge-left {
  left: 8px;
  bottom: 24px;
}

.floating-badge-right {
  right: -10px;
  top: 44px;
}

.floating-kicker {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(191, 219, 254, 0.94);
}

.floating-badge strong {
  display: block;
  margin-top: 8px;
  font-size: 1rem;
}

.floating-badge p {
  margin: 8px 0 0;
  color: rgba(226, 232, 240, 0.92);
  font-size: 0.86rem;
  line-height: 1.5;
}

.content-section {
  padding: 100px 0 0;
}

.content-section-alt {
  position: relative;
}

.section-heading {
  max-width: 760px;
}

.section-heading h2 {
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  line-height: 1.04;
}

.about-grid,
.feature-grid,
.trust-grid {
  gap: 18px;
  margin-top: 28px;
}

.about-grid {
  align-items: stretch;
}

.panel,
.feature-card,
.join-card,
.trust-card,
.benefit-strip,
.dashboard-panel {
  padding: 24px;
}

.about-grid > * {
  flex: 1;
}

.panel-dark {
  background: linear-gradient(135deg, #111827, #0c2d56);
  color: #ffffff;
  border-color: rgba(191, 219, 254, 0.14);
}

.panel h3,
.feature-card h3,
.timeline-step h3,
.join-card strong,
.trust-card h3,
.dashboard-topline h3 {
  margin: 0;
}

.panel p,
.feature-card p,
.timeline-step p,
.join-card p,
.trust-card p,
.benefit-strip p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.panel-dark p {
  color: rgba(226, 232, 240, 0.94);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.timeline-step {
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.timeline-step::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
}

.timeline-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: var(--surface-soft);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 0.86rem;
  font-weight: 900;
  color: var(--blue-strong);
}

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

.feature-card,
.join-card,
.trust-card {
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.feature-card:hover,
.join-card:hover,
.trust-card:hover,
.timeline-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 38px rgba(15, 23, 42, 0.1);
}

.student-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.benefit-strip {
  display: grid;
  gap: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.benefit-strip strong {
  font-size: 1.06rem;
  font-weight: 800;
}

.join-layout {
  gap: 18px;
  margin-top: 28px;
  align-items: stretch;
}

.join-layout > .panel {
  flex: 1.08;
}

.join-points {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.join-card strong {
  display: block;
  font-size: 1.02rem;
}

.dashboard-preview {
  gap: 18px;
  margin-top: 28px;
  align-items: stretch;
}

.dashboard-main {
  flex: 1.24;
}

.dashboard-side {
  flex: 0.86;
  display: grid;
  gap: 18px;
}

.dashboard-panel {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.dashboard-topline {
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.dashboard-topline h3 {
  margin-top: 8px;
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.order-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.order-row {
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px var(--line);
}

.order-row strong {
  display: block;
  font-size: 0.96rem;
  font-weight: 800;
}

.order-row span:not(.order-status) {
  display: block;
  margin-top: 6px;
  color: var(--muted-soft);
  font-size: 0.88rem;
}

.order-status {
  padding: 10px 12px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
  white-space: nowrap;
}

.order-status-prep {
  color: #b45309;
  background: #fef3c7;
}

.order-status-ready {
  color: #166534;
  background: #dcfce7;
}

.order-status-new {
  color: #1d4ed8;
  background: #dbeafe;
}

.summary-stats {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.summary-stats strong {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.summary-stats span,
.compact-list li {
  color: var(--muted);
}

.compact-list {
  margin: 18px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
  line-height: 1.6;
}

.faq-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.faq-item {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.faq-question {
  width: 100%;
  padding: 22px 24px;
  border: 0;
  background: transparent;
  text-align: left;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  cursor: pointer;
  position: relative;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.45rem;
  color: var(--blue-strong);
  transition: transform 180ms ease;
}

.faq-item.is-open .faq-question::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 220ms ease;
}

.faq-answer p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--muted);
  line-height: 1.7;
}

.footer {
  margin-top: 100px;
  margin-bottom: 28px;
  padding: 28px;
  border-radius: var(--radius-xl);
  background: linear-gradient(140deg, #0c2d56, #111827);
  color: #ffffff;
  gap: 34px;
  justify-content: space-between;
}

.footer-brand {
  max-width: 420px;
}

.brand-footer {
  margin-bottom: 18px;
}

.footer-brand p {
  margin: 0;
  color: rgba(226, 232, 240, 0.92);
  line-height: 1.8;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  flex: 1;
}

.footer-heading {
  color: #bfdbfe;
  margin-bottom: 16px;
}

.footer-links div {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-links a {
  color: rgba(226, 232, 240, 0.94);
}

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

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

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

  .hero h1 {
    max-width: 13ch;
  }

  .hero-visual {
    min-height: 560px;
  }

  .about-grid,
  .join-layout,
  .dashboard-preview,
  .footer {
    flex-direction: column;
  }

  .timeline,
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .topbar {
    border-radius: 28px;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: inline-block;
  }

  .nav {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding-top: 6px;
  }

  .nav.is-open {
    display: flex;
  }

  .hero,
  .footer {
    width: min(calc(100% - 24px), var(--max-width));
  }

  .content-section,
  .topbar {
    width: min(calc(100% - 24px), var(--max-width));
  }

  .hero {
    padding: 24px;
  }

  .hero-mockup {
    transform: none;
  }

  .hero-metrics,
  .student-benefits,
  .join-points,
  .feature-grid,
  .timeline,
  .mockup-grid,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .floating-badge {
    width: 200px;
  }
}

@media (max-width: 640px) {
  .topbar {
    top: 12px;
    margin-top: 12px;
  }

  .brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 16px;
  }

  .hero h1 {
    max-width: none;
    font-size: 2.7rem;
  }

  .hero-text {
    font-size: 0.98rem;
    line-height: 1.7;
  }

  .hero-visual {
    min-height: auto;
    padding-bottom: 170px;
  }

  .floating-badge-left {
    left: 0;
    bottom: 6px;
  }

  .floating-badge-right {
    right: 0;
    top: auto;
    bottom: 160px;
  }

  .dashboard-topline,
  .order-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-heading h2 {
    font-size: 2.1rem;
  }

  .footer {
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
