:root {
  --bg: #08111f;
  --bg-soft: #0f172a;
  --surface: rgba(15, 23, 42, 0.72);
  --surface-strong: #0f172a;
  --surface-light: rgba(248, 250, 252, 0.9);
  --card-border: rgba(148, 163, 184, 0.18);
  --card-border-strong: rgba(96, 165, 250, 0.26);
  --text: #e2e8f0;
  --text-soft: #cbd5e1;
  --muted: #94a3b8;
  --text-dark: #0f172a;
  --white: #ffffff;
  --blue: #2563eb;
  --cyan: #38bdf8;
  --green: #22c55e;
  --amber: #f59e0b;
  --pink: #f97316;
  --shadow-lg: 0 30px 60px rgba(2, 6, 23, 0.38);
  --shadow-md: 0 18px 40px rgba(15, 23, 42, 0.18);
  --shadow-sm: 0 10px 24px rgba(15, 23, 42, 0.1);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: min(1180px, calc(100% - 48px));
  --transition: 220ms ease;
  --section-space: 112px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.18), transparent 28%),
    radial-gradient(circle at 80% 10%, rgba(37, 99, 235, 0.18), transparent 24%),
    linear-gradient(180deg, #07101d 0%, #0b1427 26%, #f8fafc 26%, #f8fafc 100%);
  min-width: 320px;
  overflow-x: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 16px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-dark);
  transition:
    border-color var(--transition),
    box-shadow var(--transition),
    transform var(--transition);
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: none;
  border-color: rgba(37, 99, 235, 0.6);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.16);
}

textarea {
  resize: vertical;
  min-height: 140px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  padding: var(--section-space) 0;
  position: relative;
}

.section-soft {
  color: var(--text-dark);
}

.section-dark {
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.12), transparent 24%),
    linear-gradient(180deg, #08111f 0%, #0c1528 100%);
}

.section-dark .section-heading p,
.section-dark .benefit-list li,
.section-dark .solution-points span {
  color: var(--text-soft);
}

.section-dark .section-heading h1,
.section-dark .section-heading h2 {
  color: var(--white);
}

.section-heading {
  max-width: 680px;
  margin-bottom: 40px;
}

.section-heading.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading.compact {
  margin-bottom: 24px;
}

.section-heading h1,
.section-heading h2 {
  margin: 12px 0 16px;
  font-family: "Poppins", sans-serif;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--text-dark);
}

.hero-copy h1 {
  margin: 12px 0 16px;
  font-family: "Poppins", sans-serif;
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-size: clamp(3rem, 6vw, 5.8rem);
  max-width: 760px;
  color: var(--white);
}

.section-heading h2 {
  font-size: clamp(2.15rem, 4vw, 3.6rem);
}

.section-heading p {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.8;
  color: #475569;
}

.hero-lead {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 8px 14px;
  background: rgba(56, 189, 248, 0.12);
  color: #bfdbfe;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-soft .eyebrow,
.contact-section .eyebrow,
.pricing-section .annual-savings .eyebrow {
  color: var(--blue);
  background: rgba(37, 99, 235, 0.08);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background var(--transition),
    color var(--transition),
    opacity var(--transition);
}

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

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, #2563eb 0%, #38bdf8 100%);
  box-shadow: 0 18px 32px rgba(37, 99, 235, 0.28);
}

.button-primary:hover {
  box-shadow: 0 22px 38px rgba(37, 99, 235, 0.34);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(191, 219, 254, 0.18);
}

.section-soft .button-secondary,
.contact-section .button-secondary,
.price-card .button-secondary {
  color: var(--text-dark);
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.button.full {
  width: 100%;
}

.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  width: 0;
  height: 4px;
  z-index: 1000;
  background: linear-gradient(90deg, #38bdf8 0%, #22c55e 100%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 18px 0;
  transition:
    background var(--transition),
    backdrop-filter var(--transition),
    box-shadow var(--transition),
    padding var(--transition);
}

.site-header.is-scrolled {
  padding: 12px 0;
  background: rgba(7, 16, 29, 0.72);
  backdrop-filter: blur(20px);
  box-shadow: 0 14px 34px rgba(2, 6, 23, 0.18);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 20px;
  border: 1px solid rgba(191, 219, 254, 0.1);
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.36);
  backdrop-filter: blur(16px);
}

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

.brand-logo {
  display: block;
  width: auto;
  height: 52px;
  max-width: min(100%, 220px);
  object-fit: contain;
}

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

.footer-brand .brand-logo {
  height: 60px;
  max-width: min(100%, 260px);
}

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

.nav-links > a:not(.nav-cta) {
  color: var(--text-soft);
  font-weight: 700;
  font-size: 0.96rem;
}

.nav-links > a:not(.nav-cta):hover {
  color: var(--white);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
}

.menu-toggle span:not(.sr-only) {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--white);
  transition:
    transform var(--transition),
    opacity var(--transition);
}

.menu-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero-section {
  position: relative;
  padding: 44px 0 108px;
  overflow: hidden;
  isolation: isolate;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../assets/cover.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: -2;
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 17, 31, 0.74) 0%, rgba(8, 17, 31, 0.54) 36%, rgba(8, 17, 31, 0.28) 64%, rgba(8, 17, 31, 0.18) 100%),
    linear-gradient(180deg, rgba(8, 17, 31, 0.24) 0%, rgba(8, 17, 31, 0.42) 100%);
  z-index: -1;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(20px);
  opacity: 0.52;
  pointer-events: none;
  z-index: -1;
}

.hero-orb-left {
  top: 100px;
  left: -60px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.42) 0%, transparent 70%);
}

.hero-orb-right {
  top: 80px;
  right: -40px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.32) 0%, transparent 72%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: 48px;
}

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

.hero-lead {
  max-width: 620px;
  color: var(--text-soft);
}

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

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

.mini-proof {
  padding: 18px 18px 20px;
  border: 1px solid rgba(191, 219, 254, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

.mini-proof strong {
  display: block;
  margin-bottom: 8px;
}

.mini-proof span {
  color: var(--text-soft);
  font-size: 0.95rem;
}

.hero-visual {
  position: relative;
  min-height: 720px;
}

.dashboard-window,
.showcase-shell,
.card-surface,
.workspace-card,
.price-card,
.team-card,
.compare-card,
.notification-card,
.counter-card {
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-lg);
}

.dashboard-window {
  position: relative;
  border-radius: 30px;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.82)),
    linear-gradient(135deg, rgba(37, 99, 235, 0.12), transparent 60%);
  backdrop-filter: blur(24px);
}

.window-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.window-dots {
  display: inline-flex;
  gap: 8px;
}

.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.window-dots span:first-child {
  background: rgba(248, 113, 113, 0.9);
}

.window-dots span:nth-child(2) {
  background: rgba(250, 204, 21, 0.9);
}

.window-dots span:last-child {
  background: rgba(34, 197, 94, 0.9);
}

.window-label {
  color: var(--muted);
  font-size: 0.88rem;
}

.hero-kpis,
.showcase-kpis,
.trust-grid,
.problem-grid,
.notification-grid,
.stats-grid {
  display: grid;
  gap: 18px;
}

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

.kpi-card {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(191, 219, 254, 0.1);
}

.kpi-card.wide {
  grid-column: span 2;
}

.kpi-card span,
.dashboard-stat span,
.counter-card span,
.team-card li,
.fleet-card li {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
}

.kpi-card strong,
.dashboard-stat strong,
.counter-card strong {
  display: block;
  margin: 10px 0 6px;
  font-size: 1.65rem;
  color: var(--white);
}

.kpi-card small,
.dashboard-stat small {
  color: #93c5fd;
}

.hero-panels,
.showcase-grid,
.callout-grid,
.contact-grid,
.portal-grid,
.compare-grid,
.split-section,
.solution-grid {
  display: grid;
  gap: 26px;
}

.hero-panels {
  grid-template-columns: 1.2fr 1fr;
  margin-top: 22px;
}

.panel,
.board-card,
.annual-savings,
.alert-box {
  border-radius: 24px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(191, 219, 254, 0.1);
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.panel-heading h2,
.panel-heading h3 {
  margin: 0;
  font-size: 1.02rem;
}

.panel-heading span {
  color: var(--muted);
  font-size: 0.85rem;
}

.bars,
.mini-bars {
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

.bars {
  height: 168px;
}

.bars span {
  flex: 1;
  border-radius: 999px 999px 12px 12px;
  height: var(--bar);
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.95), rgba(37, 99, 235, 0.4));
  animation: rise 1.2s ease both;
}

.bars span.accent {
  background: linear-gradient(180deg, rgba(34, 197, 94, 0.95), rgba(34, 197, 94, 0.35));
}

.agenda-list,
.timeline-list,
.payment-history,
.exam-list,
.faq-list,
.detail-list,
.contact-points,
.price-features,
.price-limits,
.compare-list,
.benefit-list {
  display: grid;
  gap: 14px;
}

.agenda-item,
.history-item,
.timeline-list div,
.progress-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
}

.agenda-item strong,
.timeline-list strong,
.history-item strong {
  color: var(--white);
}

.agenda-item span,
.timeline-list span,
.history-item span,
.history-item small {
  display: block;
}

.agenda-item small,
.timeline-list span,
.history-item small {
  color: var(--muted);
}

.floating-card {
  position: absolute;
  display: grid;
  gap: 8px;
  max-width: 240px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-dark);
  box-shadow: var(--shadow-md);
  animation: floatCard 6s ease-in-out infinite;
}

.floating-card.top {
  top: 8%;
  right: -18px;
}

.floating-card.bottom {
  bottom: 10%;
  left: -24px;
  animation-delay: -2.4s;
}

.tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
}

.tag.success {
  background: rgba(34, 197, 94, 0.12);
  color: #15803d;
}

.trust-strip {
  margin-top: -20px;
}

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

.trust-card,
.feature-card,
.notification-card,
.counter-card {
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-sm);
}

.trust-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.trust-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  flex-shrink: 0;
  color: #16a34a;
  background: rgba(34, 197, 94, 0.12);
  font-weight: 800;
}

.trust-card strong,
.feature-card h3,
.notification-card p,
.student-profile h3,
.price-card .plan-name,
.compare-card h3 {
  color: var(--text-dark);
}

.trust-card p,
.feature-card p,
.notification-card p,
.price-card li,
.price-card p,
.launch-offer p,
.trial-offer p,
.annual-savings p,
.payments-board,
.student-profile,
.student-table,
.fleet-card,
.contact-copy p,
.contact-points p,
.faq-content p,
.footer-brand p {
  color: #475569;
}

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

.feature-card {
  position: relative;
  overflow: hidden;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -35% auto;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.12), transparent 70%);
}

.feature-card:hover,
.price-card:hover,
.team-card:hover,
.fleet-card:hover,
.counter-card:hover,
.notification-card:hover {
  transform: translateY(-4px);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--blue);
  font-weight: 800;
}

.solution-grid {
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
}

.solution-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.solution-points span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(191, 219, 254, 0.1);
  font-size: 0.92rem;
}

.workspace-card,
.showcase-shell {
  overflow: hidden;
  border-radius: 30px;
  background: rgba(15, 23, 42, 0.86);
}

.workspace-card {
  display: grid;
  grid-template-columns: 180px 1fr;
}

.workspace-sidebar,
.showcase-sidebar {
  display: grid;
  gap: 10px;
  padding: 26px 18px;
  background: rgba(2, 6, 23, 0.3);
}

.workspace-sidebar span,
.showcase-sidebar span {
  padding: 12px 14px;
  border-radius: 14px;
  color: var(--text-soft);
  font-weight: 700;
}

.workspace-sidebar span.active,
.showcase-sidebar span.active {
  background: rgba(37, 99, 235, 0.18);
  color: var(--white);
}

.workspace-main {
  padding: 28px;
}

.workspace-header {
  margin-bottom: 24px;
}

.workspace-header strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.2rem;
}

.workspace-header small {
  color: var(--muted);
}

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

.workspace-metrics div,
.dashboard-stat,
.team-card,
.fleet-card,
.price-card,
.compare-card,
.contact-form-wrap {
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
}

.workspace-metrics div {
  padding: 18px;
}

.workspace-metrics strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text-dark);
  font-size: 1.6rem;
}

.workspace-metrics span {
  color: #64748b;
}

.workspace-timeline {
  display: flex;
  gap: 10px;
  margin: 24px 0;
}

.workspace-timeline span {
  width: var(--segment);
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2563eb 0%, #38bdf8 100%);
}

.workspace-note {
  padding: 20px;
  border-radius: 22px;
  background: rgba(15, 23, 42, 0.06);
}

.workspace-note strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.showcase-shell {
  display: grid;
  grid-template-columns: 210px 1fr;
}

.showcase-content {
  padding: 26px;
}

.showcase-kpis {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.dashboard-stat {
  padding: 18px;
  color: var(--text-dark);
  box-shadow: var(--shadow-sm);
}

.dashboard-stat strong {
  color: var(--text-dark);
}

.dashboard-stat.warning {
  background: linear-gradient(180deg, #fff7ed 0%, #ffedd5 100%);
}

.showcase-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 22px;
}

.board-card {
  min-height: 252px;
}

.line-graph {
  position: relative;
  height: 160px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(37, 99, 235, 0.08), rgba(37, 99, 235, 0)),
    linear-gradient(to top, rgba(15, 23, 42, 0.06) 1px, transparent 1px);
  background-size: auto, 100% 32px;
}

.line-graph::before {
  content: "";
  position: absolute;
  inset: 28px 24px 30px;
  border-bottom: 3px solid rgba(37, 99, 235, 0.4);
  border-left: 0;
  clip-path: polygon(0 78%, 16% 56%, 32% 48%, 48% 44%, 64% 22%, 80% 12%, 100% 8%, 100% 100%, 0 100%);
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.25), rgba(37, 99, 235, 0.02));
}

.line-graph span {
  position: absolute;
  left: var(--point-x);
  top: var(--point-y);
  width: 14px;
  height: 14px;
  border: 3px solid rgba(37, 99, 235, 0.26);
  border-radius: 50%;
  background: var(--white);
  transform: translate(-50%, -50%);
}

.mini-bars {
  justify-content: space-between;
  gap: 16px;
  height: 160px;
}

.mini-bars div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex: 1;
}

.mini-bars i {
  width: 100%;
  max-width: 42px;
  height: var(--height);
  border-radius: 999px 999px 10px 10px;
  background: linear-gradient(180deg, #2563eb 0%, #38bdf8 100%);
  display: block;
}

.mini-bars span {
  color: #64748b;
  font-style: normal;
  font-size: 0.84rem;
}

.success-gauge,
.exam-gauge {
  display: grid;
  place-items: center;
  gap: 14px;
  min-height: 190px;
}

.gauge-ring,
.donut-ring {
  display: grid;
  place-items: center;
  width: 142px;
  height: 142px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, white 58%, transparent 59%),
    conic-gradient(#2563eb 0 84%, rgba(37, 99, 235, 0.14) 84% 100%);
  color: var(--text-dark);
}

.gauge-ring strong,
.donut-ring strong {
  font-size: 2rem;
}

.schedule-card .timeline-list {
  gap: 12px;
}

.split-section {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
}

.split-section.reverse {
  grid-template-columns: 1.1fr 0.9fr;
}

.student-showcase,
.fleet-board {
  display: grid;
  gap: 20px;
}

.student-table,
.student-profile,
.planning-showcase,
.payments-board,
.exam-board,
.analytics-board,
.launch-offer,
.trial-offer,
.contact-form-wrap,
.annual-savings {
  padding: 32px;
  box-shadow: var(--shadow-md);
  border-radius: 28px;
}

.contact-form-wrap {
  padding: 56px;
  min-height: 100%;
}

.student-table,
.student-profile,
.planning-showcase,
.payments-board,
.exam-board,
.analytics-board,
.launch-offer,
.trial-offer,
.contact-form-wrap,
.annual-savings {
  background: rgba(255, 255, 255, 0.98);
}

.table-row {
  display: grid;
  grid-template-columns: 1.4fr 1.25fr 0.55fr 0.7fr 1fr 1fr 0.75fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  color: var(--text-dark);
  font-size: 0.92rem;
}

.table-row.heading {
  color: #64748b;
  font-weight: 800;
}

mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--blue);
}

mark.ok {
  background: rgba(34, 197, 94, 0.12);
  color: #15803d;
}

mark.warning {
  background: rgba(245, 158, 11, 0.14);
  color: #b45309;
}

.detail-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
}

.detail-list li,
.price-limits li,
.price-features li,
.compare-list li,
.benefit-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.detail-list strong,
.payment-summary strong,
.exam-list strong,
.history-item strong {
  color: var(--text-dark);
}

.planning-header,
.fleet-header,
.team-head,
.price-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}

.planning-header h3,
.fleet-header strong,
.team-head strong,
.analytics-column h3,
.launch-offer h2,
.trial-offer h2 {
  margin: 0;
  color: var(--text-dark);
}

.planning-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.planning-cell {
  min-height: 118px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.04);
  color: var(--text-dark);
}

.planning-cell.heading {
  min-height: auto;
  text-align: center;
  font-weight: 800;
  background: rgba(37, 99, 235, 0.08);
}

.planning-cell.highlight {
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.12), rgba(56, 189, 248, 0.06));
}

.planning-cell.warning {
  background: rgba(245, 158, 11, 0.14);
}

.planning-cell strong,
.planning-cell span,
.planning-cell small {
  display: block;
}

.planning-cell small {
  margin-top: 8px;
  color: #64748b;
}

.benefit-list,
.compare-list,
.price-limits,
.price-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.benefit-list li,
.price-limits li,
.price-features li {
  justify-content: flex-start;
  color: #334155;
}

.benefit-list li::before,
.price-limits li::before,
.price-features li::before {
  content: "•";
  color: var(--blue);
  font-weight: 800;
}

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

.team-card,
.fleet-card {
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.team-head span,
.fleet-header span {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 800;
}

.team-card ul,
.fleet-card ul {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 12px;
}

.team-card strong,
.fleet-card strong {
  color: var(--text-dark);
}

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

.alert-stack {
  grid-column: span 2;
  display: grid;
  gap: 14px;
}

.alert-box {
  padding: 16px 18px;
  color: var(--text-dark);
  background: rgba(248, 250, 252, 0.98);
}

.alert-box.warning {
  background: linear-gradient(180deg, #fff7ed 0%, #ffedd5 100%);
}

.alert-box.success {
  background: linear-gradient(180deg, #f0fdf4 0%, #dcfce7 100%);
}

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

.payment-summary div {
  padding: 18px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.04);
}

.payment-summary span,
.exam-list span {
  display: block;
  color: #64748b;
}

.history-item {
  padding: 14px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.exam-board {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: center;
}

.portal-grid {
  grid-template-columns: 0.95fr 0.85fr;
  align-items: center;
}

.phone-mockup {
  display: grid;
  justify-items: center;
}

.phone-frame {
  width: min(330px, 100%);
  padding: 18px;
  border-radius: 40px;
  background:
    linear-gradient(180deg, #111827 0%, #0f172a 100%);
  border: 1px solid rgba(191, 219, 254, 0.14);
  box-shadow: 0 30px 70px rgba(2, 6, 23, 0.42);
}

.phone-header {
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: 14px;
}

.phone-header span,
.phone-card span {
  display: block;
  color: #cbd5e1;
}

.phone-header strong,
.phone-card strong {
  display: block;
  margin-top: 6px;
  color: var(--white);
}

.phone-card small {
  display: block;
  margin-top: 6px;
  color: #e2e8f0;
}

.phone-card {
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
  margin-bottom: 12px;
}

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

.notification-card {
  display: grid;
  gap: 14px;
}

.notification-card span {
  font-size: 1.8rem;
}

.stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 24px;
}

.counter-card strong {
  color: var(--text-dark);
  font-size: 2.4rem;
}

.analytics-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.analytics-column {
  display: grid;
  gap: 18px;
}

.progress-row {
  grid-template-columns: 84px 1fr auto;
  align-items: center;
}

.progress-row div {
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.08);
}

.progress-row i {
  display: block;
  width: var(--progress);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2563eb 0%, #38bdf8 100%);
}

.fleet-bars {
  height: 190px;
}

.compare-grid {
  grid-template-columns: 0.7fr repeat(2, minmax(0, 1fr));
  align-items: start;
}

.compare-card {
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.compare-card.accent {
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.92), rgba(14, 116, 144, 0.88));
  color: var(--white);
}

.compare-card.accent h3,
.compare-card.accent li {
  color: var(--white);
}

.compare-list.bad li {
  color: #475569;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 auto 32px;
  width: fit-content;
  padding: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(191, 219, 254, 0.1);
}

.billing-toggle button {
  border: 0;
  min-width: 120px;
  min-height: 48px;
  border-radius: 999px;
  color: var(--text-soft);
  background: transparent;
  font-weight: 800;
}

.billing-toggle button.active {
  color: var(--white);
  background: linear-gradient(135deg, #2563eb 0%, #38bdf8 100%);
}

.billing-badge {
  padding: 0 12px;
  color: #bfdbfe;
  font-size: 0.86rem;
  font-weight: 800;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 26px;
  height: 100%;
  color: var(--text-dark);
  box-shadow: var(--shadow-md);
}

.price-footer {
  display: grid;
  gap: 12px;
  margin-top: auto;
}

.price-card.featured {
  border-color: rgba(56, 189, 248, 0.28);
  transform: translateY(-10px);
}

.popular-badge {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 2;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

.price-card.featured .price-top {
  padding-right: 8px;
}

.plan-name {
  display: inline-flex;
  width: fit-content;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.05);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.price-top {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 168px;
  flex-direction: column;
}

.price-value {
  font-family: "Poppins", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.price-period,
.price-subtext,
.setup-fee,
.savings-text {
  color: #64748b;
}

.price-limits {
  min-height: 108px;
  align-content: start;
}

.price-features {
  flex: 1;
  align-content: start;
}

.savings-text {
  font-weight: 800;
  color: #15803d;
}

.enterprise {
  justify-content: space-between;
  background:
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.14), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  color: var(--text-dark);
  border: 1px solid rgba(37, 99, 235, 0.18);
  box-shadow: 0 24px 60px rgba(37, 99, 235, 0.12);
}

.enterprise .plan-name {
  background: rgba(37, 99, 235, 0.08);
  color: var(--blue);
}

.enterprise .price-value,
.enterprise .price-period,
.enterprise .price-subtext,
.enterprise .price-limits li,
.enterprise .price-features li,
.enterprise .setup-fee {
  color: var(--text-dark) !important;
}

.enterprise .price-period,
.enterprise .price-subtext {
  color: #475569 !important;
}

.enterprise .price-value {
  max-width: 100%;
  font-size: clamp(1.7rem, 2.4vw, 2.3rem);
  line-height: 1.1;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}

.enterprise .price-limits li::before,
.enterprise .price-features li::before {
  color: var(--blue);
}

.enterprise .button.button-secondary {
  color: var(--white) !important;
  background: linear-gradient(135deg, #2563eb 0%, #38bdf8 100%) !important;
  border: 1px solid transparent !important;
  font-weight: 800;
}

.annual-savings {
  width: min(760px, 100%);
  margin: 28px auto 0;
  text-align: center;
}

.annual-savings h3 {
  margin: 0 0 12px;
  color: var(--text-dark);
}

.annual-savings strong {
  display: block;
  margin-top: 10px;
  color: var(--green);
  font-size: 1.2rem;
}

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

.accent-fill {
  color: var(--white);
  background:
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.28), transparent 28%),
    linear-gradient(135deg, #0f172a 0%, #1d4ed8 100%);
}

.accent-fill h2,
.accent-fill p {
  color: var(--white);
}

.faq-list {
  max-width: 920px;
  margin: 0 auto;
}

.faq-item {
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 22px 24px;
  border: 0;
  background: transparent;
  color: var(--text-dark);
  font-weight: 800;
  text-align: left;
}

.faq-trigger::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.5rem;
  color: var(--blue);
  transition: transform var(--transition);
}

.faq-item.is-open .faq-trigger::after {
  transform: rotate(45deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 260ms ease;
}

.faq-content p {
  margin: 0;
  padding: 0 24px 24px;
  line-height: 1.7;
}

.contact-grid {
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.38fr);
  align-items: start;
  gap: 48px;
}

.contact-points {
  margin-top: 28px;
}

.contact-points strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.field {
  display: grid;
  gap: 10px;
}

.field label {
  color: #0f172a;
  font-weight: 800;
  font-size: 0.96rem;
}

.field input,
.field select,
.field textarea {
  min-height: 62px;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #ffffff;
  color: #0f172a;
  font-size: 1rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.field textarea {
  min-height: 320px;
  resize: vertical;
  line-height: 1.7;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #64748b;
}

.field-full {
  grid-column: 1 / -1;
}

.field-error {
  min-height: 18px;
  color: #dc2626;
  font-size: 0.84rem;
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
  border-color: rgba(220, 38, 38, 0.45);
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.08);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 22px;
  padding-top: 8px;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.form-actions .button {
  min-height: 60px;
  min-width: 240px;
  padding: 0 30px;
  font-size: 1.02rem;
}

.form-note {
  margin: 0;
  color: #334155;
  font-weight: 600;
}

.trial-offer p,
.annual-savings p,
.contact-copy p,
.contact-points p {
  color: #334155;
}

.form-success {
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 18px;
  background: linear-gradient(180deg, #f0fdf4 0%, #dcfce7 100%);
  color: #166534;
}

.site-footer {
  padding: 32px 0 52px;
  color: var(--text);
  background: #08111f;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.site-footer h3 {
  margin: 0 0 14px;
  font-size: 1rem;
}

.site-footer a,
.site-footer p {
  display: block;
  margin-bottom: 10px;
  color: var(--text-soft);
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 18px;
  color: var(--white);
  background: linear-gradient(135deg, #1d4ed8 0%, #38bdf8 100%);
  box-shadow: 0 18px 36px rgba(37, 99, 235, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity var(--transition),
    visibility var(--transition),
    transform var(--transition);
  z-index: 90;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 20px);
  min-width: min(90vw, 360px);
  padding: 16px 18px;
  border-radius: 16px;
  color: var(--white);
  background: rgba(15, 23, 42, 0.94);
  box-shadow: 0 24px 44px rgba(15, 23, 42, 0.26);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--transition),
    visibility var(--transition),
    transform var(--transition);
  z-index: 120;
}

.toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

html.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes rise {
  from {
    transform: scaleY(0.2);
    transform-origin: bottom;
  }
  to {
    transform: scaleY(1);
    transform-origin: bottom;
  }
}

@media (max-width: 1200px) {
  :root {
    --container: min(1100px, calc(100% - 40px));
  }

  .hero-grid,
  .solution-grid,
  .portal-grid,
  .contact-grid,
  .split-section,
  .showcase-shell,
  .compare-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: auto;
  }

  .floating-card.top,
  .floating-card.bottom {
    position: static;
    margin-top: 16px;
    max-width: none;
  }

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

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

  .problem-grid,
  .trust-grid,
  .notification-grid,
  .stats-grid,
  .instructor-grid,
  .callout-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 1024px) {
  :root {
    --section-space: 92px;
  }

  .hero-section::before {
    background-position: 62% center;
  }

  body {
    background:
      radial-gradient(circle at top left, rgba(56, 189, 248, 0.18), transparent 28%),
      radial-gradient(circle at 80% 10%, rgba(37, 99, 235, 0.18), transparent 24%),
      linear-gradient(180deg, #07101d 0%, #0b1427 18%, #f8fafc 18%, #f8fafc 100%);
  }

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

  .nav-links {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    display: grid;
    gap: 14px;
    padding: 20px;
    border-radius: 22px;
    background: rgba(7, 16, 29, 0.96);
    border: 1px solid rgba(191, 219, 254, 0.1);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition:
      opacity var(--transition),
      visibility var(--transition),
      transform var(--transition);
  }

  .nav-links.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-links .nav-cta {
    width: 100%;
  }

  .navbar {
    position: relative;
  }

  .hero-grid,
  .solution-grid {
    gap: 32px;
  }

  .hero-panels,
  .showcase-grid,
  .fleet-board,
  .analytics-board,
  .exam-board {
    grid-template-columns: 1fr;
  }

  .workspace-card {
    grid-template-columns: 1fr;
  }

  .workspace-sidebar,
  .showcase-sidebar {
    grid-auto-flow: column;
    grid-template-columns: repeat(6, minmax(120px, 1fr));
    overflow-x: auto;
  }

  .student-table {
    overflow-x: auto;
  }

  .table-row {
    min-width: 880px;
  }

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

@media (max-width: 768px) {
  :root {
    --container: min(100%, calc(100% - 32px));
    --section-space: 80px;
  }

  .hero-section::before {
    background-position: 68% center;
  }

  .brand-logo {
    height: 46px;
    max-width: 180px;
  }

  .footer-brand .brand-logo {
    height: 54px;
    max-width: 220px;
  }

  .hero-copy h1 {
    font-size: clamp(2.4rem, 12vw, 4rem);
  }

  .hero-proof-grid,
  .hero-kpis,
  .problem-grid,
  .trust-grid,
  .notification-grid,
  .stats-grid,
  .instructor-grid,
  .pricing-grid,
  .callout-grid,
  .footer-grid,
  .payment-summary,
  .workspace-metrics,
  .showcase-kpis {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    gap: 18px;
  }

  .price-card.featured {
    transform: none;
  }

  .showcase-content,
  .dashboard-window,
  .student-table,
  .student-profile,
  .planning-showcase,
  .payments-board,
  .exam-board,
  .analytics-board,
  .launch-offer,
  .trial-offer,
  .contact-form-wrap {
    padding: 22px;
  }

  .floating-card {
    padding: 16px 18px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .field-full {
    grid-column: auto;
  }

  .form-actions {
    align-items: stretch;
  }

  .form-actions .button {
    width: 100%;
  }

  .compare-grid {
    gap: 18px;
  }

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

@media (max-width: 480px) {
  .site-header {
    padding-top: 14px;
  }

  .hero-section::before {
    background-position: 74% center;
  }

  .navbar {
    padding: 12px 14px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .showcase-sidebar,
  .workspace-sidebar {
    grid-template-columns: repeat(6, minmax(100px, 1fr));
  }

  .planning-grid {
    grid-template-columns: 1fr;
  }

  .planning-cell {
    min-height: auto;
  }

  .billing-toggle {
    width: 100%;
  }

  .billing-toggle button {
    min-width: 0;
    flex: 1;
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
  }
}
