/* ─── Tokens ─── */
:root {
  --navy: #0A0F1E;
  --navy-mid: #111827;
  --green: #00D4A8;
  --green-dark: #00A885;
  --gray: #F5F5F5;
  --white: #FFFFFF;
  --muted: #6B7A99;
  --muted-light: #9BA8C0;
  --border-dark: rgba(255, 255, 255, 0.08);
  --border-light: rgba(10, 15, 30, 0.1);
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img, video { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

body {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

/* ─── Typography ─── */
h1, h2, h3, h4, h5 {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }

p { line-height: 1.7; }

.lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--muted);
  line-height: 1.7;
}

/* ─── Utilities ─── */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-dark { background: var(--navy); color: var(--white); }
.section-mid { background: var(--navy-mid); color: var(--white); }
.section-light { background: var(--gray); color: var(--navy); }
.section-white { background: var(--white); color: var(--navy); }

.section-pad { padding: 96px 0; }
.section-pad-sm { padding: 64px 0; }

.text-green { color: var(--green); }
.text-muted-light { color: var(--muted-light); }
.text-center { text-align: center; }

.eyebrow {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
  display: block;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--green);
  color: var(--navy);
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.25);
}
.btn-outline:hover { border-color: var(--green); color: var(--green); }

.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid rgba(10,15,30,0.25);
}
.btn-outline-dark:hover { border-color: var(--navy); background: var(--navy); color: var(--white); }

.btn-lg { padding: 17px 36px; font-size: 16px; }

.btn-group { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ─── Nav ─── */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 15, 30, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-dark);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--white);
  letter-spacing: -0.01em;
}
.nav-logo span { color: var(--green); }

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

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-btn {
  padding: 9px 20px;
  background: var(--green);
  color: var(--navy);
  border-radius: 7px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s;
}
.nav-btn:hover { background: var(--green-dark); transform: translateY(-1px); }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 16px 24px 20px;
  border-top: 1px solid var(--border-dark);
  gap: 4px;
}
.nav-mobile a {
  padding: 10px 0;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  border-bottom: 1px solid var(--border-dark);
  display: block;
  transition: color 0.2s;
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover { color: var(--green); }
.nav-mobile .nav-btn { margin-top: 12px; text-align: center; width: 100%; justify-content: center; }

.nav-mobile.open { display: flex; }

/* ─── Hero ─── */
.hero {
  background: var(--navy);
  padding: 112px 0 96px;
  position: relative;
  overflow: hidden;
}

/* Aurora shader canvas — inserted by shader.js */
#hero-shader {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.88;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 820px;
  gap: 28px;
  position: relative;
  z-index: 2;
}

.hero h1 { color: var(--white); }
.hero h1 .accent { color: var(--green); }

.hero .lead { color: rgba(255,255,255,0.65); max-width: 580px; font-size: 1.15rem; }

/* ─── Stats bar ─── */
.stats-bar {
  background: var(--navy-mid);
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
  padding: 40px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  padding: 16px 32px;
  border-right: 1px solid var(--border-dark);
}
.stat-item:last-child { border-right: none; }

.stat-num {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
}

/* ─── Cards ─── */
.card-grid {
  display: grid;
  gap: 24px;
}
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 32px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }

.card-dark {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  padding: 32px;
  transition: transform 0.2s, border-color 0.2s;
}
.card-dark:hover { transform: translateY(-3px); border-color: rgba(0,212,168,0.3); }

.card-icon {
  width: 48px;
  height: 48px;
  background: rgba(0, 212, 168, 0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 22px;
}

.card h3 { margin-bottom: 12px; }
.card-dark h3 { color: var(--white); margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 0.95rem; }
.card-dark p { color: rgba(255,255,255,0.55); font-size: 0.95rem; }

/* ─── Section header ─── */
.section-header { margin-bottom: 56px; }
.section-header.text-center { text-align: center; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { max-width: 560px; }
.section-header.text-center p { margin: 0 auto; }

/* ─── Testimonials ─── */
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stars { color: #F5A623; font-size: 16px; letter-spacing: 2px; }

.testimonial-quote {
  font-size: 0.97rem;
  line-height: 1.7;
  color: #374151;
  font-style: italic;
  flex: 1;
}

.testimonial-author { display: flex; flex-direction: column; gap: 2px; margin-top: 4px; }
.testimonial-name { font-weight: 700; font-size: 0.95rem; color: var(--navy); }
.testimonial-meta { font-size: 13px; color: var(--muted); }
.testimonial-result {
  display: inline-block;
  background: rgba(0,212,168,0.1);
  color: var(--green-dark);
  border-radius: 5px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  margin-top: 4px;
}

/* ─── YouTube embeds ─── */
.yt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.yt-embed-wrap {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #111;
  position: relative;
}

.yt-embed-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.yt-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.04);
  border: 1px dashed rgba(255,255,255,0.15);
  border-radius: 10px;
  gap: 12px;
  color: rgba(255,255,255,0.4);
  font-size: 13px;
  text-align: center;
  padding: 20px;
}

.yt-placeholder .yt-icon { font-size: 32px; opacity: 0.5; }

/* ─── Contact form ─── */
.contact-form {
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label { font-size: 14px; font-weight: 600; color: var(--navy); }

.form-group input,
.form-group textarea,
.form-group select {
  padding: 13px 16px;
  border: 1.5px solid #E2E8F0;
  border-radius: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  color: var(--navy);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--green); }

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

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ─── Page hero (inner pages) ─── */
.page-hero {
  background: var(--navy);
  padding: 80px 0 72px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 212, 168, 0.1) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.6); max-width: 600px; font-size: 1.1rem; }

/* ─── CTA section ─── */
.cta-section {
  background: var(--green);
  padding: 80px 0;
  text-align: center;
}
.cta-section h2 { color: var(--navy); margin-bottom: 16px; }
.cta-section p { color: rgba(10,15,30,0.7); margin-bottom: 32px; font-size: 1.05rem; max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-section .btn-primary { background: var(--navy); color: var(--white); }
.cta-section .btn-primary:hover { background: #1a2540; }

/* ─── Bio ─── */
.bio-text { max-width: 760px; }
.bio-text p { font-size: 1.05rem; line-height: 1.85; color: #374151; margin-bottom: 20px; }
.bio-text p:last-child { margin-bottom: 0; }

.bio-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.bio-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1.5px solid var(--border-light);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  transition: all 0.2s;
}
.bio-link:hover { border-color: var(--green); color: var(--green); }

/* ─── Service cards ─── */
.service-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 36px 32px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.07);
  border-color: var(--green);
}
.service-num {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: rgba(0,212,168,0.15);
  line-height: 1;
  margin-bottom: 16px;
}
.service-card h3 { margin-bottom: 12px; font-size: 1.35rem; }
.service-card p { color: var(--muted); line-height: 1.7; }
.service-tag {
  display: inline-block;
  margin-top: 20px;
  background: rgba(0,212,168,0.08);
  color: var(--green-dark);
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}

/* ─── Footer ─── */
.footer {
  background: var(--navy);
  padding: 64px 0 40px;
  color: rgba(255,255,255,0.55);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .nav-logo { display: block; margin-bottom: 12px; font-size: 1.1rem; }
.footer-brand p { font-size: 14px; line-height: 1.7; max-width: 280px; }

.footer-col h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 16px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 14px; color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-col ul a:hover { color: var(--green); }

.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
}

.footer-social { display: flex; gap: 14px; }
.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-dark);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: rgba(255,255,255,0.5);
  transition: all 0.2s;
}
.footer-social a:hover { border-color: var(--green); color: var(--green); }

/* ─── Leveling Up tracker ─── */
.levelup-tracker {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.levelup-progress {
  flex: 1;
  min-width: 200px;
  max-width: 480px;
}

.level-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
  color: var(--navy);
  font-family: 'Cabinet Grotesk', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.05em;
  padding: 7px 16px;
  border-radius: 100px;
  white-space: nowrap;
  flex-shrink: 0;
}

.progress-bar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  height: 8px;
  overflow: hidden;
}

.progress-bar-fill {
  background: var(--green);
  height: 100%;
  border-radius: 100px;
  width: 0;
  transition: width 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* CTA secondary button (used inside cta-section green background) */
.btn-cta-secondary {
  background: rgba(10, 15, 30, 0.15);
  color: var(--navy);
  font-weight: 600;
}
.btn-cta-secondary:hover { background: rgba(10, 15, 30, 0.28); }

/* ─── Divider ─── */
.divider { height: 1px; background: var(--border-light); }
.divider-dark { height: 1px; background: var(--border-dark); }

/* ─── Animations ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.6s ease both; }
.fade-up-delay-1 { animation-delay: 0.1s; }
.fade-up-delay-2 { animation-delay: 0.2s; }
.fade-up-delay-3 { animation-delay: 0.3s; }

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .nav-links, .nav-cta .nav-btn { display: none; }
  .nav-hamburger { display: flex; }
  .stats-grid { grid-template-columns: repeat(3, 1fr) !important; }
  .stat-item:nth-child(3),
  .stat-item:nth-child(5) { border-right: none; }
  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .yt-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .section-pad { padding: 64px 0; }
  .hero { padding: 80px 0 64px; }
  .page-hero { padding: 56px 0 48px; }
  .card-grid-2, .card-grid-3, .card-grid-4 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .stat-item { padding: 16px 20px; }
  .stat-num { font-size: 1.9rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .yt-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .btn-group { flex-direction: column; }
  .btn-group .btn { width: 100%; justify-content: center; }
  .bio-links { flex-direction: column; }
}
