/* ==========================================================================
   FLOW DESIGN SYSTEM
   ========================================================================== */

:root {
  --bg-deep: #020813;
  --bg-navy: #041124;
  --accent: #0d9488;
  --accent-rgb: 13, 148, 136;
  --cyan: #a5f3fc;
  --cyan-rgb: 165, 243, 252;
  --white: #ffffff;
  --gray: #94a3b8;
  --font-title: 'Syne', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset & Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  background-color: var(--bg-deep);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
  background: rgba(165, 243, 252, 0.1);
  border-radius: 10px;
  transition: background 0.3s ease;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* Mouse Glow Effect */
.mouse-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle, 
    rgba(var(--cyan-rgb), 0.05) 0%, 
    rgba(var(--accent-rgb), 0.02) 40%, 
    rgba(2, 8, 19, 0) 70%
  );
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.6s ease;
}

body.mouse-moving .mouse-glow {
  opacity: 1;
}

/* Containers */
.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

/* SVG Dividers */
.wave-divider-wrap {
  position: relative;
  width: 100%;
  line-height: 0;
  z-index: 10;
  pointer-events: none;
  background: transparent;
  margin-top: -100px; /* Pull dividers up so sections overlap and blend smoothly */
}
.wave-svg {
  width: 100%;
  height: 100px;
  display: block;
}

/* Global Animations */
@keyframes floatSlow {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(0.5deg); }
}

/* Glassmorphism Styles */
.glass-panel {
  background: rgba(4, 17, 36, 0.35);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(var(--cyan-rgb), 0.08);
  border-radius: 24px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  transition: border-color 0.5s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
}

.glass-panel:hover {
  border-color: rgba(var(--cyan-rgb), 0.25);
  box-shadow: 0 30px 80px rgba(var(--accent-rgb), 0.15);
}

/* General Typography */
.title-huge {
  font-family: var(--font-title);
  font-size: clamp(4rem, 10vw, 8.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  text-transform: capitalize;
}

.title-large {
  font-family: var(--font-title);
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--white);
}

.section-tag {
  display: inline-block;
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--accent);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.text-cyan {
  color: var(--cyan) !important;
}

/* Sections Layout */
.section {
  position: relative;
  width: 100vw;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 8rem 0;
  z-index: 2;
}

.section-header {
  margin-bottom: 5rem;
}
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-center { text-align: center; }

/* ==========================================================================
   1. OPENING SECTION
   ========================================================================== */

.section-intro {
  height: 100vh;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--bg-deep);
}

.background-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%; /* Extra height for parallax */
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.side-rays-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
  opacity: 0; /* Fade in via JS once loaded */
  transition: opacity 1.5s ease;
}

.parallax-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
}

.overlay-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(2, 8, 19, 0.2) 0%,
    rgba(2, 8, 19, 0.5) 60%,
    var(--bg-deep) 100%
  );
}

.intro-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.intro-content .title-huge {
  color: var(--white);
  background: linear-gradient(135deg, var(--white) 30%, rgba(var(--cyan-rgb), 0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  transform: translateY(40px);
  animation: introFadeUp 1.6s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.4s;
}

@keyframes introFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.scroll-dive-indicator {
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transform: translateY(20px);
  animation: introFadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards 1.2s;
}

.scroll-text {
  font-family: var(--font-title);
  font-size: 0.9rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1rem;
}

.scroll-line-wrapper {
  position: relative;
  width: 2px;
  height: 80px;
  background: rgba(var(--cyan-rgb), 0.15);
  overflow: hidden;
  border-radius: 2px;
}

.scroll-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent, var(--accent), var(--cyan));
  animation: lineScroll 2.2s cubic-bezier(0.76, 0, 0.24, 1) infinite;
}

@keyframes lineScroll {
  0% { transform: translateY(-100%); }
  50%, 100% { transform: translateY(100%); }
}

/* ==========================================================================
   2. TRAINING PROGRAMS (VERTICAL ACCORDION)
   ========================================================================== */

.section-programs {
  background-color: var(--bg-navy);
}

.programs-accordion {
  max-width: 900px;
  margin: 3rem auto 0 auto;
}

.accordion-item {
  border-bottom: 1px solid rgba(var(--cyan-rgb), 0.08);
  overflow: hidden;
  transition: border-color 0.4s ease;
}

.accordion-header {
  display: flex;
  align-items: center;
  padding: 2.2rem 0;
  cursor: pointer;
  user-select: none;
}

.accordion-num {
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
  width: 60px;
  display: block;
}

.accordion-title {
  font-family: var(--font-title);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 600;
  color: var(--white);
  flex-grow: 1;
  transition: color 0.4s ease, transform 0.4s ease;
}

.accordion-toggle-btn {
  font-size: 2rem;
  font-weight: 300;
  color: var(--gray);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), color 0.4s ease;
  width: 30px;
  text-align: right;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
}

.accordion-inner {
  padding: 0 0 2.5rem 60px;
}

.accordion-desc {
  color: var(--gray);
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  line-height: 1.8;
  max-width: 750px;
}

.accordion-meta {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-family: var(--font-title);
  font-weight: 600;
}

.meta-label {
  color: var(--accent);
}

.meta-value {
  color: var(--cyan);
}

/* Active State Accordion */
.accordion-item.active {
  border-color: rgba(var(--cyan-rgb), 0.25);
}

.accordion-item.active .accordion-title {
  color: var(--cyan);
  transform: translateX(10px);
}

.accordion-item.active .accordion-toggle-btn {
  transform: rotate(45deg);
  color: var(--cyan);
}

.accordion-item.active .accordion-content {
  opacity: 1;
}

/* ==========================================================================
   3. IMMERSIVE POOL
   ========================================================================== */

.section-pool {
  height: 100vh;
  padding: 0;
  background-color: var(--bg-deep);
  position: relative;
  overflow: hidden;
}

.parallax-bg-pool {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5; /* Luxury dark dimming */
  will-change: transform, filter;
}

.overlay-pool-dark {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    var(--bg-deep) 0%,
    rgba(2, 8, 19, 0.4) 30%,
    rgba(2, 8, 19, 0.4) 70%,
    var(--bg-deep) 100%
  );
  z-index: 2;
}

.pool-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  text-align: center;
}

.pool-headline {
  font-family: var(--font-title);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-top: 1rem;
  margin-bottom: 2rem;
  line-height: 1.0;
  color: var(--white);
}

.scrub-word {
  display: inline-block;
  background: linear-gradient(135deg, var(--white) 35%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pool-text {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 300;
  color: var(--gray);
  line-height: 1.8;
  max-width: 750px;
  margin: 0 auto;
  will-change: transform, opacity;
}

.pool-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(165, 243, 252, 0.12);
  border-radius: 40px;
  z-index: 2;
  pointer-events: none;
  box-shadow: 0 0 50px rgba(165, 243, 252, 0.04), inset 0 0 50px rgba(165, 243, 252, 0.02);
  opacity: 0;
  box-sizing: border-box;
  will-change: width, height, border-radius, opacity;
}

/* ==========================================================================
   4. COACHES
   ========================================================================== */

.section-coaches {
  background-color: var(--bg-navy);
}

.coaches-grid {
  display: flex;
  gap: 2rem;
  height: 600px;
  width: 100%;
  margin-top: 2rem;
}

.coach-card {
  position: relative;
  flex: 1;
  border-radius: 32px;
  overflow: hidden;
  background-image: var(--bg-image);
  background-size: cover;
  background-position: center;
  transition: flex 1s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s ease;
  cursor: pointer;
}

.coach-card.expanded {
  flex: 3;
}

.coach-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(2, 8, 19, 0) 30%,
    rgba(2, 8, 19, 0.4) 60%,
    rgba(2, 8, 19, 0.95) 100%
  );
  z-index: 1;
  transition: opacity 0.6s ease;
}

.coach-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 3rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 250px;
}

.coach-role {
  font-family: var(--font-title);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.5rem;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: 0.2s;
}

.coach-name {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  transform: translateY(15px);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.coach-bio {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.6;
  max-width: 500px;
  opacity: 0;
  height: 0;
  overflow: hidden;
  transition: opacity 0.5s ease, height 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateY(20px);
}

/* Expanded state details */
.coach-card.expanded .coach-role,
.coach-card.expanded .coach-bio {
  opacity: 1;
  transform: translateY(0);
}

.coach-card.expanded .coach-bio {
  height: 80px;
  margin-top: 0.5rem;
}

.coach-card.expanded .coach-name {
  transform: translateY(0);
}

/* Hover effects */
.coach-card:hover {
  transform: scale(1.01);
}

/* ==========================================================================
   5. STATISTICS (TYPOGRAPHIC MANIFESTO)
   ========================================================================== */

.section-stats {
  background-color: var(--bg-deep);
  padding: 12rem 0;
}

.manifesto-wrap {
  max-width: 1000px;
  margin: 0 auto;
}

.manifesto-text {
  font-family: var(--font-body);
  font-size: clamp(1.8rem, 3.8vw, 3rem);
  font-weight: 300;
  line-height: 1.5;
  color: var(--gray);
  letter-spacing: -0.01em;
}

.manifesto-highlight {
  font-family: var(--font-title);
  font-weight: 800;
  color: var(--white);
  background: linear-gradient(135deg, var(--white) 30%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}

.stat-count {
  display: inline-block;
}

/* ==========================================================================
   6. THE RHYTHM OF BREATH (NEW SECTION)
   ========================================================================== */

.section-breath {
  background-color: var(--bg-navy);
  padding: 8rem 0;
}

.breath-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.breath-info {
  max-width: 500px;
}

.breath-text {
  color: var(--gray);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 3rem;
}

.breath-cycle-indicator {
  font-family: var(--font-title);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  transition: opacity 0.5s ease;
}

.breath-interactive {
  display: flex;
  justify-content: center;
  align-items: center;
}

.breath-orb-wrap {
  position: relative;
  width: 320px;
  height: 320px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.breath-orb-glow {
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle, 
    rgba(var(--cyan-rgb), 0.15) 0%, 
    rgba(var(--accent-rgb), 0.05) 50%, 
    rgba(2, 8, 19, 0) 75%
  );
  border-radius: 50%;
  filter: blur(20px);
  pointer-events: none;
  transform: scale(1);
  transition: transform 4s cubic-bezier(0.4, 0, 0.2, 1);
}

.breath-orb {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(var(--cyan-rgb), 0.8) 0%, rgba(var(--accent-rgb), 0.6) 45%, rgba(2, 8, 19, 0.95) 100%);
  box-shadow: 
    0 0 40px rgba(var(--cyan-rgb), 0.3),
    inset 0 0 25px rgba(255, 255, 255, 0.3),
    0 0 80px rgba(var(--accent-rgb), 0.2);
  transform: scale(1);
  transition: transform 4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 4s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.breath-orb-text {
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
  text-shadow: 0 0 8px rgba(165, 243, 252, 0.8);
  transition: color 1.0s ease, text-shadow 1.0s ease;
  user-select: none;
  pointer-events: none;
}

/* Breathing states */
.breath-orb-wrap.inhale .breath-orb {
  transform: scale(1.6);
  box-shadow: 
    0 0 60px rgba(var(--cyan-rgb), 0.5),
    inset 0 0 35px rgba(255, 255, 255, 0.5),
    0 0 100px rgba(var(--accent-rgb), 0.3);
}

.breath-orb-wrap.inhale .breath-orb-glow {
  transform: scale(1.4);
}

.breath-orb-wrap.exhale .breath-orb {
  transform: scale(1);
}

.breath-orb-wrap.exhale .breath-orb-glow {
  transform: scale(1);
}

/* ==========================================================================
   7. TIMELINE (ASYMMETRIC EDITORIAL LAYOUT)
   ========================================================================== */

.section-timeline {
  background-color: var(--bg-deep);
  padding: 10rem 0;
}

.editorial-timeline {
  display: flex;
  flex-direction: column;
  gap: 8rem;
  margin-top: 6rem;
  position: relative;
  width: 100%;
}

.timeline-row {
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
  min-height: 380px;
}

.timeline-row.row-reverse {
  flex-direction: row-reverse;
}

.timeline-bg-num {
  position: absolute;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(8rem, 20vw, 16rem);
  line-height: 1.0;
  color: transparent;
  -webkit-text-stroke: 0px transparent;
  user-select: none;
  pointer-events: none;
  z-index: 1;
  text-shadow: 0 0 15px rgba(var(--cyan-rgb), 0.1);
  transition: 
    transform 0.1s ease-out, 
    text-shadow 1.2s cubic-bezier(0.16, 1, 0.3, 1), 
    color 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-row.active .timeline-bg-num {
  -webkit-text-stroke: 0px transparent;
  text-shadow: 
    0 0 30px rgba(var(--cyan-rgb), 0.65),
    0 0 60px rgba(var(--accent-rgb), 0.3);
  color: rgba(var(--cyan-rgb), 0.04);
}

.timeline-row .timeline-bg-num {
  right: 5%;
}

.timeline-row.row-reverse .timeline-bg-num {
  left: 5%;
}

.timeline-card {
  position: relative;
  z-index: 2;
  max-width: 520px;
  padding: 4rem;
  margin-left: 8%;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.45);
}

.timeline-row.row-reverse .timeline-card {
  margin-left: 0;
  margin-right: 8%;
}

.timeline-stage-tag {
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--accent);
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.8rem;
}

.timeline-stage-title {
  font-family: var(--font-title);
  font-size: 2rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1.2rem;
}

.timeline-stage-desc {
  color: var(--gray);
  font-size: 0.98rem;
  line-height: 1.7;
}

/* ==========================================================================
   8. THE LIQUID SANDBOX (NEW SECTION)
   ========================================================================== */

.section-sandbox {
  height: 100vh;
  padding: 0;
  background-color: var(--bg-navy);
  position: relative;
  overflow: hidden;
}

#sandboxCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  cursor: pointer;
}

.sandbox-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  background: linear-gradient(
    to bottom,
    rgba(4, 17, 36, 0.6) 0%,
    rgba(4, 17, 36, 0.2) 50%,
    rgba(4, 17, 36, 0.7) 100%
  );
  pointer-events: none;
}

.sandbox-sub {
  color: var(--gray);
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 600px;
  margin: 1.5rem auto 0 auto;
}

/* ==========================================================================
   9. BOOK SESSION
   ========================================================================== */

.section-booking {
  background-color: var(--bg-deep);
  min-height: 100vh;
}

.booking-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: center;
}

.booking-info {
  max-width: 500px;
}

.booking-info .title-large {
  margin-bottom: 2rem;
}

.booking-sub {
  font-size: 1.2rem;
  color: var(--gray);
  line-height: 1.8;
}

.booking-card-wrap {
  padding: 4rem;
  position: relative;
  overflow: hidden;
}

.booking-form {
  position: relative;
  min-height: 380px;
}

.form-step {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.form-step.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.form-step-title {
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 2.5rem;
}

/* Step 1 Pathway Grid */
.pathway-select-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin-bottom: 2.5rem;
}

.path-option {
  position: relative;
  cursor: pointer;
}

.path-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.path-box {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(var(--cyan-rgb), 0.05);
  transition: all 0.4s ease;
}

.path-option:hover .path-box {
  background: rgba(var(--cyan-rgb), 0.03);
  border-color: rgba(var(--cyan-rgb), 0.15);
}

.path-option input[type="radio"]:checked + .path-box {
  background: rgba(var(--cyan-rgb), 0.08);
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(var(--cyan-rgb), 0.1);
}

.path-name {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.path-desc {
  font-size: 0.8rem;
  color: var(--gray);
}

/* Step 2 Coach Grid */
.coach-select-grid {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 2.5rem;
}

.coach-opt {
  position: relative;
  cursor: pointer;
}

.coach-opt input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.coach-opt-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(var(--cyan-rgb), 0.05);
  transition: all 0.4s ease;
}

.coach-opt:hover .coach-opt-box {
  background: rgba(var(--cyan-rgb), 0.03);
  border-color: rgba(var(--cyan-rgb), 0.15);
}

.coach-opt input[type="radio"]:checked + .coach-opt-box {
  background: rgba(var(--cyan-rgb), 0.08);
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(var(--cyan-rgb), 0.1);
}

.coach-opt-name {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
}

.coach-opt-role {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}

/* Step 3 Text Fields */
.form-group-row {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.form-group input {
  width: 100%;
  padding: 1.2rem 1.8rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(var(--cyan-rgb), 0.05);
  font-family: var(--font-body);
  color: var(--white);
  font-size: 1rem;
  font-weight: 300;
  outline: none;
  transition: all 0.4s ease;
}

.form-group input:focus {
  border-color: var(--cyan);
  background: rgba(var(--cyan-rgb), 0.05);
  box-shadow: 0 0 20px rgba(var(--cyan-rgb), 0.05);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem 2.8rem;
  border-radius: 50px;
  font-family: var(--font-title);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: var(--transition-smooth);
}

.btn-next, .btn-submit {
  background: linear-gradient(135deg, var(--accent) 0%, var(--cyan) 100%);
  color: var(--bg-deep);
  box-shadow: 0 10px 30px rgba(var(--accent-rgb), 0.3);
}

.btn-next:hover, .btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(var(--cyan-rgb), 0.4);
}

.btn-back {
  background: transparent;
  color: var(--gray);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-right: 1rem;
}

.btn-back:hover {
  color: var(--white);
  border-color: var(--cyan);
  background: rgba(255, 255, 255, 0.02);
}

.form-navigation {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

/* Success Step */
.success-step {
  text-align: center;
  padding: 2rem 0;
}

.success-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 2rem auto;
  color: var(--cyan);
}

.success-message {
  color: var(--gray);
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 420px;
  margin: 0 auto;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */

@media (max-width: 1024px) {
  .coaches-grid {
    height: 500px;
  }
  .coach-info {
    padding: 2rem;
  }
  
  .booking-wrapper {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .breath-layout {
    grid-template-columns: 1fr;
    gap: 4rem;
    text-align: center;
  }
  .breath-info {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 4rem 0 !important; /* Reduced spacing to avoid infinite empty mobile scrolling */
  }
  
  /* Wave Dividers Scaled Down */
  .wave-divider-wrap {
    margin-top: -60px; /* Reduced shift to match shorter mobile sections */
  }
  
  .wave-svg {
    height: 60px; /* Smaller waves */
  }
  
  /* Fixed Interface Elements */
  .fixed-interface {
    padding: 1.2rem 1.5rem;
  }
  
  .fixed-interface.scrolled {
    padding: 1rem 1.5rem;
  }

  .depth-nav {
    display: none !important; /* Hide dot menu on phone for thumb space and layout cleaning */
  }

  .interface-coordinates {
    display: none !important; /* Hide coordinates on mobile to prevent overlap with logo */
  }

  .live-depth-gauge {
    right: 1.5rem;
    bottom: 2.2rem; /* Lifted slightly to stay clear of mobile browser bottom navigation bar */
  }
  
  .gauge-label {
    font-size: 0.65rem;
  }
  
  .gauge-value {
    font-size: 1.4rem !important; /* Elegant, not giant on phones */
  }

  /* Typography Mobile scaling */
  .title-huge {
    font-size: clamp(2.2rem, 9.5vw, 3.2rem) !important;
    letter-spacing: -0.02em !important;
  }

  .title-large {
    font-size: clamp(1.8rem, 7.5vw, 2.4rem) !important;
  }
  
  /* Accordion Drawers */
  .accordion-inner {
    padding: 0 0 1.5rem 20px; /* Smaller left indent so text isn't squeezed */
  }
  .accordion-num {
    width: 30px;
    font-size: 1rem;
    margin-right: 0.8rem;
  }
  .accordion-title {
    font-size: 1.4rem;
  }
  
  /* Coaches Horizontal Swipe Carousel with Snap Scroll */
  .coaches-grid {
    flex-direction: row;
    height: auto;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    width: calc(100% + 4rem);
    margin-left: -2rem;
    padding: 1rem 2rem 2rem 2rem;
    scroll-behavior: smooth;
  }

  .coaches-grid::-webkit-scrollbar {
    display: none;
  }

  .coaches-grid {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
  }
  
  .coach-card {
    flex: 0 0 80vw;
    max-width: 320px;
    height: 420px;
    scroll-snap-align: center;
    border-radius: 24px;
    transform: none !important;
    transition: transform 0.4s ease;
  }

  .coach-card.expanded {
    height: 420px !important;
  }

  .coach-info {
    padding: 2rem 1.8rem;
    min-height: auto;
    width: 100%;
  }

  .coach-name {
    font-size: 1.6rem;
    transform: translateY(0) !important;
    margin-bottom: 0.4rem;
  }

  .coach-role {
    opacity: 1 !important;
    transform: translateY(0) !important;
    font-size: 0.75rem;
    margin-bottom: 0.4rem;
    color: var(--cyan);
  }

  .coach-bio {
    opacity: 0.85 !important;
    height: auto !important;
    transform: translateY(0) !important;
    margin-top: 0.4rem;
    font-size: 0.85rem;
    line-height: 1.5;
  }
  
  /* Typographic Manifesto (Stats) */
  .manifesto-text {
    font-size: clamp(1.2rem, 5.5vw, 1.8rem) !important;
    line-height: 1.6;
  }

  /* Breathing Orb */
  .breath-orb-wrap {
    width: 260px;
    height: 260px;
    margin: 0 auto;
  }

  .breath-orb {
    width: 120px;
    height: 120px;
  }

  .breath-orb-wrap.inhale .breath-orb {
    transform: scale(1.5);
  }
  
  /* Editorial Asymmetric Timeline */
  .timeline-row {
    flex-direction: column !important;
    align-items: flex-start;
  }
  
  .timeline-card {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 2rem 1.5rem;
    width: 100%;
  }
  
  .timeline-bg-num {
    position: relative;
    left: 0 !important;
    right: auto !important;
    font-size: 6rem;
    margin-top: 2.5rem;
    margin-bottom: -0.5rem;
    line-height: 1;
    z-index: 1;
  }
  
  /* Booking Flow */
  .pathway-select-grid {
    grid-template-columns: 1fr;
  }
  
  .booking-card-wrap {
    padding: 2.5rem 1.5rem;
  }

  .form-navigation {
    justify-content: space-between;
    width: 100%;
    gap: 0.8rem;
  }

  .form-navigation .btn {
    padding: 0.9rem 1.4rem !important;
    font-size: 0.82rem !important;
    flex: 1;
    text-align: center;
    min-width: 0;
  }

  .form-navigation .btn-back {
    margin-right: 0 !important;
  }
}

/* ==========================================================================
   FIXED NAVIGATION AND GAUGES OVERLAYS
   ========================================================================== */

.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(to right, var(--accent), var(--cyan));
  width: 0%;
  z-index: 102;
  box-shadow: 0 0 10px rgba(165, 243, 252, 0.4);
  transition: width 0.1s ease-out;
}

.fixed-interface {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 2.5rem 3.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  pointer-events: none;
  transition: padding 0.5s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.5s ease, border-color 0.5s ease;
  border-bottom: 1px solid transparent;
}

.fixed-interface.scrolled {
  padding: 1.2rem 3.5rem;
  background-color: rgba(2, 8, 19, 0.75);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-color: rgba(165, 243, 252, 0.08);
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  pointer-events: auto;
  cursor: pointer;
  z-index: 101;
  transition: transform 0.4s ease;
}

.brand-logo-icon {
  width: 28px;
  height: 28px;
  color: var(--cyan);
  filter: drop-shadow(0 0 8px rgba(165, 243, 252, 0.3));
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), color 0.4s ease;
}

.brand-logo-text {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.6em;
  text-transform: uppercase;
  color: var(--white);
  margin-right: -0.6em;
  transition: letter-spacing 0.8s cubic-bezier(0.16, 1, 0.3, 1), color 0.4s ease;
}

.brand-logo-wrap:hover .brand-logo-icon {
  transform: rotate(-8deg) scale(1.06);
  color: var(--white);
}

.brand-logo-wrap:hover .brand-logo-text {
  letter-spacing: 0.75em;
  color: var(--cyan);
}

.interface-coordinates {
  font-family: var(--font-title);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--gray);
}

.depth-nav {
  position: fixed;
  left: 3.5rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  z-index: 100;
}

.depth-nav-item {
  display: flex;
  align-items: center;
  position: relative;
  height: 20px;
  width: 20px;
  cursor: pointer;
  text-decoration: none;
}

.depth-dot {
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  margin-left: 7px;
}

.depth-nav-item:hover .depth-dot {
  background: var(--white);
  transform: scale(1.4);
}

.depth-nav-item.active .depth-dot {
  width: 10px;
  height: 10px;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  margin-left: 5px;
}

.depth-nav-details {
  position: absolute;
  left: 2.2rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  font-family: var(--font-title);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.depth-nav-item:hover .depth-nav-details {
  opacity: 1;
  transform: translateX(0);
}

.depth-nav-item.active .depth-nav-details {
  opacity: 0.6;
  transform: translateX(0);
}

.depth-nav-num {
  color: var(--accent);
}

.depth-nav-name {
  color: var(--white);
}

.live-depth-gauge {
  position: fixed;
  right: 3.5rem;
  bottom: 3.5rem;
  z-index: 100;
  text-align: right;
  font-family: var(--font-title);
  pointer-events: none;
  user-select: none;
}

.gauge-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.2rem;
}

.gauge-value {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  background: linear-gradient(135deg, var(--white) 50%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.0;
}




