:root {
  --flex-backdrop: #F8F9FA;
  --flex-surface: #FFFFFF;
  --flex-highlight: #4834D4; /* Deep Indigo */
  --flex-highlight-alt: #686DE0;
  --flex-ink: #1E272E;
  --flex-ink-mute: #485460;
  --flex-dark: #0f141a;
  --flex-grad: linear-gradient(135deg, var(--flex-highlight) 0%, var(--flex-highlight-alt) 100%);
  --font-display: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --space-scale: 16dvh; 
  --space-scale-half: 8dvh;
  --radius-soft: 16px;
  --shadow-raised: 0 10px 25px rgba(0,0,0,0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background-color: var(--flex-backdrop);
  color: var(--flex-ink);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Bounds & Wraps */
.content-bound {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header - Preset C */
.course-top-bar {
  background: var(--flex-highlight);
  color: var(--flex-surface);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-raised);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.branding-mark {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
}

.branding-icon svg {
  width: 32px;
  height: 32px;
  fill: var(--flex-surface);
}

.course-navigation {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.course-navigation a {
  font-weight: 500;
  transition: opacity 0.3s ease;
}

.course-navigation a:hover {
  opacity: 0.7;
}

/* Mobile Nav Hacker */
.toggle-hidden {
  display: none;
}

.hamburger-trigger {
  display: none;
  cursor: pointer;
}

.hamburger-trigger svg {
  width: 28px;
  height: 28px;
  fill: var(--flex-surface);
}

@media (max-width: 768px) {
  .hamburger-trigger {
    display: block;
  }
  .course-navigation {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--flex-highlight);
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .course-navigation a {
    padding: 1rem 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    width: 100%;
    text-align: center;
  }
  .toggle-hidden:checked ~ .course-navigation {
    max-height: 400px;
  }
}

/* Common Buttons */
.action-trigger-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  background: var(--flex-surface);
  color: var(--flex-highlight);
  font-weight: 700;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  font-family: var(--font-body);
}

.action-trigger-pill:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-raised);
}

.action-trigger-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  background: var(--flex-highlight);
  color: var(--flex-surface);
  font-weight: 700;
  border-radius: 999px;
  cursor: pointer;
  transition: opacity 0.3s ease;
  border: none;
  font-family: var(--font-body);
}

.action-trigger-solid:hover {
  opacity: 0.9;
}

/* Preset C: Index Hero */
.mobility-intro-stage {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.giant-bg-number {
  position: absolute;
  font-size: 25rem;
  opacity: 0.06;
  color: var(--flex-surface);
  font-family: var(--font-display);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  user-select: none;
}

.intro-stage-split {
  display: flex;
  align-items: center;
  min-height: 80vh;
  gap: 2rem;
}

.intro-text-pane {
  flex: 1;
  color: var(--flex-surface);
  z-index: 2;
}

.intro-text-pane h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
}

.intro-text-pane p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.intro-visual-pane {
  flex: 1;
  position: relative;
  min-height: 400px;
  z-index: 1;
}

.abstract-shape-circle {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  top: 10%;
  right: 10%;
  animation: floatShape 6s ease-in-out infinite;
}

.abstract-shape-rect {
  position: absolute;
  width: 250px;
  height: 250px;
  background: rgba(255,255,255,0.15);
  bottom: 10%;
  left: 10%;
  transform: rotate(45deg);
  border-radius: var(--radius-soft);
  animation: floatShape 8s ease-in-out infinite alternate;
}

@keyframes floatShape {
  0% { transform: translateY(0) rotate(45deg); }
  50% { transform: translateY(-20px) rotate(50deg); }
  100% { transform: translateY(0) rotate(45deg); }
}

@keyframes floatShapeCircle {
  0% { transform: translateY(0); }
  50% { transform: translateY(20px); }
  100% { transform: translateY(0); }
}

@media (max-width: 900px) {
  .intro-stage-split { flex-direction: column; text-align: center; margin-top: 4rem; }
  .intro-visual-pane { display: none; }
}

/* Preset C: Knowledge Reveal Area (Clip-path content) */
.knowledge-reveal-area {
  position: relative;
  padding: var(--space-scale) 0;
  clip-path: polygon(0 8%, 100% 0, 100% 92%, 0 100%);
  margin: calc(var(--space-scale-half) * -1) 0;
  z-index: 5;
  background-attachment: fixed;
}

.knowledge-textbox {
  background: rgba(255,255,255,0.92);
  padding: 4rem 3rem;
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--radius-soft);
  text-align: center;
  box-shadow: var(--shadow-raised);
}

.knowledge-textbox h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--flex-highlight);
}

/* Preset C: Habit Pillars (Features) */
.habit-pillars-wrap {
  padding: var(--space-scale) 0;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.habit-pillar-item {
  background: var(--flex-surface);
  padding: 2.5rem;
  border-radius: var(--radius-soft);
  transition: transform 0.3s ease;
}

.habit-pillar-item:hover {
  transform: translateY(-8px);
}

.pillar-huge-num {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--flex-highlight);
  font-family: var(--font-display);
  line-height: 1;
  margin-bottom: 1rem;
}

.habit-pillar-item h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

@media (max-width: 900px) {
  .pillars-grid { grid-template-columns: 1fr; }
}

/* Preset C: Process Timeline */
.process-timeline-zone {
  padding: var(--space-scale-half) 0 var(--space-scale);
}

.process-timeline-zone h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 4rem;
}

.timeline-track-flex {
  display: flex;
  justify-content: space-between;
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.process-connector-line {
  position: absolute;
  top: 40px;
  left: 5%;
  right: 5%;
  height: 4px;
  background: var(--flex-highlight);
  z-index: 1;
}

.process-step-node {
  position: relative;
  z-index: 2;
  text-align: center;
  flex: 1;
  padding: 0 1rem;
}

.step-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 900;
  margin: 0 auto 1.5rem auto;
  font-family: var(--font-display);
}

.process-step-node:nth-child(odd) .step-circle {
  background: var(--flex-highlight);
  color: var(--flex-surface);
}

.process-step-node:nth-child(even) .step-circle {
  background: var(--flex-surface);
  color: var(--flex-highlight);
  border: 4px solid var(--flex-highlight);
}

.process-step-node h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .timeline-track-flex { flex-direction: column; gap: 3rem; }
  .process-connector-line {
    top: 0; left: 50%; width: 4px; height: 100%; transform: translateX(-50%);
  }
}

/* Preset C: Action Trigger Band */
.action-trigger-band {
  background: var(--flex-dark);
  color: var(--flex-surface);
  padding: 5rem 0;
}

.action-band-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.action-band-flex h2 {
  font-size: 2.5rem;
  max-width: 600px;
}

@media (max-width: 768px) {
  .action-band-flex { flex-direction: column; text-align: center; }
}

/* Page: Expert */
.mentor-welcome-area {
  padding: 6rem 0 3rem;
  text-align: center;
}

.mentor-welcome-area h1 {
  font-size: 3rem;
  color: var(--flex-highlight);
}

.mentor-action-prompt {
  text-align: center;
  padding-bottom: var(--space-scale-half);
}

.mentor-bio-split {
  display: flex;
  gap: 4rem;
  align-items: center;
  padding: var(--space-scale-half) 0;
}

.bio-text-side { flex: 0.55; }
.bio-image-side { flex: 0.45; border-radius: var(--radius-soft); overflow: hidden; }

.mentor-metrics-row {
  display: flex;
  justify-content: space-between;
  background: var(--flex-surface);
  padding: 3rem;
  border-radius: var(--radius-soft);
  box-shadow: var(--shadow-raised);
  margin: var(--space-scale-half) 0;
  gap: 1rem;
  flex-wrap: wrap;
}

.metric-stat-block { text-align: center; flex: 1; min-width: 150px; }
.metric-stat-block .stat-num { font-size: 3rem; font-weight: 900; color: var(--flex-highlight); font-family: var(--font-display); }
.metric-stat-block .stat-lbl { font-size: 1.1rem; color: var(--flex-ink-mute); }

@media (max-width: 900px) {
  .mentor-bio-split { flex-direction: column-reverse; }
}

/* Page: Reserve */
.booking-layout-split {
  display: flex;
  gap: 4rem;
  padding: var(--space-scale) 0;
}

.booking-form-pane {
  flex: 0.6;
  background: var(--flex-surface);
  padding: 3rem;
  border-radius: var(--radius-soft);
  box-shadow: var(--shadow-raised);
}

.booking-info-pane {
  flex: 0.4;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-spot-card {
  background: var(--flex-surface);
  padding: 2rem;
  border-radius: var(--radius-soft);
  border-left: 4px solid var(--flex-highlight);
}

.info-spot-card h4 { margin-bottom: 1rem; font-size: 1.25rem; display: flex; align-items: center; gap: 0.5rem; }
.info-spot-card ul { padding-left: 1.5rem; margin-top: 1rem; }
.info-spot-card li { margin-bottom: 0.5rem; }

.booking-form-pane h1 { margin-bottom: 2rem; color: var(--flex-highlight); }

form.reserve-form { display: flex; flex-direction: column; gap: 1.5rem; }
.form-input-wrap { display: flex; flex-direction: column; gap: 0.5rem; }
.form-input-wrap label { font-weight: 600; }
.form-input-wrap input, .form-input-wrap textarea {
  padding: 1rem; border: 1px solid #ccc; border-radius: 8px; font-family: var(--font-body);
}
.form-check-wrap { display: flex; align-items: flex-start; gap: 0.5rem; }
.form-check-wrap input { margin-top: 0.3rem; }
.mail-contact-link { color: var(--flex-highlight); font-weight: bold; text-decoration: underline; margin-top: 1rem; display: inline-block; }

@media (max-width: 900px) {
  .booking-layout-split { flex-direction: column; }
}

/* FAQ Details/Summary */
.booking-faq-area {
  padding: var(--space-scale-half) 0 var(--space-scale);
  max-width: 800px;
  margin: 0 auto;
}

.booking-faq-area h2 { text-align: center; margin-bottom: 3rem; font-size: 2.5rem; }

.faq-item-box {
  background: var(--flex-surface);
  margin-bottom: 1rem;
  border-radius: var(--radius-soft);
  border-left: 4px solid transparent;
  transition: all 0.3s ease;
}

.faq-item-box summary {
  padding: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.2rem;
  list-style: none; /* hide default marker in some browsers */
  position: relative;
}

.faq-item-box summary::-webkit-details-marker { display: none; }

.faq-item-box summary::after {
  content: '+';
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--flex-highlight);
}

.faq-item-box[open] {
  border-left-color: var(--flex-highlight);
  box-shadow: var(--shadow-raised);
}

.faq-item-box[open] summary::after { content: '-'; }

.faq-answer { padding: 0 1.5rem 1.5rem; color: var(--flex-ink-mute); }

/* Pages: Legal */
.legal-document-bound {
  padding: var(--space-scale) 0;
  max-width: 800px;
  margin: 0 auto;
  background: var(--flex-surface);
  padding: 4rem;
  border-radius: var(--radius-soft);
  box-shadow: var(--shadow-raised);
  margin-top: 4rem;
  margin-bottom: 4rem;
}
.legal-document-bound h1 { margin-bottom: 2rem; color: var(--flex-highlight); }
.legal-document-bound h2 { margin: 2rem 0 1rem; }
.legal-document-bound p { margin-bottom: 1rem; }

/* Thank You Page */
.gratitude-display {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  position: relative;
}
.gratitude-display::before {
  content: ''; position: absolute; inset: 0; background: rgba(255,255,255,0.85); backdrop-filter: blur(5px);
}
.gratitude-pane {
  position: relative;
  z-index: 2;
  background: var(--flex-surface);
  padding: 4rem;
  border-radius: var(--radius-soft);
  box-shadow: var(--shadow-raised);
  max-width: 600px;
}
.gratitude-pane h1 { color: var(--flex-highlight); margin-bottom: 1rem; font-size: 2.5rem; }

/* Footer */
.course-bottom-bar {
  background: var(--flex-dark);
  color: var(--flex-surface);
  padding: 4rem 0 2rem;
  text-align: center;
}
.bottom-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}
.bottom-links a { color: #a4b0be; transition: color 0.3s ease; }
.bottom-links a:hover { color: var(--flex-surface); }
.legal-disclaimer-txt {
  font-size: 0.85rem;
  color: #747d8c;
  margin-bottom: 1rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.copyright-txt { font-size: 0.85rem; color: #57606f; }

/* Cookie Banner */
.cookie-notice-pane {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--flex-surface);
  padding: 1.5rem;
  box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
  display: none;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  z-index: 9999;
}
.cookie-text { font-size: 0.95rem; }
.cookie-actions { display: flex; gap: 1rem; }
.cookie-btn {
  padding: 0.5rem 1.5rem;
  border: none; border-radius: 999px; cursor: pointer; font-weight: bold;
}
#accept-cookie { background: var(--flex-highlight); color: var(--flex-surface); }
#decline-cookie { background: #dfe4ea; color: var(--flex-ink); }