/* ============================================
   EVOLVING AI SYSTEMS
   Apple-Style Glassmorphism
   visionOS / iOS / macOS material language
   ============================================ */

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

:root {
  /* Atmospheric background deeper warm tone */
  --canvas: #DDD5CA;

  /* ── Liquid glass material ── */
  --glass-bg: rgba(255, 255, 255, 0.38);
  --glass-bg-hover: rgba(255, 255, 255, 0.52);
  --glass-border: rgba(255, 255, 255, 0.55);
  --glass-highlight: rgba(255, 255, 255, 0.8);
  --glass-blur: 40px;
  --glass-saturate: 1.5;

  /* Liquid element colors */
  --accent: #2563EB;
  --accent-hover: #1D4ED8;
  --accent-tint: rgba(37, 99, 235, 0.1);
  --accent-glow: rgba(37, 99, 235, 0.3);

  /* Secondary liquid tones */
  --cyan: #0891B2;
  --sky: #0EA5E9;
  --orange: #EA580C;
  --coral: #DC2626;
  --blue: #2563EB;
  --green: #16A34A;

  /* Text hierarchy dark on light */
  --text-primary: #1E293B;
  --text-secondary: #475569;
  --text-tertiary: #94A3B8;
  --text-quaternary: #CBD5E1;

  /* Liquid glass shadows soft depth */
  --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 6px 24px rgba(0, 0, 0, 0.1), 0 2px 6px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.14), 0 6px 16px rgba(0, 0, 0, 0.08);
  
  /* Inner glow simulates glass thickness on light */
  --inner-glow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    inset 0 -1px 0 rgba(255, 255, 255, 0.4),
    inset 1px 0 0 rgba(255, 255, 255, 0.5),
    inset -1px 0 0 rgba(255, 255, 255, 0.5);

  /* Layout */
  --max-w: 960px;
  --max-w-sm: 640px;
  --radius: 20px;
  --radius-s: 14px;
  --radius-xs: 10px;
  --pill: 999px;

  /* Motion */
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.3s;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter',
    'Helvetica Neue', sans-serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--text-secondary);
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--canvas);
  position: relative;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }

/* ============================================
   BACKGROUND MESH ambient colour visible
   through the glass cards
   ============================================ */

.mesh-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.mesh-gradient {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  will-change: transform;
  opacity: 1;
}

.mesh-1 {
  width: 70vw; height: 70vw;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.5) 0%, rgba(37, 99, 235, 0.2) 35%, transparent 65%);
  top: -30%; left: -20%;
  animation: drift 32s ease-in-out infinite;
}

.mesh-2 {
  width: 65vw; height: 65vw;
  background: radial-gradient(circle, rgba(251, 146, 60, 0.45) 0%, rgba(234, 88, 12, 0.15) 35%, transparent 60%);
  top: 40%; right: -25%;
  animation: drift 38s ease-in-out infinite reverse;
}

.mesh-3 {
  width: 55vw; height: 55vw;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.35) 0%, rgba(220, 38, 38, 0.12) 35%, transparent 65%);
  bottom: -20%; left: 5%;
  animation: drift 42s ease-in-out infinite;
  animation-delay: -10s;
}

.mesh-4 {
  width: 55vw; height: 55vw;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.35) 0%, rgba(14, 165, 233, 0.12) 35%, transparent 65%);
  bottom: 10%; right: 0%;
  animation: drift 36s ease-in-out infinite reverse;
  animation-delay: -18s;
}

/* Extra mesh for more atmosphere */
.mesh-5 {
  width: 50vw; height: 50vw;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, rgba(139, 92, 246, 0.08) 40%, transparent 60%);
  top: 15%; left: 25%;
  animation: drift 44s ease-in-out infinite;
  animation-delay: -6s;
}

@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -20px) scale(1.05); }
  50% { transform: translate(-20px, 30px) scale(0.97); }
  75% { transform: translate(15px, 10px) scale(1.03); }
}

/* ============================================
   GLASS MATERIAL
   ============================================ */

.glass-card {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  border-radius: var(--radius);
  /* Top-edge-only white stroke "ceiling light" catch */
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow:
    /* Colored shadow tinted by nearby background orbs */
    0 8px 32px rgba(37, 99, 235, 0.08),
    0 4px 16px rgba(251, 146, 60, 0.06),
    0 2px 6px rgba(0, 0, 0, 0.06),
    /* Liquid depth glass thickness simulation */
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    inset 0 -1px 0 rgba(0, 0, 0, 0.04),
    inset 0 0 12px rgba(255, 255, 255, 0.15);
  transition: all var(--dur) var(--ease);
  overflow: hidden;
}

/* Top highlight light source gradient */
.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.45) 0%,
    rgba(255, 255, 255, 0.08) 25%,
    transparent 50%
  );
  pointer-events: none;
  z-index: 1;
}

/* Refraction shimmer warm/cool iridescent tint */
.glass-card::after {
  content: '';
  position: absolute;
  top: -1px; left: -1px; right: -1px; bottom: -1px;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(251, 146, 60, 0.05) 0%,
    transparent 25%,
    transparent 55%,
    rgba(59, 130, 246, 0.04) 75%,
    rgba(6, 182, 212, 0.05) 100%
  );
  pointer-events: none;
  z-index: 0;
}

.glass-card:hover {
  background: var(--glass-bg-hover);
  box-shadow:
    0 12px 40px rgba(37, 99, 235, 0.12),
    0 6px 20px rgba(251, 146, 60, 0.08),
    0 4px 10px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    inset 0 -1px 0 rgba(0, 0, 0, 0.04),
    inset 0 0 16px rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: var(--text-primary);
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.12;
  color: var(--text-primary);
}

h3 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--text-primary);
}

p { color: var(--text-secondary); line-height: 1.65; }

/* ============================================
   HEADER
   ============================================ */

.header {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: var(--max-w);
  height: 48px;
  z-index: 1000;
  border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(40px) saturate(1.6);
  -webkit-backdrop-filter: blur(40px) saturate(1.6);
  /* Top-edge only white stroke "ceiling light" catch */
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.08),
    0 1px 4px rgba(0, 0, 0, 0.04),
    /* Subtle side/bottom rim */
    inset 0 -1px 0 rgba(0, 0, 0, 0.04),
    inset 1px 0 0 rgba(255, 255, 255, 0.25),
    inset -1px 0 0 rgba(255, 255, 255, 0.25);
}

.header-inner {
  max-width: 100%;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

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

.logo-icon { flex-shrink: 0; }

.logo-mark {
  flex-shrink: 0;
  animation: logo-spin 20s linear infinite;
}

@keyframes logo-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.logo span {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--pill);
  transition: all var(--dur) var(--ease);
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(0, 0, 0, 0.04);
}

/* ============================================
   CONTAINER / SECTIONS
   ============================================ */

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.section {
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

.section-alt {
  /* slightly different ambient tint */
}

.section-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 48px;
}

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-header h2 { margin-bottom: 14px; }
.section-header p { font-size: 15px; color: var(--text-tertiary); }

/* ============================================
   HERO
   ============================================ */

.hero {
  text-align: center;
  padding: 130px 0 60px;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border-radius: var(--pill);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.6);
  margin-bottom: 28px;
  box-shadow: 
    0 2px 8px rgba(37, 99, 235, 0.1),
    0 1px 3px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 2px rgba(0, 0, 0, 0.03);
}

/* badge-dot removed */

.hero h1 { margin-bottom: 20px; color: var(--text-primary); }
.hero h1 em {
  font-style: italic;
  background: linear-gradient(135deg, #EA580C, #DC2626);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 1px 3px rgba(234, 88, 12, 0.3));
}

.hero-sub {
  max-width: 580px;
  margin: 0 auto 36px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-secondary);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 0;
}

.hero-proof {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding: 16px 32px;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(1.8);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.8);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.proof-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.proof-item strong {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.proof-item span {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-tertiary);
  letter-spacing: 0.01em;
}

.proof-sep {
  width: 1px;
  height: 32px;
  background: rgba(0, 0, 0, 0.08);
  
}

/* ============================================
   PROCESS GRID (Approach)
   ============================================ */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.process-card {
  padding: 28px 22px;
}

.process-card:hover {
  /* hover handled by .glass-card:hover */
}

.process-num {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  font-variant-numeric: tabular-nums;
}

.process-card h3 { margin-bottom: 10px; }

.process-card p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-tertiary);
}

/* ============================================
   SERVICES GRID
   ============================================ */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-card {
  padding: 32px 26px 28px;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  /* hover handled by .glass-card:hover */
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Puffy molded glass radial gradient + depth */
  background: radial-gradient(ellipse at 45% 35%, rgba(8, 145, 178, 0.18) 0%, rgba(8, 145, 178, 0.06) 100%);
  margin-bottom: 20px;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 
    0 3px 10px rgba(8, 145, 178, 0.15),
    0 1px 3px rgba(0, 0, 0, 0.06),
    inset 0 1px 1px rgba(255, 255, 255, 0.6),
    inset 0 -2px 4px rgba(8, 145, 178, 0.1);
  transition: all var(--dur) var(--ease);
}

.service-icon svg {
  width: 22px;
  height: 22px;
  color: var(--cyan);
  stroke-width: 1.6;
  filter: drop-shadow(0 1px 2px rgba(8, 145, 178, 0.3));
}

.service-icon.icon-blue { 
  background: radial-gradient(ellipse at 45% 35%, rgba(37, 99, 235, 0.18) 0%, rgba(37, 99, 235, 0.06) 100%);
  box-shadow: 
    0 3px 10px rgba(37, 99, 235, 0.15),
    0 1px 3px rgba(0, 0, 0, 0.06),
    inset 0 1px 1px rgba(255, 255, 255, 0.6),
    inset 0 -2px 4px rgba(37, 99, 235, 0.1);
}
.service-icon.icon-blue svg { 
  color: var(--blue); 
  filter: drop-shadow(0 1px 2px rgba(37, 99, 235, 0.3));
}

.service-icon.icon-green { 
  background: radial-gradient(ellipse at 45% 35%, rgba(22, 163, 74, 0.18) 0%, rgba(22, 163, 74, 0.06) 100%);
  box-shadow: 
    0 3px 10px rgba(22, 163, 74, 0.15),
    0 1px 3px rgba(0, 0, 0, 0.06),
    inset 0 1px 1px rgba(255, 255, 255, 0.6),
    inset 0 -2px 4px rgba(22, 163, 74, 0.1);
}
.service-icon.icon-green svg { 
  color: var(--green); 
  filter: drop-shadow(0 1px 2px rgba(22, 163, 74, 0.3));
}

.service-card h3 { margin-bottom: 10px; }

.service-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-tertiary);
  margin-bottom: 18px;
  flex-grow: 1;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
}

.service-tags li {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-tertiary);
  padding: 4px 10px;
  border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

/* ============================================
   BOOKING
   ============================================ */

.booking-page {
  max-width: var(--max-w-sm);
  margin: 0 auto;
}

.booking-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-quaternary);
  transition: color var(--dur) var(--ease);
}

.step-item.active { color: var(--accent); }
.step-item.completed { color: var(--text-secondary); }

.step-num {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow:
    var(--shadow-sm),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 2px rgba(0, 0, 0, 0.04);
  transition: all var(--dur) var(--ease);
}

.step-item.active .step-num {
  background: radial-gradient(ellipse at 50% 30%, rgba(96, 165, 250, 1) 0%, var(--accent) 70%);
  border-color: transparent;
  color: #fff;
  box-shadow:
    0 3px 12px var(--accent-glow),
    inset 0 1px 1px rgba(255, 255, 255, 0.3),
    inset 0 -2px 3px rgba(0, 0, 0, 0.12);
}

.step-item.completed .step-num {
  background: rgba(255, 255, 255, 0.45);
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--text-secondary);
}

.step-divider {
  width: 32px;
  height: 1px;
  background: rgba(0, 0, 0, 0.1);
}

.booking-panel { display: none; }
.booking-panel.active { display: block; }

/* Calendar */
.calendar-container { padding: 24px; margin-bottom: 14px; }

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.calendar-header h3 { font-size: 15px; font-weight: 600; }
.calendar-nav { display: flex; gap: 4px; }

.calendar-nav button {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-xs);
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.06);
  color: var(--text-secondary);
  transition: all var(--dur) var(--ease);
}

.calendar-nav button:hover {
  background: rgba(0, 0, 0, 0.06);
  color: var(--accent);
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  margin-bottom: 4px;
}

.calendar-weekdays span {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-tertiary);
  padding: 6px 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xs);
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all 0.15s var(--ease);
}

.calendar-day:hover:not(.disabled):not(.empty) {
  background: rgba(37, 99, 235, 0.08);
  color: var(--accent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.calendar-day.today { 
  font-weight: 600; 
  color: var(--accent);
  background: rgba(37, 99, 235, 0.06);
}

.calendar-day.selected {
  background: radial-gradient(ellipse at 50% 35%, rgba(96, 165, 250, 1) 0%, var(--accent) 70%);
  color: #fff;
  font-weight: 600;
  box-shadow: 
    0 2px 10px var(--accent-glow),
    inset 0 1px 1px rgba(255, 255, 255, 0.3),
    inset 0 -2px 3px rgba(0, 0, 0, 0.1);
}

.calendar-day.disabled { color: var(--text-quaternary); opacity: 0.5; cursor: not-allowed; }
.calendar-day.empty { cursor: default; }

/* Slots */
.slots-container { padding: 24px; }
.slots-container h3 { margin-bottom: 14px; font-size: 14px; font-weight: 600; }

.slots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.slot {
  padding: 11px;
  text-align: center;
  border-radius: var(--radius-xs);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  color: var(--text-secondary);
  box-shadow:
    var(--shadow-sm),
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -1px 2px rgba(0, 0, 0, 0.03);
  transition: all 0.15s var(--ease);
}

.slot:hover:not(.unavailable) {
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.2);
  color: var(--accent);
}

.slot.selected {
  background: radial-gradient(ellipse at 50% 30%, rgba(96, 165, 250, 1) 0%, var(--accent) 70%);
  border-color: transparent;
  color: #fff;
  font-weight: 600;
  box-shadow: 
    0 3px 12px var(--accent-glow),
    inset 0 1px 1px rgba(255, 255, 255, 0.3),
    inset 0 -2px 4px rgba(0, 0, 0, 0.1);
}

.slot.unavailable { opacity: 0.3; cursor: not-allowed; text-decoration: line-through; }

/* Form */
.form-panel { padding: 24px; }
.form-panel h3 { margin-bottom: 18px; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full-width { grid-column: 1 / -1; }

.form-group label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-tertiary);
  letter-spacing: 0.02em;
}

.glass-input {
  width: 100%;
  padding: 11px 14px;
  font-size: 15px;
  font-weight: 400;
  color: var(--text-primary);
  /* Recessed / carved-in look */
  background: rgba(0, 0, 0, 0.03);
  border: none;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-xs);
  outline: none;
  box-shadow:
    inset 0 2px 4px rgba(0, 0, 0, 0.06),
    inset 0 0 2px rgba(0, 0, 0, 0.03),
    0 1px 0 rgba(255, 255, 255, 0.5);
  transition: all var(--dur) var(--ease);
}

.glass-input::placeholder { color: var(--text-quaternary); }

.glass-input:focus {
  background: rgba(255, 255, 255, 0.25);
  border-color: var(--accent);
  box-shadow: 
    0 0 0 3px var(--accent-tint),
    inset 0 1px 2px rgba(0, 0, 0, 0.04),
    0 1px 0 rgba(255, 255, 255, 0.5);
}

.glass-input.error {
  border-color: var(--coral);
  box-shadow:
    0 0 0 3px rgba(220, 38, 38, 0.15),
    inset 0 2px 4px rgba(0, 0, 0, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.5);
}

.form-error {
  min-height: 16px;
  font-size: 12px;
  color: var(--coral);
  line-height: 1.4;
}

textarea.glass-input { resize: vertical; min-height: 80px; font-family: inherit; }

/* Summary */
.summary-panel { padding: 24px; }
.summary-panel h3 { margin-bottom: 18px; }

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.summary-row:last-child { border-bottom: none; }
.summary-row .label { color: var(--text-tertiary); font-size: 13px; }
.summary-row .value { color: var(--text-primary); font-size: 13px; font-weight: 600; }

.booking-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  gap: 12px;
}

/* Confirmation */
.confirmation { text-align: center; padding: 44px 24px; }

.check-icon {
  width: 52px; height: 52px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(22, 163, 74, 0.08);
  border: 1px solid rgba(22, 163, 74, 0.2);
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.1);
}

.check-icon svg { width: 24px; height: 24px; color: var(--green); stroke-width: 2.2; }
.confirmation h2 { margin-bottom: 10px; }
.confirmation p { margin-bottom: 24px; color: var(--text-tertiary); font-size: 15px; }

/* Summary total row */
.summary-total { margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(0, 0, 0, 0.1); }
.summary-total .label { font-weight: 600; color: var(--text-primary); }
.summary-total .value { font-weight: 700; color: var(--text-primary); font-size: 16px; }
.summary-note { font-size: 12px !important; color: var(--text-quaternary) !important; margin-top: 16px; text-align: center; line-height: 1.5; }

/* Payment spinner */
.payment-spinner {
  width: 40px; height: 40px;
  margin: 0 auto;
  border: 3px solid rgba(0, 0, 0, 0.06);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.01em;
  padding: 11px 22px;
  border-radius: var(--pill);
  transition: all var(--dur) var(--ease);
  cursor: pointer;
}

.btn-primary {
  position: relative;
  /* Radial gradient lighter center = "liquid filled" */
  background: radial-gradient(ellipse at 50% 30%, rgba(96, 165, 250, 1) 0%, var(--accent) 60%, var(--accent-hover) 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 
    0 4px 14px var(--accent-glow),
    0 1px 3px rgba(0, 0, 0, 0.12),
    /* Liquid inner highlight white from top-left */
    inset 0 1px 1px rgba(255, 255, 255, 0.35),
    inset -2px -3px 6px rgba(0, 0, 0, 0.12);
}

.btn-primary:hover {
  background: radial-gradient(ellipse at 50% 35%, rgba(96, 165, 250, 1) 0%, var(--accent-hover) 65%, #1e40af 100%);
  box-shadow: 
    0 6px 24px var(--accent-glow),
    0 2px 6px rgba(0, 0, 0, 0.14),
    inset 0 1px 1px rgba(255, 255, 255, 0.4),
    inset -2px -3px 8px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0);
  background: radial-gradient(ellipse at 50% 50%, var(--accent) 0%, var(--accent-hover) 100%);
  box-shadow: 
    0 1px 4px var(--accent-glow),
    inset 0 2px 6px rgba(0, 0, 0, 0.2);
}

.btn-primary:disabled {
  background: var(--text-quaternary);
  border-color: rgba(0, 0, 0, 0.04);
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.5;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.3);
  color: var(--text-secondary);
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 
    var(--shadow-sm),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 3px rgba(0, 0, 0, 0.04);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.5);
  color: var(--text-primary);
  box-shadow: 
    var(--shadow-md),
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    inset 0 -1px 4px rgba(0, 0, 0, 0.06);
}

.btn-lg { padding: 14px 32px; font-size: 15px; }
.btn-sm { padding: 8px 16px; font-size: 13px; }

/* ============================================
   FOOTER
   ============================================ */

.footer {
  padding: 48px 0 32px;
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.footer-brand svg { width: 20px; height: 20px; }

.footer-contact {
  font-size: 13px !important;
  color: var(--text-secondary) !important;
  font-weight: 500;
}

.footer-copy {
  font-size: 11px !important;
  color: var(--text-tertiary) !important;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: center;
  max-width: 800px;
}

.footer-links a {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-tertiary);
  transition: color var(--dur) var(--ease);
  white-space: nowrap;
}

.footer-links a:hover {
  color: var(--text-primary);
}

/* ============================================
   CONSENT BANNER
   ============================================ */

.consent-banner {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2000;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 22px 32px;
  max-width: 600px;
  width: calc(100% - 48px);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(40px) saturate(1.5);
  -webkit-backdrop-filter: blur(40px) saturate(1.5);
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow:
    0 12px 40px rgba(37, 99, 235, 0.08),
    0 4px 16px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    inset 0 -1px 0 rgba(0, 0, 0, 0.04),
    inset 0 0 10px rgba(255, 255, 255, 0.12);
  animation: bannerSlide 0.5s var(--ease-out) forwards;
}

@keyframes bannerSlide {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.consent-banner.hiding {
  opacity: 0;
  transform: translateX(-50%) translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.consent-banner-text {
  flex: 1;
  min-width: 0;
}

.consent-banner-text strong {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  margin-bottom: 3px;
}

.consent-banner-text p {
  font-size: 12px !important;
  line-height: 1.5 !important;
  color: var(--text-tertiary) !important;
  margin: 0 !important;
}

.consent-banner-text a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.consent-banner-text a:hover { text-decoration: underline; }

.consent-banner-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

/* ============================================
   CONSENT OVERLAY & MODAL
   ============================================ */

.consent-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  animation: overlayIn 0.25s ease forwards;
}

@keyframes overlayIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.consent-modal {
  max-width: 440px;
  width: calc(100% - 48px);
  padding: 32px 28px 28px;
  max-height: 88vh;
  overflow-y: auto;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(40px) saturate(1.5);
  -webkit-backdrop-filter: blur(40px) saturate(1.5);
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow:
    0 20px 60px rgba(37, 99, 235, 0.1),
    0 8px 24px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    inset 0 -1px 0 rgba(0, 0, 0, 0.04),
    inset 0 0 14px rgba(255, 255, 255, 0.15);
  animation: modalIn 0.35s var(--ease-out) forwards;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.96) translateY(12px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.consent-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.consent-modal-header h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}

.consent-close {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.04);
  color: var(--text-quaternary);
  cursor: pointer;
  transition: all 0.15s ease;
}

.consent-close:hover {
  background: rgba(0, 0, 0, 0.08);
  color: var(--text-secondary);
}

.consent-modal-desc {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--text-tertiary);
  margin-bottom: 22px;
}

/* Option rows inset grouped list (iOS style) */
.consent-options {
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.04);
}

.consent-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 16px;
}

.consent-row + .consent-row {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.consent-row-info {
  flex: 1;
  min-width: 0;
}

.consent-row-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.005em;
}

.consent-row-desc {
  display: block;
  font-size: 11.5px;
  color: var(--text-quaternary);
  line-height: 1.4;
  margin-top: 1px;
}

/* Toggle iOS-style switch */
.consent-toggle {
  position: relative;
  display: inline-flex;
  cursor: pointer;
  flex-shrink: 0;
}

.consent-toggle input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-track {
  width: 42px;
  height: 25px;
  border-radius: 12.5px;
  /* Recessed / carved-out look */
  background: rgba(0, 0, 0, 0.08);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow:
    inset 0 2px 4px rgba(0, 0, 0, 0.1),
    inset 0 0 2px rgba(0, 0, 0, 0.05),
    0 1px 0 rgba(255, 255, 255, 0.5);
  transition: background 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.toggle-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  /* Liquid glass bead */
  background: radial-gradient(ellipse at 40% 35%, rgba(255, 255, 255, 1) 0%, rgba(240, 240, 240, 1) 100%);
  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.15),
    0 1px 2px rgba(0, 0, 0, 0.08),
    inset 0 1px 1px rgba(255, 255, 255, 0.9),
    inset 0 -1px 2px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s ease;
}

.consent-toggle input:checked + .toggle-track {
  background: #16A34A;
  border-color: rgba(0, 0, 0, 0.04);
  box-shadow:
    inset 0 2px 4px rgba(0, 0, 0, 0.12),
    0 1px 0 rgba(255, 255, 255, 0.5),
    /* Warm glow from "on" state */
    0 0 8px rgba(22, 163, 74, 0.25);
}

.consent-toggle input:checked + .toggle-track .toggle-thumb {
  transform: translateX(17px);
  box-shadow:
    0 2px 8px rgba(22, 163, 74, 0.3),
    0 1px 2px rgba(0, 0, 0, 0.1),
    inset 0 1px 1px rgba(255, 255, 255, 0.9);
}

.consent-toggle.disabled {
  cursor: default;
}

.consent-toggle.disabled .toggle-track {
  background: #16A34A;
  opacity: 0.5;
}

.consent-toggle.disabled .toggle-track .toggle-thumb {
  transform: translateX(17px);
}

/* Modal footer actions */
.consent-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

/* ============================================
   LEGAL / POLICY PAGES
   ============================================ */

.legal-page {
  padding: 120px 0 80px;
  position: relative;
  z-index: 1;
}

.legal-card {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 56px;
}

.legal-header {
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.legal-header h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 8px;
}

.legal-updated {
  font-size: 13px !important;
  color: var(--text-tertiary) !important;
  font-weight: 500;
}

.legal-body h2 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 32px 0 10px;
  color: var(--text-primary);
}

.legal-body h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 24px 0 8px;
  color: var(--text-primary);
}

.legal-body p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.legal-body ul {
  margin: 8px 0 16px 20px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.legal-body ul li {
  margin-bottom: 4px;
}

.legal-body a {
  color: var(--accent);
  font-weight: 500;
}

.legal-body a:hover {
  text-decoration: underline;
}

.legal-contact {
  margin-top: 4px;
}

.legal-table-wrap {
  overflow-x: auto;
  margin: 16px 0 24px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.legal-table th {
  text-align: left;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  background: rgba(0, 0, 0, 0.02);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.legal-table td {
  padding: 10px 16px;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.legal-table code {
  font-family: 'SF Mono', Monaco, Consolas, monospace;
  font-size: 12px;
  padding: 2px 6px;
  background: rgba(0, 0, 0, 0.04);
  border-radius: 4px;
  color: var(--text-primary);
}

@media (max-width: 768px) {
  .legal-card { padding: 32px 24px; }
  .consent-banner {
    flex-direction: column;
    gap: 16px;
    bottom: 16px;
    left: 16px;
    right: 16px;
    width: auto;
    transform: none;
    padding: 20px 22px;
    border-radius: 16px;
  }
  @keyframes bannerSlide {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .consent-banner-actions { width: 100%; }
  .consent-banner-actions .btn { flex: 1; }
  .consent-modal { padding: 24px 20px 20px; border-radius: 18px; }
  .consent-modal-actions { flex-direction: column; }
  .consent-modal-actions .btn { width: 100%; justify-content: center; }
}

/* ============================================
   ANIMATIONS
   ============================================ */

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

.fade-up { opacity: 0; animation: fadeUp 0.6s var(--ease-out) forwards; }
.fade-up-d1 { animation-delay: 0.06s; }
.fade-up-d2 { animation-delay: 0.12s; }
.fade-up-d3 { animation-delay: 0.18s; }
.fade-up-d4 { animation-delay: 0.24s; }

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 960px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero { padding: 110px 0 48px; }
  .hero-actions { flex-direction: column; gap: 10px; }
  .hero-actions .btn { width: 100%; max-width: 280px; }
  .hero-proof { flex-direction: column; gap: 16px; padding: 20px 28px; }
  .proof-sep { width: 40px; height: 1px; }

  .section { padding: 56px 0; }

  .process-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .services-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; gap: 12px; }

  .form-grid { grid-template-columns: 1fr; }
  .slots-grid { grid-template-columns: repeat(3, 1fr); }
  .step-label { display: none; }

  .header-nav .nav-link { display: none; }
}

@media (max-width: 480px) {
  .hero { padding: 100px 0 36px; }
  .process-grid { grid-template-columns: 1fr; }
  .slots-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   PRICING SECTION
   ============================================ */

.pricing-grid {
  display: flex;
  justify-content: center;
}

.pricing-card {
  max-width: 520px;
  width: 100%;
  padding: 40px 44px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

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

.pricing-header h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.pricing-price {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.02em;
}

.pricing-price span {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-left: 4px;
}

.pricing-duration {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 10px;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.pricing-features li::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 2px;
  background-color: var(--accent-tint);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563EB' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4.5 12.75 6 6 9-13.5'/%3E%3C/svg%3E");
  background-size: 11px;
  background-repeat: no-repeat;
  background-position: center;
}

.pricing-card .btn {
  text-align: center;
  width: 100%;
  justify-content: center;
}

.pricing-note {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  text-align: center;
  line-height: 1.5;
}

@media (max-width: 480px) {
  .pricing-card { padding: 28px 24px; }
  .pricing-price { font-size: 2.75rem; }
}
