:root {
  --bg-main: #020617;
  --bg-card: rgba(15, 23, 42, 0.96);
  --text-main: #f9fafb;
  --text-muted: #9ca3af;
  --border-subtle: rgba(148, 163, 184, 0.45);
  --accent: #38bdf8;
  --accent-strong: #0ea5e9;
  --accent-grad-1: #4f46e5;
  --accent-grad-2: #06b6d4;
  --danger: #f97373;
  --shadow-strong: 0 24px 80px rgba(15, 23, 42, 0.8);
  --radius-xl: 26px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-pill: 999px;
  --container-width: 1200px;
}

/* Base */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background:
    radial-gradient(circle at 0% 0%, rgba(56,189,248,0.2) 0, transparent 45%),
    radial-gradient(circle at 100% 0%, rgba(79,70,229,0.25) 0, transparent 55%),
    radial-gradient(circle at 50% 120%, rgba(15,23,42,0.9) 0, #020617 70%);
  color: var(--text-main);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

/* Layout */

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4.5rem 0;
}

.section-alt {
  padding: 4.5rem 0;
  background: radial-gradient(circle at top, rgba(15,23,42,0.94), #020617 80%);
}

.section-intro {
  max-width: 720px;
  color: var(--text-muted);
  margin-bottom: 2.2rem;
  font-size: 0.98rem;
}

/* Typography */

h1,
h2,
h3,
h4 {
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

h1 {
  font-size: clamp(2.4rem, 3.7vw, 3.2rem);
  line-height: 1.12;
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.8rem;
  margin-bottom: 0.9rem;
}

h3 {
  font-size: 1.1rem;
  margin-top: 0;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: radial-gradient(circle at top, rgba(15,23,42,0.96), #020617 85%);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(30, 41, 59, 0.95);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  padding: 0.6rem 0;
}

.logo {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

/* Nav */

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 1.8rem;
  margin: 0;
  padding: 0;
}

.site-nav a {
  font-size: 0.92rem;
  color: var(--text-muted);
  font-weight: 500;
  position: relative;
  padding-bottom: 4px;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-grad-1), var(--accent-grad-2));
  transition: width 0.16s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  width: 100%;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #e5e7eb;
  text-decoration: none;
}

/* Language switch */

.lang-switch {
  display: flex;
  gap: 0.35rem;
  align-items: center;
}

.lang-btn {
  border-radius: var(--radius-pill);
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.96);
  padding: 0.2rem 0.6rem;
  font-size: 0.78rem;
  cursor: pointer;
  color: var(--text-muted);
}

.lang-btn.active {
  background: linear-gradient(135deg, var(--accent-grad-1), var(--accent-grad-2));
  color: #fff;
  border-color: transparent;
}

/* Mobile nav */

.nav-toggle {
  display: none;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 0.4rem 0.55rem;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.8);
}

.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  background-color: var(--text-main);
  margin: 3px 0;
  border-radius: 999px;
}

/* Hero */

.hero {
  padding: 4.8rem 0 4.2rem;
}

.hero-grid {
  display: grid;
  gap: 2.8rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  padding: 0.25rem 0.9rem;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(148,163,184,0.6);
  margin-bottom: 0.9rem;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle, #22c55e, #16a34a);
  box-shadow: 0 0 18px rgba(34,197,94,0.9);
}

.hero-text p {
  margin: 0 0 0.9rem;
  color: var(--text-muted);
  font-size: 0.98rem;
}

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

.hero-highlight-item {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-highlight-item strong {
  display: block;
  color: #e5e7eb;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.8rem 0 1.1rem;
}

.hero-trust {
  list-style: none;
  padding: 0;
  margin: 0.3rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.hero-trust li {
  font-size: 0.8rem;
  color: var(--text-muted);
  background: rgba(15, 23, 42, 0.96);
  border-radius: var(--radius-pill);
  padding: 0.32rem 0.75rem;
  border: 1px solid rgba(55, 65, 81, 0.9);
}

.hero-media {
  display: flex;
  justify-content: center;
}

.image-placeholder {
  width: 100%;
  max-width: 460px;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 0% 0%, #22c55e 0, transparent 55%),
    radial-gradient(circle at 100% 0%, #38bdf8 0, transparent 55%),
    radial-gradient(circle at 50% 120%, #4f46e5 0, #020617 70%);
  box-shadow: var(--shadow-strong);
  display: flex;
  align-items: flex-end;
  padding: 1.15rem 1.2rem;
  color: #e5e7eb;
  font-size: 0.86rem;
  position: relative;
  overflow: hidden;
}

.image-placeholder::before {
  content: "";
  position: absolute;
  inset: 18% 8%;
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.35);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  padding: 0.75rem 1.7rem;
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.1s ease, box-shadow 0.1s ease, background-color 0.1s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-grad-1), var(--accent-grad-2));
  color: #ffffff;
  box-shadow: 0 20px 42px rgba(37, 99, 235, 0.65);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 24px 60px rgba(37, 99, 235, 0.85);
}

.btn-secondary {
  background: rgba(15, 23, 42, 0.96);
  color: var(--text-main);
  border-color: rgba(148, 163, 184, 0.5);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: rgba(31, 41, 55, 0.96);
}

/* Cards / grids */

.cards-grid {
  display: grid;
  gap: 1.4rem;
}

.programs-grid,
.teachers-grid,
.testimonials-grid,
.pricing-grid {
  display: grid;
  gap: 1.6rem;
}

.card,
.program-card,
.teacher-card,
.testimonial-card,
.price-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.4rem;
  border: 1px solid rgba(31,41,55,0.95);
  box-shadow: var(--shadow-strong);
}

.card p,
.program-card p,
.teacher-card p,
.testimonial-card p,
.price-card p {
  margin-top: 0.45rem;
  margin-bottom: 0.45rem;
  color: var(--text-muted);
  font-size: 0.94rem;
}

/* Snapshot */

.snapshot-grid {
  display: grid;
  gap: 1.2rem;
}

.snapshot-grid .card {
  background: radial-gradient(circle at top, rgba(15,23,42,0.98), #020617 82%);
}

/* Band card */

.band-card {
  background: radial-gradient(circle at top left, rgba(79,70,229,0.35), rgba(15,23,42,0.98) 58%);
  border-radius: var(--radius-xl);
  padding: 2.2rem 2rem;
  box-shadow: var(--shadow-strong);
  border: 1px solid rgba(55, 65, 81, 0.96);
}

/* Programs */

.programs-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.program-card {
  position: relative;
  overflow: hidden;
}

.program-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(56,189,248,0.15), transparent 55%);
  opacity: 0;
  transition: opacity 0.18s ease;
  pointer-events: none;
}

.program-card:hover::before {
  opacity: 1;
}

.program-card h2 {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.program-meta {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 0.6rem;
}

.program-outcomes {
  list-style: disc;
  padding-left: 1.1rem;
  margin: 0.7rem 0 0;
}

.program-outcomes li {
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

/* Admissions */

.admissions-grid {
  display: grid;
  gap: 2.4rem;
}

/* PRICING */

.billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(51, 65, 85, 0.9);
  margin-bottom: 2rem;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.9);
}

.toggle-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.toggle-switch {
  position: relative;
  width: 46px;
  height: 22px;
  border-radius: var(--radius-pill);
  border: none;
  background-color: #1f2937;
  cursor: pointer;
  padding: 0;
}

.toggle-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #e5e7eb;
  transition: transform 0.18s ease;
}

body.billing-yearly .toggle-switch {
  background: linear-gradient(135deg, var(--accent-grad-1), var(--accent-grad-2));
}

body.billing-yearly .toggle-knob {
  transform: translateX(20px);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.6rem;
}

.price-card {
  background: radial-gradient(circle at top, rgba(15,23,42,1), #020617 70%);
  border-radius: 30px;
  padding: 1.9rem 1.8rem;
  border: 1px solid rgba(30, 64, 175, 0.65);
  box-shadow: 0 28px 90px rgba(15, 23, 42, 0.95);
}

.price-card.featured {
  border-color: rgba(56, 189, 248, 0.9);
  box-shadow: 0 36px 110px rgba(56, 189, 248, 0.7);
}

.price-type {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.price-value {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin: 0.6rem 0 0.4rem;
}

.price-amount {
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--accent-strong);
}

.price-period {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.price-features {
  margin: 0.8rem 0 0;
  padding-left: 1.2rem;
  list-style: disc;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pricing-notes {
  margin-top: 1.4rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Teachers & testimonials */

.teachers-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.teacher-card {
  display: flex;
  flex-direction: column;
}

.teacher-photo {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin-bottom: 0.6rem;
}

.placeholder-photo {
  background: conic-gradient(from 180deg, #38bdf8, #4f46e5, #0f172a, #38bdf8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: #e5e7eb;
}

.teacher-role {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.testimonials-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.testimonial-card {
  position: relative;
  padding-top: 1.9rem;
}

.testimonial-card::before {
  content: "“";
  position: absolute;
  top: 0.4rem;
  left: 1.3rem;
  font-size: 2.3rem;
  color: rgba(148, 163, 184, 0.45);
}

.testimonial-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Contact / map */

.contact-grid {
  display: grid;
  gap: 2.4rem;
}

.contact-info p {
  margin: 0 0 0.7rem;
  color: var(--text-muted);
}

.map-embed iframe {
  width: 100%;
  min-height: 260px;
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-strong);
  background-color: #020617;
}
/* Contact form layout */

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

label {
  font-size: 0.9rem;
  font-weight: 500;
}

input,
textarea {
  font-family: inherit;
  font-size: 0.95rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(55, 65, 81, 0.9);
  border-radius: 8px;
  background-color: #020617;
  color: var(--text-main);
}

input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

input.error,
textarea.error {
  border-color: var(--danger);
}

.form-status {
  margin-top: 0.7rem;
  font-size: 0.88rem;
}

.form-status.success {
  color: #4ade80;
}

.form-status.error {
  color: var(--danger);
}

/* FAQ */

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

.faq-item + .faq-item {
  margin-top: 0.9rem;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: #f9fafb;
  color: #111827;
  border-radius: 8px;
  padding: 0.6rem 0.9rem;
  border: none;
  cursor: pointer;
  font: inherit;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.faq-icon {
  margin-left: 0.75rem;
  font-weight: 600;
  color: #4b5563;
}

.faq-answer {
  padding: 0.8rem 0.2rem 0.1rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Footer */

.site-footer {
  background-color: #020617;
  color: #e5e7eb;
  padding: 2rem 0 1.5rem;
  margin-top: 2.4rem;
  border-top: 1px solid rgba(31,41,55,0.95);
}

.footer-grid {
  display: grid;
  gap: 1.7rem;
}

.footer-brand {
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.site-footer a {
  color: #bfdbfe;
}

.footer-links {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.footer-bottom {
  margin-top: 1.5rem;
  border-top: 1px solid rgba(55, 65, 81, 0.9);
  padding-top: 0.8rem;
  font-size: 0.85rem;
  color: #9ca3af;
}

/* Accessibility */

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Responsive */

@media (min-width: 720px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  }

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

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

  .contact-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr auto;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .site-nav {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: radial-gradient(circle at top, rgba(15,23,42,0.98), #020617 85%);
    border-bottom: 1px solid rgba(31, 41, 59, 0.96);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease;
  }

  .site-nav.open {
    max-height: 260px;
  }

  .site-nav ul {
    flex-direction: column;
    padding: 0.9rem 1.5rem 1.2rem;
    gap: 0.8rem;
  }

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

  .header-right {
    gap: 0.75rem;
  }

  .hero-grid {
    gap: 2rem;
  }

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