/* ==============================================================================
   VINTAGE LUXE REAL ESTATE // ADVISING REAL ESTATE INVESTMENTS FOR 25 YEARS
   - Authentic Ultra-Luxury Dark Canvas (#000000) with soft volumetric caustics
   - High-end Cupertino frosted glassmorphism (backdrop-filter: blur(34px) saturate(190%))
   - Desktop glass dropdown navigation & Mobile full-screen glass curtain drawer
   - Top-notch button finishing level with specular reflections and tactile haptics
   - Apple Siri iOS 18 fluid iridescent harmonic visualizer
   - Smooth Apple scroll system with translucent thin scrollbars
   - Zero private CRM data / Director passwords exposed on public dashboard
   ============================================================================== */

:root {
  /* Ultra-Luxury Obsidian Palette */
  --bg-black: #000000;
  --bg-subtle: #050508;
  --bg-glass: rgba(16, 16, 22, 0.76);
  --bg-glass-elevated: rgba(22, 22, 30, 0.88);
  --bg-card: rgba(14, 14, 19, 0.85);
  --bg-card-subtle: rgba(20, 20, 26, 0.7);
  --bg-pill: rgba(255, 255, 255, 0.06);
  --bg-pill-hover: rgba(255, 255, 255, 0.12);
  --bg-pill-active: rgba(255, 255, 255, 0.18);

  /* Apple Typographical Hierarchy */
  --text-white: #FFFFFF;
  --text-light: #F5F5F7;
  --text-muted: #A1A1A6;
  --text-dim: #86868B;
  --text-dark: #636366;

  /* Apple Siri Chromatic Spectrum */
  --siri-cyan: #00F2FE;
  --siri-blue: #4FACFE;
  --siri-magenta: #FF0844;
  --siri-pink: #F355DA;
  --siri-purple: #7F00FF;
  --siri-gold: #FFE066;

  /* Apple System Indicators */
  --apple-green: #34C759;
  --apple-red: #FF3B30;
  --apple-orange: #FF9500;
  --apple-blue: #0071E3;
  --apple-indigo: #5856D6;

  /* Specular Hairline Borders & Luxury Shadows */
  --border-hairline: rgba(255, 255, 255, 0.08);
  --border-subtle: rgba(255, 255, 255, 0.05);
  --border-active: rgba(255, 255, 255, 0.24);
  --glass-specular: inset 0 1px 0 0 rgba(255, 255, 255, 0.14);
  --shadow-stage: 0 30px 90px -15px rgba(0, 0, 0, 0.95), 0 0 1px 1px rgba(255, 255, 255, 0.08);
  --shadow-card: 0 18px 44px -10px rgba(0, 0, 0, 0.85), inset 0 1px 0 0 rgba(255, 255, 255, 0.1);

  /* Fonts - Google Philosopher for Luxury Real Estate Identity */
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", sans-serif;
  --font-philosopher: 'Philosopher', -apple-system, BlinkMacSystemFont, "SF Pro Display", Georgia, serif;
  --font-heading: 'Philosopher', Georgia, serif;
  --font-serif: 'Philosopher', 'Playfair Display', Georgia, serif;
  --font-mono: 'JetBrains Mono', "SF Mono", Menlo, Consolas, monospace;
}

/* ==============================================================================
   RESET & SMOOTH SCROLL ARCHITECTURE
   ============================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  background-color: var(--bg-black);
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-black);
  color: var(--text-white);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  line-height: 1.47059;
  letter-spacing: -0.012em;
}

/* Luxury Editorial Headings in Google Philosopher Font */
h1, h2, h3, h4, h5, h6,
.hero-title,
.brand-title,
.siri-title,
.metric-val,
.heritage-pill,
.prop-title,
.prop-price,
.card-title,
.section-title,
.panel-tab,
.nav-pill,
.guide-content h4,
.agent-info h4,
.concierge-titles h3,
.footer-col-title,
.modal-header h3 {
  font-family: var(--font-philosopher);
  letter-spacing: -0.01em;
}

/* Apple Sleek Scrollbar */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  transition: background 0.2s ease;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.4);
}
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

/* ==============================================================================
   VOLUMETRIC SPOTLIGHTS (APPLE SOFT LUXURY LIGHT HALOS)
   ============================================================================== */
.spotlight {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.6;
}

.spotlight-left {
  top: 40px;
  left: -150px;
  width: 480px;
  height: 520px;
  background: radial-gradient(ellipse at center, rgba(0, 242, 254, 0.12) 0%, rgba(79, 172, 254, 0.05) 50%, transparent 75%);
}

.spotlight-right {
  top: 40px;
  right: -150px;
  width: 480px;
  height: 520px;
  background: radial-gradient(ellipse at center, rgba(243, 85, 218, 0.12) 0%, rgba(127, 0, 255, 0.05) 50%, transparent 75%);
}

.spotlight-center {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 720px;
  height: 260px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.04) 0%, transparent 70%);
}

.page-container {
  position: relative;
  z-index: 1;
  max-width: 1260px;
  margin: 0 auto;
  padding: 16px 24px 60px;
}

/* ==============================================================================
   TOP EXECUTIVE NAVIGATION BAR WITH OFFICIAL 25-YEAR LOGO
   ============================================================================== */
.top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0 24px;
  margin-bottom: 24px;
  gap: 16px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-brand {
  display: flex;
  align-items: center;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo-img {
  height: 72px;
  width: auto;
  max-width: 290px;
  object-fit: contain;
  filter: brightness(1.12);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), filter 0.25s ease;
}

.brand-logo-img:hover {
  transform: scale(1.03);
  filter: brightness(1.22);
}

/* Center Floating Segmented Pill Menu */
.nav-capsule {
  display: flex;
  align-items: center;
  background: var(--bg-glass);
  backdrop-filter: blur(30px) saturate(190%);
  -webkit-backdrop-filter: blur(30px) saturate(190%);
  border: 1px solid var(--border-hairline);
  box-shadow: var(--glass-specular), 0 8px 24px rgba(0, 0, 0, 0.5);
  border-radius: 9999px;
  padding: 3px;
  gap: 2px;
}

.nav-pill {
  padding: 7px 16px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text-dim);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.nav-pill:hover {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.05);
}

.nav-pill.active {
  background: rgba(255, 255, 255, 0.14);
  color: var(--text-white);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Desktop Luxury Dropdown Menus */
.nav-dropdown-wrapper {
  position: relative;
  display: inline-flex;
}

.dropdown-chevron {
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-dropdown-wrapper:hover .dropdown-chevron,
.nav-dropdown-wrapper.open .dropdown-chevron {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 290px;
  background: rgba(14, 14, 20, 0.94);
  backdrop-filter: blur(36px) saturate(190%);
  -webkit-backdrop-filter: blur(36px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  padding: 10px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 80;
}

.nav-dropdown-wrapper:hover .nav-dropdown-menu,
.nav-dropdown-wrapper.open .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-section {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dropdown-section-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 4px 10px 6px;
  font-family: var(--font-mono);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text-white);
  background: transparent;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.dropdown-item:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(2px);
}

.dropdown-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--siri-cyan);
  flex-shrink: 0;
}

.dropdown-info {
  display: flex;
  flex-direction: column;
}

.dropdown-info strong {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-white);
}

.dropdown-info small {
  font-size: 10px;
  color: var(--text-dim);
}

/* Right Action Controls */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Persona Segmented Switcher */
.header-persona-toggle {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-hairline);
  box-shadow: var(--glass-specular);
  border-radius: 9999px;
  padding: 3px;
  gap: 2px;
}

.header-gender-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-dim);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.header-gender-pill:hover {
  color: var(--text-white);
}

.header-gender-pill.active {
  background: rgba(255, 255, 255, 0.16);
  color: var(--text-white);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.gender-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.gender-dot.female {
  background: var(--siri-pink);
  box-shadow: 0 0 6px var(--siri-pink);
}
.gender-dot.male {
  background: var(--siri-cyan);
  box-shadow: 0 0 6px var(--siri-cyan);
}

.icon-circle-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-pill);
  border: 1px solid var(--border-hairline);
  box-shadow: var(--glass-specular);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.icon-circle-btn:hover {
  background: var(--bg-pill-hover);
  color: var(--text-white);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.notify-badge {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--apple-green);
  box-shadow: 0 0 6px var(--apple-green);
}

/* Mobile Hamburger Toggle */
.mobile-menu-btn {
  display: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-pill);
  border: 1px solid var(--border-hairline);
  box-shadow: var(--glass-specular);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hamburger-bar {
  width: 16px;
  height: 1.5px;
  background: #FFFFFF;
  border-radius: 2px;
  transition: all 0.2s ease;
}

/* Mobile Full-Screen Glass Curtain Drawer */
.mobile-menu-drawer {
  position: fixed;
  inset: 0;
  background: rgba(4, 4, 6, 0.96);
  backdrop-filter: blur(40px) saturate(190%);
  -webkit-backdrop-filter: blur(40px) saturate(190%);
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.mobile-menu-drawer.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-menu-logo {
  height: 58px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  filter: brightness(1.12);
}

.btn-close-mobile-menu {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-hairline);
  color: var(--text-white);
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.mobile-menu-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 20px;
}

.mobile-persona-cluster {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-menu-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.mobile-gender-switch {
  display: flex;
  gap: 8px;
}

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

.mobile-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-hairline);
  color: var(--text-white);
  text-decoration: none;
  transition: all 0.2s ease;
}

.mobile-nav-item:active, .mobile-nav-item.active {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

.mn-icon { font-size: 18px; }
.mn-text { display: flex; flex-direction: column; flex: 1; }
.mn-text strong { font-size: 14px; font-weight: 600; }
.mn-text small { font-size: 11px; color: var(--text-dim); }

.mobile-menu-footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-card-subtitle { font-size: 11px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; }
.mobile-card-address { font-size: 12px; color: var(--text-dim); }
.btn-luxury-touch {
  display: block;
  text-align: center;
  padding: 12px;
  border-radius: 9999px;
  background: #FFFFFF;
  color: #000000;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  margin-top: 8px;
}

/* ==============================================================================
   EDITORIAL LUXURY HERO HEADER
   ============================================================================== */
.hero-header {
  text-align: center;
  padding: 18px 0 34px;
  max-width: 840px;
  margin: 0 auto;
}

.hero-capsule-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-hairline);
  box-shadow: var(--glass-specular);
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--apple-blue);
  box-shadow: 0 0 8px var(--apple-blue);
}

.hero-title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--text-white);
  margin-bottom: 14px;
}

.gradient-text {
  background: linear-gradient(135deg, #FFFFFF 20%, #A1A1A6 60%, #86868B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
  letter-spacing: -0.01em;
}

/* ==============================================================================
   MAIN APPLICATION STAGE (APPLE SIRI INTELLIGENCE HUB)
   ============================================================================== */
.main-stage {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* Apple Siri Real-Time Audio Stage Card */
.siri-stage-card {
  position: relative;
  background: var(--bg-card);
  backdrop-filter: blur(34px) saturate(190%);
  -webkit-backdrop-filter: blur(34px) saturate(190%);
  border: 1px solid var(--border-hairline);
  box-shadow: var(--shadow-stage), var(--glass-specular);
  border-radius: 26px;
  padding: 24px 28px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Siri Multicolored Fluid Caustics */
.siri-edge-glow {
  position: absolute;
  inset: -2px;
  border-radius: 28px;
  background: conic-gradient(
    from 180deg at 50% 50%,
    transparent 0deg,
    rgba(0, 242, 254, 0.28) 45deg,
    rgba(127, 0, 255, 0.25) 120deg,
    rgba(243, 85, 218, 0.3) 190deg,
    rgba(255, 224, 102, 0.22) 270deg,
    rgba(0, 242, 254, 0.28) 360deg
  );
  filter: blur(16px);
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  animation: siriSpin 18s linear infinite;
}

.siri-stage-card.listening .siri-edge-glow,
.siri-stage-card.speaking .siri-edge-glow {
  opacity: 0.65;
  filter: blur(20px);
}

@keyframes siriSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.siri-stage-topbar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.siri-brand-info {
  display: flex;
  flex-direction: column;
}

.siri-micro-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--siri-cyan);
  text-transform: uppercase;
  font-family: var(--font-mono);
  margin-bottom: 2px;
}

.siri-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-white);
}

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

.siri-shield-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(52, 199, 89, 0.12);
  border: 1px solid rgba(52, 199, 89, 0.3);
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 600;
  color: var(--apple-green);
  box-shadow: 0 0 10px rgba(52, 199, 89, 0.15);
  transition: all 0.25s ease;
}

.siri-shield-tag.attenuated {
  background: rgba(255, 149, 0, 0.12);
  border-color: rgba(255, 149, 0, 0.3);
  color: var(--apple-orange);
  box-shadow: 0 0 10px rgba(255, 149, 0, 0.15);
}

.siri-status-badge {
  padding: 4px 12px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-hairline);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  font-family: var(--font-mono);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.siri-status-badge.active {
  background: rgba(0, 242, 254, 0.14);
  border-color: rgba(0, 242, 254, 0.4);
  color: var(--siri-cyan);
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.25);
}

.siri-status-badge.speaking {
  background: rgba(243, 85, 218, 0.14);
  border-color: rgba(243, 85, 218, 0.4);
  color: var(--siri-pink);
  box-shadow: 0 0 12px rgba(243, 85, 218, 0.25);
}

/* Apple Siri Visualizer Canvas */
.siri-canvas-container {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 190px;
  border-radius: 18px;
  background: radial-gradient(ellipse at center, rgba(16, 16, 24, 0.6) 0%, rgba(6, 6, 10, 0.95) 100%);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.siri-canvas-overlay {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  text-align: center;
}

.siri-glow-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-dim);
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 4px 14px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  letter-spacing: -0.01em;
}

/* Siri Action Controls Dock */
.siri-controls-dock {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  gap: 16px;
  flex-wrap: wrap;
}

.siri-main-btn-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* High-End Tactile Branded Call Button */
.btn-siri-call {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: 9999px;
  background: linear-gradient(180deg, #FFFFFF 0%, #EDEDED 100%);
  color: #000000;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: 1px solid rgba(255, 255, 255, 0.9);
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 1), 0 8px 24px -4px rgba(255, 255, 255, 0.3), 0 2px 6px rgba(0, 0, 0, 0.5);
  transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-siri-call:hover {
  transform: translateY(-1.5px) scale(1.02);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 1), 0 12px 30px -4px rgba(255, 255, 255, 0.42), 0 4px 10px rgba(0, 0, 0, 0.5);
}

.btn-siri-call:active {
  transform: translateY(0.5px) scale(0.98);
}

.btn-siri-call.active {
  background: linear-gradient(180deg, #FF3B30 0%, #E02820 100%);
  color: #FFFFFF;
  border-color: rgba(255, 59, 48, 0.8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 8px 24px rgba(255, 59, 48, 0.4);
}

.siri-mic-icon {
  flex-shrink: 0;
}

/* Siri Interrupt Pill */
.btn-siri-interrupt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-hairline);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 4px 14px rgba(0, 0, 0, 0.4);
  color: var(--text-light);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-siri-interrupt:not(:disabled):hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--text-white);
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 6px 18px rgba(0, 0, 0, 0.5);
}

.btn-siri-interrupt:not(:disabled):active {
  transform: translateY(0.5px) scale(0.98);
}

.btn-siri-interrupt:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* Dual Precision VU Meters */
.siri-meters-cluster {
  display: flex;
  align-items: center;
  gap: 16px;
}

.meter-unit {
  display: flex;
  align-items: center;
  gap: 8px;
}

.meter-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

.meter-track {
  width: 90px;
  height: 6px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  position: relative;
}

.meter-bar {
  height: 100%;
  width: 0%;
  border-radius: 9999px;
  transition: width 0.07s ease-out;
}

.meter-bar.mic {
  background: linear-gradient(90deg, var(--siri-cyan), var(--siri-blue));
  box-shadow: 0 0 8px var(--siri-cyan);
}

.meter-bar.agent {
  background: linear-gradient(90deg, var(--siri-pink), var(--siri-magenta));
  box-shadow: 0 0 8px var(--siri-pink);
}

/* Apple Siri Acoustic Bar */
.siri-acoustic-bar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  gap: 16px;
  flex-wrap: wrap;
}

.acoustic-toggle-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.apple-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 26px;
  flex-shrink: 0;
  cursor: pointer;
}

.apple-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.apple-switch-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.apple-switch-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 2px;
  bottom: 2px;
  background-color: #FFFFFF;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.apple-switch input:checked + .apple-switch-slider {
  background-color: var(--apple-green);
  border-color: var(--apple-green);
  box-shadow: 0 0 12px rgba(52, 199, 89, 0.3);
}

.apple-switch input:checked + .apple-switch-slider:before {
  transform: translateX(18px);
}

.acoustic-label-cluster {
  display: flex;
  flex-direction: column;
}

.acoustic-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-white);
  letter-spacing: -0.01em;
}

.acoustic-sub {
  font-size: 11px;
  color: var(--text-dim);
}

.acoustic-sensitivity-selector {
  display: flex;
  align-items: center;
  gap: 10px;
}

.selector-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-dim);
}

.apple-segmented-control {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-hairline);
  box-shadow: var(--glass-specular);
  border-radius: 9999px;
  padding: 3px;
  gap: 2px;
}

.seg-btn {
  padding: 5px 13px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-dim);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.seg-btn:hover {
  color: var(--text-white);
}

.seg-btn.active {
  background: rgba(255, 255, 255, 0.16);
  color: var(--text-white);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Quick Inquiry Pills Carousel */
.siri-quick-queries {
  position: relative;
  z-index: 1;
  margin-top: 18px;
}

.quick-queries-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.queries-carousel {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}

.query-pill {
  flex-shrink: 0;
  padding: 8px 16px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-hairline);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: var(--text-light);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.query-pill:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 6px 18px rgba(0, 0, 0, 0.4);
}

.query-pill:active {
  transform: translateY(0.5px) scale(0.98);
}

/* ==============================================================================
   INFINITE CONTINUOUS MARQUEE TICKER (AED ONLY)
   ============================================================================== */
.marquee-strip {
  overflow: hidden;
  position: relative;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  padding: 8px 0;
}

.marquee-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: marqueeScroll 36s linear infinite;
}

.marquee-strip:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.ticker-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 3px 12px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 11px;
  white-space: nowrap;
}

.t-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.t-dot.emerald { background: var(--apple-green); box-shadow: 0 0 6px var(--apple-green); }
.t-dot.gold { background: var(--siri-gold); box-shadow: 0 0 6px var(--siri-gold); }
.t-dot.blue { background: var(--apple-blue); box-shadow: 0 0 6px var(--apple-blue); }
.t-dot.purple { background: var(--apple-indigo); box-shadow: 0 0 6px var(--apple-indigo); }
.t-dot.amber { background: var(--apple-orange); box-shadow: 0 0 6px var(--apple-orange); }

.t-title { font-weight: 600; color: var(--text-white); }
.t-val { color: var(--text-dim); font-family: var(--font-mono); }

/* ==============================================================================
   PUBLIC LUXURY METRICS ROW (HERITAGE & INVENTORY)
   ============================================================================== */
.metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.metric-card {
  background: var(--bg-card);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid var(--border-hairline);
  box-shadow: var(--shadow-card);
  border-radius: 20px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.metric-card:hover {
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

.metric-card.primary {
  background: radial-gradient(ellipse at top left, rgba(255, 255, 255, 0.1) 0%, rgba(15, 15, 20, 0.9) 70%);
  border-color: rgba(255, 255, 255, 0.2);
}

.metric-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.metric-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.metric-sub {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.heritage-pill {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  padding: 3px 8px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.metric-val {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-white);
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.val-sub {
  font-size: 11px;
  font-weight: 400;
  color: var(--text-dim);
  letter-spacing: 0;
}

.metric-foot {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 6px;
}

.trend {
  color: var(--apple-green);
  font-weight: 600;
}

.live-indicator {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--apple-green);
  box-shadow: 0 0 6px var(--apple-green);
  margin-right: 4px;
}

/* ==============================================================================
   APPLE BENTO GRID (TABBED CONTENT & VIP CONCIERGE)
   ============================================================================== */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 16px;
}

.content-panel {
  background: var(--bg-card);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid var(--border-hairline);
  box-shadow: var(--shadow-card);
  border-radius: 22px;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
}

.panel-header-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 14px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.panel-tab {
  padding: 6px 14px;
  border-radius: 9999px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-dim);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.panel-tab:hover {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.04);
}

.panel-tab.active {
  background: rgba(255, 255, 255, 0.14);
  color: var(--text-white);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  border-color: var(--border-hairline);
}

.tab-clear-btn {
  margin-left: auto;
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 11px;
  cursor: pointer;
  padding: 4px 8px;
  transition: color 0.2s ease;
}
.tab-clear-btn:hover {
  color: var(--text-white);
}

/* Tab Views */
.tab-view {
  display: none;
  flex-direction: column;
  flex: 1;
  animation: tabFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.tab-view.active {
  display: flex;
}

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

/* Apple Messages Style Transcript Feed */
.transcript-feed {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 16px;
  height: 230px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.transcript-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--text-dim);
  font-size: 12px;
  font-style: italic;
  text-align: center;
}

.transcript-msg {
  display: flex;
  flex-direction: column;
  gap: 3px;
  max-width: 82%;
  animation: bubblePop 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes bubblePop {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}

.transcript-msg.user { align-self: flex-end; }
.transcript-msg.agent { align-self: flex-start; }
.transcript-msg.system { align-self: center; max-width: 95%; }

.msg-header {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-dim);
  font-family: var(--font-mono);
}
.transcript-msg.user .msg-header { text-align: right; color: var(--siri-blue); }
.transcript-msg.agent .msg-header { color: var(--siri-pink); }

.msg-bubble {
  padding: 10px 15px;
  border-radius: 16px;
  font-size: 13px;
  line-height: 1.5;
}

.transcript-msg.user .msg-bubble {
  background: #1C2438;
  color: #FFFFFF;
  border-bottom-right-radius: 4px;
}

.transcript-msg.agent .msg-bubble {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(243, 85, 218, 0.25);
  color: var(--text-light);
  border-bottom-left-radius: 4px;
}

.transcript-msg.system .msg-bubble {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  font-size: 11px;
  text-align: center;
}

/* Chat Input Bar */
.chat-input-bar {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.chat-input-bar input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-hairline);
  box-shadow: var(--glass-specular);
  border-radius: 9999px;
  padding: 11px 18px;
  color: var(--text-white);
  font-size: 13px;
  outline: none;
  font-family: var(--font-sans);
  transition: border-color 0.2s ease;
}

.chat-input-bar input:focus {
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-chat-send {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #FFFFFF;
  color: #000000;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.2);
  transition: transform 0.2s ease;
}
.btn-chat-send:hover {
  transform: scale(1.05);
}

/* Verified Properties Deck */
.properties-deck {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 12px;
  max-height: 280px;
  overflow-y: auto;
}

.prop-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-hairline);
  border-radius: 16px;
  padding: 14px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}
.prop-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.prop-badge {
  align-self: flex-start;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 9999px;
  margin-bottom: 8px;
}
.prop-badge.rental { background: rgba(56, 189, 248, 0.15); color: #38BDF8; }
.prop-badge.sale { background: rgba(52, 199, 89, 0.15); color: var(--apple-green); }
.prop-badge.offplan { background: rgba(168, 85, 247, 0.15); color: #A855F7; }

.prop-card h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
}
.prop-loc {
  font-size: 11px;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.prop-price {
  font-size: 14px;
  font-weight: 800;
  color: #FCD34D;
  margin-top: auto;
}
.prop-meta {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 3px;
}

/* Advisory Specialists Deck */
.team-deck {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 12px;
  max-height: 280px;
  overflow-y: auto;
}

.team-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-hairline);
  border-radius: 16px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.team-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.team-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--siri-cyan);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.team-info {
  display: flex;
  flex-direction: column;
}
.team-info strong {
  font-size: 13px;
  color: var(--text-white);
}
.team-role {
  font-size: 10px;
  color: var(--text-dim);
}
.team-contact {
  font-size: 10px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  margin-top: 2px;
}

/* Dubai Market Guide Deck */
.guide-deck {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.guide-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-hairline);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.guide-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.guide-icon {
  font-size: 22px;
}

.guide-content h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 4px;
}

.guide-content p {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* VIP Concierge Card */
.concierge-card {
  background: var(--bg-card);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid var(--border-hairline);
  box-shadow: var(--shadow-card);
  border-radius: 22px;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
}

.concierge-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.concierge-crest-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-hairline);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
}

.concierge-titles h3 {
  font-size: 14px;
  font-weight: 700;
}
.concierge-titles p {
  font-size: 11px;
  color: var(--text-dim);
}

.concierge-explanation {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
}

.concierge-office-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 14px;
}

.office-pin-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--apple-green);
  box-shadow: 0 0 8px var(--apple-green);
  flex-shrink: 0;
}

.office-text-cluster {
  display: flex;
  flex-direction: column;
}
.office-text-cluster strong { font-size: 12px; }
.office-text-cluster small { font-size: 10px; color: var(--text-dim); }

.concierge-actions-group {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.btn-concierge-action {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-concierge-action.primary {
  background: #FFFFFF;
  color: #000000;
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.2);
}
.btn-concierge-action.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(255, 255, 255, 0.3);
}

.btn-concierge-action.secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-hairline);
  color: var(--text-white);
}
.btn-concierge-action.secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

.tools-container {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.tools-title {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-dim);
  font-family: var(--font-mono);
  margin-bottom: 8px;
}

.tools-timeline {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 10px;
  height: 90px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.empty-tool-msg {
  font-size: 10px;
  color: var(--text-dim);
  font-style: italic;
  text-align: center;
  margin-top: 24px;
}

.tool-item {
  background: rgba(255, 255, 255, 0.05);
  border-left: 2px solid var(--siri-cyan);
  border-radius: 6px;
  padding: 6px 8px;
  font-size: 10px;
}
.tool-item-header {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  color: var(--text-white);
}

/* ==============================================================================
   SETTINGS MODAL (APPLE GLASS WINDOW)
   ============================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 250;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-window {
  background: rgba(22, 22, 28, 0.95);
  backdrop-filter: blur(34px) saturate(190%);
  -webkit-backdrop-filter: blur(34px) saturate(190%);
  border: 1px solid var(--border-hairline);
  box-shadow: var(--glass-specular), 0 32px 90px rgba(0, 0, 0, 0.95);
  border-radius: 22px;
  width: 100%;
  max-width: 480px;
  overflow: hidden;
  animation: modalScale 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScale {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border-subtle);
}
.modal-header h3 { font-size: 15px; font-weight: 700; }
.modal-close {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 22px;
  cursor: pointer;
}
.modal-close:hover { color: var(--text-white); }

.modal-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-dim);
}
.form-group input, .form-group select {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-hairline);
  border-radius: 10px;
  padding: 10px 14px;
  color: var(--text-white);
  font-size: 13px;
  outline: none;
  font-family: var(--font-sans);
}

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 22px;
  border-top: 1px solid var(--border-subtle);
}

.btn-modal-cancel {
  padding: 8px 18px;
  border-radius: 9999px;
  background: transparent;
  border: 1px solid var(--border-hairline);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.btn-modal-save {
  padding: 8px 20px;
  border-radius: 9999px;
  background: #FFFFFF;
  color: #000000;
  font-size: 12px;
  font-weight: 700;
  border: none;
  cursor: pointer;
}

/* ==============================================================================
   RESPONSIVE DESIGN & MOBILE VIEWPORT PERFECTION
   ============================================================================== */
@media (max-width: 960px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .metrics-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .page-container {
    padding: 12px 16px max(24px, env(safe-area-inset-bottom));
  }

  .top-nav {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
  }

  .brand-logo-img {
    height: 40px;
    max-width: 140px;
  }

  /* Hide desktop capsule nav, show luxury mobile menu hamburger */
  .nav-capsule {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero-header {
    padding: 10px 0 24px;
  }

  .hero-title {
    font-size: 28px;
    letter-spacing: -0.025em;
  }

  .hero-subtitle {
    font-size: 13px;
  }

  .siri-stage-card {
    padding: 18px 18px;
    border-radius: 20px;
  }

  .siri-canvas-container {
    height: 160px;
  }

  .siri-controls-dock {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .siri-main-btn-group {
    width: 100%;
    justify-content: space-between;
  }

  .btn-siri-call {
    flex: 1;
    justify-content: center;
    padding: 12px 18px;
  }

  .siri-meters-cluster {
    justify-content: space-between;
    width: 100%;
    padding-top: 4px;
  }

  .meter-track {
    width: 100px;
  }

  .siri-acoustic-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .acoustic-sensitivity-selector {
    width: 100%;
    justify-content: space-between;
  }

  .metrics-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .properties-deck, .team-deck {
    grid-template-columns: 1fr;
  }

  .guide-deck {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 24px;
  }

  .header-persona-toggle {
    padding: 2px;
  }
  .header-gender-pill {
    padding: 4px 8px;
    font-size: 10px;
  }

  .siri-title {
    font-size: 16px;
  }

  .btn-siri-call {
    font-size: 12px;
    padding: 10px 14px;
  }

  .btn-siri-interrupt {
    padding: 10px 14px;
  }
}

/* ==============================================================================
   APPLE DYNAMIC SCROLL ARCHITECTURE & PROGRESS TRACKING
   ============================================================================== */
.apple-scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, #00F2FE 0%, #4FACFE 30%, #F355DA 70%, #FFE066 100%);
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.7), 0 0 24px rgba(243, 85, 218, 0.4);
  z-index: 9999;
  pointer-events: none;
  transition: width 0.08s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Header Dynamic Scroll State */
.top-nav.nav-scrolled {
  background: rgba(8, 8, 12, 0.85);
  backdrop-filter: blur(40px) saturate(200%);
  -webkit-backdrop-filter: blur(40px) saturate(200%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  padding: 12px 18px;
  margin-left: -18px;
  margin-right: -18px;
  border-radius: 0 0 20px 20px;
}

/* Apple Fluid Scroll Reveal Engine */
.apple-reveal {
  opacity: 0;
  transform: translateY(32px) scale(0.985);
  filter: blur(3px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform, filter;
}

.apple-reveal.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* Apple-Style Staggered Children Transitions */
.metrics-row.revealed .metric-card:nth-child(1) { transition-delay: 0.06s; }
.metrics-row.revealed .metric-card:nth-child(2) { transition-delay: 0.16s; }
.metrics-row.revealed .metric-card:nth-child(3) { transition-delay: 0.26s; }

.footer-grid.revealed .footer-col:nth-child(1) { transition-delay: 0.06s; }
.footer-grid.revealed .footer-col:nth-child(2) { transition-delay: 0.14s; }
.footer-grid.revealed .footer-col:nth-child(3) { transition-delay: 0.22s; }
.footer-grid.revealed .footer-col:nth-child(4) { transition-delay: 0.30s; }

/* ==============================================================================
   LUXURY DARK OBSIDIAN GLASSMORPHISM FOOTER (MATCHING VINTAGELUXE.AE)
   ============================================================================== */
.vintage-luxe-footer {
  margin-top: 64px;
  background: rgba(8, 8, 12, 0.82);
  backdrop-filter: blur(36px) saturate(190%);
  -webkit-backdrop-filter: blur(36px) saturate(190%);
  border: 1px solid var(--border-hairline);
  box-shadow: 0 35px 95px -20px rgba(0, 0, 0, 0.98), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  padding: 48px 48px 32px;
  position: relative;
  overflow: hidden;
}

.vintage-luxe-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Top Branding & Advisory Section */
.footer-top-brand {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-brand-block {
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo-link {
  display: inline-block;
  text-decoration: none;
}

.footer-logo-img {
  height: 80px;
  width: auto;
  max-width: 320px;
  object-fit: contain;
  filter: brightness(1.15);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-logo-img:hover {
  transform: scale(1.025);
}

.footer-brand-bio {
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.65;
  letter-spacing: -0.01em;
}

.footer-license-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--glass-specular);
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-light);
  width: fit-content;
}

.footer-license-badge .badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--apple-green);
  box-shadow: 0 0 6px var(--apple-green);
}

.footer-vip-desk {
  max-width: 380px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-vip-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.footer-direct-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.btn-footer-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-footer-contact.primary {
  background: rgba(255, 255, 255, 0.95);
  color: #000000;
  box-shadow: 0 4px 18px rgba(255, 255, 255, 0.15), inset 0 1px 0 rgba(255, 255, 255, 1);
}

.btn-footer-contact.primary:hover {
  background: #FFFFFF;
  transform: translateY(-1.5px);
  box-shadow: 0 6px 22px rgba(255, 255, 255, 0.28);
}

.btn-footer-contact.secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-white);
  border: 1px solid var(--border-hairline);
  box-shadow: var(--glass-specular);
}

.btn-footer-contact.secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1.5px);
}

/* 4-Column Responsive Grid */
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.1fr;
  gap: 36px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-col-title {
  font-family: var(--font-philosopher);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-muted);
  font-size: 12.5px;
  line-height: 1.5;
}

.footer-item-icon {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--text-dim);
}

.footer-item-text strong {
  display: block;
  color: var(--text-white);
  font-weight: 600;
  margin-bottom: 2px;
}

.footer-item-text span {
  display: block;
  color: var(--text-light);
}

.footer-item-text small {
  display: block;
  color: var(--text-dim);
  font-size: 11.5px;
  margin-top: 2px;
}

.footer-link-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  color: var(--text-muted);
  font-size: 12.5px;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-link:hover {
  color: var(--text-white);
  transform: translateX(3px);
}

/* Bottom Legal Bar */
.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 26px;
  border-top: 1px solid var(--border-subtle);
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bottom-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.copyright-text {
  font-size: 12px;
  color: var(--text-dim);
}

.footer-compliance-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  padding: 3px 10px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-compliance-pill .comp-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--apple-blue);
}

.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-legal-btn {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 11.5px;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.footer-legal-btn:hover {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.06);
}

.footer-legal-btn.highlight {
  color: var(--siri-cyan);
  font-weight: 500;
}

.footer-legal-btn.highlight:hover {
  color: #FFFFFF;
  text-shadow: 0 0 8px var(--siri-cyan);
}

.legal-separator {
  color: var(--text-dark);
  font-size: 11px;
}

/* Legal Terms Modal Sheet */
.legal-window {
  max-width: 680px;
}

.legal-modal-body {
  max-height: 60vh;
  overflow-y: auto;
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-light);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.legal-modal-body h4 {
  font-family: var(--font-philosopher);
  color: var(--text-white);
  font-size: 15px;
  margin-top: 8px;
}

.legal-modal-body p {
  color: var(--text-muted);
}

.legal-modal-body ul {
  padding-left: 20px;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* ==============================================================================
   FOOTER RESPONSIVE ADJUSTMENTS
   ============================================================================== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .vintage-luxe-footer {
    padding: 36px 24px 28px;
    margin-top: 40px;
    border-radius: 20px;
  }

  .footer-top-brand {
    flex-direction: column;
    gap: 24px;
    padding-bottom: 24px;
  }

  .footer-logo-img {
    height: 64px;
    max-width: 250px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .brand-logo-img {
    height: 56px;
    max-width: 220px;
  }
}
