:root {
  --bg: #07111f;
  --surface: #0c1728;
  --surface-2: #13233a;
  --ink: #f7fbff;
  --muted: #a8b6c8;
  --line: rgba(206, 220, 235, 0.14);
  --green: #23c483;
  --blue: #56a8ff;
  --gold: #f4bd50;
  --coral: #ff8066;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.3);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(145deg, rgba(35, 196, 131, 0.12), transparent 30rem),
    linear-gradient(225deg, rgba(86, 168, 255, 0.12), transparent 26rem),
    var(--bg);
  color: var(--ink);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
}

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

a {
  color: inherit;
}

::selection {
  background: rgba(35, 196, 131, 0.28);
  color: #fff;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.page {
  padding: 56px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: min(1180px, calc(100% - 40px));
  margin: 16px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(7, 17, 31, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

.brand-mark,
.brand {
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-icon {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--green), var(--blue));
  color: #06111f;
  font-size: 0.82rem;
}

.nav-links,
.links,
.actions,
.proof-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.nav-links {
  gap: 24px;
  color: var(--muted);
  font-size: 0.94rem;
}

.nav-links a,
.links a,
.text-link {
  text-decoration: none;
}

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

.btn,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
}

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

.btn.primary,
button.primary {
  background: var(--green);
  color: #fff;
  font-weight: 500;
}

.btn.outline,
.btn:not(.primary) {
  background: rgba(255, 255, 255, 0.045);
  color: var(--ink);
  border-color: var(--line);
}

.hero-shell {
  padding: 86px 0 64px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.95fr);
  gap: 42px;
  align-items: center;
}

.hero-copy {
  max-width: 710px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
  font-weight: 900;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
.hero-copy h1 {
  margin: 18px 0;
  font-size: clamp(3rem, 6.3vw, 5.8rem);
  line-height: 0.99;
  letter-spacing: 0;
}

.hero-copy h1 {
  font-size: 4vw;
}

h2,
.section-header h2,
.cta-card h2 {
  margin: 12px 0 0;
  font-size: clamp(2rem, 3.8vw, 3.8rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  line-height: 1.18;
}

.lead {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.actions {
  gap: 12px;
  margin-top: 28px;
}

.proof-row {
  gap: 12px;
  margin-top: 28px;
  color: var(--muted);
}

.proof-row span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.product-preview {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(19, 35, 58, 0.98), rgba(9, 18, 32, 0.98));
  box-shadow: var(--shadow);
}

.preview-topbar {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}

.preview-topbar div {
  display: flex;
  gap: 8px;
}

.preview-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--coral);
}

.preview-topbar span:nth-child(2) {
  background: var(--gold);
}

.preview-topbar span:nth-child(3) {
  background: var(--green);
}

.preview-body {
  display: grid;
  grid-template-columns: 76px 1fr;
  min-height: 500px;
}

.preview-sidebar {
  padding: 22px;
  display: grid;
  align-content: start;
  gap: 16px;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.preview-sidebar span {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.preview-sidebar .active {
  background: linear-gradient(135deg, var(--green), var(--blue));
}

.preview-main {
  padding: 24px;
}

.preview-heading,
.chart-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.preview-heading p,
.chart-head p,
.activity-panel p {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 0.84rem;
}

.preview-heading strong {
  font-size: 1.35rem;
}

.preview-heading > span,
.chart-head span {
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(35, 196, 131, 0.14);
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 800;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 24px 0;
}

.metric-strip article,
.chart-panel,
.activity-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.metric-strip article {
  padding: 16px;
}

.metric-strip span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  margin-bottom: 10px;
}

.metric-strip strong {
  font-size: 1.6rem;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 14px;
}

.chart-panel,
.activity-panel {
  padding: 18px;
}

.bar-chart {
  height: 200px;
  display: flex;
  align-items: end;
  gap: 12px;
  padding-top: 28px;
}

.bar-chart i {
  flex: 1;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, var(--green), rgba(86, 168, 255, 0.45));
}

.activity-panel {
  display: grid;
  align-content: start;
  gap: 12px;
}

.activity-panel div {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.activity-panel div:last-child {
  border-bottom: 0;
}

.activity-panel div span {
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  margin-bottom: 96px;
}

.trust-band article {
  padding: 26px;
  background: rgba(12, 23, 40, 0.92);
}

.trust-band strong,
.trust-band span {
  display: block;
}

.trust-band strong {
  margin-bottom: 8px;
}

.trust-band span,
.muted {
  color: var(--muted);
}

.section-band,
.testimonial-band {
  padding: 96px 0;
  background: rgba(255, 255, 255, 0.035);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.split-section {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 58px;
  align-items: start;
}

.sticky-copy {
  position: sticky;
  top: 112px;
}

.text-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--green);
  font-weight: 800;
}

.module-grid,
.problem-grid,
.role-grid,
.testimonial-grid,
.faq-grid,
.grid.three,
.grid.two {
  display: grid;
  gap: 18px;
}

.module-grid,
.problem-grid,
.role-grid,
.faq-grid,
.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.module-card,
.problem-grid article,
.role-card,
.testimonial-card,
.faq-grid article,
.card,
.stat-card,
.feature-card,
.faq-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(12, 23, 40, 0.88);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.16);
}

.module-card {
  min-height: 230px;
  padding: 24px;
}

.module-card span {
  color: var(--gold);
  font-weight: 900;
}

.module-card h3 {
  margin: 36px 0 10px;
  font-size: 1.32rem;
}

.module-card p,
.role-card span,
.testimonial-card span,
.faq-grid p,
.feature-card p,
.role-card p,
.stat-card p,
.faq-card p,
.desc {
  color: var(--muted);
  line-height: 1.7;
}

.operations-section,
.roles-panel,
.pricing-section,
.faq-section,
.cta-bottom {
  padding: 96px 0;
}

.centered {
  max-width: 780px;
  margin: 0 auto 42px;
  text-align: center;
}

.centered .eyebrow {
  justify-content: center;
}

.problem-grid article {
  min-height: 120px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
}

.problem-grid span {
  flex: 0 0 12px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 7px rgba(255, 128, 102, 0.12);
}

.roles-panel {
  border-top: 1px solid var(--line);
}

.roles-panel > .section-header {
  max-width: 760px;
  margin-bottom: 36px;
}

.role-card {
  min-height: 330px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
}

.role-card::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  opacity: 0.16;
  background: var(--green);
}

.role-card.parent::after {
  background: var(--blue);
}

.role-card.student::after {
  background: var(--gold);
}

.role-card p {
  margin: 0;
  color: var(--green);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
}

.role-card h3 {
  font-size: 1.7rem;
  margin: 40px 0 auto;
}

.testimonial-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.testimonial-card {
  padding: 28px;
}

.testimonial-card p {
  margin-top: 0;
  font-size: 1.15rem;
  line-height: 1.65;
}

.testimonial-card strong,
.testimonial-card span {
  display: block;
}

.pricing-section {
  border-bottom: 1px solid var(--line);
}

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

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 520px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(12, 23, 40, 0.9);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.16);
}

.pricing-card.featured {
  border: 2px solid var(--blue);
  background:
    linear-gradient(180deg, rgba(86, 168, 255, 0.12), rgba(12, 23, 40, 0.94) 34%),
    rgba(12, 23, 40, 0.94);
  box-shadow: 0 28px 80px rgba(86, 168, 255, 0.18);
}

.popular-badge {
  position: absolute;
  top: 0;
  right: 0;
  padding: 8px 14px;
  border-radius: 0 6px 0 8px;
  background: linear-gradient(135deg, var(--blue), #5b3df5);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.pricing-card-head h3 {
  margin: 0 0 10px;
  font-size: 1.22rem;
}

.pricing-card-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.price-block {
  margin: 26px 0 16px;
}

.price-block strong,
.price-block span {
  display: block;
}

.price-block strong {
  color: var(--ink);
  font-size: clamp(1.85rem, 2.2vw, 2.25rem);
  line-height: 1;
}

.price-block span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.84rem;
}

.pricing-btn {
  width: 100%;
  min-height: 42px;
  margin-bottom: 22px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--ink);
  border-color: transparent;
  font-size: 0.86rem;
}

.pricing-card.featured .pricing-btn {
  background: linear-gradient(135deg, #285df5, #5b3df5);
  color: #fff;
}

.pricing-features {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.pricing-features li {
  position: relative;
  padding-left: 24px;
}

.pricing-features li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  font-weight: 900;
}

.pricing-card:hover {
  border-color: rgba(35, 196, 131, 0.32);
}

.pricing-card.featured:hover {
  border-color: var(--blue);
}

.faq-section {
  padding-bottom: 32px;
}

.faq-grid article {
  padding: 24px;
}

.faq-grid h3 {
  margin-top: 0;
}

.cta-card {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: center;
  padding: 36px;
  border: 1px solid rgba(35, 196, 131, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(35, 196, 131, 0.12), rgba(86, 168, 255, 0.08)),
    rgba(12, 23, 40, 0.96);
  box-shadow: var(--shadow);
}

.cta-card .lead {
  max-width: 680px;
}

.site-footer,
.footer-card {
  border-top: 1px solid var(--line);
  background: rgba(7, 17, 31, 0.86);
}

.site-footer {
  padding: 32px 0;
}

.footer-inner,
.container-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.links {
  gap: 18px;
  color: var(--muted);
}

.brand,
.footer-inner p,
.container-footer p {
  margin: 0;
}

.card {
  padding: 28px;
}

.card:hover,
.module-card:hover,
.role-card:hover,
.testimonial-card:hover,
.faq-grid article:hover,
.problem-grid article:hover {
  border-color: rgba(35, 196, 131, 0.32);
}

.demo-section {
  padding-top: 20px;
}

.section-head,
.intro {
  max-width: 760px;
  margin-bottom: 40px;
}

.section-head h1,
.intro h1 {
  font-size: clamp(2.4rem, 4.6vw, 4.5rem);
  line-height: 1.04;
  margin: 16px 0;
}

.demo-access-page .intro h1 {
  font-size: 3.5vw;
}

.privacy-page h1 {
  font-size: 4vw;
  line-height: 1.04;
}

.privacy-page h2 {
  font-size: 3vw;
  line-height: 1.08;
}

.demo-grid {
  display: grid;
  grid-template-columns: minmax(300px, 390px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.card.info {
  max-width: none;
  background: rgba(12, 23, 40, 0.94);
}

.info-header h2 {
  font-size: clamp(1.5rem, 2.4vw, 2.25rem);
  margin: 12px 0 0;
  line-height: 1.1;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 14px;
}

.info-list li {
  position: relative;
  padding-left: 26px;
  color: var(--ink);
}

.info-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

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

.form label {
  display: block;
}

.form label span {
  display: block;
  margin-bottom: 9px;
  color: var(--ink);
  font-weight: 800;
}

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

input,
select {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 13px 14px;
  background: rgba(7, 17, 31, 0.82);
  color: var(--ink);
}

input:focus,
select:focus {
  outline: none;
  border-color: rgba(35, 196, 131, 0.62);
  box-shadow: 0 0 0 4px rgba(35, 196, 131, 0.11);
}

.form button,
.btn.large {
  width: 100%;
  min-height: 52px;
}

.error {
  min-height: 1.4em;
  margin: 0;
  color: #fecaca;
}

.cred {
  min-height: 260px;
}

@media (min-width: 981px) {
  .demo-access-page .cred h2 {
    font-size: 3vw;
    line-height: 1.08;
  }
}

.creds {
  margin-top: 16px;
  padding: 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.launch {
  margin-top: 28px;
}

.launch .actions {
  justify-content: flex-start;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy,
  .product-preview,
  .trust-band,
  .module-card,
  .problem-grid article,
  .role-card,
  .testimonial-card,
  .pricing-card,
  .faq-grid article,
  .cta-card {
    animation: fade-in-up 0.7s ease both;
  }

  .product-preview {
    animation-delay: 0.08s;
  }
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .site-header {
    position: static;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .split-section,
  .testimonial-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    align-items: start;
  }

  .product-preview {
    max-width: 720px;
  }

  .sticky-copy {
    position: static;
  }

  .trust-band,
  .module-grid,
  .problem-grid,
  .role-grid,
  .pricing-grid,
  .faq-grid,
  .grid.three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 680px) {
  .container,
  .site-header {
    width: min(100% - 28px, 1180px);
  }

  .header-cta {
    display: none;
  }

  .hero-shell {
    padding-top: 56px;
  }

  h1,
  .hero-copy h1 {
    font-size: clamp(2.7rem, 15vw, 4.3rem);
  }

  .hero-copy h1 {
    font-size: 4vw;
  }

  h2,
  .section-header h2,
  .cta-card h2 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .actions,
  .cta-card,
  .footer-inner,
  .container-footer {
    align-items: stretch;
  }

  .actions .btn,
  .cta-card .btn {
    width: 100%;
  }

  .preview-body {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .preview-sidebar {
    display: none;
  }

  .preview-main {
    padding: 16px;
  }

  .metric-strip,
  .dashboard-grid,
  .trust-band,
  .module-grid,
  .problem-grid,
  .role-grid,
  .testimonial-grid,
  .faq-grid,
  .grid.three,
  .grid.two,
  .row.two {
    grid-template-columns: 1fr;
  }

  .bar-chart {
    height: 150px;
  }

  .section-band,
  .testimonial-band,
  .operations-section,
  .roles-panel,
  .pricing-section,
  .faq-section,
  .cta-bottom {
    padding: 64px 0;
  }

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

  .pricing-card {
    min-height: auto;
  }

  .role-card {
    min-height: 260px;
  }

  .cta-card {
    padding: 26px;
    flex-direction: column;
  }
}
