/* ============================================================
   06-FITNESS — Dynamic Energy
   Dark (#050505) + Lime (#c8ff00) accent
   Premium Personal Gym Design
   ============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

:root {
  /* Colors */
  --bg: #050505;
  --bg-elevated: #0a0a0a;
  --bg-card: #111111;
  --bg-card-hover: #161616;
  --accent: #c8ff00;
  --accent-hover: #d4ff33;
  --accent-dim: #a3cc00;
  --accent-glow: rgba(200,255,0,0.25);
  --accent-glow-strong: rgba(200,255,0,0.4);
  --text: #f5f5f5;
  --text-sub: #a0a0a0;
  --text-muted: #666666;
  --border: rgba(255,255,255,0.08);
  --border-hover: rgba(255,255,255,0.15);
  --border-accent: rgba(200,255,0,0.3);

  /* Spacing */
  --section-pad: clamp(80px, 10vw, 120px);
  --section-gap: clamp(40px, 6vw, 64px);
  --card-pad: clamp(20px, 3vw, 32px);

  /* Radii */
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;

  /* Font */
  --font: 'Inter', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Transitions */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration: 0.35s;
  --duration-slow: 0.6s;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

/* Focus visible for accessibility */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Selection color */
::selection {
  background: rgba(200,255,0,0.3);
  color: var(--text);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 768px) {
  .container { padding: 0 40px; }
}
@media (min-width: 1024px) {
  .container { padding: 0 48px; }
}

/* --- Sample Bar --- */
.sample-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
  background: var(--accent);
  color: #000;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 6px;
  text-transform: uppercase;
}

/* --- Header --- */
.header {
  position: fixed;
  top: 28px;
  left: 0; right: 0;
  z-index: 100;
  padding: 0 20px;
  transition: all var(--duration) var(--ease);
}
.header.scrolled {
  background: rgba(5,5,5,0.88);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  border-bottom: 1px solid var(--border);
}
.header.header-hidden {
  transform: translateY(calc(-100% - 28px));
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
  transition: opacity var(--duration);
}
.logo:hover { opacity: 0.85; }
.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  background: var(--accent);
  color: #000;
  font-weight: 900;
  font-size: 16px;
  border-radius: 10px;
  transition: transform var(--duration) var(--ease-bounce);
}
.logo:hover .logo-mark { transform: rotate(-8deg) scale(1.05); }
.logo-accent { color: var(--accent); }

/* Nav */
.nav {
  display: none;
  align-items: center;
  gap: 32px;
}
@media (min-width: 768px) {
  .nav { display: flex; }
}
.nav-link {
  position: relative;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-sub);
  letter-spacing: 0.02em;
  transition: color var(--duration);
  padding: 4px 0;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width var(--duration) var(--ease);
  border-radius: 1px;
}
.nav-link:hover { color: var(--text); }
.nav-link:hover::after { width: 100%; }
.nav-cta {
  font-size: 13px;
  font-weight: 700;
  background: var(--accent);
  color: #000;
  padding: 10px 24px;
  border-radius: 100px;
  transition: all 0.25s var(--ease);
}
.nav-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px var(--accent-glow);
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  background: none; border: none; cursor: pointer;
  padding: 4px;
  border-radius: 8px;
  transition: background var(--duration);
}
.hamburger:hover { background: rgba(255,255,255,0.06); }
@media (min-width: 768px) { .hamburger { display: none; } }
.hamburger span {
  display: block;
  width: 100%; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
  transform-origin: center;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
@media (max-width: 767px) {
  .nav {
    position: fixed;
    inset: 0;
    background: rgba(5,5,5,0.97);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    flex-direction: column;
    justify-content: center;
    gap: 0;
    z-index: 99;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease);
  }
  .nav.open {
    display: flex;
    opacity: 1;
    pointer-events: auto;
  }
  .nav-link {
    font-size: 24px;
    font-weight: 700;
    padding: 16px 0;
    color: var(--text);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), color 0.2s;
  }
  .nav-link::after { display: none; }
  .nav.open .nav-link {
    opacity: 1;
    transform: translateY(0);
  }
  .nav.open .nav-link:nth-child(1) { transition-delay: 0.1s; }
  .nav.open .nav-link:nth-child(2) { transition-delay: 0.15s; }
  .nav.open .nav-link:nth-child(3) { transition-delay: 0.2s; }
  .nav.open .nav-link:nth-child(4) { transition-delay: 0.25s; }
  .nav.open .nav-link:nth-child(5) { transition-delay: 0.3s; }
  .nav-cta {
    font-size: 16px;
    margin-top: 24px;
    padding: 16px 48px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), background 0.25s;
  }
  .nav.open .nav-cta {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.35s;
  }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 14px;
  padding: 14px 32px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.02em;
}
.btn-accent {
  background: var(--accent);
  color: #000;
}
.btn-accent:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}
.btn-glow {
  box-shadow: 0 0 30px var(--accent-glow);
}
.btn-glow:hover {
  box-shadow: 0 0 50px var(--accent-glow-strong), 0 4px 20px var(--accent-glow);
}
/* Button ripple/shine effect */
.btn-accent::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.6s var(--ease);
}
.btn-accent:hover::before {
  left: 120%;
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.2);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
  background: rgba(200,255,0,0.04);
}
.btn-block { width: 100%; }
.btn-lg { padding: 18px 40px; font-size: 16px; }

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 120px 20px 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-bg-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.3) contrast(1.1) saturate(0.8);
  transform: scale(1.1);
  transition: transform 0.1s linear;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(5,5,5,0.85) 0%, rgba(5,5,5,0.4) 40%, rgba(5,5,5,0.3) 60%, rgba(5,5,5,0.7) 100%),
    linear-gradient(180deg, rgba(5,5,5,0.2) 0%, rgba(5,5,5,0.5) 60%, rgba(5,5,5,0.98) 100%);
}
.hero-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  background-size: 128px 128px;
  opacity: 0.4;
  pointer-events: none;
}
.hero-content {
  position: relative;
  max-width: 700px;
  padding-left: clamp(0px, 3vw, 40px);
}

/* Hero entrance animations */
.hero-badge,
.hero-title-line,
.hero-sub,
.hero-actions,
.hero-stats {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.hero-loaded .hero-badge { opacity: 1; transform: translateY(0); transition-delay: 0.2s; }
.hero-loaded .hero-title-line--1 { opacity: 1; transform: translateY(0); transition-delay: 0.35s; }
.hero-loaded .hero-title-line--2 { opacity: 1; transform: translateY(0); transition-delay: 0.5s; }
.hero-loaded .hero-sub { opacity: 1; transform: translateY(0); transition-delay: 0.65s; }
.hero-loaded .hero-actions { opacity: 1; transform: translateY(0); transition-delay: 0.8s; }
.hero-loaded .hero-stats { opacity: 1; transform: translateY(0); transition-delay: 0.95s; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 8px 18px;
  border: 1px solid var(--border-accent);
  border-radius: 100px;
  margin-bottom: 28px;
  background: rgba(200,255,0,0.04);
}
.hero-badge-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 0.4; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}
.hero-title {
  font-size: clamp(2.4rem, 7.5vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.04em;
}
.hero-title-line {
  display: block;
}
.hero-accent {
  color: var(--accent);
  text-shadow: 0 0 80px rgba(200,255,0,0.3);
  position: relative;
}
/* Animated underline for accent */
.hero-accent::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s var(--ease);
}
.hero-loaded .hero-accent::after {
  transform: scaleX(1);
  transition-delay: 0.8s;
}
.hero-sub {
  margin-top: 24px;
  font-size: clamp(14px, 1.6vw, 16px);
  color: var(--text-sub);
  line-height: 1.9;
  max-width: 480px;
}
.hero-actions {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero-stats {
  margin-top: 56px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.hero-stat {
  min-width: 0;
}
.hero-stat-num {
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.hero-stat-unit {
  font-size: 18px;
  color: var(--accent);
  font-weight: 700;
}
.hero-stat-label {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  font-weight: 500;
}
.hero-stat-divider {
  width: 1px;
  height: 44px;
  background: linear-gradient(180deg, transparent, var(--border), transparent);
}
@media (max-width: 767px) {
  .hero { padding: 120px 20px 100px; }
  .hero-stat-divider { display: none; }
  .hero-stats { gap: 24px; }
  .hero-stat-num { font-size: 28px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 40px;
  right: 40px;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
@media (min-width: 768px) { .hero-scroll { display: flex; } }
.hero-scroll span {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  writing-mode: vertical-lr;
}
.hero-scroll-line {
  width: 1px; height: 60px;
  background: linear-gradient(180deg, var(--accent), transparent);
  animation: scrollPulse 2.5s var(--ease) infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.2; height: 40px; }
  50% { opacity: 1; height: 60px; }
}

/* --- Section common --- */
.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  position: relative;
  padding-left: 20px;
}
.section-tag::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 12px; height: 2px;
  background: var(--accent);
  border-radius: 1px;
}
.section-title {
  font-size: clamp(1.7rem, 4.5vw, 2.8rem);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.03em;
}
.section-desc {
  margin-top: 16px;
  font-size: 15px;
  color: var(--text-sub);
  max-width: 560px;
  line-height: 1.8;
}
.section-header {
  margin-bottom: var(--section-gap);
}
.section-header .section-desc {
  margin-top: 14px;
}

/* --- Scroll reveal --- */
.about,
.program-card,
.trainer-card,
.pricing-card,
.result-card,
.cta-inner,
.programs .section-header,
.trainers .section-header,
.pricing .section-header,
.results .section-header {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.revealed {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* --- About --- */
.about {
  padding: var(--section-pad) 0;
}
.about-grid {
  display: grid;
  gap: 40px;
}
@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr 1.15fr;
    gap: 64px;
    align-items: center;
  }
}
@media (min-width: 1024px) {
  .about-grid { gap: 80px; }
}
.about-visual {
  position: relative;
}
.about-img-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}
.about-img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease);
}
.about-img-wrap:hover .about-img {
  transform: scale(1.03);
}
.about-img-accent {
  position: absolute;
  bottom: -10px; right: -10px;
  width: 60%; height: 60%;
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  opacity: 0.2;
  pointer-events: none;
}
.about-badge {
  position: absolute;
  bottom: -24px; right: 24px;
  background: var(--accent);
  color: #000;
  padding: 18px 28px;
  border-radius: var(--radius-sm);
  text-align: center;
  box-shadow: 0 12px 40px rgba(200,255,0,0.25);
  transition: transform var(--duration) var(--ease);
}
.about-badge:hover {
  transform: translateY(-4px);
}
.about-badge-num {
  display: block;
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
}
.about-badge-text {
  display: block;
  font-size: 11px;
  font-weight: 700;
  margin-top: 4px;
  letter-spacing: 0.05em;
}
.about-desc {
  margin-top: 20px;
  font-size: 15px;
  color: var(--text-sub);
  line-height: 2;
}
.about-features {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.about-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px;
  border-radius: var(--radius-sm);
  transition: background var(--duration);
}
.about-feature:hover {
  background: rgba(255,255,255,0.03);
}
.about-feature-icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(200,255,0,0.08);
  color: var(--accent);
  border-radius: 14px;
  border: 1px solid rgba(200,255,0,0.15);
  transition: all var(--duration) var(--ease);
}
.about-feature:hover .about-feature-icon {
  background: rgba(200,255,0,0.15);
  border-color: rgba(200,255,0,0.3);
  transform: scale(1.05);
}
.about-feature-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}
.about-feature p {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.7;
}

/* --- Programs --- */
.programs {
  padding: var(--section-pad) 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-elevated) 50%, var(--bg) 100%);
}
.programs-grid {
  display: grid;
  gap: 20px;
}
@media (min-width: 768px) {
  .programs-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 24px;
  }
}
.program-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all var(--duration) var(--ease);
}
.program-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-6px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.4), 0 0 0 1px var(--border-accent);
}
.program-img-wrap {
  position: relative;
  overflow: hidden;
}
.program-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease);
}
.program-card:hover .program-img {
  transform: scale(1.08);
}
.program-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(5,5,5,0.8) 100%);
}
.program-info {
  padding: var(--card-pad);
}
.program-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  background: var(--accent);
  color: #000;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.program-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.program-desc {
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.7;
}
.program-meta {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}
.program-price {
  font-weight: 800;
  color: var(--accent);
  font-size: 15px;
  letter-spacing: -0.02em;
}

/* Featured program card */
@media (min-width: 768px) {
  .program-card--featured {
    grid-row: span 2;
  }
  .program-card--featured .program-img {
    aspect-ratio: auto;
    height: 100%;
    min-height: 300px;
  }
  .program-card--featured .program-img-wrap {
    height: 60%;
  }
}

/* --- Results / Before After --- */
.results {
  padding: var(--section-pad) 0;
}
.results-grid {
  display: grid;
  gap: 32px;
}
@media (min-width: 768px) {
  .results-grid { gap: 40px; }
}
.result-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--duration) var(--ease);
}
.result-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.result-visual {
  display: flex;
  align-items: center;
  gap: 0;
  position: relative;
}
.result-before,
.result-after {
  flex: 1;
  position: relative;
  overflow: hidden;
}
.result-before img,
.result-after img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease);
}
.result-card:hover .result-before img,
.result-card:hover .result-after img {
  transform: scale(1.03);
}
.result-before img {
  filter: grayscale(40%) brightness(0.85);
}
.result-label {
  position: absolute;
  top: 16px; left: 16px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-sub);
  background: rgba(5,5,5,0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 5px 14px;
  border-radius: 100px;
  border: 1px solid var(--border);
  z-index: 2;
}
.result-label--after {
  color: var(--accent);
  border-color: var(--border-accent);
  background: rgba(5,5,5,0.8);
}
.result-arrow {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #000;
  border-radius: 50%;
  z-index: 5;
  box-shadow: 0 4px 24px var(--accent-glow);
}
.result-info {
  padding: var(--card-pad);
}
@media (min-width: 768px) {
  .result-info { padding: 32px 40px; }
}
.result-stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.result-stat {
  flex: 1;
  min-width: 80px;
  text-align: center;
  padding: 16px 12px;
  background: rgba(200,255,0,0.04);
  border: 1px solid rgba(200,255,0,0.1);
  border-radius: var(--radius-sm);
}
.result-stat-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.result-stat-value {
  font-size: 28px;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
}
.result-stat-value small {
  font-size: 14px;
  font-weight: 600;
}
.result-voice {
  border-left: 3px solid var(--accent);
  padding-left: 20px;
}
.result-voice p {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.9;
  font-style: italic;
}
.result-voice cite {
  display: block;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  font-style: normal;
  letter-spacing: 0.02em;
}

/* --- Trainers --- */
.trainers {
  padding: var(--section-pad) 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-elevated) 50%, var(--bg) 100%);
}
.trainers-grid {
  display: grid;
  gap: 20px;
}
@media (min-width: 768px) {
  .trainers-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}
.trainer-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--duration) var(--ease);
}
.trainer-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-6px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
}
.trainer-img-wrap {
  position: relative;
  overflow: hidden;
}
.trainer-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  filter: grayscale(40%) brightness(0.9);
  transition: all var(--duration-slow) var(--ease);
}
.trainer-card:hover .trainer-img {
  filter: grayscale(0%) brightness(1);
  transform: scale(1.06);
}
.trainer-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(5,5,5,0.4) 100%);
  pointer-events: none;
}
.trainer-info {
  padding: var(--card-pad);
}
.trainer-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.trainer-role {
  display: inline-block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.03em;
}
.trainer-certs {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.trainer-certs span {
  font-size: 10px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text-sub);
  letter-spacing: 0.02em;
  transition: all var(--duration);
}
.trainer-card:hover .trainer-certs span {
  border-color: var(--border-hover);
}
.trainer-msg {
  margin-top: 18px;
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.8;
  font-style: italic;
  border-left: 2px solid rgba(200,255,0,0.3);
  padding-left: 14px;
}

/* --- Pricing --- */
.pricing {
  padding: var(--section-pad) 0;
}
.pricing-grid {
  display: grid;
  gap: 20px;
}
@media (min-width: 768px) {
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
}
.pricing-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px var(--card-pad);
  transition: all var(--duration) var(--ease);
}
.pricing-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
}
.pricing-card--popular {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(200,255,0,0.06) 0%, var(--bg-card) 35%);
  transform: scale(1.02);
}
.pricing-card--popular:hover {
  border-color: var(--accent);
  box-shadow: 0 0 50px rgba(200,255,0,0.12), 0 24px 64px rgba(0,0,0,0.4);
  transform: scale(1.02) translateY(-6px);
}
.pricing-popular-badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #000;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 24px;
  border-radius: 100px;
  letter-spacing: 0.08em;
  box-shadow: 0 4px 16px var(--accent-glow);
}
.pricing-head {
  text-align: center;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
}
.pricing-tier {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-sub);
  letter-spacing: 0.05em;
}
.pricing-price {
  margin-top: 10px;
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.1;
}
.pricing-price span {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0;
}
.pricing-note {
  margin-top: 6px;
  font-size: 11px;
  color: var(--text-muted);
}
.pricing-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}
.pricing-list li {
  font-size: 13px;
  color: var(--text-sub);
  padding-left: 28px;
  position: relative;
  line-height: 1.5;
}
.pricing-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 5px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: rgba(200,255,0,0.1);
  border: 1.5px solid rgba(200,255,0,0.4);
}
.pricing-list li::after {
  content: '';
  position: absolute;
  left: 5px; top: 10px;
  width: 6px; height: 3px;
  border-left: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: rotate(-45deg);
}

/* --- CTA Section --- */
.cta-section {
  padding: var(--section-pad) 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-elevated) 50%, var(--bg) 100%);
}
.cta-inner {
  position: relative;
  display: grid;
  gap: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 24px;
  overflow: hidden;
}
@media (min-width: 768px) {
  .cta-inner {
    grid-template-columns: 1fr 1fr;
    padding: 60px 56px;
    gap: 56px;
  }
}
.cta-bg-glow {
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(200,255,0,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.cta-title {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.03em;
}
.cta-desc {
  margin-top: 18px;
  font-size: 14px;
  color: var(--text-sub);
  line-height: 2;
}
.cta-checks {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.cta-checks span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}
.cta-checks span::before {
  content: '';
  display: block;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(200,255,0,0.1);
  border: 1.5px solid rgba(200,255,0,0.4);
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4l2.5 3L9 1' stroke='%23c8ff00' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}

/* Form */
.cta-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-sub);
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}
.form-group input,
.form-group select {
  width: 100%;
  padding: 15px 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  transition: all 0.25s var(--ease);
  -webkit-appearance: none;
}
.form-group input::placeholder { color: var(--text-muted); }
.form-group input:hover,
.form-group select:hover {
  border-color: var(--border-hover);
  background: rgba(255,255,255,0.06);
}
.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(200,255,0,0.08);
  background: rgba(255,255,255,0.06);
}
.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 44px;
}
.form-note {
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 4px;
}

/* --- Footer --- */
.footer {
  padding: 64px 0 0;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: grid;
  gap: 40px;
  padding-bottom: 44px;
}
@media (min-width: 768px) {
  .footer-inner { grid-template-columns: 1.5fr 1fr; }
}
.footer-note {
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.8;
}
.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer-col a,
.footer-col p {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.9;
  transition: color var(--duration);
}
.footer-col a:hover { color: var(--accent); }
.footer-col address {
  font-style: normal;
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
}
.footer-bottom p {
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  letter-spacing: 0.02em;
}

/* --- Mobile sticky CTA --- */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  padding: 12px 16px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
  background: rgba(5,5,5,0.92);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  border-top: 1px solid var(--border);
}
@media (max-width: 767px) {
  .mobile-cta { display: block; }
}
.mobile-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 16px;
  background: var(--accent);
  color: #000;
  font-weight: 800;
  font-size: 15px;
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 0 30px var(--accent-glow);
  transition: all 0.25s var(--ease);
  letter-spacing: 0.02em;
}
.mobile-cta-btn:active {
  transform: scale(0.97);
  box-shadow: 0 0 20px var(--accent-glow);
}

/* Add bottom padding for mobile sticky CTA */
@media (max-width: 767px) {
  .footer { padding-bottom: 84px; }
}

/* --- Tablet-specific adjustments --- */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero-title { font-size: clamp(2.2rem, 6vw, 3.5rem); }
  .programs-grid { grid-template-columns: 1fr 1fr; }
  .program-card--featured { grid-row: auto; }
  .program-card--featured .program-img { aspect-ratio: 16/10; }
  .program-card--featured .program-img-wrap { height: auto; }
  .about-grid { gap: 48px; }
}

/* --- Print styles --- */
@media print {
  .sample-bar, .header, .mobile-cta, .back-to-samples, .hero-scroll { display: none !important; }
  .hero { min-height: auto; padding: 40px 0; }
  body { background: #fff; color: #111; }
}

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-badge,
  .hero-title-line,
  .hero-sub,
  .hero-actions,
  .hero-stats,
  .about,
  .program-card,
  .trainer-card,
  .pricing-card,
  .result-card,
  .cta-inner,
  .programs .section-header,
  .trainers .section-header,
  .pricing .section-header,
  .results .section-header {
    opacity: 1 !important;
    transform: none !important;
  }
}
