/* ==========================================================================
   APEX ATHLETIC CLUB — Dark Kinetic Luxury Multi-Page Fitness Theme
   Full-Bleed Dark Hero + Volt Lime Marquee + Interactive Weekly Class Schedule
   100% Dynamic Colors & Content Managed From Admin Panel
   ========================================================================== */
:root {
  --primary: #C8FF00;
  --secondary: #FF3B30;
  --bg: #090A0D;
  --surface: #12141A;
  --elevated: #1A1D26;
  --text: #F8FAFC;
  --muted: #9CA3AF;
  --border: rgba(255, 255, 255, 0.1);
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --display: 'Barlow Condensed', Impact, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section-surface { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display); font-weight: 800; font-size: 0.95rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--primary); margin-bottom: 10px;
}
.kicker::before { content: ''; width: 24px; height: 2px; background: var(--primary); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 44px; flex-wrap: wrap; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; max-width: 700px; margin: 0 auto 48px; }
.section-title {
  font-family: var(--display); font-size: clamp(2.2rem, 4.4vw, 3.6rem); font-weight: 800;
  text-transform: uppercase; line-height: 1.02; letter-spacing: 0.01em; color: #FFFFFF;
}
.section-sub { color: var(--muted); font-size: 0.98rem; margin-top: 10px; max-width: 580px; }

/* Athletic Skewed / Sharp Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 6px; font-family: var(--display); font-weight: 800;
  font-size: 1.05rem; letter-spacing: 0.08em; text-transform: uppercase; transition: 0.22s ease;
}
.btn-volt { background: var(--primary); color: #090A0D; box-shadow: 0 10px 28px rgba(200, 255, 0, 0.22); }
.btn-volt:hover { filter: brightness(1.08); transform: translateY(-2px); }
.btn-ghost { border: 1.5px solid rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.04); color: #fff; }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-red { background: var(--secondary); color: #fff; }
.btn-red:hover { filter: brightness(1.08); transform: translateY(-2px); }
.btn-sm { padding: 10px 20px; font-size: 0.92rem; }

/* Dark Glassmorphic Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(9, 10, 13, 0.88); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-row { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 16px; }
.brand-logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 1.4rem; letter-spacing: 0.06em; }
.brand-logo img { height: 38px; width: auto; object-fit: contain; }
.nav-menu { display: flex; align-items: center; gap: 22px; }
.nav-menu a {
  font-family: var(--display); font-weight: 700; font-size: 1rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted); padding: 6px 0; border-bottom: 2px solid transparent; transition: 0.2s;
}
.nav-menu a:hover, .nav-menu a.active { color: #FFFFFF; border-bottom-color: var(--primary); }

/* FULL-BLEED KINETIC DARK HERO */
.kinetic-hero {
  position: relative; min-height: 620px; display: flex; align-items: flex-end;
  padding: 110px 0 64px; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; filter: brightness(0.62) contrast(1.08); }
.hero-mask {
  position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(90deg, rgba(9, 10, 13, 0.94) 0%, rgba(9, 10, 13, 0.62) 55%, rgba(9, 10, 13, 0.28) 100%),
    linear-gradient(0deg, #090A0D 0%, transparent 38%);
}
.hero-inner { position: relative; z-index: 3; width: 100%; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 4px;
  background: rgba(200, 255, 0, 0.12); border: 1px solid rgba(200, 255, 0, 0.35);
  color: var(--primary); font-family: var(--display); font-weight: 700; font-size: 0.88rem; letter-spacing: 0.12em;
  margin-bottom: 18px;
}
.kinetic-hero h1 {
  font-family: var(--display); font-size: clamp(3.1rem, 7.2vw, 6rem); font-weight: 800;
  text-transform: uppercase; line-height: 0.95; letter-spacing: -0.01em; max-width: 780px; margin-bottom: 18px;
}
.kinetic-hero p.lead { font-size: 1.06rem; color: #D1D5DB; max-width: 560px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px; }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.h-stat strong { display: block; font-family: var(--display); font-size: 2.2rem; font-weight: 800; color: var(--primary); line-height: 1; }
.h-stat span { font-size: 0.8rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }

/* KINETIC VOLT LIME MARQUEE TICKER */
.marquee-wrap {
  background: var(--primary); color: #090A0D; padding: 13px 0; overflow: hidden;
  border-top: 1px solid rgba(0, 0, 0, 0.2); border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}
.marquee-track {
  display: flex; width: max-content; gap: 28px;
  font-family: var(--display); font-weight: 800; font-size: 1.15rem; letter-spacing: 0.12em;
  text-transform: uppercase; animation: ticker 24s linear infinite;
}
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Training Zones Photo Cards */
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.zone-card {
  position: relative; border-radius: var(--radius-md); overflow: hidden;
  background: var(--surface); border: 1px solid var(--border); display: flex; flex-direction: column;
  transition: 0.28s ease;
}
.zone-card:hover { transform: translateY(-6px); border-color: var(--primary); }
.zone-media { position: relative; height: 220px; overflow: hidden; }
.zone-media img { width: 100%; height: 100%; object-fit: cover; transition: 0.45s ease; }
.zone-card:hover .zone-media img { transform: scale(1.06); }
.zone-tag {
  position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 4px;
  background: var(--primary); color: #090A0D; font-family: var(--display); font-weight: 800;
  font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase;
}
.zone-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.zone-level { font-size: 0.74rem; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px; }
.zone-body h3 { font-family: var(--display); font-size: 1.55rem; font-weight: 800; text-transform: uppercase; margin-bottom: 8px; line-height: 1.1; }
.zone-body p { font-size: 0.88rem; color: var(--muted); }

/* Trainer Portrait Cards */
.trainer-card {
  background: var(--surface); border-radius: var(--radius-md); overflow: hidden;
  border: 1px solid var(--border); transition: 0.26s ease;
}
.trainer-card:hover { transform: translateY(-6px); border-color: var(--primary); }
.trainer-media { position: relative; height: 340px; overflow: hidden; background: var(--elevated); }
.trainer-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.trainer-body { padding: 22px; }
.trainer-role { font-size: 0.76rem; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; }
.trainer-body h3 { font-family: var(--display); font-size: 1.65rem; font-weight: 800; text-transform: uppercase; margin-bottom: 6px; }
.trainer-spec { font-size: 0.86rem; color: #E2E8F0; margin-bottom: 6px; }
.trainer-cert { font-size: 0.78rem; color: var(--muted); margin-bottom: 16px; }

/* Weekly Class Schedule */
.day-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.day-btn {
  padding: 10px 18px; border-radius: 6px; background: var(--surface); border: 1px solid var(--border);
  font-family: var(--display); font-weight: 700; font-size: 0.96rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--muted); transition: 0.2s;
}
.day-btn.active, .day-btn:hover { background: var(--primary); color: #090A0D; border-color: var(--primary); }
.schedule-list { display: grid; gap: 12px; }
.class-row {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 18px 22px; display: grid; grid-template-columns: 110px 1.4fr 1fr 1fr auto; gap: 16px;
  align-items: center; transition: 0.2s;
}
.class-row:hover { border-color: var(--primary); background: var(--elevated); }
.c-time { font-family: var(--display); font-size: 1.55rem; font-weight: 800; color: var(--primary); }
.c-day { display: block; font-size: 0.74rem; color: var(--muted); text-transform: uppercase; font-family: var(--font); font-weight: 700; }
.c-name { font-family: var(--display); font-size: 1.35rem; font-weight: 800; text-transform: uppercase; }
.c-meta { font-size: 0.84rem; color: var(--muted); }

/* Membership Pricing + Billing Toggle */
.billing-toggle {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px; border-radius: 8px;
  background: var(--surface); border: 1px solid var(--border); margin-bottom: 34px;
}
.bill-btn {
  padding: 9px 20px; border-radius: 6px; font-family: var(--display); font-weight: 800;
  font-size: 0.95rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted);
}
.bill-btn.active { background: var(--primary); color: #090A0D; }
.plan-card {
  background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius-md);
  padding: 32px 26px; display: flex; flex-direction: column; position: relative;
}
.plan-card.popular { border-color: var(--primary); background: linear-gradient(180deg, rgba(200,255,0,0.07) 0%, var(--surface) 45%); }
.pop-pill {
  position: absolute; top: -13px; right: 20px; padding: 4px 12px; border-radius: 4px;
  background: var(--primary); color: #090A0D; font-family: var(--display); font-weight: 800;
  font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase;
}
.plan-price { font-family: var(--display); font-size: 3rem; font-weight: 800; color: #fff; line-height: 1; margin: 16px 0 4px; }
.plan-price small { font-size: 0.95rem; color: var(--muted); font-weight: 600; }
.check-list { display: grid; gap: 11px; margin: 18px 0 26px; }
.check-list li { list-style: none; display: flex; gap: 10px; font-size: 0.9rem; color: #D1D5DB; }
.check-list li::before { content: '▸'; color: var(--primary); font-weight: 900; }

/* Subpage Banner */
.page-banner {
  padding: 64px 0 46px; background: linear-gradient(135deg, #0E1017 0%, #151924 100%);
  border-bottom: 1px solid var(--border);
}
.page-banner h1 { font-family: var(--display); font-size: clamp(2.4rem, 4.8vw, 3.8rem); font-weight: 800; text-transform: uppercase; line-height: 1; margin-bottom: 10px; }
.page-banner p { color: var(--muted); max-width: 660px; }
.breadcrumb { font-size: 0.78rem; color: var(--primary); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 10px; }

/* CTA Banner & Forms */
.cta-box {
  background: linear-gradient(135deg, #171A24 0%, #101218 100%);
  border: 1px solid rgba(200, 255, 0, 0.28); border-radius: var(--radius-lg);
  padding: 48px 42px; display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap;
}
.detail-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 34px; align-items: start; }
.box-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 30px; }
.form-box label { display: block; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--primary); margin-bottom: 6px; }
.form-box input, .form-box select, .form-box textarea {
  width: 100%; padding: 12px 14px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.14);
  background: var(--bg); color: #fff; font-family: inherit; font-size: 0.92rem; margin-bottom: 14px;
}
.form-box input:focus, .form-box select:focus, .form-box textarea:focus { outline: none; border-color: var(--primary); }

/* Footer */
.site-footer { background: #060709; color: var(--muted); padding: 62px 0 28px; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 36px; padding-bottom: 32px; border-bottom: 1px solid var(--border); }
.footer-col h4 { font-family: var(--display); color: #fff; font-size: 1.15rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px; }
.footer-col a { display: block; font-size: 0.88rem; color: var(--muted); margin-bottom: 8px; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; font-size: 0.82rem; }
.social-links { display: flex; gap: 8px; margin-top: 16px; }
.social-links a { width: 36px; height: 36px; border-radius: 6px; background: var(--surface); border: 1px solid var(--border); display: grid; place-items: center; color: #fff; font-size: 0.78rem; font-weight: 800; }
.social-links a:hover { background: var(--primary); color: #090A0D; }

.wa-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px;
  background: #16A34A; color: #fff; font-weight: 700; font-size: 0.86rem; box-shadow: 0 10px 28px rgba(22,163,74,0.45);
}

@media (max-width: 1024px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .cards-3, .detail-grid, .footer-grid { grid-template-columns: 1fr; }
  .class-row { grid-template-columns: 1fr 1fr; }
  .nav-menu { display: none; }
}
@media (max-width: 640px) {
  .hero-stats, .cards-4, .cards-2, .class-row { grid-template-columns: 1fr; }
  .wa-fab span { display: none; }
}
