/* ============================================================
   AIMS — AI Martial Arts Systems
   Global Stylesheet
   Design: Dark charcoal base · Teal gradient accents · Barlow Condensed headlines
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

/* ── Custom Properties ─────────────────────────────────────── */
:root {
  --bg-primary:      #2E3035;
  --bg-secondary:    #23262B;
  --bg-card:         #363940;
  --bg-white:        #FFFFFF;
  --text-white:      #FFFFFF;
  --text-light:      rgba(255,255,255,0.72);
  --text-muted:      rgba(255,255,255,0.45);
  --text-dark:       #1A1A1A;
  --text-dark-muted: rgba(26,26,26,0.65);
  --accent-cyan:     #00AEEF;
  --accent-teal:     #1EE6B3;
  --gradient:        linear-gradient(135deg, #1EE6B3 0%, #00AEEF 100%);
  --gradient-text:   linear-gradient(135deg, #1EE6B3 0%, #00AEEF 100%);
  --border:          rgba(255,255,255,0.08);
  --border-accent:   rgba(0,174,239,0.3);
  --shadow-lg:       0 24px 60px rgba(0,0,0,0.5);
  --shadow-card:     0 8px 32px rgba(0,0,0,0.35);
  --radius-sm:       6px;
  --radius-md:       12px;
  --radius-lg:       20px;
  --nav-height:      72px;
  --max-width:       1200px;
  --section-pad:     120px;
  --section-pad-sm:  72px;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg-primary);
  color: var(--text-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ── Typography ────────────────────────────────────────────── */
.font-headline {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.0;
}

h1, h2, h3, h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  line-height: 1.05;
}

h1 { font-size: clamp(3rem, 7vw, 6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2.2rem, 4.5vw, 3.8rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.5rem, 2.5vw, 2.2rem); }
h4 { font-size: clamp(1.1rem, 1.8vw, 1.4rem); font-weight: 700; }
p  { font-size: 1.0625rem; line-height: 1.7; color: var(--text-light); }

.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-teal);
}

/* ── Layout ────────────────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: var(--section-pad) 0;
}

.section--white {
  background: var(--bg-white);
  color: var(--text-dark);
}
.section--white p { color: var(--text-dark-muted); }
.section--white h2, .section--white h3 { color: var(--text-dark); }
.section--white .eyebrow { color: var(--accent-cyan); }
.section--white .divider { background: var(--gradient); }
.section--white .tool-teaser-card {
  background: #F4F6F8;
  border-color: rgba(0,0,0,0.09);
}
.section--white .tool-teaser-card h4 { color: var(--text-dark); }
.section--white .tool-teaser-card p { color: var(--text-dark-muted); }

/* Light gray — softer than white, still high contrast vs dark sections */
.section--light {
  background: #F4F6F8;
  color: var(--text-dark);
}
.section--light p { color: rgba(26,26,26,0.72); }
.section--light h2, .section--light h3, .section--light h4 { color: var(--text-dark); }
.section--light .eyebrow { color: var(--accent-cyan); }
.section--light .divider { background: var(--gradient); }
.section--light .btn--ghost {
  color: var(--text-dark);
  border-color: rgba(26,26,26,0.25);
}
.section--light .btn--ghost:hover {
  background: rgba(26,26,26,0.07);
}

.section--dark {
  background: var(--bg-secondary);
}

.section--darkest {
  background: #1A1C1F;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 20px rgba(0,174,239,0.35);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,174,239,0.5);
}

.btn--ghost {
  background: transparent;
  color: var(--text-white);
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn--ghost:hover {
  border-color: var(--accent-teal);
  color: var(--accent-teal);
}

.btn--ghost-dark {
  background: transparent;
  color: var(--text-dark);
  border: 1.5px solid rgba(26,26,26,0.25);
}
.btn--ghost-dark:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.btn--lg {
  padding: 17px 40px;
  font-size: 1.05rem;
}

/* ── Navigation ────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(35,38,43,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.nav__logo {
  display: flex;
  align-items: center;
}
.nav__logo img {
  height: 40px;
  width: auto;
}

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

.nav__links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--accent-teal); }

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

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-white);
  transition: all 0.3s;
  border-radius: 2px;
}

/* Mobile nav */
.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  padding: 24px;
  flex-direction: column;
  gap: 20px;
  z-index: 99;
}
.nav__mobile.is-open { display: flex; }
.nav__mobile a {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-white);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.nav__mobile a:hover { color: var(--accent-teal); }

/* ── Legal pages ───────────────────────────────────────────── */
.legal-block {
  padding: 40px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.legal-block:last-child { border-bottom: none; }
.legal-block h2 {
  font-size: 1.3rem;
  color: var(--text-white);
  margin-bottom: 16px;
}
.legal-block p {
  color: var(--text-light);
  line-height: 1.8;
}
.legal-block ul li {
  color: var(--text-light);
  line-height: 1.7;
}

/* ── Footer ────────────────────────────────────────────────── */
.footer {
  background: #1A1C1F;
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.footer__logo {
  margin-bottom: 16px;
}
.footer__logo img { height: 44px; width: auto; }

.footer__tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  max-width: 260px;
  line-height: 1.5;
}

.footer__social {
  display: flex;
  gap: 12px;
}
.footer__social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: all 0.2s;
}
.footer__social a:hover {
  border-color: var(--accent-teal);
  color: var(--accent-teal);
}

.footer__col h5 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col ul a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer__col ul a:hover { color: var(--accent-teal); }

.footer__bottom {
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__legal {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.footer__legal a {
  color: var(--text-muted);
  margin-left: 16px;
  transition: color 0.2s;
}
.footer__legal a:hover { color: var(--accent-teal); }

/* ── Scroll Animations ─────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-scale.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('images/hero-bg.jpg');
  background-size: cover;
  background-position: center right;
  z-index: 0;
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(35,38,43,0.97) 40%, rgba(35,38,43,0.6) 100%);
}

/* Fallback if no image */
.hero__bg-fallback {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(0,174,239,0.12) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(30,230,179,0.08) 0%, transparent 50%),
              var(--bg-secondary);
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 24px;
  width: 100%;
}

.hero__overline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}
.hero__overline::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--gradient);
}

.hero__headline {
  font-size: clamp(3.5rem, 8vw, 7.5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  max-width: 14ch;
}

.hero__sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.75);
  max-width: 52ch;
  margin-bottom: 40px;
  line-height: 1.6;
  font-weight: 400;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__badge {
  margin-top: 64px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border: 1px solid var(--border-accent);
  border-radius: 50px;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-teal);
  box-shadow: 0 0 12px var(--accent-teal);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 4px var(--accent-teal); }
  50% { box-shadow: 0 0 14px var(--accent-teal); }
}

/* ── Hexagon / Logo SVG ─────────────────────────────────────── */
.hex-icon {
  display: inline-block;
}

/* ── Problem Section ─────────────────────────────────────────── */
.section-problem {
  background: var(--bg-secondary);
  padding: var(--section-pad) 0;
  text-align: center;
}
.section-problem .big-statement {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 1.1;
  color: var(--text-white);
  max-width: 22ch;
  margin: 0 auto;
}
.section-problem .big-statement span { color: var(--text-muted); }

/* ── What AIMS Is ─────────────────────────────────────────── */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 64px;
}
.proof-item {
  background: var(--bg-card);
  padding: 40px 32px;
  border-top: 3px solid transparent;
  transition: border-color 0.3s;
}
.proof-item:hover { border-color: var(--accent-teal); }
.proof-item__number {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 12px;
}
.proof-item h4 { color: var(--text-white); margin-bottom: 10px; font-size: 1.1rem; }
.proof-item p  { color: var(--text-muted); font-size: 0.9rem; }

/* ── Five Pillars ─────────────────────────────────────────── */
.pillars-list {
  margin-top: 64px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.pillar {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0;
  background: var(--bg-card);
  overflow: hidden;
  transition: transform 0.3s;
}
.pillar:hover { transform: translateX(4px); }
.pillar__num {
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(255,255,255,0.08);
  padding: 40px 20px;
  flex-shrink: 0;
}
.pillar__content { padding: 40px 48px; }
.pillar__content h3 {
  font-size: 1.5rem;
  color: var(--text-white);
  margin-bottom: 10px;
}
.pillar__content p { color: var(--text-light); font-size: 0.95rem; max-width: 60ch; }
.pillar__accent {
  display: inline-block;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Programs ──────────────────────────────────────────────── */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
  align-items: start;
}

.program-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 1px solid var(--border);
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}
.program-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.program-card--featured {
  border-color: var(--accent-teal);
  background: linear-gradient(160deg, rgba(30,230,179,0.06) 0%, var(--bg-card) 50%);
}

.program-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 50px;
}

.program-card__tier {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-teal);
  margin-bottom: 8px;
}
.program-card h3 {
  font-size: 2rem;
  color: var(--text-white);
  margin-bottom: 16px;
}
.program-card__desc {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 28px;
  line-height: 1.6;
}
.program-card__features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}
.program-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.4;
}
.program-card__features li::before {
  content: '';
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l2.5 2.5L9 1' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
  background-color: var(--accent-teal);
}

/* ── Live Proof ────────────────────────────────────────────── */
.live-proof {
  background: #1A1C1F;
  padding: var(--section-pad) 0;
  text-align: center;
}
.proof-terminal {
  max-width: 560px;
  margin: 48px auto 0;
  background: #0D0F12;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0,174,239,0.2);
  overflow: hidden;
  box-shadow: 0 0 60px rgba(0,174,239,0.1);
}
.proof-terminal__bar {
  background: #181A1E;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.proof-terminal__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.proof-terminal__dots { display: flex; gap: 6px; }
.proof-terminal__title {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-left: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 0.1em;
}
.proof-terminal__body { padding: 32px 28px; text-align: left; }
.proof-log {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.proof-log__entry {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.proof-log__time {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.proof-log__event {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-white);
}
.proof-log__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--accent-teal);
}
.proof-log__status::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-teal);
  box-shadow: 0 0 8px var(--accent-teal);
}
.proof-log__divider {
  width: 1px;
  height: 24px;
  background: rgba(0,174,239,0.2);
  margin-left: 3px;
}
.proof-footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 16px 28px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ── Why AIMS ──────────────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 80px;
  margin-top: 64px;
}
.why-item__number {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 5rem;
  font-weight: 800;
  line-height: 1;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
  opacity: 0.5;
}
.why-item h3 {
  font-size: 1.6rem;
  color: var(--text-white);
  margin-bottom: 12px;
}
.why-item p { font-size: 0.95rem; color: var(--text-light); max-width: 44ch; }

/* ── Testimonials ──────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.testimonial-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid var(--border);
}
.testimonial-card__quote {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-card__author strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-white);
  margin-bottom: 2px;
}
.testimonial-card__author span {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.stars {
  color: var(--accent-teal);
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

/* ── Free Tools Teaser ──────────────────────────────────────── */
.tools-teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.tool-teaser-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  border: 1px solid var(--border);
  transition: border-color 0.3s, transform 0.3s;
}
.tool-teaser-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
}
.tool-teaser-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(30,230,179,0.15), rgba(0,174,239,0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-size: 1.25rem;
}
.tool-teaser-card h4 {
  font-size: 1rem;
  color: var(--text-white);
  margin-bottom: 6px;
}
.tool-teaser-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
}
.tool-teaser-card a {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-teal);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}
.tool-teaser-card a:hover { gap: 10px; }

/* ── Final CTA ──────────────────────────────────────────────── */
.final-cta {
  background: linear-gradient(135deg, rgba(30,230,179,0.07) 0%, rgba(0,174,239,0.07) 100%),
              var(--bg-secondary);
  padding: var(--section-pad) 0;
  text-align: center;
  border-top: 1px solid var(--border-accent);
}
.final-cta h2 { font-size: clamp(2.5rem, 5vw, 4.5rem); margin-bottom: 16px; }
.final-cta p { max-width: 44ch; margin: 0 auto 40px; font-size: 1.05rem; }

/* ── Section Intros ─────────────────────────────────────────── */
.section-intro {
  max-width: 640px;
}
.section-intro h2 { margin-bottom: 16px; }
.section-intro p { font-size: 1.05rem; }

.section-intro--center {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

/* ── Page Hero (inner pages) ─────────────────────────────────── */
.page-hero {
  padding: calc(var(--nav-height) + 80px) 0 80px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); margin-bottom: 16px; }
.page-hero p { font-size: 1.1rem; max-width: 56ch; }

/* ── About Page ─────────────────────────────────────────────── */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 780px;
}
.about-split__image {
  position: relative;
  overflow: hidden;
  background: var(--bg-primary);
}
.about-split__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.about-split__content {
  padding: 80px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about-image__glow {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(0,174,239,0.2), transparent);
  pointer-events: none;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}
.about-stats--inline {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.about-stat__number {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 4px;
}
.about-stat__label {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
}

/* ── FAQ ─────────────────────────────────────────────────────── */
.faq-list {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.faq-item {
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
}
.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  text-align: left;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-white);
  background: none;
  cursor: pointer;
  gap: 16px;
  transition: color 0.2s;
}
.faq-item__q:hover { color: var(--accent-teal); }
.faq-item__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.3s;
  color: var(--text-muted);
}
.faq-item.is-open .faq-item__icon {
  background: var(--gradient);
  border-color: transparent;
  color: white;
  transform: rotate(45deg);
}
.faq-item__a {
  display: none;
  padding: 0 28px 22px;
}
.faq-item.is-open .faq-item__a { display: block; }
.faq-item__a p { font-size: 0.92rem; color: var(--text-light); }

/* Light-background FAQ variant (used on home page) */
.faq-home-grid { }
.faq-item--light {
  background: #FFFFFF;
  border: 1px solid rgba(0,0,0,0.09);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-item--light .faq-item__q {
  color: var(--text-dark);
}
.faq-item--light .faq-item__q:hover { color: var(--accent-cyan); }
.faq-item--light .faq-item__icon {
  border-color: rgba(0,0,0,0.18);
  color: rgba(0,0,0,0.45);
}
.faq-item--light.is-open .faq-item__icon {
  background: var(--gradient);
  border-color: transparent;
  color: white;
}
.faq-item--light .faq-item__a p {
  color: rgba(26,26,26,0.72);
}

/* Why AIMS on light background */
.section--light .why-item h3 { color: var(--text-dark); }
.section--light .why-item p { color: rgba(26,26,26,0.72); }
.section--light .why-item__number { opacity: 0.35; }

/* Programs on white background */
.section--white .program-card {
  background: #F4F6F8;
  border-color: rgba(0,0,0,0.09);
}
.section--white .program-card--featured {
  background: var(--bg-secondary);
}
.section--white .program-card h3 { color: var(--text-dark); }
.section--white .program-card:not(.program-card--featured) .program-card__desc,
.section--white .program-card:not(.program-card--featured) li {
  color: rgba(26,26,26,0.72);
}
/* Featured (Engine) card sits on dark bg — keep text light */
.section--white .program-card.program-card--featured h3 { color: var(--text-white) !important; }
.section--white .program-card.program-card--featured .program-card__desc { color: var(--text-light) !important; }
.section--white .program-card.program-card--featured li { color: var(--text-light) !important; }
.section--white .program-card.program-card--featured .program-card__tier { color: var(--accent-teal); }
.section--white h2 { color: var(--text-dark); }
.section--white p { color: rgba(26,26,26,0.72); }

/* What AIMS Is on light background */
.section--light h2 { color: var(--text-dark); }
.section--light p { color: rgba(26,26,26,0.72); }
.section--light .proof-item {
  background: #FFFFFF;
  border: 1px solid rgba(0,0,0,0.09);
}
.section--light .proof-item__number {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 1;
}
.section--light .proof-item h4 { color: var(--text-dark); }
.section--light .proof-item p { color: rgba(26,26,26,0.65); }

@media (max-width: 768px) {
  .faq-home-grid { grid-template-columns: 1fr !important; }
  .case-study-grid { grid-template-columns: 1fr !important; }
}

/* ── Free Tools Page ─────────────────────────────────────────── */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
}
.tool-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.3s, transform 0.3s;
}
.tool-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
}
.tool-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(30,230,179,0.15), rgba(0,174,239,0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.tool-card h3 { font-size: 1.4rem; color: var(--text-white); }
.tool-card p  { font-size: 0.9rem; color: var(--text-light); flex: 1; }

/* ── Blog ────────────────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.blog-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.blog-card__img {
  height: 200px;
  background: linear-gradient(135deg, rgba(30,230,179,0.1), rgba(0,174,239,0.15)), var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.blog-card__img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card__body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.blog-card__tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-teal);
  margin-bottom: 10px;
}
.blog-card h3 { font-size: 1.2rem; color: var(--text-white); margin-bottom: 10px; line-height: 1.3; }
.blog-card p  { font-size: 0.85rem; color: var(--text-muted); flex: 1; margin-bottom: 20px; line-height: 1.5; }
.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.blog-card__meta a {
  margin-left: auto;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-teal);
}

/* ── Article ─────────────────────────────────────────────────── */
.article-hero {
  padding: calc(var(--nav-height) + 64px) 0 48px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
}
.article-hero__tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-teal);
  margin-bottom: 16px;
  display: block;
}
.article-hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 20px; }
.article-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.article-meta img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}
.article-body {
  padding: 80px 0;
}
.article-body p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.8);
  margin-bottom: 24px;
}
.article-body h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin: 48px 0 16px;
  color: var(--text-white);
}
.article-body h3 {
  font-size: 1.3rem;
  margin: 32px 0 12px;
  color: var(--text-white);
}
.article-body blockquote {
  border-left: 3px solid var(--accent-teal);
  padding: 16px 24px;
  margin: 32px 0;
  background: rgba(30,230,179,0.05);
  border-radius: 0 8px 8px 0;
}
.article-body blockquote p { color: var(--text-white); font-size: 1.1rem; }
.article-cta-box {
  background: linear-gradient(135deg, rgba(30,230,179,0.08), rgba(0,174,239,0.08));
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  padding: 40px;
  margin: 48px 0;
  text-align: center;
}
.article-cta-box h3 { margin-bottom: 12px; }
.article-cta-box p { margin-bottom: 24px; }

/* ── Book Page ───────────────────────────────────────────────── */
.book-page {
  min-height: 100vh;
  padding: calc(var(--nav-height) + 60px) 0 80px;
  display: flex;
  align-items: flex-start;
}
.book-page__header { margin-bottom: 48px; }
.book-page__header h1 { margin-bottom: 16px; }
.ghl-widget-wrap {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 8px;
  border: 1px solid var(--border);
  overflow: hidden;
  min-height: 700px;
}
.ghl-widget-wrap iframe {
  width: 100%;
  min-height: 700px;
  border: none;
  border-radius: var(--radius-md);
}

/* ── Dividers ────────────────────────────────────────────────── */
.divider {
  width: 48px;
  height: 3px;
  background: var(--gradient);
  border-radius: 2px;
  margin: 20px 0;
}
.divider--center { margin: 20px auto; }

/* ── Inline Flex Util ────────────────────────────────────────── */
.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .programs-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --section-pad: 80px; }
  .proof-grid { grid-template-columns: 1fr; gap: 2px; }
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .testimonials-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .tools-teaser-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .tools-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .blog-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .about-split { grid-template-columns: 1fr; }
  .about-split__image { min-height: 480px; }
  .about-split__content { padding: 48px 24px; }
  .pillar { grid-template-columns: 80px 1fr; }
  .pillar__num { font-size: 2.5rem; padding: 28px 12px; }
  .pillar__content { padding: 28px 24px; }
}

@media (max-width: 768px) {
  .nav__links, .nav__cta .btn { display: none; }
  .nav__toggle { display: flex; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .about-stats { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 480px) {
  :root { --section-pad: 60px; }
  .about-stats { grid-template-columns: 1fr; }
  .flex-between { flex-direction: column; align-items: flex-start; }
}
