:root {
  --accent: #0d1a2f;
  --accent-2: #172844;
  --accent-3: #22375a;
  --text: #102033;
  --muted: #607086;
  --white: #ffffff;
  --bg: #f6f8fb;
  --bg-soft: #eef3f8;
  --border: rgba(13, 26, 47, 0.1);
  --shadow: 0 20px 50px rgba(13, 26, 47, 0.08);
  --shadow-hover: 0 28px 60px rgba(13, 26, 47, 0.14);
  --radius: 22px;
  --radius-sm: 14px;
  --container: 1180px;
  --transition: 0.3s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f8fbff 0%, #f6f8fb 100%);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
  border-radius: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.section {
  padding: 96px 0;
  position: relative;
}

.section-alt {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
}

.section-dark {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: var(--white);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 40px;
}

.section-heading.narrow {
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
}

.section-heading.light h2,
.section-heading.light p,
.section-heading.light .eyebrow {
  color: var(--white);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 14px;
  line-height: 1.15;
}

h1 {
  font-size: clamp(1.3rem, 5vw, 2.4rem);
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(1rem, 3.4vw, 2rem);
  letter-spacing: -0.03em;
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0;
  color: var(--muted);
}

.section-dark p,
.section-dark .small-label,
.section-dark .stat-card span {
  color: rgba(255, 255, 255, 0.82);
}

/* Background */
.bg-orb,
.bg-grid {
  position: fixed;
  inset: auto;
  pointer-events: none;
  z-index: -1;
}

.bg-orb {
  width: 360px;
  height: 360px;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.16;
}

.bg-orb-1 {
  top: 80px;
  left: -120px;
  background: #5f87c7;
}

.bg-orb-2 {
  right: -120px;
  top: 420px;
  background: #9fb4d9;
}

.bg-grid {
  inset: 0;
  background-image:
    linear-gradient(rgba(13, 26, 47, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 26, 47, 0.03) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.25;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 251, 255, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(13, 26, 47, 0.08);
}

.header-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.logo-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  color: var(--white);
  font-weight: 700;
  box-shadow: var(--shadow);
  flex-shrink: 0;
}

.logo-text {
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-nav a {
  color: var(--text);
  font-size: 0.96rem;
  transition: color var(--transition);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 6px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--accent);
  margin: 5px 0;
  border-radius: 999px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
  cursor: pointer;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--white);
  box-shadow: 0 14px 30px rgba(13, 26, 47, 0.22);
}

.site-nav a.btn-primary{
  color: var(--white);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 18px 36px rgba(13, 26, 47, 0.3);
}

.btn-secondary {
  min-width:200px;
  background: rgba(255, 255, 255, 1);
  color: var(--accent);
  border-color: rgba(13, 26, 47, 0.14);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: var(--white);
}

.btn-sm {
  min-height: 42px;
  padding: 0 18px;
  font-size: 0.94rem;
}

.btn-full {
  width: 100%;
}

/* Hero */
.hero {
  padding-top: 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: center;
}

.hero-text {
  font-size: 1.06rem;
  max-width: 680px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 22px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-badges span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(13, 26, 47, 0.06);
  border: 1px solid rgba(13, 26, 47, 0.08);
  font-size: 0.92rem;
  color: var(--text);
}

.hero-visual {
  position: relative;
}

.hero-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-dashboard img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.hero-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  color: var(--accent);
  font-weight: 700;
  border-bottom: 1px solid var(--border);
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2ba471;
  box-shadow: 0 0 0 6px rgba(43, 164, 113, 0.14);
}

.dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 18px;
}

.metric-pill {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 14px;
}

.metric-pill strong {
  display: block;
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.metric-pill span {
  color: var(--muted);
  font-size: 0.92rem;
}

.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: 20px;
  padding: 14px 16px;
  max-width: 220px;
}

.floating-card-1 {
  top: -18px;
  right: -16px;
}

.floating-card-2 {
  left: -18px;
  bottom: 30px;
}

.small-label {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 6px;
}

/* Generic cards */
.two-col-cards,
.feature-grid,
.card-grid,
.stats-grid,
.program-grid,
.benefits-grid,
.reviews-grid,
.footer-grid {
  display: grid;
  gap: 22px;
}

.two-col-cards {
  grid-template-columns: repeat(2, 1fr);
}

.info-card,
.feature-card,
.audience-card,
.program-card,
.benefit-card,
.review-card,
.lead-form {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.info-card,
.feature-card,
.audience-card,
.program-card,
.benefit-card,
.review-card {
  padding: 28px;
}

.info-card:hover,
.feature-card:hover,
.audience-card:hover,
.program-card:hover,
.benefit-card:hover,
.review-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(13, 26, 47, 0.16);
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(13, 26, 47, 0.1), rgba(13, 26, 47, 0.18));
  color: var(--accent);
  font-weight: 800;
  margin-bottom: 18px;
}

.card-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

/* Stats */
.stats-grid {
  grid-template-columns: repeat(4, 1fr);
}

.stat-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  backdrop-filter: blur(12px);
}

.stat-card strong {
  display: block;
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--white);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-card span {
  display: block;
  font-size: 0.98rem;
}

/* Program */
.program-grid {
  grid-template-columns: repeat(3, 1fr);
}

.program-card {
  position: relative;
  overflow: hidden;
}

.program-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), #6e8fc1);
}

.program-number {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.06em;
}

.program-card-highlight {
  background: linear-gradient(180deg, rgba(13, 26, 47, 0.98), rgba(23, 40, 68, 0.96));
  color: var(--white);
}

.program-card-highlight p,
.program-card-highlight .program-number,
.program-card-highlight h3 {
  color: var(--white);
}

/* Benefits */
.benefits-grid {
  grid-template-columns: repeat(2, 1fr);
}

/* Reviews */
.reviews-grid {
  grid-template-columns: repeat(3, 1fr);
}

.review-stars {
  color: #f3b94b;
  letter-spacing: 0.15em;
  margin-bottom: 14px;
}

.review-author {
  margin-top: 18px;
}

.review-author strong {
  display: block;
  color: var(--accent);
}

.review-author span {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Form */
.form-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 30px;
  align-items: start;
}

.form-copy h2,
.form-copy p,
.form-copy .eyebrow {
  color: var(--white);
}

.form-points {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.form-points li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.9);
}

.form-points li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #9bc0ff;
  font-weight: 700;
}

.lead-form {
  padding: 28px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group-full {
  grid-column: 1 / -1;
}

label {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.95rem;
}

input,
select,
textarea {
  min-height: 52px;
  border-radius: 14px;
  border: 1px solid rgba(13, 26, 47, 0.14);
  padding: 0 16px;
  background: #fff;
  color: var(--text);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

textarea {
  min-height: 140px;
  padding: 14px 16px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(13, 26, 47, 0.4);
  box-shadow: 0 0 0 4px rgba(13, 26, 47, 0.08);
}

.privacy-note {
  margin-top: 14px;
  font-size: 0.9rem;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 0 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 28px 20px 0;
  position: relative;
  font-weight: 700;
  color: var(--accent);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 18px;
  font-size: 1.3rem;
  color: var(--accent);
  transition: transform var(--transition);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  padding: 0 0 20px;
}

/* Final CTA */
.final-cta {
  padding-top: 0;
}

.final-cta-box {
  background: linear-gradient(135deg, rgba(13, 26, 47, 0.98), rgba(23, 40, 68, 0.96));
  border-radius: 30px;
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  box-shadow: var(--shadow-hover);
}

.final-cta-box h2,
.final-cta-box p,
.final-cta-box .eyebrow {
  color: var(--white);
}

/* Footer */
.site-footer {
  padding: 36px 0 48px;
  border-top: 1px solid rgba(13, 26, 47, 0.08);
}

.footer-grid {
  grid-template-columns: 1.4fr 1fr 1fr;
  align-items: start;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li + li {
  margin-top: 10px;
}

.footer-links a {
  color: var(--muted);
  transition: color var(--transition);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--accent);
}

/* Responsive */
@media (max-width: 1100px) {
  .hero-grid,
  .form-section,
  .two-col-cards,
  .feature-grid,
  .program-grid,
  .reviews-grid,
  .stats-grid,
  .footer-grid,
  .card-grid-3,
  .benefits-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .form-section {
    grid-template-columns: 1fr;
  }

  .floating-card-1,
  .floating-card-2 {
    display: none;
  }

  .program-grid,
  .reviews-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 14px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-toggle {
    display: inline-block;
  }

  .hero-actions,
  .final-cta-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .two-col-cards,
  .feature-grid,
  .program-grid,
  .reviews-grid,
  .stats-grid,
  .footer-grid,
  .card-grid-3,
  .benefits-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 78px 0;
  }

  .lead-form {
    padding: 22px;
  }

  .logo-text {
    white-space: normal;
    line-height: 1.2;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .header-wrap {
    min-height: 72px;
  }

  .btn,
  input,
  select,
  textarea {
    min-height: 50px;
  }

  .hero-badges span {
    width: 100%;
    text-align: center;
  }

  .final-cta-box {
    padding: 28px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}