/* ==========================================================================
   KENETIQ CODE - LIQUID GLASS & FLUID REFRACTION DESIGN SYSTEM
   ========================================================================== */

/* 1. Liquid Glass Tokens */
:root {
  /* Deep Chromatic Fluid Canvas */
  --canvas-deep: #05070c;
  --canvas-surface: rgba(14, 19, 30, 0.6);
  --canvas-elevated: rgba(22, 30, 48, 0.55);
  --canvas-hover: rgba(30, 41, 64, 0.65);
  --canvas-inset: rgba(5, 8, 14, 0.65);

  /* Glass Borders & Specular Bevels */
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-border-light: rgba(255, 255, 255, 0.22);
  --glass-border-active: rgba(255, 255, 255, 0.5);
  --glass-shine: inset 0 1px 1px 0 rgba(255, 255, 255, 0.25);
  --glass-shine-intense: inset 0 1px 2px 0 rgba(255, 255, 255, 0.45);

  /* Fluid Chromatic Glows */
  --liquid-cyan: #38bdf8;
  --liquid-cyan-glow: rgba(56, 189, 248, 0.22);
  --liquid-emerald: #34d399;
  --liquid-emerald-glow: rgba(52, 211, 153, 0.25);
  --liquid-sapphire: #6366f1;
  --liquid-sapphire-glow: rgba(99, 102, 241, 0.2);
  --liquid-pearl: #f1f5f9;

  /* Typography */
  --text-pure: #ffffff;
  --text-platinum: #e2e8f0;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Outfit', var(--font-body);

  /* Glass Radii */
  --radius-xs: 8px;
  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --radius-full: 9999px;

  /* Glass Shadows & Transitions */
  --glass-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  --glass-shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.6);
  --ease-liquid: cubic-bezier(0.16, 1, 0.3, 1);
  --max-width: 1240px;
}

/* 2. Global Reset & Body */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--canvas-deep);
  color: var(--text-platinum);
  line-height: 1.65;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--liquid-cyan);
  outline-offset: 3px;
}

/* Skip-to-content link: invisible until keyboard-focused */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: #ffffff;
  color: #05070c;
  font-weight: 600;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--radius-xs) 0;
  text-decoration: none;
}
.skip-link:focus-visible {
  left: 0;
}

/* Anchor offset: keep section headings clear of the sticky navbar */
.section[id], #main-content {
  scroll-margin-top: 6rem;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

/* 3. Fluid Liquid Background Layer & Morphing Caustic Orbs */
.liquid-bg-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  contain: strict;
  transform: translate3d(0, 0, 0);
}

.liquid-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
  will-change: transform;
  contain: strict;
  transform: translate3d(0, 0, 0);
}

.orb-cyan {
  width: 650px;
  height: 650px;
  top: -150px;
  left: 20%;
  background: radial-gradient(circle, var(--liquid-cyan) 0%, rgba(56, 189, 248, 0) 70%);
  animation: floatOrb1 22s ease-in-out infinite alternate;
}

.orb-emerald {
  width: 550px;
  height: 550px;
  top: 35%;
  right: -100px;
  background: radial-gradient(circle, var(--liquid-emerald) 0%, rgba(52, 211, 153, 0) 70%);
  animation: floatOrb2 26s ease-in-out infinite alternate;
}

.orb-sapphire {
  width: 700px;
  height: 700px;
  bottom: -150px;
  left: -100px;
  background: radial-gradient(circle, var(--liquid-sapphire) 0%, rgba(99, 102, 241, 0) 70%);
  animation: floatOrb3 24s ease-in-out infinite alternate;
}

.orb-pearl {
  width: 450px;
  height: 450px;
  top: 60%;
  left: 40%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 70%);
  opacity: 0.12;
  animation: floatOrb4 28s ease-in-out infinite alternate;
}

@keyframes floatOrb1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-60px, 80px) scale(1.15); }
  100% { transform: translate(80px, 40px) scale(0.95); }
}

@keyframes floatOrb2 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, -70px) scale(1.1); }
  100% { transform: translate(-60px, 60px) scale(0.9); }
}

@keyframes floatOrb3 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(80px, -50px) scale(1.12); }
  100% { transform: translate(-40px, 70px) scale(1); }
}

@keyframes floatOrb4 {
  0% { transform: translate(0, 0) scale(0.9); }
  100% { transform: translate(-80px, -80px) scale(1.2); }
}

/* 4. Typography & Refraction Shimmers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-pure);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.text-center { text-align: center; }

.text-liquid-refraction {
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 35%, var(--liquid-cyan) 80%, var(--liquid-emerald) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(56, 189, 248, 0.25);
}

.text-liquid-emerald {
  color: var(--liquid-emerald);
  text-shadow: 0 0 16px var(--liquid-emerald-glow);
}

/* Glass Section Standards */
.section {
  padding: 7.5rem 0;
  position: relative;
  z-index: 1;
}

.section-header {
  margin-bottom: 4rem;
}

.liquid-badge, .glass-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  color: var(--text-pure);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shine);
}

.liquid-badge {
  margin-bottom: 1.25rem;
}

.section-title {
  font-size: clamp(2.3rem, 4.2vw, 3.4rem);
  margin-bottom: 1.25rem;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
  font-weight: 400;
}

.section {
  padding: 7rem 0;
  position: relative;
  content-visibility: auto;
  contain-intrinsic-size: auto 650px;
}

/* 5. Liquid Glass Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-family: var(--font-body);
  font-size: 0.925rem;
  font-weight: 600;
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.28s var(--ease-liquid);
  white-space: nowrap;
}

.btn-glass-liquid {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(241, 245, 249, 0.85) 100%);
  color: #05070c;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 24px rgba(255, 255, 255, 0.2), inset 0 1px 1px #ffffff;
  font-weight: 700;
}

.btn-glass-liquid:hover {
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(56, 189, 248, 0.35), inset 0 1px 2px #ffffff;
}

.btn-glass-ghost {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  color: var(--text-pure);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shine);
}

.btn-glass-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--glass-border-light);
  transform: translateY(-2px);
}

.btn-glass-sm {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text-platinum);
  border: 1px solid var(--glass-border);
  font-size: 0.775rem;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
}
.btn-glass-sm:hover {
  border-color: #ffffff;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.btn-glass-liquid-lg, .btn-glass-ghost-lg, .btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
}

.btn-glass-liquid-full {
  width: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(241, 245, 249, 0.85) 100%);
  color: #05070c;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 24px rgba(255, 255, 255, 0.15), inset 0 1px 1px #ffffff;
  font-weight: 700;
}
.btn-glass-liquid-full:hover {
  background: #ffffff;
  box-shadow: 0 6px 30px rgba(56, 189, 248, 0.3);
}

.btn-glass-ruby {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.85) 0%, rgba(225, 29, 72, 0.85) 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 20px rgba(244, 63, 94, 0.35);
  font-weight: 700;
}
.btn-glass-ruby:hover {
  background: #f43f5e;
  box-shadow: 0 6px 28px rgba(244, 63, 94, 0.55);
}

.nav-manage-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  color: var(--text-pure);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-xs);
  font-size: 0.825rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  touch-action: manipulation;
  white-space: nowrap;
}
.nav-manage-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

.btn-arrow {
  transition: transform 0.22s var(--ease-liquid);
}
.btn:hover .btn-arrow {
  transform: translate(3px, -3px);
}

/* 6. Liquid Glass Navbar */
.glass-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(5, 7, 12, 0.75);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5.25rem;
  position: relative;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  text-decoration: none;
  touch-action: manipulation;
}

.brand-monogram {
  width: 38px;
  height: 38px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--glass-border-light);
  box-shadow: var(--glass-shine-intense);
}

.brand-titles {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--text-pure);
}

.brand-label {
  font-size: 0.65rem;
  color: var(--liquid-cyan);
  letter-spacing: 0.12em;
  font-weight: 600;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.mobile-nav-cta {
  display: none;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
  touch-action: manipulation;
}
.nav-link:hover {
  color: #ffffff;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.5);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.mobile-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xs);
  cursor: pointer;
  padding: 0.5rem;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: all 0.2s ease;
}
.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--text-pure);
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
  margin: 0;
}
.mobile-toggle.active span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}
.mobile-toggle.active span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* 7. Hero Section */
.hero-section {
  padding: 7rem 0 7.5rem;
  position: relative;
}

.hero-container {
  max-width: 980px;
  text-align: center;
  margin: 0 auto;
}

.hero-eyebrow {
  margin-bottom: 2.2rem;
}

.pulse-glass-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--liquid-emerald);
  box-shadow: 0 0 12px var(--liquid-emerald);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 18px var(--liquid-emerald); }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.eyebrow-text {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-platinum);
}

.hero-title {
  font-size: clamp(2.8rem, 5.5vw, 4.6rem);
  letter-spacing: -0.04em;
  margin-bottom: 2rem;
  font-weight: 800;
}

.hero-subtext {
  font-size: 1.25rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 760px;
  margin: 0 auto 2.75rem;
  font-weight: 400;
}

.hero-action-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 4.5rem;
  flex-wrap: wrap;
}

/* Liquid Glass Metric Bar */
.liquid-glass-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shine), var(--glass-shadow);
  padding: 1.75rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.metric-block {
  text-align: center;
  padding: 0 1.75rem;
}

.metric-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-pure);
  margin-bottom: 0.25rem;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.metric-desc {
  font-size: 0.775rem;
  color: var(--text-muted);
  font-weight: 500;
}

.metric-divider {
  width: 1px;
  height: 38px;
  background: var(--glass-border);
}

/* 8. FEATURED SIGNATURE: Giving & Non-Profit Engine in Glass */
.spotlight-section {
  position: relative;
}

.glass-spotlight-card {
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid var(--glass-border-light);
  border-radius: var(--radius-xl);
  padding: 4rem;
  box-shadow: var(--glass-shine-intense), var(--glass-shadow-lg);
  position: relative;
  overflow: hidden;
}

.glass-spotlight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
}

.spotlight-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--glass-border);
}

.spotlight-client-tag {
  font-size: 0.825rem;
  color: var(--liquid-cyan);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.spotlight-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
}

.spotlight-title {
  font-size: clamp(2rem, 3.4vw, 2.85rem);
  margin-bottom: 1.25rem;
}

.spotlight-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 2.25rem;
}

.spotlight-pillars {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
  width: 100%;
}

.pillar-glass-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  min-width: 0;
  width: 100%;
}

.pillar-marker {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--liquid-cyan);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shine);
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius-xs);
  flex-shrink: 0;
}

.pillar-text {
  min-width: 0;
  flex: 1;
  word-break: break-word;
  overflow-wrap: break-word;
}

.pillar-text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-pure);
  margin-bottom: 0.25rem;
  word-break: break-word;
}

.pillar-text p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  word-break: break-word;
}

/* Glass Sandbox Card */
.glass-sandbox-card {
  background: rgba(8, 12, 20, 0.7);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--glass-border-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--glass-shine), var(--glass-shadow);
}

.sandbox-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--glass-border);
}

.sandbox-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-pure);
}

.sandbox-status {
  font-size: 0.7rem;
  color: var(--liquid-emerald);
  border-color: rgba(52, 211, 153, 0.3);
}

.sandbox-field-group {
  margin-bottom: 1.25rem;
}

.sandbox-label {
  display: block;
  font-size: 0.775rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

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

.schedule-toggle-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.6rem;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: all 0.2s ease;
}

.schedule-toggle-btn.active {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--glass-border-active);
  color: #ffffff;
  box-shadow: var(--glass-shine-intense);
}

.glass-select, .glass-input {
  width: 100%;
  background: rgba(5, 8, 15, 0.7);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xs);
  padding: 0.75rem 1rem;
  color: var(--text-pure);
  font-family: var(--font-body);
  font-size: 0.875rem;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.4);
}

.glass-select:focus, .glass-input:focus {
  border-color: var(--liquid-cyan);
  outline: none;
}

.amount-presets-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.amount-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.65rem;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: all 0.2s ease;
}

.amount-btn.active {
  border-color: var(--liquid-emerald);
  color: #ffffff;
  background: rgba(52, 211, 153, 0.15);
  box-shadow: 0 0 16px var(--liquid-emerald-glow), var(--glass-shine);
}

.giving-receipt-glass, .glass-inset {
  background: rgba(5, 8, 15, 0.7);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xs);
  padding: 1rem;
  margin-bottom: 1.25rem;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.5);
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.825rem;
  margin-bottom: 0.35rem;
}

.receipt-total {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--glass-border);
  font-size: 0.925rem;
}

.tax-sim-glass {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xs);
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
}

.tax-sim-info span { display: block; }
.tax-sim-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-pure);
}
.tax-sim-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* 9. Showcase Tabs & Production Systems in Glass */
.showcase-tabs-wrapper {
  max-width: 1120px;
  margin: 0 auto;
}

.glass-tab-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.glass-tab-btn {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 1.65rem;
  text-align: left;
  cursor: pointer;
  transition: all 0.25s var(--ease-liquid);
  box-shadow: var(--glass-shine);
}

.glass-tab-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--glass-border-light);
}

.glass-tab-btn.active {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: var(--glass-shine-intense), 0 8px 30px rgba(0, 0, 0, 0.5);
}

.tab-index {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--liquid-cyan);
  margin-bottom: 0.4rem;
}

.tab-label {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 0.25rem;
}

.tab-client-sub {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.glass-panel {
  display: none;
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid var(--glass-border-light);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  box-shadow: var(--glass-shine-intense), var(--glass-shadow-lg);
}

.glass-panel.active {
  display: block;
  animation: panelLiquidFade 0.3s var(--ease-liquid);
}

@keyframes panelLiquidFade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.panel-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.panel-kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--liquid-cyan);
  letter-spacing: 0.1em;
  margin-bottom: 0.85rem;
}

.panel-heading {
  font-size: 1.9rem;
  margin-bottom: 1.25rem;
}

.panel-body-text {
  color: var(--text-muted);
  font-size: 0.975rem;
  line-height: 1.75;
  margin-bottom: 1.75rem;
}

.panel-specs {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-platinum);
  margin-bottom: 2.25rem;
}

.spec-bullet {
  color: var(--liquid-emerald);
  margin-right: 0.4rem;
}

/* Glass Sandbox Tool Cards */
.glass-tool-card {
  background: rgba(8, 12, 20, 0.7);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--glass-shine), var(--glass-shadow);
}

.tool-title-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--glass-border);
}

.tool-title-bar span {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-pure);
}

.tool-tag {
  font-size: 0.7rem;
}

.tool-input-row {
  margin-bottom: 1.25rem;
}

.tool-label {
  display: block;
  font-size: 0.775rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.slider-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.4rem;
}

.slider-metric {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--liquid-cyan);
  font-size: 0.95rem;
}

.glass-range {
  width: 100%;
  accent-color: var(--liquid-cyan);
  cursor: pointer;
}

.tool-result-panel {
  margin-bottom: 1.25rem;
}

.tool-result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.35rem;
}

.tool-result-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.tool-result-price {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
}

.tool-result-meta {
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* Stream Simulation in Glass */
.stream-state-glass {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xs);
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
}

.stream-pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--text-dim);
}

.stream-pulse-dot.live {
  background: #ef4444;
  box-shadow: 0 0 14px #ef4444;
  animation: pulseDotLive 1.5s infinite;
}

@keyframes pulseDotLive {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.stream-state-text strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text-pure);
}
.stream-state-text span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.stream-steps-list {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.8rem;
}

.stream-step-item {
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.stream-step-item.done {
  color: var(--liquid-emerald);
  font-weight: 600;
}

/* Booking Widget in Glass */
.booking-tiers-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.tier-glass-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xs);
  padding: 0.65rem;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tier-glass-pill.active {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: var(--glass-shine-intense);
}

.tier-glass-pill span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.tier-glass-pill strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--text-pure);
}

.time-chips-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.glass-time-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.75rem;
  padding: 0.5rem;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: all 0.2s ease;
}

.glass-time-chip.active, .glass-time-chip:hover {
  border-color: #ffffff;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: var(--glass-shine);
}

/* 10. Solutions Pillars in Glass */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.glass-solution-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--glass-shine), var(--glass-shadow);
  transition: all 0.28s var(--ease-liquid);
}

.glass-solution-card:hover {
  border-color: var(--glass-border-light);
  transform: translateY(-4px);
  box-shadow: var(--glass-shine-intense), 0 20px 48px rgba(0, 0, 0, 0.5);
}

.solution-number {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--liquid-cyan);
  margin-bottom: 1.5rem;
}

.solution-heading {
  font-size: 1.4rem;
  margin-bottom: 0.85rem;
}

.solution-text {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.solution-footer {
  font-size: 0.775rem;
  color: var(--text-dim);
  padding-top: 1.25rem;
  border-top: 1px solid var(--glass-border);
  font-weight: 500;
}

/* 11. Scope Calculator in Glass */
.calculator-section {
  position: relative;
}

.glass-calculator-card {
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid var(--glass-border-light);
  border-radius: var(--radius-xl);
  padding: 4rem 3.5rem;
  box-shadow: var(--glass-shine-intense), var(--glass-shadow-lg);
  max-width: 1040px;
  margin: 0 auto;
}

.wizard-row {
  margin-bottom: 2.75rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--glass-border);
}

.wizard-step-label {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.35rem;
}

.step-num-pill {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--liquid-cyan);
}

.wizard-step-label strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--text-pure);
}

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

.glass-radio-card {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 1.65rem;
  cursor: pointer;
  transition: all 0.22s var(--ease-liquid);
  display: block;
  box-shadow: var(--glass-shine);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.glass-radio-card input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  margin: 0;
  cursor: pointer;
  z-index: 1;
}

.glass-radio-card.active {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--glass-shine-intense), 0 8px 30px rgba(0, 0, 0, 0.4);
}

.radio-card-body {
  position: relative;
  pointer-events: none;
  z-index: 2;
}

.card-tag {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--liquid-cyan);
  margin-bottom: 0.35rem;
}

.card-title {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text-pure);
  margin-bottom: 0.4rem;
}

.card-desc {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1rem;
}

.card-price {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-pure);
}

/* Speed Cards in Glass */
.speed-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.glass-speed-card {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.35rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--glass-shine);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.glass-speed-card input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  margin: 0;
  cursor: pointer;
  z-index: 1;
}

.glass-speed-card > div,
.glass-speed-card .speed-badge {
  position: relative;
  pointer-events: none;
  z-index: 2;
}

.glass-speed-card.active {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.08);
}

.glass-speed-card strong {
  display: block;
  font-size: 0.925rem;
  color: var(--text-pure);
}
.glass-speed-card span {
  display: block;
  font-size: 0.775rem;
  color: var(--text-muted);
}

.speed-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-pure);
}

/* Scope Result Bar in Glass */
.glass-result-bar {
  background: rgba(8, 12, 20, 0.75);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border-light);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  margin-top: 2.5rem;
  box-shadow: var(--glass-shine), var(--glass-shadow);
}

.result-figures {
  display: flex;
  gap: 3.5rem;
}

.figure-label {
  display: block;
  font-size: 0.775rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.figure-val {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
}

.figure-sub {
  display: block;
  font-size: 0.775rem;
  color: var(--text-dim);
}

/* 12. Process Grid in Glass */
.luxury-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.glass-step-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 2.25rem 1.75rem;
  box-shadow: var(--glass-shine);
  transition: all 0.25s ease;
}

.glass-step-card:hover {
  border-color: var(--glass-border-light);
  transform: translateY(-3px);
}

.step-giant-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--liquid-cyan);
  margin-bottom: 1rem;
  display: block;
  opacity: 0.7;
}

.step-card-title {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.step-card-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* 13. FAQ Section in Glass */
.faq-container {
  max-width: 860px;
}

.luxury-faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.glass-faq-item {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--glass-shine);
  transition: border-color 0.2s ease;
}

.glass-faq-item[open] {
  border-color: var(--glass-border-light);
  background: rgba(255, 255, 255, 0.06);
}

.faq-summary {
  padding: 1.65rem 1.85rem;
  font-family: var(--font-display);
  font-size: 1.075rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  color: var(--text-pure);
}

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

.faq-chevron {
  font-size: 1.35rem;
  font-weight: 300;
  color: var(--liquid-cyan);
  transition: transform 0.2s ease;
}

.glass-faq-item[open] .faq-chevron {
  transform: rotate(45deg);
}

.faq-content {
  padding: 0 1.85rem 1.65rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

/* 14. Final CTA in Glass */
.glass-final-cta-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid var(--glass-border-light);
  border-radius: var(--radius-xl);
  padding: 5rem 2.5rem;
  box-shadow: var(--glass-shine-intense), var(--glass-shadow-lg);
}

.final-cta-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin-bottom: 1.15rem;
}

.final-cta-desc {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 2.75rem;
}

.final-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* 15. Liquid Glass Footer */
.glass-footer {
  background: rgba(5, 7, 12, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-top: 1px solid var(--glass-border);
  padding: 5.5rem 0 2.5rem;
}

.footer-layout {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-bio {
  color: var(--text-muted);
  font-size: 0.925rem;
  margin: 1.35rem 0;
  max-width: 420px;
}

.footer-meta {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.75;
}

.footer-links-pane h4 {
  font-size: 0.95rem;
  color: var(--text-pure);
  margin-bottom: 1.35rem;
}

.footer-links-pane ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-links-pane a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}
.footer-links-pane a:hover {
  color: var(--text-pure);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-bottom a:hover {
  color: var(--text-pure);
}

/* 16. Glass Dialog Modals */
.glass-dialog {
  margin: auto;
  padding: 0;
  border: none;
  background: transparent;
  max-width: 640px;
  width: 90%;
  border-radius: var(--radius-xl);
}

.booking-dialog {
  max-width: 760px;
  width: 92%;
}

.glass-dialog::backdrop {
  background: rgba(3, 5, 9, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.glass-dialog-card {
  background: rgba(14, 20, 32, 0.94);
  backdrop-filter: blur(32px) saturate(200%);
  -webkit-backdrop-filter: blur(32px) saturate(200%);
  border: 1px solid var(--glass-border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--glass-shine-intense), var(--glass-shadow-lg);
  overflow: hidden;
  max-height: 90vh;
  max-height: 90dvh; /* iOS dynamic viewport: ignores browser chrome */
  display: flex;
  flex-direction: column;
}

.dialog-header {
  padding: 1.65rem 2rem 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.dialog-title {
  font-size: 1.4rem;
  margin-top: 0.35rem;
  margin-bottom: 0.25rem;
}

.dialog-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 580px;
}

.dialog-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.35rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-xs);
  transition: all 0.2s ease;
}
.dialog-close-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.dialog-body {
  padding: 1.5rem 2rem 2rem;
  overflow-y: auto;
  flex-grow: 1;
}

/* ==========================================================================
   Compact Minimalist Scheduler Architecture
   ========================================================================== */
.scheduler-compact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.compact-calendar-panel {
  padding: 1.25rem;
  border-radius: var(--radius-md);
}

.cal-nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.cal-month-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-pure);
}

.cal-arrow-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  color: var(--text-platinum);
  width: 30px;
  height: 30px;
  border-radius: var(--radius-xs);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.2s ease;
}

.cal-arrow-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
  color: #ffffff;
}

.cal-weekdays-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.cal-days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.35rem;
}

.cal-day-cell {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.825rem;
  border-radius: var(--radius-xs);
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.18s ease;
  user-select: none;
}

.cal-day-cell.empty {
  cursor: default;
  pointer-events: none;
}

.cal-day-cell.available {
  color: var(--text-pure);
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--glass-border);
}

.cal-day-cell.available:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: var(--liquid-cyan);
  color: #ffffff;
}

.cal-day-cell.selected {
  background: var(--liquid-cyan);
  border-color: var(--liquid-cyan);
  color: #05070c;
  font-weight: 800;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.5);
}

.cal-day-cell.disabled {
  opacity: 0.25;
  cursor: not-allowed;
  pointer-events: none;
}

/* Right Column: Time Slots Menu */
.compact-time-panel {
  padding: 1.25rem;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.time-panel-header {
  margin-bottom: 0.85rem;
}

.time-panel-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.time-selected-date {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--text-pure);
}

.time-chips-menu {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}

.time-slot-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  color: var(--text-platinum);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-xs);
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
}

.time-slot-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--glass-border-light);
  color: #ffffff;
}

.time-slot-btn.active {
  background: rgba(52, 211, 153, 0.18);
  border-color: var(--liquid-emerald);
  color: #ffffff;
  box-shadow: 0 0 14px var(--liquid-emerald-glow), var(--glass-shine);
}

.selected-slot-pill {
  font-size: 0.7rem;
  padding: 0.35rem 0.65rem;
  justify-content: center;
}

/* Compact Intake Row */
.booking-intake-bar {
  border-top: 1px solid var(--glass-border);
  padding-top: 1.15rem;
}

.intake-row-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.intake-row-2 {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0.85rem;
  margin-bottom: 1.15rem;
}

.intake-row-3 .form-field, .intake-row-2 .form-field {
  margin-bottom: 0;
}

.intake-row-3 label, .intake-row-2 label {
  font-size: 0.75rem;
}

.intake-row-3 input, .intake-row-2 input, .intake-row-2 select {
  padding: 0.6rem 0.85rem;
  font-size: 0.825rem;
}

.booking-action-footer {
  text-align: center;
}

.booking-guarantee-sub {
  margin-top: 0.65rem;
  font-size: 0.725rem;
  color: var(--text-dim);
}

.success-sub-note {
  font-size: 0.825rem;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 1.75rem;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.form-field {
  margin-bottom: 1.25rem;
}

.form-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-platinum);
  margin-bottom: 0.4rem;
}

.accent-star {
  color: var(--liquid-emerald);
}

/* Success View */
.consult-success-pane {
  text-align: center;
  padding: 2rem 1rem;
}

.success-diamond {
  width: 58px;
  height: 58px;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--liquid-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  border-color: rgba(52, 211, 153, 0.4);
}

.consult-success-pane h3 {
  font-size: 1.65rem;
  margin-bottom: 0.75rem;
}

.consult-success-pane p {
  color: var(--text-muted);
  font-size: 0.975rem;
  line-height: 1.75;
  margin-bottom: 1.75rem;
}

.success-actions-row {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.ref-code-box {
  background: rgba(56, 189, 248, 0.06);
  border: 1px dashed rgba(56, 189, 248, 0.35);
}

.success-cal-row .btn {
  white-space: nowrap;
}
@media (max-width: 600px) {
  .success-cal-row {
    grid-template-columns: 1fr !important;
  }
}

/* 16. Client Booking Management Hub */
.manage-dialog-card {
  max-width: 780px;
}

.manage-search-bar {
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
}

.lookup-heading-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-pure);
  margin-bottom: 0.6rem;
  line-height: 1.4;
}

.lookup-input-group {
  display: flex;
  gap: 0.65rem;
  align-items: center;
}
.lookup-input-group .glass-input {
  flex: 1;
  min-width: 0;
}
.lookup-input-group .btn {
  white-space: nowrap;
  flex-shrink: 0;
  padding: 0.75rem 1.25rem;
}
@media (max-width: 600px) {
  .lookup-input-group {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }
  .lookup-input-group .btn {
    width: 100%;
    justify-content: center;
  }
}

.cancel-prompt-pane {
  padding: 1.35rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(244, 63, 94, 0.4);
  background: rgba(244, 63, 94, 0.06);
  margin-top: 1.5rem;
}

.manage-bookings-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
  min-width: 0;
}

.booking-item-card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: all 0.22s var(--ease-liquid);
  position: relative;
  box-shadow: var(--glass-shine);
  width: 100%;
  box-sizing: border-box;
  min-width: 0;
}
.booking-item-card:hover {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.05);
}
.booking-item-card.cancelled {
  opacity: 0.7;
  border-color: rgba(244, 63, 94, 0.3);
  background: rgba(244, 63, 94, 0.04);
}

.booking-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.15rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.booking-ref-badge {
  font-family: monospace;
  font-size: 0.9rem;
  padding: 0.25rem 0.65rem;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--liquid-cyan);
  border-radius: var(--radius-xs);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.booking-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
}
.status-confirmed {
  background: rgba(52, 211, 153, 0.15);
  color: var(--liquid-emerald);
  border: 1px solid rgba(52, 211, 153, 0.35);
}
.status-cancelled {
  background: rgba(244, 63, 94, 0.15);
  color: #fb7185;
  border: 1px solid rgba(244, 63, 94, 0.35);
}
.status-pending {
  background: rgba(251, 191, 36, 0.15);
  color: #fde047;
  border: 1px solid rgba(251, 191, 36, 0.35);
}

.booking-details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.95rem 1.5rem;
  margin-bottom: 1.25rem;
  background: rgba(0, 0, 0, 0.2);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.04);
}
@media (max-width: 640px) {
  .booking-details-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

.booking-detail-item strong {
  display: block;
  font-size: 0.72rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.2rem;
}
.booking-detail-item span {
  color: var(--text-pure);
  font-weight: 600;
  font-size: 0.9rem;
  word-break: break-word;
}

.booking-card-actions {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  padding-top: 1rem;
  border-top: 1px solid var(--glass-border);
}
.booking-card-actions .btn {
  font-size: 0.85rem;
  padding: 0.55rem 0.9rem;
}
@media (max-width: 480px) {
  .booking-card-actions {
    flex-direction: column;
  }
  .booking-card-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

.empty-bookings-notice {
  text-align: center;
  padding: 2.5rem 1.25rem;
  color: var(--text-muted);
  background: rgba(5, 8, 15, 0.6);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-sizing: border-box;
  width: 100%;
}
.empty-bookings-notice span {
  font-size: 2.25rem;
  display: block;
  margin-bottom: 0.75rem;
}
.empty-bookings-notice h4 {
  color: var(--text-pure);
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
}
.empty-bookings-notice p {
  font-size: 0.875rem;
  max-width: 420px;
  margin: 0 auto 1.25rem;
  line-height: 1.6;
  word-break: break-word;
}
.empty-bookings-notice .btn {
  max-width: 100%;
  white-space: normal;
  line-height: 1.35;
  text-align: center;
}

/* Tax Document Sheet Modal */
.tax-doc-card {
  max-width: 700px;
}

.official-tax-sheet {
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.tax-sheet-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--glass-border);
  margin-bottom: 1.25rem;
}

.tax-sheet-header h4 {
  font-size: 1.2rem;
  letter-spacing: 0.04em;
}

.tax-sheet-header p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.tax-ein {
  font-size: 0.75rem;
  color: var(--liquid-cyan);
  font-weight: 600;
}

.tax-member-info {
  font-size: 0.825rem;
  color: var(--text-platinum);
  margin-bottom: 1.25rem;
}

.tax-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.825rem;
  margin-bottom: 1.25rem;
}

.tax-table th {
  text-align: left;
  padding: 0.55rem 0.25rem;
  border-bottom: 1px solid var(--glass-border);
  color: var(--text-dim);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.7rem;
}

.tax-table td {
  padding: 0.7rem 0.25rem;
  border-bottom: 1px solid var(--glass-border);
  color: var(--text-platinum);
}

.tax-legal-footnote {
  font-size: 0.725rem;
  color: var(--text-dim);
  font-style: italic;
  line-height: 1.55;
}

.tax-modal-actions {
  text-align: center;
}

/* Toast Container */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  background: rgba(14, 20, 32, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border-light);
  color: var(--text-pure);
  padding: 0.95rem 1.45rem;
  border-radius: var(--radius-md);
  box-shadow: var(--glass-shine), var(--glass-shadow);
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: slideToast 0.3s var(--ease-liquid);
}

@keyframes slideToast {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* 17. Responsive Breakpoints & Mobile Touch Architecture */
@media (hover: none) {
  /* Prevent sticky hover states on touch screens */
  .btn:hover:not(:active),
  .glass-solution-card:hover,
  .glass-step-card:hover,
  .glass-tab-btn:hover:not(.active),
  .glass-radio-card:hover:not(.active),
  .glass-speed-card:hover:not(.active),
  .tier-glass-pill:hover:not(.active),
  .glass-time-chip:hover:not(.active) {
    transform: none;
  }
}

@media (max-width: 1024px) {
  /* High-Performance Mobile GPU Layer: replace expensive animated 120px blurs with static CSS radial gradients */
  .liquid-bg-layer {
    background: radial-gradient(circle at 15% 5%, rgba(56, 189, 248, 0.14) 0%, transparent 50%),
                radial-gradient(circle at 85% 30%, rgba(52, 211, 153, 0.11) 0%, transparent 50%),
                radial-gradient(circle at 10% 80%, rgba(99, 102, 241, 0.11) 0%, transparent 50%);
  }
  .liquid-orb {
    display: none !important;
    animation: none !important;
  }

  .spotlight-grid, .panel-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .solutions-grid, .luxury-select-grid-3 {
    grid-template-columns: 1fr;
  }
  .glass-tab-bar {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }
  .glass-tab-btn {
    padding: 1.15rem 1rem;
  }
  .tab-index {
    font-size: 0.7rem;
    margin-bottom: 0.25rem;
  }
  .tab-label {
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
  }
  .tab-client-sub {
    font-size: 0.75rem;
  }
  .luxury-process-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .glass-result-bar {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .result-figures {
    justify-content: center;
  }

  /* Tablet & below: hamburger navigation with full touch containment */
  .mobile-toggle {
    display: flex;
  }
  .nav-actions .trigger-consult-modal {
    display: none;
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: 5.25rem;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(5, 7, 12, 0.98);
    backdrop-filter: blur(28px) saturate(200%);
    -webkit-backdrop-filter: blur(28px) saturate(200%);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.85);
    flex-direction: column;
    padding: 1.5rem 1.75rem 2rem;
    gap: 0.5rem;
    max-height: calc(100vh - 5.25rem);
    max-height: calc(100dvh - 5.25rem);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    z-index: 999;
  }
  .nav-menu.mobile-open {
    display: flex;
  }
  .mobile-nav-cta {
    display: block;
    width: 100%;
    padding-top: 1rem;
    border-top: 1px solid var(--glass-border);
    margin-top: 0.5rem;
  }
  .nav-menu .nav-link {
    display: block;
    padding: 0.85rem 0.75rem;
    font-size: 1.05rem;
    border-radius: var(--radius-xs);
    transition: background 0.15s ease;
  }
  .nav-menu .nav-link:active {
    background: rgba(255, 255, 255, 0.08);
    color: var(--liquid-cyan);
  }
}

/* Tablet portrait/landscape specific refinements */
@media (min-width: 769px) and (max-width: 1024px) {
  .solutions-grid {
    grid-template-columns: 1fr 1fr;
  }
  .scheduler-compact-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  /* Fast GPU Rasterization: Eliminate backdrop-filter stacking on in-flow cards */
  .glass-spotlight-card,
  .glass-calculator-card,
  .glass-panel,
  .glass-solution-card,
  .glass-step-card,
  .glass-faq-card,
  .glass-sandbox-card,
  .glass-tool-card,
  .booking-item-card,
  .luxury-feature-item {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(13, 19, 32, 0.94) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
  }

  /* Retain translucency strictly on floating overlays */
  .glass-navbar {
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    background: rgba(5, 7, 12, 0.85) !important;
  }
  /* Hero metric bar: compact 2x2 grid on phones */
  .liquid-glass-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem 0.5rem;
  }
  .metric-block { padding: 0 0.5rem; }
  .metric-divider { display: none; }
  .luxury-process-grid, .speed-cards-grid {
    grid-template-columns: 1fr;
  }
  .glass-tab-bar {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
  .glass-tab-btn {
    padding: 1rem 1.25rem;
  }
  .glass-spotlight-card {
    padding: 1.75rem 1.15rem !important;
    border-radius: var(--radius-lg) !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .spotlight-badge-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.6rem !important;
    margin-bottom: 1.5rem !important;
    padding-bottom: 1.15rem !important;
    border-bottom: 1px solid var(--glass-border) !important;
  }

  .spotlight-badge-row .liquid-badge {
    margin-bottom: 0 !important;
  }

  .spotlight-client-tag {
    font-size: 0.85rem !important;
    color: var(--liquid-cyan) !important;
    word-break: break-word !important;
  }

  .spotlight-content {
    min-width: 0 !important;
    width: 100% !important;
  }

  .spotlight-title {
    font-size: 1.75rem !important;
    line-height: 1.22 !important;
    margin-bottom: 1rem !important;
    word-break: break-word !important;
  }

  .spotlight-lead {
    font-size: 0.95rem !important;
    line-height: 1.65 !important;
    margin-bottom: 1.75rem !important;
    word-break: break-word !important;
  }

  .spotlight-pillars {
    gap: 1.15rem !important;
    margin-bottom: 1.75rem !important;
    width: 100% !important;
  }

  .pillar-glass-item {
    gap: 0.85rem !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  .pillar-marker {
    font-size: 0.75rem !important;
    padding: 0.25rem 0.5rem !important;
    margin-top: 2px !important;
    flex-shrink: 0 !important;
  }

  .pillar-text {
    min-width: 0 !important;
    flex: 1 !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }

  .pillar-text strong {
    font-size: 0.95rem !important;
    line-height: 1.35 !important;
    margin-bottom: 0.25rem !important;
    word-break: break-word !important;
  }

  .pillar-text p {
    font-size: 0.85rem !important;
    line-height: 1.55 !important;
    color: var(--text-muted) !important;
    word-break: break-word !important;
  }

  .spotlight-action {
    width: 100% !important;
  }

  .spotlight-action .btn {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: normal !important;
    line-height: 1.35 !important;
    padding: 0.85rem 1rem !important;
    font-size: 0.9rem !important;
  }

  /* Interactive Sandbox Mobile Fixes */
  .spotlight-interactive-wrapper {
    width: 100% !important;
    min-width: 0 !important;
  }

  .glass-sandbox-card {
    padding: 1.35rem 1rem !important;
    border-radius: var(--radius-md) !important;
    margin-top: 1.5rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
    background: rgba(8, 12, 20, 0.96) !important;
    border: 1px solid var(--glass-border-light) !important;
  }

  .sandbox-topbar {
    margin-bottom: 1.15rem !important;
    padding-bottom: 0.75rem !important;
  }

  .schedule-toggle-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.35rem !important;
  }

  .schedule-toggle-btn {
    padding: 0.65rem 0.25rem !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    text-align: center !important;
    white-space: nowrap !important;
  }

  .amount-presets-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 0.35rem !important;
  }

  .amount-btn {
    padding: 0.65rem 0.25rem !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    text-align: center !important;
  }

  .giving-receipt-glass {
    padding: 0.85rem 1rem !important;
    margin-bottom: 1.15rem !important;
  }

  .tax-sim-glass {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.75rem !important;
    padding: 0.85rem 1rem !important;
    text-align: left !important;
  }

  .tax-sim-glass .btn {
    width: 100% !important;
    justify-content: center !important;
    font-size: 0.825rem !important;
    padding: 0.6rem 0.85rem !important;
  }

  .glass-sandbox-card .btn-glass-liquid-full {
    padding: 0.95rem 1rem !important;
    font-size: 0.9rem !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: normal !important;
    line-height: 1.35 !important;
  }

  .glass-calculator-card, .glass-panel {
    padding: 1.75rem 1.15rem !important;
  }
  .result-figures {
    flex-direction: column;
    gap: 1.25rem;
  }

  /* Booking modal: stack scheduler columns and intake fields */
  .scheduler-compact-grid,
  .intake-row-3,
  .intake-row-2 {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .glass-dialog {
    width: calc(100% - 1.25rem);
    max-height: 88vh;
    max-height: 88dvh;
    border-radius: var(--radius-lg);
  }
  .glass-dialog-card {
    max-height: 88vh;
    max-height: 88dvh;
    border-radius: var(--radius-lg);
  }
  .dialog-header {
    padding: 1.25rem 1.25rem 0.85rem;
  }
  .dialog-body {
    padding: 1.15rem 1.25rem 1.5rem;
  }

  /* Prevent iOS Safari auto-zoom on form focus (requires >=16px) */
  .glass-input, .glass-select {
    font-size: 16px;
  }

  /* Let long button labels wrap instead of overflowing narrow cards */
  .btn-glass-liquid-full, .btn-glass-liquid-lg, .btn-glass-ghost-lg {
    white-space: normal;
  }

  /* Tax statement preview: swipe-scroll instead of squeezing columns */
  .official-tax-sheet {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .tax-table {
    min-width: 460px;
  }

  /* Toast: full-width and clear of the iPhone home indicator */
  .toast-container {
    left: 1rem;
    right: 1rem;
    bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  }

  /* Touch-sized range slider */
  .glass-range {
    -webkit-appearance: none;
    appearance: none;
    height: 28px;
    background: transparent;
    touch-action: manipulation;
  }
  .glass-range::-webkit-slider-runnable-track {
    height: 8px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.18);
  }
  .glass-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--liquid-cyan);
    border: 2px solid #ffffff;
    margin-top: -8px;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.6);
    cursor: pointer;
  }
  .glass-range::-moz-range-track {
    height: 8px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.18);
  }
  .glass-range::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--liquid-cyan);
    border: 2px solid #ffffff;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.6);
    cursor: pointer;
  }
}

/* Small phones (<=480px) */
@media (max-width: 480px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .section {
    padding: 4.5rem 0;
  }
  .hero-section {
    padding: 4rem 0 4.5rem;
  }
  .hero-title {
    font-size: 2.25rem;
  }
  .section-title {
    font-size: 1.95rem;
  }
  .final-cta-title {
    font-size: 1.85rem;
  }
  .glass-spotlight-card, .glass-calculator-card, .glass-panel {
    padding: 1.5rem 1rem;
  }
  .glass-sandbox-card, .glass-tool-card {
    padding: 1.25rem 1rem;
  }
  .glass-tab-btn {
    padding: 1rem;
  }
  .dialog-header {
    padding: 1.1rem 1rem 0.75rem;
  }
  .dialog-body {
    padding: 1rem 1rem 1.25rem;
  }
  .booking-tiers-list, .time-chips-grid {
    grid-template-columns: 1fr;
  }
  .schedule-toggle-btn {
    padding: 0.6rem 0.2rem;
    font-size: 0.75rem;
    min-height: 40px;
  }
  .amount-btn {
    padding: 0.6rem 0.2rem;
    font-size: 0.875rem;
    min-height: 40px;
  }
  .time-slot-btn {
    padding: 0.75rem 0.85rem;
    min-height: 44px;
  }
  .hero-action-row .btn, .final-cta-buttons .btn {
    width: 100%;
  }
  .success-actions-row {
    flex-direction: column;
    align-items: stretch;
  }
  .success-actions-row .btn {
    width: 100%;
  }
}

/* 18. Reduced Motion Accessibility */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .liquid-orb,
  .pulse-glass-dot,
  .stream-pulse-dot.live {
    animation: none;
  }
  .btn, .glass-solution-card, .glass-step-card, .glass-tab-btn {
    transition: none;
  }
}

/* 19. Legal Document Pages (privacy.html / terms.html / 404.html only) */
.legal-doc h3 {
  font-size: 1.15rem;
  margin: 1.75rem 0 0.5rem;
}
.legal-doc p {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 0.9rem;
}
.legal-doc ul {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0 0 0.9rem 1.25rem;
}
.legal-doc a {
  color: var(--liquid-cyan);
}
