/*
  ============================================================================
   CUBESOB DEMO TEMPLATE
   Theme Name: GYM @ 365 DAYS
   Theme Type: High-Performance Athletic Gym, CrossFit & Fitness Club
   Developed by: Mohammad Rehaan Nizami
   Designed by: Arsala Jeelani
   Agency: Cubesob Studio (contact@cubesob.site)
   All rights reserved.
  ============================================================================
*/

/* ==========================================================================
   Design Tokens & CSS Custom Properties
   ========================================================================== */
:root {
  /* Typography */
  --font-display:
    "Barlow Condensed", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  --font-body:
    "Barlow", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Fluid Typography Scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.8125rem);
  --text-sm: clamp(0.8125rem, 0.775rem + 0.2vw, 0.875rem);
  --text-base: clamp(0.9375rem, 0.9rem + 0.2vw, 1.0625rem);
  --text-lg: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  --text-xl: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
  --text-2xl: clamp(1.5rem, 1.35rem + 0.85vw, 2rem);
  --text-3xl: clamp(2rem, 1.7rem + 1.5vw, 2.75rem);
  --text-4xl: clamp(2.5rem, 2rem + 2.5vw, 3.75rem);
  --text-hero: clamp(2.75rem, 2.2rem + 3.8vw, 5.25rem);

  /* Spacing Scale */
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4.5rem;
  --space-4xl: 6rem;
  --space-section: clamp(4rem, 6vw + 2rem, 7.5rem);

  /* Radius Tokens */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;

  /* Layout Standards */
  --nav-h: 74px;
  --max-w: 1280px;
  --container-px: clamp(1.25rem, 3.5vw, 2.5rem);

  /* Animation */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 180ms;
  --duration-normal: 280ms;
  --duration-slow: 450ms;

  /* Primary Brand Accents */
  --brand-orange: #ff5e1e;
  --brand-orange-hover: #ea5113;
  --brand-orange-glow: rgba(255, 94, 30, 0.32);
  --brand-cyan: #00d2ff;
  --brand-cyan-glow: rgba(0, 210, 255, 0.28);
  --brand-emerald: #10b981;
  --brand-red: #ef4444;

  /* Native Light Palette (Clean High-Energy Day Mode) */
  --bg: #f4f6fa;
  --bg-surface: #ffffff;
  --bg-surface-trans: rgba(255, 255, 255, 0.88);
  --bg-card: #ffffff;
  --bg-card-hover: #f9fbfd;
  --bg-elevated: #ffffff;
  --bg-subtle: #eaeff6;

  --fg: #0a0e17;
  --fg-muted: #4b5568;
  --fg-subtle: #718096;
  --fg-inverse: #ffffff;

  --border: rgba(15, 23, 42, 0.08);
  --border-strong: rgba(15, 23, 42, 0.16);
  --border-highlight: rgba(255, 94, 30, 0.3);

  --shadow-sm: 0 2px 6px -1px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 25px -4px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 40px -8px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 0 24px var(--brand-orange-glow);

  --glass-bg: rgba(255, 255, 255, 0.82);
  --glass-border: rgba(15, 23, 42, 0.09);
}

/* ==========================================================================
   Dark Palette (Default Athletic Obsidian Club Mode)
   ========================================================================== */
html.dark {
  --bg: #090c13;
  --bg-surface: #0f1523;
  --bg-surface-trans: rgba(15, 21, 35, 0.88);
  --bg-card: #12192a;
  --bg-card-hover: #162035;
  --bg-elevated: #19243b;
  --bg-subtle: #141c2e;

  --fg: #f8fafc;
  --fg-muted: #94a3b8;
  --fg-subtle: #64748b;
  --fg-inverse: #090c13;

  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --border-highlight: rgba(255, 94, 30, 0.45);

  --shadow-sm: 0 2px 6px -1px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 10px 25px -4px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 45px -8px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 30px var(--brand-orange-glow);

  --glass-bg: rgba(18, 25, 42, 0.75);
  --glass-border: rgba(255, 255, 255, 0.1);
}

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

html {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--fg);
  background-color: var(--bg);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
}

body {
  min-height: 100vh;
  background-color: var(--bg);
  color: var(--fg);
  overflow-x: hidden;
  width: 100%;
  position: relative;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration-fast) ease;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -60px;
  left: 20px;
  padding: 10px 18px;
  background: var(--brand-orange);
  color: #ffffff;
  font-weight: 700;
  border-radius: var(--radius-sm);
  z-index: 10000;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 20px;
}

/* Ambient Background Mesh */
.bg-mesh {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    radial-gradient(
      circle at 15% 15%,
      rgba(255, 94, 30, 0.12) 0%,
      transparent 45%
    ),
    radial-gradient(
      circle at 85% 85%,
      rgba(0, 210, 255, 0.08) 0%,
      transparent 45%
    ),
    radial-gradient(
      circle at 50% 50%,
      rgba(16, 185, 129, 0.05) 0%,
      transparent 50%
    );
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

html.dark .bg-mesh {
  opacity: 1;
  background-image:
    radial-gradient(
      circle at 15% 15%,
      rgba(255, 94, 30, 0.16) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 85% 80%,
      rgba(0, 210, 255, 0.12) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 50% 40%,
      rgba(255, 255, 255, 0.02) 0%,
      transparent 60%
    );
}

.site-wrap {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
  width: 100%;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--container-px);
}

/* ==========================================================================
   Header & Navigation (Single-Line Anti-Clip Navbar Engineering)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: var(--nav-h);
  height: auto;
  padding-block: 0.65rem;
  background: var(--bg-surface-trans);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--border-strong);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  min-height: calc(var(--nav-h) - 1.3rem);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 0 1 auto;
}

.brand__emblem {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--brand-orange) 0%, #d94206 100%);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 14px var(--brand-orange-glow);
  flex-shrink: 0;
  transition: transform var(--duration-fast) var(--ease-out);
}

.brand:hover .brand__emblem {
  transform: scale(1.05) rotate(-3deg);
}

.brand__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand__name {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--fg);
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand__name span {
  color: var(--brand-orange);
}

.brand__loc {
  font-size: var(--text-xs);
  color: var(--fg-subtle);
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 1.8vw, 2rem);
}

.nav__links a {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--fg-muted);
  padding: 6px 4px;
  position: relative;
}

.nav__links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-orange);
  transition: width 0.25s var(--ease-out);
}

.nav__links a:hover {
  color: var(--fg);
}

.nav__links a:hover::after {
  width: 100%;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav__crm {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.02em;
  background: rgba(0, 210, 255, 0.08);
  border: 1px solid rgba(0, 210, 255, 0.25);
  color: var(--brand-cyan);
  transition: all var(--duration-fast) var(--ease-out);
}

.nav__crm:hover {
  background: rgba(0, 210, 255, 0.16);
  border-color: var(--brand-cyan);
  transform: translateY(-1px);
}

.nav__burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  color: var(--fg);
  border: 1px solid var(--border);
  background: var(--bg-surface);
  transition: background-color var(--duration-fast) ease;
}

/* ==========================================================================
   Buttons & Pills
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-align: center;
  white-space: nowrap;
  transition: all var(--duration-fast) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: linear-gradient(135deg, var(--brand-orange) 0%, #e64a0a 100%);
  color: #ffffff;
  box-shadow: 0 6px 20px var(--brand-orange-glow);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn--primary:hover {
  background: linear-gradient(135deg, #ff6c32 0%, var(--brand-orange) 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255, 94, 30, 0.45);
}

.btn--secondary {
  background: var(--bg-card);
  color: var(--fg);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.btn--secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--brand-orange);
  color: var(--brand-orange);
  transform: translateY(-2px);
}

.btn--cyan {
  background: linear-gradient(135deg, var(--brand-cyan) 0%, #00a4cc 100%);
  color: #030a14;
  box-shadow: 0 6px 20px var(--brand-cyan-glow);
  font-weight: 800;
}

.btn--cyan:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 210, 255, 0.4);
}

.btn--sm {
  padding: 9px 18px;
  font-size: var(--text-xs);
}

.btn--lg {
  padding: 15px 32px;
  font-size: var(--text-base);
}

.btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ==========================================================================
   Hero Section & Real-Time Three.js WebGL Stage
   ========================================================================== */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  padding-block: clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}

.hero__stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

#hero-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: var(--space-2xl);
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

/* Trust Badge */
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-sm);
  width: fit-content;
  font-size: var(--text-xs);
  font-weight: 600;
}

.trust-badge__stars {
  display: inline-flex;
  gap: 2px;
  color: #fbbf24;
}

.trust-badge__dot {
  width: 4px;
  height: 4px;
  border-radius: var(--radius-full);
  background: var(--fg-subtle);
}

.trust-badge__verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--brand-emerald);
  font-weight: 700;
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--fg);
}

.hero__title .highlight {
  color: var(--brand-orange);
  text-shadow: 0 0 40px var(--brand-orange-glow);
}

.hero__title .highlight-cyan {
  color: var(--brand-cyan);
  text-shadow: 0 0 35px var(--brand-cyan-glow);
}

.hero__desc {
  font-size: var(--text-base);
  color: var(--fg-muted);
  max-width: 580px;
  line-height: 1.6;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-xs);
}

.hero__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--fg-muted);
  background: var(--bg-subtle);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
}

.hero__meta-item svg {
  color: var(--brand-orange);
  flex-shrink: 0;
}

.hero__cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-sm);
}

/* Hero Interactive Card / Quick Pass */
.hero__card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  position: relative;
  overflow: hidden;
}

.hero__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--brand-orange) 0%,
    var(--brand-cyan) 100%
  );
}

.hero__card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero__card-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.hero__card-badge {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--brand-emerald);
  background: rgba(16, 185, 129, 0.1);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.quick-pass-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--fg-muted);
}

.form-input,
.form-select {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  color: var(--fg);
  font-size: var(--text-sm);
  outline: none;
  transition:
    border-color var(--duration-fast) ease,
    box-shadow var(--duration-fast) ease;
}

.form-input:focus,
.form-select:focus {
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 3px var(--brand-orange-glow);
}

.form-hint {
  font-size: var(--text-xs);
  color: var(--fg-subtle);
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ==========================================================================
   Section Headers & Bento Grids
   ========================================================================== */
.section {
  padding-block: var(--space-section);
  position: relative;
}

.section--alt {
  background-color: var(--bg-subtle);
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-orange);
  background: rgba(255, 94, 30, 0.08);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 94, 30, 0.2);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.section-desc {
  font-size: var(--text-base);
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Facility & Zones (3D Perspective Bento Grid)
   ========================================================================== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-lg);
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition:
    transform 0.4s var(--ease-out),
    border-color 0.4s var(--ease-out),
    box-shadow 0.4s var(--ease-out);
}

.bento-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-lg);
}

.bento-card--8 {
  grid-column: span 8;
}
.bento-card--4 {
  grid-column: span 4;
}
.bento-card--6 {
  grid-column: span 6;
}
.bento-card--12 {
  grid-column: span 12;
}

.bento-card__media {
  position: relative;
  width: 100%;
  height: 260px;
  overflow: hidden;
  background: #000;
}

.bento-card--8 .bento-card__media {
  height: 320px;
}

.bento-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.bento-card:hover .bento-card__img {
  transform: scale(1.06);
}

.bento-card__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(9, 12, 19, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.bento-card__tag--live {
  background: rgba(16, 185, 129, 0.9);
  color: #ffffff;
  border-color: transparent;
}

.bento-card__body {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.bento-card__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.bento-card__desc {
  font-size: var(--text-sm);
  color: var(--fg-muted);
  line-height: 1.55;
}

.bento-card__features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: var(--space-xs);
}

.pill-feat {
  font-size: var(--text-xs);
  padding: 3px 9px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  color: var(--fg-muted);
  font-weight: 600;
  border: 1px solid var(--border);
}

/* ==========================================================================
   The "Why 365 Days" Uninterrupted Engine
   ========================================================================== */
.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.philosophy-media {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-strong);
}

.philosophy-media img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.philosophy-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.philosophy-badge__num {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--brand-orange);
  line-height: 1;
}

.philosophy-badge__text {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--fg-muted);
}

.philosophy-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.phil-card {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--duration-fast) var(--ease-out);
}

.phil-card:hover {
  transform: translateX(6px);
  border-color: var(--border-highlight);
}

.phil-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(255, 94, 30, 0.1);
  color: var(--brand-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.phil-content h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.phil-content p {
  font-size: var(--text-sm);
  color: var(--fg-muted);
  line-height: 1.5;
}

/* ==========================================================================
   Pricing & Membership Tiers (INR Localized)
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.3s var(--ease-out),
    border-color 0.3s var(--ease-out),
    box-shadow 0.3s var(--ease-out);
}

.pricing-card:hover {
  transform: translateY(-8px);
  border-color: var(--brand-orange);
  box-shadow: var(--shadow-lg);
}

.pricing-card--popular {
  border-color: var(--brand-orange);
  background: linear-gradient(
    180deg,
    rgba(255, 94, 30, 0.04) 0%,
    var(--bg-card) 100%
  );
  box-shadow: var(--shadow-md);
}

.popular-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-orange);
  color: #ffffff;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px var(--brand-orange-glow);
}

.pricing-head {
  margin-bottom: var(--space-md);
}

.pricing-tier {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.pricing-duration {
  font-size: var(--text-xs);
  color: var(--fg-subtle);
  font-weight: 600;
}

.pricing-rate {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-block: var(--space-sm);
}

.pricing-symbol {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--brand-orange);
}

.pricing-amount {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1;
  color: var(--fg);
}

.pricing-period {
  font-size: var(--text-xs);
  color: var(--fg-subtle);
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-block: var(--space-md) var(--space-xl);
  flex: 1;
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: var(--text-xs);
  color: var(--fg-muted);
}

.pricing-feature svg {
  color: var(--brand-emerald);
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-cta {
  margin-top: auto;
  width: 100%;
}

/* ==========================================================================
   Verified Google Reviews & Social Proof
   ========================================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--duration-fast) var(--ease-out);
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
}

.review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.reviewer-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.reviewer-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--text-sm);
  border: 1px solid var(--border-strong);
}

.reviewer-name {
  font-weight: 700;
  font-size: var(--text-sm);
}

.reviewer-verified {
  font-size: var(--text-xs);
  color: var(--brand-emerald);
  display: flex;
  align-items: center;
  gap: 3px;
}

.review-stars {
  display: flex;
  gap: 2px;
  color: #fbbf24;
}

.review-text {
  font-size: var(--text-sm);
  color: var(--fg-muted);
  line-height: 1.6;
  font-style: italic;
}

.review-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: var(--space-xs);
  border-top: 1px solid var(--border);
  font-size: var(--text-xs);
  color: var(--fg-subtle);
}

/* ==========================================================================
   Operating Hours & Location Matrix
   ========================================================================== */
.schedule-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.schedule-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--space-md);
}

.schedule-table tr {
  border-bottom: 1px solid var(--border);
}

.schedule-table tr:last-child {
  border-bottom: none;
}

.schedule-table td {
  padding: 12px 6px;
  font-size: var(--text-sm);
}

.schedule-table td:first-child {
  font-weight: 700;
  color: var(--fg);
}

.schedule-table td:last-child {
  text-align: right;
  color: var(--fg-muted);
}

.schedule-table .status-open {
  color: var(--brand-emerald);
  font-weight: 700;
}

.location-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.loc-item {
  display: flex;
  gap: 12px;
}

.loc-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(255, 94, 30, 0.1);
  color: var(--brand-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.loc-info h4 {
  font-weight: 700;
  font-size: var(--text-sm);
  margin-bottom: 3px;
}

.loc-info p {
  font-size: var(--text-sm);
  color: var(--fg-muted);
  line-height: 1.5;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding-block: var(--space-3xl) var(--space-2xl);
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-desc {
  font-size: var(--text-sm);
  color: var(--fg-muted);
  max-width: 320px;
  line-height: 1.6;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-md);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  font-size: var(--text-sm);
  color: var(--fg-muted);
}

.footer-links a:hover {
  color: var(--brand-orange);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border);
  font-size: var(--text-xs);
  color: var(--fg-subtle);
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-credits {
  font-weight: 600;
  color: var(--fg-muted);
}

/* ==========================================================================
   Mobile Drawer Navigation
   ========================================================================== */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 2000;
  visibility: hidden;
  opacity: 0;
  transition:
    visibility 0.3s ease,
    opacity 0.3s ease;
}

.mobile-drawer.open {
  visibility: visible;
  opacity: 1;
}

.mobile-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.mobile-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(85vw, 360px);
  background: var(--bg-surface);
  border-left: 1px solid var(--border);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s var(--ease-out);
}

.mobile-drawer.open .mobile-drawer__panel {
  transform: translateX(0);
}

.mobile-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.mobile-drawer__close {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg);
}

.mobile-drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: auto;
}

.mobile-drawer__nav a {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--fg);
}

.mobile-drawer__foot {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

/* ==========================================================================
   Cubesob Floating Control Bar & Circular Ripple Styles
   ========================================================================== */
.cubesob-floating-bar {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px 6px 12px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow:
    0 10px 30px -5px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(0, 0, 0, 0.03);
  transition: all 0.3s var(--ease-out);
}

html.dark .cubesob-floating-bar {
  background: rgba(18, 18, 18, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 10px 30px -5px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.05);
}

.cubesob-demo-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  user-select: none;
}

.cubesob-demo-dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: cubesobPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes cubesobPulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.85);
  }
}

.cubesob-demo-text {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #111111;
}

html.dark .cubesob-demo-text {
  color: #f5f2eb;
}

.cubesob-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 9999px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.9);
  color: #111111;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

html.dark .cubesob-theme-toggle {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #f5f2eb;
}

.cubesob-theme-toggle:hover {
  transform: scale(1.08);
}

.theme-icon--sun {
  display: none;
}
.theme-icon--moon {
  display: block;
}

html.dark .theme-icon--sun {
  display: block;
}
html.dark .theme-icon--moon {
  display: none;
}

/* View Transition Clip-Path Animation */
::view-transition-old(root),
::view-transition-new(root) {
  animation: none;
  mix-blend-mode: normal;
}
::view-transition-old(root) {
  z-index: 1;
}
::view-transition-new(root) {
  z-index: 9999;
}

/* ==========================================================================
   Responsive Breakpoints & Layout Adaptations
   ========================================================================== */
@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  .bento-card--8,
  .bento-card--4,
  .bento-card--6 {
    grid-column: span 12;
  }
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .philosophy-grid {
    grid-template-columns: 1fr;
  }
  .schedule-grid {
    grid-template-columns: 1fr;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav__links {
    display: none;
  }
  .nav__cta-desktop {
    display: none;
  }
  .nav__crm {
    display: none;
  }
  .nav__burger {
    display: inline-flex;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .cubesob-floating-bar {
    bottom: 16px;
    left: 16px;
    transform: scale(0.92);
    transform-origin: bottom left;
  }
  .hero__meta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .brand__loc {
    display: none;
  }
}

@media (hover: none) {
  .bento-card:hover,
  .pricing-card:hover,
  .review-card:hover,
  .phil-card:hover {
    transform: none;
  }
}
