:root {
  --bg: #ffffff;
  --bg-alt: #f6faf9;
  --bg-dark: #0b1623;
  --surface: #ffffff;
  --text: #0f172a;
  --text-muted: #475569;
  --border: #e2e8f0;
  --primary: #0d9488;
  --primary-dark: #0f766e;
  --primary-soft: #ccfbf1;
  --accent: #f97316;
  --radius: 16px;
  --shadow: 0 20px 50px -20px rgba(15, 23, 42, 0.16);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-size: 1.15rem;
}
.brand-wordmark {
  height: 42px;
  width: auto;
  max-width: 220px;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}
.brand-logo {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  max-width: 40px;
  max-height: 40px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
  box-shadow: 0 4px 12px rgba(17, 57, 54, 0.22);
}
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--primary), #059669);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  display: grid;
  place-items: center;
  letter-spacing: 0.04em;
}
.nav-links {
  display: flex;
  gap: 28px;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.94rem;
}
.nav-links a:hover { color: var(--primary); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 6px 12px;
  font-size: 1.1rem;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.94rem;
  text-decoration: none;
  transition: all 0.18s ease;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-lg { padding: 14px 24px; font-size: 1rem; }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), #059669);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(13, 148, 136, 0.65);
}
.btn-primary:hover { transform: translateY(-1px); background: var(--primary-dark); }
.btn-outline {
  border-color: var(--border);
  color: var(--text);
  background: #fff;
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-ghost { color: var(--text-muted); }
.btn-ghost:hover { color: var(--primary); }
.btn-white { background: #fff; color: var(--primary-dark); }
.btn-white:hover { transform: translateY(-1px); }
.btn-outline-light { border-color: rgba(255,255,255,0.45); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,0.12); }

/* Hero */
.hero {
  padding: 64px 0 88px;
  background: radial-gradient(circle at 85% 10%, rgba(13, 148, 136, 0.12), transparent 45%),
              radial-gradient(circle at 10% 80%, rgba(249, 115, 22, 0.08), transparent 40%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 48px;
  align-items: center;
}
.badge-pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.82rem;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}
.hero h1 .accent { color: var(--primary); }
.hero-sub {
  color: var(--text-muted);
  font-size: 1.07rem;
  margin-bottom: 28px;
  max-width: 560px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}
.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.trust-row strong { display: block; font-size: 1.15rem; color: var(--text); }
.trust-row span { font-size: 0.83rem; color: var(--text-muted); }

/* Preview Card */
.booking-preview-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow);
}
.preview-header { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.avatar {
  width: 52px; height: 52px; border-radius: 16px;
  background: linear-gradient(135deg, #0d9488, #0284c7);
  color: #fff; font-weight: 800; display: grid; place-items: center;
  flex-shrink: 0;
}
.trainer-name { font-weight: 800; font-size: 1.05rem; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.verified-chip {
  background: #dcfce7; color: #166534; font-size: 0.72rem;
  padding: 2px 8px; border-radius: 999px; font-weight: 700;
}
.trainer-meta { font-size: 0.84rem; color: var(--text-muted); }
.preview-link-bar {
  background: #f8fafc; border: 1px dashed #cbd5e1; border-radius: 10px;
  padding: 8px 12px; font-size: 0.78rem; color: #334155;
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  margin-bottom: 16px;
}
.pill-mini { background: #e0f2fe; color: #0369a1; font-weight: 700; padding: 2px 8px; border-radius: 999px; font-size: 0.7rem; }
.preview-section-label { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); margin-bottom: 8px; }
.duration-pills, .slot-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 16px;
}
.dur-btn, .slot-btn {
  padding: 9px 6px; border-radius: 10px; border: 1px solid var(--border);
  background: #fff; font-weight: 700; font-size: 0.8rem; cursor: pointer;
  color: var(--text); transition: all 0.15s ease;
}
.dur-btn.active, .slot-btn.active {
  background: var(--primary); border-color: var(--primary); color: #fff;
}
.mode-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.mode-tag {
  background: #f1f5f9; color: #334155; font-size: 0.78rem; font-weight: 600;
  padding: 5px 10px; border-radius: 8px;
}
.preview-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-top: 16px; border-top: 1px solid var(--border);
}
.price-label { font-size: 0.75rem; color: var(--text-muted); }
.price-value { font-size: 1.45rem; font-weight: 800; color: var(--text); }

/* Sections */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--bg-dark); color: #fff; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--primary);
  margin-bottom: 8px;
}
.eyebrow-light { color: #5eead4; }
.section-head h2, .section-dark h2 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  line-height: 1.2; margin-bottom: 12px;
}
.section-head p { color: var(--text-muted); }

/* Categories */
.category-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.cat-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cat-icon { font-size: 2rem; margin-bottom: 12px; }
.cat-card h3 { font-size: 1.12rem; margin-bottom: 6px; }
.cat-card p { font-size: 0.92rem; color: var(--text-muted); }

/* Tabs & Steps */
.tab-switch {
  display: inline-flex; background: #f1f5f9; padding: 5px; border-radius: 14px;
  margin-top: 20px; gap: 4px;
}
.tab-btn {
  border: none; background: transparent; padding: 10px 20px; border-radius: 10px;
  font-weight: 700; cursor: pointer; color: var(--text-muted); font-size: 0.92rem;
}
.tab-btn.active { background: #fff; color: var(--primary-dark); box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps-grid.hidden { display: none; }
.step-card {
  border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; background: #fff;
}
.step-num {
  display: inline-block; font-weight: 800; color: var(--primary);
  background: var(--primary-soft); padding: 4px 10px; border-radius: 8px;
  font-size: 0.82rem; margin-bottom: 14px;
}
.step-card h3 { font-size: 1.04rem; margin-bottom: 8px; }
.step-card p { font-size: 0.9rem; color: var(--text-muted); }
.step-card code { background: #f1f5f9; padding: 1px 5px; border-radius: 5px; font-size: 0.82rem; }

/* Dark Institute Section */
.institute-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.dark-sub { color: #cbd5e1; margin-bottom: 24px; }
.feature-list { list-style: none; display: grid; gap: 14px; margin-bottom: 30px; color: #e2e8f0; }
.feature-list li { padding-left: 24px; position: relative; font-size: 0.95rem; }
.feature-list li::before { content: "✓"; position: absolute; left: 0; color: #2dd4bf; font-weight: 800; }
.metrics-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.metric-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px; padding: 24px;
}
.metric-val { font-size: 1.2rem; font-weight: 800; color: #5eead4; margin-bottom: 6px; }
.metric-lbl { font-size: 0.86rem; color: #cbd5e1; }

/* Cities & Banner */
.city-chips {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 56px;
}
.city-chips span {
  padding: 9px 18px; border-radius: 999px; border: 1px solid var(--border);
  background: #f8fafc; font-weight: 600; font-size: 0.9rem; color: #334155;
}
.cta-banner {
  background: linear-gradient(135deg, #0d9488, #0f766e 55%, #0b1623);
  color: #fff; border-radius: 24px; padding: 44px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.cta-banner p { color: #ccfbf1; margin-top: 6px; }
.cta-banner-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 48px 0 28px; background: #f8fafc; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.footer-note { color: var(--text-muted); font-size: 0.9rem; max-width: 340px; margin-top: 10px; }
.footer-links { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.footer-links a { text-decoration: none; color: var(--text-muted); font-weight: 600; font-size: 0.92rem; }
.footer-links a:hover { color: var(--primary); }
.footer-bottom {
  padding-top: 20px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 0.82rem; color: var(--text-muted);
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .institute-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .nav-links {
    display: none; position: absolute; top: 74px; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 20px 24px;
    border-bottom: 1px solid var(--border); gap: 16px;
  }
  .nav-links.open { display: flex; }
  .menu-toggle { display: inline-block; }
  .header-cta .btn-ghost { display: none; }
  .category-grid, .steps-grid, .trust-row, .metrics-panel { grid-template-columns: 1fr; }
  .duration-pills, .slot-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-banner { padding: 28px; }
}
