:root {
  --c1: #06a9c4;
  --c2: #0a4d59;
  --grad: linear-gradient(to bottom right, #06a9c4, #0a4d59);
  --bg: #f2f8fa;
  --surface: #ffffff;
  --surface-alt: #f0f7f9;
  --border: #d4edf3;
  --text: #1a2e35;
  --muted: #6b8a94;
  --input-bg: #f7fbfc;
}
html.dark {
  --bg: #081a20;
  --surface: #0d2630;
  --surface-alt: #0a1f28;
  --border: #1a3d4a;
  --text: #e2edf0;
  --muted: #7aa5b0;
  --input-bg: #0a1f28;
}

/* ── BASE ────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { transition: background-color .3s, color .3s; }
body {
  font-family: 'Play', sans-serif;
  background: var(--bg);
  color: var(--text);
  transition: background-color .3s, color .3s;
  -webkit-font-smoothing: antialiased;
}

/* ── SCROLLBAR ───────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--c1); border-radius: 2px; }

/* ── NAVBAR GLASS ────────────────────────────────────────────────── */
.glass-light {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.22);
}
.dark .glass-dark {
  background: rgba(0,0,0,0.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.10);
}

/* ── TOGGLE ──────────────────────────────────────────────────────── */
.toggle-track { width: 44px; height: 24px; border-radius: 999px; position: relative; cursor: pointer; }
.toggle-thumb { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: white; transition: transform 0.3s; }
html.dark .toggle-thumb { transform: translateX(20px); }

/* ── HAMBURGER ───────────────────────────────────────────────────── */
.ham-line { display: block; width: 22px; height: 2px; border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.ham-open .ham-top { transform: translateY(7px) rotate(45deg); }
.ham-open .ham-mid { opacity: 0; }
.ham-open .ham-bot { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE MENU ─────────────────────────────────────────────────── */
.mobile-menu { opacity: 0; transform: translateY(-12px); pointer-events: none; transition: 0.3s ease; }
.mobile-menu.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.menu-overlay { opacity: 0; pointer-events: none; transition: 0.3s ease; }
.menu-overlay.open { opacity: 1; pointer-events: auto; }

/* ── BTN GRADIENT ────────────────────────────────────────────────── */
.btn-gradient { background: linear-gradient(135deg, #06a9c4, #0a4d59); color: white; text-decoration: none; }

/* ── GRADIENT UTILS ──────────────────────────────────────────────── */
.grad-bg  { background: var(--grad); }
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── NAV LINK ────────────────────────────────────────────────────── */
.nav-link {
  font-size: 13px; font-weight: 500;
  text-decoration: none; transition: color .2s; white-space: nowrap;
}
.nav-link.active { color: var(--c1); font-weight: 700; }

/* ── SECTION CARDS ───────────────────────────────────────────────── */
.content-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 44px;
  transition: border-color .25s, box-shadow .25s;
}
.content-card:hover {
  border-color: rgba(6,169,196,.35);
  box-shadow: 0 8px 40px rgba(6,169,196,.08);
}
@media (max-width: 640px) {
  .content-card { padding: 28px 22px; }
}

/* ── PILL BADGE ──────────────────────────────────────────────────── */
.section-badge {
  display: inline-block;
  font-size: 10px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--c1);
  background: rgba(6,169,196,.08);
  border: 1px solid rgba(6,169,196,.18);
  border-radius: 999px;
  padding: 4px 14px;
  margin-bottom: 14px;
}

/* ── PHILOSOPHY ITEMS ────────────────────────────────────────────── */
.phil-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.phil-item:last-child { border-bottom: none; padding-bottom: 0; }
.phil-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--grad);
  flex-shrink: 0; margin-top: 7px;
}

/* ── DIVIDER LINE ────────────────────────────────────────────────── */
.grad-line {
  height: 2px;
  background: var(--grad);
  border-radius: 2px;
  width: 48px;
  margin-bottom: 20px;
}

/* ── STAT CARDS ──────────────────────────────────────────────────── */
.stat-card {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
}

/* ── REVEAL ANIMATION ────────────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ── FOOTER ──────────────────────────────────────────────────────── */
.footer-link {
  color: var(--muted);
  text-decoration: none; font-size: 13px;
  transition: color .2s;
  display: block; margin-bottom: 8px;
}
.footer-link:hover { color: var(--c1); }

/* ── HERO BG ─────────────────────────────────────────────────────── */
.hero-gradient {
  background: linear-gradient(to bottom right, #06a9c4, #0a4d59);
  position: relative; overflow: hidden;
}
.hero-gradient::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(255,255,255,0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(255,255,255,0.05) 0%, transparent 50%);
  pointer-events: none;
}
