:root {
  --bg: #edf3ff;
  --bg-strong: #f9fbff;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --surface-dark: #08172e;
  --text: #11192d;
  --muted: #51607d;
  --line: rgba(8, 35, 82, 0.12);
  --accent: #ed1c2e;
  --accent-strong: #b90a18;
  --teal: #17bfff;
  --cyan: #84e6ff;
  --navy: #0b2e70;
  --shadow: 0 24px 60px rgba(7, 24, 58, 0.16);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --container: min(1160px, calc(100vw - 2rem));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 14% 18%, rgba(23, 191, 255, 0.16), transparent 26%),
    radial-gradient(circle at 82% 12%, rgba(237, 28, 46, 0.14), transparent 22%),
    radial-gradient(circle at 52% 100%, rgba(11, 46, 112, 0.11), transparent 34%),
    linear-gradient(180deg, #f7fbff 0%, #edf3ff 48%, #f9fbff 100%);
  color: var(--text);
}

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

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

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

button {
  cursor: pointer;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(237, 243, 255, 0.82);
  border-bottom: 1px solid rgba(23, 191, 255, 0.12);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  width: fit-content;
}

.brand-logo {
  display: block;
  width: clamp(13rem, 21vw, 19rem);
  height: auto;
  filter: drop-shadow(0 10px 24px rgba(8, 23, 54, 0.08));
}

.site-nav a,
h1,
h2,
h3 {
  font-family: "Space Grotesk", sans-serif;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.site-nav a {
  padding: 0.8rem 1rem;
  border-radius: 999px;
  color: var(--muted);
  transition: 180ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--navy);
  background: linear-gradient(135deg, rgba(23, 191, 255, 0.16), rgba(237, 28, 46, 0.08));
}

.site-nav .nav-cta {
  background: linear-gradient(135deg, var(--navy), var(--accent));
  color: #fff;
  box-shadow: 0 16px 32px rgba(11, 46, 112, 0.2);
}

.site-nav .nav-cta:hover {
  background: linear-gradient(135deg, #082250, var(--accent-strong));
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 1.2rem;
  height: 2px;
  margin: 0.26rem auto;
  background: var(--navy);
  border-radius: 999px;
  transition: 180ms ease;
}

.hero,
.page-hero {
  padding: 5rem 0 3rem;
}

.hero-grid,
.page-hero-grid,
.about-grid,
.highlight-grid,
.contact-layout {
  display: grid;
  gap: 2rem;
}

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

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

h1 {
  margin: 0;
  font-size: clamp(2.7rem, 5vw, 5.25rem);
  line-height: 0.96;
  color: var(--navy);
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 3.4vw, 3.4rem);
  line-height: 1.02;
  color: var(--navy);
}

h3 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  color: var(--navy);
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.hero-text,
.section-heading p,
.page-hero p {
  max-width: 56ch;
  margin-top: 1.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-brand-plate,
.page-hero-note {
  display: grid;
  gap: 1rem;
  justify-items: start;
}

.hero-brand-plate {
  width: fit-content;
  margin-bottom: 1.3rem;
  padding: 0.85rem 1rem;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(236, 245, 255, 0.88));
  border: 1px solid rgba(23, 191, 255, 0.18);
  box-shadow: 0 18px 40px rgba(8, 23, 54, 0.12);
}

.brand-stamp {
  display: block;
  height: auto;
}

.brand-stamp-full {
  width: min(30rem, 100%);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.4rem;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: 180ms ease;
  font-weight: 700;
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 45%, var(--accent) 100%);
  box-shadow: 0 18px 34px rgba(11, 46, 112, 0.24);
}

.button-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 38px rgba(11, 46, 112, 0.28);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(8, 35, 82, 0.12);
  color: var(--navy);
}

.button-secondary:hover {
  background: #fff;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}

.hero-stats article,
.hero-panel,
.feature-card,
.course-card,
.mini-card,
.product-card,
.page-hero-note,
.values-card,
.timeline-step,
.team-panel,
.info-card,
.contact-form,
.cta-card,
.support-band {
  border: 1px solid rgba(120, 161, 241, 0.2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(243, 248, 255, 0.78));
  backdrop-filter: blur(14px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-stats article {
  padding: 1.2rem;
}

.hero-stats strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.6rem;
  color: var(--navy);
}

.hero-visual {
  position: relative;
  min-height: 34rem;
}

.hero-panel {
  position: absolute;
}

.main-panel {
  inset: 0.5rem 1rem 5rem 0;
  padding: 1.6rem;
  background:
    radial-gradient(circle at top right, rgba(23, 191, 255, 0.15), transparent 28%),
    radial-gradient(circle at 10% 88%, rgba(237, 28, 46, 0.16), transparent 24%),
    linear-gradient(180deg, rgba(4, 18, 48, 0.98), rgba(10, 33, 84, 0.94));
  color: #fff;
  overflow: hidden;
}

.panel-top {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 2rem;
}

.panel-top p,
.main-panel span {
  color: rgba(228, 239, 255, 0.78);
}

.status-dot {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 8px rgba(237, 28, 46, 0.18);
}

.health-bars {
  display: grid;
  gap: 0.85rem;
}

.health-bars > div:nth-child(odd) {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.health-bars strong {
  font-family: "Space Grotesk", sans-serif;
}

.bar {
  width: 100%;
  height: 0.8rem;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
}

.bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal) 0%, var(--cyan) 40%, #568cff 70%, var(--accent) 100%);
}

.floating-card {
  right: -0.5rem;
  top: 2rem;
  width: min(17rem, 72%);
  padding: 1.3rem;
}

.support-card {
  left: 2rem;
  bottom: 0;
  width: min(15rem, 68%);
  padding: 1.2rem;
}

.floating-card strong,
.support-card strong {
  display: block;
  margin: 0.35rem 0;
  color: var(--navy);
}

.section {
  padding: 1.8rem 0 5.5rem;
}

.section-accent {
  position: relative;
}

.section-accent::before {
  content: "";
  position: absolute;
  inset: 1rem 0;
  z-index: -1;
  background: linear-gradient(145deg, rgba(23, 191, 255, 0.1), rgba(237, 28, 46, 0.08));
}

.section-heading {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

.feature-grid,
.course-grid,
.product-grid,
.timeline,
.footer-grid {
  display: grid;
  gap: 1.25rem;
}

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

.feature-card,
.course-card,
.mini-card,
.product-card,
.timeline-step,
.contact-form,
.info-card,
.cta-card,
.support-band {
  padding: 1.6rem;
}

.feature-card,
.product-card {
  position: relative;
  overflow: hidden;
}

.feature-card::after,
.product-card::after {
  content: "";
  position: absolute;
  inset: auto -2rem -2rem auto;
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(23, 191, 255, 0.16), rgba(237, 28, 46, 0.1) 48%, transparent 72%);
}

.feature-tag {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(23, 191, 255, 0.12), rgba(11, 46, 112, 0.08));
  color: var(--navy);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.74rem;
}

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

.course-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(236, 244, 255, 0.94));
}

.course-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  color: var(--navy);
  font-weight: 700;
}

.course-card a {
  display: inline-block;
  margin-top: 1.25rem;
  color: var(--accent-strong);
  font-weight: 800;
}

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

.highlight-list {
  display: grid;
  gap: 1rem;
}

.mini-card strong,
.timeline-step span {
  display: block;
  margin-bottom: 0.5rem;
  font-family: "Space Grotesk", sans-serif;
  color: var(--navy);
}

.cta-card,
.support-band,
.team-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-footer {
  padding: 0 0 2rem;
}

.footer-grid {
  grid-template-columns: 1.6fr 0.7fr 0.8fr;
  padding: 2rem;
  background:
    radial-gradient(circle at 16% 20%, rgba(23, 191, 255, 0.14), transparent 24%),
    radial-gradient(circle at 90% 10%, rgba(237, 28, 46, 0.14), transparent 20%),
    rgba(5, 18, 46, 0.98);
  color: rgba(255, 255, 255, 0.78);
  border-radius: var(--radius-lg);
}

.footer-grid a,
.footer-grid h3 {
  color: #fff;
}

.footer-grid h3 {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer-grid > div {
  display: grid;
  align-content: start;
  gap: 0.7rem;
}

.footer-brand {
  padding: 0.8rem 1rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(23, 191, 255, 0.16);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.16);
}

.footer-brand .brand-logo {
  width: min(20rem, 100%);
}

.page-hero-grid {
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
}

.page-hero-note {
  padding: 1.6rem;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.5rem;
}

.filter-chip {
  padding: 0.75rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  color: var(--navy);
  font-weight: 700;
}

.filter-chip.is-active {
  background: linear-gradient(135deg, var(--navy), var(--accent));
  color: #fff;
}

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

.product-card ul,
.info-card ul {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.product-card.is-hidden {
  display: none;
}

.about-grid {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
}

.values-card {
  display: grid;
  gap: 1rem;
  padding: 1.6rem;
}

.values-card strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--navy);
}

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

.timeline-step span {
  font-size: 2rem;
  color: var(--accent);
}

.team-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.team-tags span {
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(236, 244, 255, 0.88));
  border: 1px solid rgba(23, 191, 255, 0.12);
  color: var(--navy);
  font-weight: 700;
}

.contact-info {
  display: grid;
  gap: 1rem;
}

.info-card {
  display: grid;
  gap: 0.7rem;
}

.info-card a {
  color: var(--navy);
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  gap: 0.45rem;
}

.form-row label {
  font-weight: 700;
  color: var(--navy);
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(8, 35, 82, 0.14);
  background: rgba(255, 255, 255, 0.9);
  padding: 1rem 1.05rem;
  color: var(--text);
  transition: 180ms ease;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: rgba(23, 191, 255, 0.52);
  box-shadow: 0 0 0 4px rgba(23, 191, 255, 0.14);
}

.form-status {
  min-height: 1.6rem;
  font-weight: 700;
}

.form-status.is-success {
  color: var(--teal);
}

.form-status.is-error {
  color: var(--accent-strong);
}

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

html.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 600ms ease, transform 600ms ease;
}

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

@media (max-width: 980px) {
  .hero-grid,
  .feature-grid,
  .course-grid,
  .product-grid,
  .timeline,
  .footer-grid,
  .page-hero-grid,
  .about-grid,
  .highlight-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 28rem;
  }

  .cta-card,
  .support-band,
  .team-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-grid {
    padding: 1.6rem;
  }
}

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

  .site-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  html.js .nav-toggle {
    display: inline-block;
  }

  html.js .site-nav {
    position: absolute;
    top: calc(100% + 0.6rem);
    right: 1rem;
    left: 1rem;
    display: grid;
    gap: 0.4rem;
    padding: 1rem;
    background: rgba(247, 251, 255, 0.98);
    border: 1px solid rgba(23, 191, 255, 0.14);
    border-radius: 24px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    pointer-events: none;
    transition: 180ms ease;
  }

  html.js .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  html.js .site-nav a {
    width: 100%;
  }

  html.js .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  html.js .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  html.js .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .hero,
  .page-hero {
    padding-top: 3.5rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .main-panel {
    inset: 0 0 4.8rem 0;
  }

  .floating-card {
    right: 0;
  }

  .support-card {
    left: 1rem;
  }
}

@media (max-width: 560px) {
  :root {
    --container: min(1160px, calc(100vw - 1.25rem));
  }

  .nav-wrap {
    padding: 0.8rem 0;
  }

  .brand-logo {
    width: clamp(10.5rem, 48vw, 13.5rem);
  }

  h1 {
    font-size: 2.45rem;
  }

  h2 {
    font-size: 1.85rem;
  }

  .feature-card,
  .course-card,
  .mini-card,
  .product-card,
  .timeline-step,
  .info-card,
  .contact-form,
  .cta-card,
  .support-band,
  .page-hero-note {
    padding: 1.25rem;
    border-radius: 24px;
  }

  .hero-visual {
    min-height: 24rem;
  }

  .floating-card,
  .support-card {
    width: calc(100% - 1rem);
  }
}
