/* ══════════════════════════════════════════════════════════════════════════
   BROCONN — Elite Real Estate Business Management Software
   Refined Mobile-First & Tablet Responsive Design System
   World Vision Telco Solutions (WVTS)
   ══════════════════════════════════════════════════════════════════════════ */

:root {
  /* Brand Palette (Soft Slate-Charcoal & Vibrant Teal) */
  --slate-950: #090e17;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;

  --teal-primary: #0D9488;
  --teal-light: #14B8A6;
  --teal-dark: #0f766e;
  --teal-subtle: #f0fdfa;
  --teal-border: rgba(20, 184, 166, 0.25);
  --teal-glow: rgba(20, 184, 166, 0.3);

  --blue-primary: #0284C7;
  --blue-light: #38BDF8;
  --blue-subtle: #f0f9ff;

  --emerald-success: #10B981;
  --emerald-subtle: #ecfdf5;

  --amber-accent: #f59e0b;
  --amber-subtle: #fffbeb;

  /* Typography Fluid Scaling */
  --font-hero-title: clamp(2.1rem, 5.5vw + 0.8rem, 3.8rem);
  --font-hero-sub: clamp(1rem, 1.4vw + 0.6rem, 1.15rem);
  --font-section-title: clamp(1.75rem, 3.8vw + 0.6rem, 2.8rem);
  --font-section-sub: clamp(0.95rem, 1.2vw + 0.55rem, 1.08rem);
  --font-card-title: clamp(1.15rem, 2vw + 0.5rem, 1.45rem);

  /* Typography */
  --text-dark: var(--slate-900);
  --text-muted: var(--slate-600);
  --text-light: var(--slate-400);

  /* Shadows & Glassmorphism */
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 40px -10px rgba(15, 23, 42, 0.12);
  --shadow-xl: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
  --shadow-hero: 0 25px 60px -12px rgba(15, 23, 42, 0.35);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 9999px;

  /* Transitions */
  --tr-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --tr-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ════════════════════════ RESET & BASE ════════════════════════ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  background-color: #f8fafc;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100vw;
  position: relative;
  padding-top: 64px;
}

/* Header-Offset Aware Scroll Anchoring */
section[id], footer[id], .anchor-target {
  scroll-margin-top: 85px;
}

.anchor-target {
  position: relative;
  display: block;
  visibility: hidden;
  height: 0;
  margin: 0;
  padding: 0;
}

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

button, input, textarea, select {
  font-family: inherit;
}

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

/* ════════════════════════ STANDARDIZED CONTAINER SPACING ════════════════════════ */
.section-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3.5vw, 2rem);
}

/* ════════════════════════ STICKY GLASSMORPHISM NAVBAR ════════════════════════ */
.top-nav-wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 68px;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #f1f5f9;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
  display: flex;
  align-items: center;
  transition: background-color 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.top-nav-wrap.scrolled {
  background-color: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(203, 213, 225, 0.9);
  box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
}

.nav-container {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3.5vw, 2rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  min-height: 44px;
}

.brand-logo-img {
  width: clamp(34px, 4vw, 42px);
  height: clamp(34px, 4vw, 42px);
  object-fit: contain;
  flex-shrink: 0;
}

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

.brand-title {
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--slate-900);
  line-height: 1.1;
}

.brand-tag {
  font-size: 0.54rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--teal-primary);
  text-transform: uppercase;
}

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

.whitespace-nowrap {
  white-space: nowrap !important;
}

.nav-link {
  font-size: 13.5px;
  font-weight: 500;
  color: #475569;
  white-space: nowrap;
  transition: color 0.2s ease, background-color 0.2s ease;
  padding: 0.45rem 0.65rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  line-height: 1.25;
}

.nav-link:hover {
  color: #0f172a;
  background: rgba(241, 245, 249, 0.65);
}

.nav-link.active {
  color: #0f172a;
  background: rgba(241, 245, 249, 0.9);
  font-weight: 600;
}

.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.btn-nav-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.86rem;
  font-weight: 700;
  color: #15803d;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-pill);
  transition: var(--tr-fast);
  min-height: 44px;
}

.btn-nav-wa:hover {
  background: #dcfce7;
  transform: translateY(-1px);
}

.btn-nav-primary {
  background: linear-gradient(135deg, var(--slate-900) 0%, var(--slate-800) 100%);
  color: #ffffff;
  border: none;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.15);
  transition: var(--tr-smooth);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-nav-primary:hover {
  background: linear-gradient(135deg, var(--teal-primary) 0%, #0f766e 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.3);
}

/* ════════════════════════ SLEEK HAMBURGER BUTTON ════════════════════════ */
.hamburger-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  transition: background var(--tr-fast);
}

.hamburger-btn:hover, .hamburger-btn:focus-visible {
  background: var(--slate-100);
}

.ham-bar {
  display: block;
  width: 22px;
  height: 2.2px;
  background: var(--slate-900);
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
  transform-origin: center;
}

.hamburger-btn.active .ham-bar.b1 {
  transform: translateY(7.2px) rotate(45deg);
}

.hamburger-btn.active .ham-bar.b2 {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger-btn.active .ham-bar.b3 {
  transform: translateY(-7.2px) rotate(-45deg);
}

/* ════════════════════════ MOBILE DRAWER & OVERLAY ════════════════════════ */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(9, 14, 23, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

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

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(380px, 86vw);
  background: #ffffff;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem 1.25rem;
  transform: translateX(105%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1999;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

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

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--slate-100);
  margin-bottom: 1rem;
}

.drawer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.drawer-logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.drawer-close-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--slate-100);
  border: none;
  font-size: 1.1rem;
  color: var(--slate-600);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--tr-fast);
}

.drawer-close-btn:hover {
  background: var(--slate-200);
  color: var(--slate-900);
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.drawer-links a {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius-md);
  color: var(--slate-800);
  transition: var(--tr-fast);
  min-height: 52px;
}

.drawer-links a:hover, .drawer-links a.active {
  background: var(--teal-subtle);
  color: var(--teal-dark);
}

.dl-ico {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.dl-text {
  display: flex;
  flex-direction: column;
}

.dl-text strong {
  font-size: 0.95rem;
  color: var(--slate-900);
  font-weight: 700;
}

.dl-text small {
  font-size: 0.75rem;
  color: var(--slate-500);
  font-weight: 500;
}

.drawer-cta-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--slate-100);
  margin-top: 1rem;
}

.btn-drawer-primary {
  width: 100%;
  min-height: 48px;
  background: linear-gradient(135deg, var(--teal-primary) 0%, var(--blue-primary) 100%);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.3);
}

.btn-drawer-wa {
  width: 100%;
  min-height: 48px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #15803d;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* ════════════════════════ HERO SECTION (IMMERSIVE FULL-WIDTH) ════════════════════════ */
.hero-section {
  position: relative;
  background: radial-gradient(circle at 50% 15%, #1e293b 0%, #0f172a 60%, #090e17 100%);
  color: #ffffff;
  padding: clamp(3.5rem, 7vw, 5.5rem) clamp(1rem, 3.5vw, 2rem) clamp(4rem, 8vw, 6rem) clamp(1rem, 3.5vw, 2rem);
  overflow: hidden;
}

.hero-ambient-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.28;
}

.orb-teal {
  width: clamp(280px, 40vw, 480px);
  height: clamp(280px, 40vw, 480px);
  background: var(--teal-light);
  top: -80px;
  left: 15%;
}

.orb-blue {
  width: clamp(260px, 35vw, 420px);
  height: clamp(260px, 35vw, 420px);
  background: var(--blue-primary);
  top: 15%;
  right: 10%;
}

.hero-container {
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.hero-badge-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(20, 184, 166, 0.12);
  border: 1px solid rgba(20, 184, 166, 0.3);
  color: #2dd4bf;
  padding: 0.45rem clamp(0.85rem, 2vw, 1.15rem);
  border-radius: var(--radius-pill);
  font-size: clamp(0.76rem, 1.6vw, 0.84rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  backdrop-filter: blur(8px);
  text-align: center;
}

.pulsing-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2dd4bf;
  box-shadow: 0 0 10px #2dd4bf;
  animation: pulse-glow 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse-glow {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 16px #2dd4bf; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.hero-handwritten-tag {
  font-family: 'Caveat', cursive;
  font-size: clamp(1.35rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: #38bdf8;
  transform: rotate(-2deg);
}

.hero-title {
  font-size: var(--font-hero-title);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin-bottom: 1.25rem;
  max-width: 960px;
  text-wrap: balance;
}

.hero-grad-text {
  background: linear-gradient(135deg, #2dd4bf 0%, #38BDF8 60%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtext {
  font-size: var(--font-hero-sub);
  line-height: 1.65;
  color: var(--slate-400);
  max-width: 820px;
  margin-bottom: 2.25rem;
  text-wrap: balance;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, var(--teal-primary) 0%, var(--blue-primary) 100%);
  color: #ffffff;
  border: none;
  font-size: clamp(0.92rem, 1.8vw, 1.05rem);
  font-weight: 800;
  padding: 0.95rem clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--radius-pill);
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(13, 148, 136, 0.35);
  transition: var(--tr-smooth);
  min-height: 48px;
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 35px rgba(13, 148, 136, 0.5);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: clamp(0.9rem, 1.6vw, 1rem);
  font-weight: 700;
  padding: 0.9rem clamp(1.25rem, 2.5vw, 1.85rem);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(8px);
  transition: var(--tr-smooth);
  min-height: 48px;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* ════════════════════════ HERO DASHBOARD MOCKUP (FLUID RESPONSIVE) ════════════════════════ */
.hero-mockup-wrapper {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.hero-mockup-frame {
  background: #ffffff;
  color: var(--slate-900);
  border-radius: clamp(12px, 2.5vw, 24px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow-hero), 0 0 40px rgba(20, 184, 166, 0.15);
  overflow: hidden;
  text-align: left;
  width: 100%;
}

.mockup-top-bar {
  background: var(--slate-50);
  border-bottom: 1px solid var(--slate-200);
  padding: 0.55rem clamp(0.75rem, 2vw, 1.25rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.mockup-window-controls {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.mockup-window-controls .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.dot.red { background: #f87171; }
.dot.yellow { background: #fbbf24; }
.dot.green { background: #34d399; }

.mockup-address-pill {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  padding: 0.2rem clamp(0.5rem, 1.5vw, 0.9rem);
  border-radius: var(--radius-pill);
  font-size: clamp(0.68rem, 1.4vw, 0.75rem);
  font-weight: 600;
  color: var(--slate-600);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mockup-user-status {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: clamp(0.65rem, 1.2vw, 0.72rem);
  font-weight: 700;
  color: #15803d;
  flex-shrink: 0;
}

.status-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #16a34a;
}

/* Inner Grid */
.mockup-inner-grid {
  display: grid;
  grid-template-columns: 52px 1fr;
  min-height: 420px;
}

.mockup-sidebar {
  background: var(--slate-900);
  padding: 1rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.ms-logo img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.ms-menu {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ms-item {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: var(--slate-400);
  cursor: pointer;
  transition: var(--tr-fast);
}

.ms-item.active, .ms-item:hover {
  background: rgba(20, 184, 166, 0.2);
  color: #2dd4bf;
}

.mockup-main-panel {
  padding: clamp(0.85rem, 2.5vw, 1.5rem);
  background: var(--slate-50);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mmp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.mmp-title {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 800;
  color: var(--slate-900);
}

.mmp-subtitle {
  font-size: clamp(0.72rem, 1.4vw, 0.82rem);
  color: var(--slate-500);
}

.badge-tag.live-badge {
  background: #ecfdf5;
  color: #059669;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
}

.mmp-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(0.5rem, 1.5vw, 0.85rem);
}

.mmp-kpi {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  padding: clamp(0.6rem, 1.5vw, 0.85rem);
  display: flex;
  flex-direction: column;
}

.mmp-kpi .kpi-num {
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 800;
  line-height: 1.1;
}

.mmp-kpi.teal .kpi-num { color: var(--teal-primary); }
.mmp-kpi.blue .kpi-num { color: var(--blue-primary); }
.mmp-kpi.green .kpi-num { color: var(--emerald-success); }
.mmp-kpi.purple .kpi-num { color: #8b5cf6; }

.mmp-kpi .kpi-lbl {
  font-size: clamp(0.7rem, 1.3vw, 0.78rem);
  font-weight: 700;
  color: var(--slate-800);
  margin-top: 2px;
}

.mmp-kpi .kpi-trend {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--slate-500);
  line-height: 1.3;
}

.mmp-split-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
}

.mmp-widget-card {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  padding: clamp(0.75rem, 2vw, 1rem);
}

.mwc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  gap: 0.5rem;
}

.mwc-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--slate-900);
}

.match-score-pill {
  background: #dcfce7;
  color: #15803d;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
}

.mwb-user {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
}

.mwb-user img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.mwb-user strong {
  display: block;
  font-size: 0.85rem;
  color: var(--slate-900);
}

.mwb-user span {
  display: block;
  font-size: 0.72rem;
  color: var(--slate-500);
}

.mwb-prop-match {
  background: var(--teal-subtle);
  border: 1px solid var(--teal-border);
  padding: 0.55rem 0.75rem;
  border-radius: 6px;
  font-size: 0.78rem;
  color: var(--slate-900);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.mwb-btn-send {
  background: #16a34a;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.3rem 0.65rem;
  border-radius: 4px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
}

.mini-funnel-bar {
  display: flex;
  gap: 4px;
  margin-top: 0.5rem;
  overflow-x: auto;
  padding-bottom: 2px;
}

.mf-segment {
  flex: 1;
  min-width: 48px;
  background: var(--slate-100);
  border-radius: 4px;
  padding: 0.45rem 0.25rem;
  text-align: center;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--slate-700);
}

.mf-segment span {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--slate-900);
}

.mf-segment.s1 { background: #ccfbf1; color: #0f766e; }
.mf-segment.s2 { background: #e0f2fe; color: #0369a1; }
.mf-segment.s3 { background: #f0fdf4; color: #15803d; }
.mf-segment.s4 { background: #fef3c7; color: #b45309; }
.mf-segment.s5 { background: #dcfce7; color: #15803d; }

/* Floating Mobile Preview */
.floating-mobile-preview {
  position: absolute;
  right: -25px;
  bottom: -25px;
  width: 220px;
  background: var(--slate-900);
  border: 3.5px solid var(--slate-800);
  border-radius: 24px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  z-index: 5;
  transition: transform 0.4s ease;
}

.floating-mobile-preview:hover {
  transform: translateY(-6px) scale(1.02);
}

.fmp-notch {
  width: 60px;
  height: 5px;
  background: var(--slate-800);
  margin: 5px auto;
  border-radius: 4px;
}

.fmp-screen {
  background: #ffffff;
  padding: 0.6rem;
}

.fmp-header {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  border-bottom: 1px solid var(--slate-100);
  padding-bottom: 0.4rem;
  margin-bottom: 0.45rem;
}

.fmp-header img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.fmp-header strong {
  display: block;
  font-size: 0.72rem;
  color: var(--slate-900);
}

.fmp-header span {
  display: block;
  font-size: 0.6rem;
  color: #16a34a;
  font-weight: 700;
}

.fmp-chat {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.fmp-bubble {
  font-size: 0.65rem;
  padding: 0.4rem 0.55rem;
  border-radius: 6px;
  max-width: 90%;
}

.fmp-bubble.in {
  background: var(--slate-100);
  color: var(--slate-900);
  align-self: flex-start;
}

.fmp-bubble.out {
  background: #dcf8c6;
  color: var(--slate-900);
  align-self: flex-end;
}

.fmp-prop-card {
  background: #ffffff;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 2px;
}

.fpc-img {
  height: 44px;
  background-image: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=200&q=80');
  background-size: cover;
  background-position: center;
}

.fpc-txt {
  padding: 3px;
  display: flex;
  flex-direction: column;
}

.fpc-txt strong {
  font-size: 0.62rem;
  color: var(--slate-900);
}

.fpc-txt span {
  font-size: 0.56rem;
  font-weight: 800;
  color: var(--teal-primary);
}

/* ════════════════════════ TRUST METRICS STRIP ════════════════════════ */
.trust-metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  width: 100%;
  max-width: 960px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: clamp(1rem, 3vw, 1.5rem) clamp(1rem, 4vw, 2rem);
  backdrop-filter: blur(12px);
  gap: 1rem;
}

.metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.metric-num {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.metric-lbl {
  font-size: clamp(0.72rem, 1.5vw, 0.82rem);
  font-weight: 600;
  color: var(--slate-400);
  margin-top: 2px;
}

.metric-divider {
  display: none;
}

/* ════════════════════════ SECTION HEADERS ════════════════════════ */
.section-header-center {
  text-align: center;
  max-width: 780px;
  margin: 0 auto clamp(2.25rem, 5vw, 3.5rem) auto;
}

.section-pill-tag {
  display: inline-block;
  font-size: clamp(0.68rem, 1.4vw, 0.72rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--teal-subtle);
  color: var(--teal-primary);
  border: 1px solid var(--teal-border);
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.85rem;
}

.section-pill-tag.blue { background: var(--blue-subtle); color: var(--blue-primary); border-color: rgba(2, 132, 199, 0.25); }
.section-pill-tag.green { background: var(--emerald-subtle); color: var(--emerald-success); border-color: rgba(16, 185, 129, 0.25); }
.section-pill-tag.teal { background: var(--teal-subtle); color: var(--teal-primary); border-color: var(--teal-border); }

.section-main-title {
  font-size: var(--font-section-title);
  font-weight: 800;
  line-height: 1.15;
  color: var(--slate-900);
  letter-spacing: -0.03em;
  margin-bottom: 0.85rem;
  text-wrap: balance;
}

.teal-gradient-text {
  background: linear-gradient(135deg, var(--teal-primary) 0%, var(--blue-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.blue-gradient-text {
  background: linear-gradient(135deg, var(--blue-primary) 0%, #4f46e5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.green-gradient-text {
  background: linear-gradient(135deg, #10B981 0%, #0D9488 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-description {
  font-size: var(--font-section-sub);
  line-height: 1.6;
  color: var(--slate-600);
  text-wrap: balance;
}

/* ════════════════════════ THE 5 CORE PILLARS SHOWCASE ════════════════════════ */
.section-engines {
  padding: clamp(4rem, 7vw, 6.5rem) 0;
  background: radial-gradient(circle at 50% 0%, rgba(6, 182, 212, 0.07) 0%, rgba(248, 250, 252, 0) 70%), #f8fafc;
  position: relative;
}

.engine-tabs-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: clamp(1.75rem, 4vw, 3rem);
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: 0 4px 14px -2px rgba(15, 23, 42, 0.04);
  padding: 0.4rem;
  border-radius: var(--radius-pill);
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.engine-tabs-nav::-webkit-scrollbar {
  display: none;
}

.engine-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: transparent;
  border: none;
  padding: 0.6rem 1.15rem;
  border-radius: var(--radius-pill);
  font-size: clamp(0.8rem, 1.6vw, 0.88rem);
  font-weight: 700;
  color: var(--slate-500);
  cursor: pointer;
  transition: var(--tr-smooth);
  white-space: nowrap;
  flex-shrink: 0;
  min-height: 44px;
}

.engine-tab-btn:hover {
  color: var(--slate-900);
}

.engine-tab-btn.active {
  background: var(--slate-900);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.engine-showcase-display {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: clamp(14px, 3vw, var(--radius-xl));
  padding: clamp(1.25rem, 4vw, 3rem);
  box-shadow: 0 10px 30px -4px rgba(15, 23, 42, 0.04), 0 2px 8px -1px rgba(15, 23, 42, 0.02);
  min-height: 480px;
}

.esd-left {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.esd-left h3 {
  font-size: clamp(1.4rem, 2.8vw, 2.1rem);
  font-weight: 800;
  line-height: 1.18;
  color: var(--slate-900);
  letter-spacing: -0.02em;
}

.esd-left p {
  font-size: clamp(0.92rem, 1.6vw, 1.05rem);
  line-height: 1.6;
  color: var(--slate-600);
}

.esd-bullets-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.esd-bullets-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: clamp(0.86rem, 1.5vw, 0.95rem);
  font-weight: 600;
  color: var(--slate-700);
}

.esd-bullet-ico {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--teal-subtle);
  border: 1px solid var(--teal-border);
  color: var(--teal-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.78rem;
  margin-top: 2px;
}

.esd-cta-row {
  margin-top: 0.5rem;
}

.esd-right {
  position: relative;
  width: 100%;
}

/* ════════════════════════ ENGINE SHOWCASE CARDS (RESPONSIVE STYLES) ════════════════════════ */
.esd-preview-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: var(--radius-md);
  padding: clamp(1rem, 3vw, 1.5rem);
  box-shadow: 0 10px 30px -4px rgba(15, 23, 42, 0.06), 0 2px 8px -1px rgba(15, 23, 42, 0.02);
  width: 100%;
}

.esd-preview-card.no-pad {
  padding: 0;
}

.esd-preview-card.overflow-hidden {
  overflow: hidden;
}

.esd-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.esd-card-head-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.esd-card-title {
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  color: var(--slate-900);
  display: block;
}

.esd-card-sub {
  font-size: 0.75rem;
  color: var(--slate-500);
}

.esd-badge-live {
  background: #ecfdf5;
  color: #059669;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
}

.esd-badge-blue {
  background: #e0f2fe;
  color: #0369a1;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

.esd-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.esd-kpi-box {
  border-radius: 8px;
  padding: 0.65rem 0.45rem;
  text-align: center;
}

.esd-kpi-box.teal { background: #f0fdfa; border: 1px solid rgba(13,148,136,0.25); }
.esd-kpi-box.blue { background: #f0f9ff; border: 1px solid rgba(2,132,199,0.25); }
.esd-kpi-box.purple { background: #f5f3ff; border: 1px solid rgba(139,92,246,0.25); }
.esd-kpi-box.orange { background: #fff7ed; border: 1px solid rgba(249,115,22,0.25); }

.esd-kpi-val {
  font-size: clamp(1.15rem, 2.5vw, 1.35rem);
  font-weight: 800;
}

.esd-kpi-box.teal .esd-kpi-val { color: var(--teal-primary); }
.esd-kpi-box.blue .esd-kpi-val { color: var(--blue-primary); }
.esd-kpi-box.purple .esd-kpi-val { color: #8b5cf6; }
.esd-kpi-box.orange .esd-kpi-val { color: #ea580c; }

.esd-kpi-lbl {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--slate-900);
}

.esd-funnel-box {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  padding: 0.75rem 1rem;
}

.esd-funnel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.esd-fh-title {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--slate-900);
}

.esd-fh-val {
  font-size: 0.72rem;
  color: var(--teal-primary);
  font-weight: 700;
}

.esd-funnel-bars {
  display: flex;
  gap: 4px;
}

.esd-f-seg {
  flex: 1;
  text-align: center;
  padding: 4px;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 800;
}

.esd-f-seg.s1 { background: #ccfbf1; color: #0f766e; }
.esd-f-seg.s2 { background: #e0f2fe; color: #0369a1; }
.esd-f-seg.s3 { background: #dcfce7; color: #15803d; }

.esd-toggle-pill-group {
  display: flex;
  gap: 4px;
  background: var(--slate-100);
  padding: 3px;
  border-radius: var(--radius-pill);
}

.esd-pill-btn {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  color: var(--slate-500);
  cursor: pointer;
}

.esd-pill-btn.active {
  background: var(--teal-primary);
  color: #ffffff;
}

.esd-prop-highlight {
  background: var(--teal-subtle);
  border: 1px solid var(--teal-border);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.esd-ph-name {
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--slate-900);
}

.esd-ph-meta {
  font-size: 0.78rem;
  color: var(--teal-primary);
  font-weight: 600;
}

.esd-ph-badge {
  background: #ffffff;
  color: var(--teal-primary);
  border: 1px solid var(--teal-border);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
}

.esd-buyer-match-row {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  margin-bottom: 0.85rem;
  gap: 0.5rem;
}

.esd-bm-user {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.esd-bm-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.esd-bm-name {
  display: block;
  font-size: 0.88rem;
  color: var(--slate-900);
}

.esd-bm-budget {
  font-size: 0.75rem;
  color: var(--slate-500);
}

.esd-bm-score {
  background: #10B981;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
}

.esd-submatches-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.esd-submatch-chip {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: 8px;
  padding: 0.55rem 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--slate-900);
  gap: 0.4rem;
}

.esd-sm-score {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  flex-shrink: 0;
}

.esd-sm-score.orange { background: #ffedd5; color: #c2410c; }
.esd-sm-score.green { background: #dcfce7; color: #15803d; }

.esd-mini-calendar {
  background: var(--slate-50);
  padding: 0.5rem;
  border-radius: 8px;
  border: 1px solid var(--slate-200);
  margin-bottom: 0.85rem;
}

.esd-cal-header, .esd-cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 0.7rem;
  gap: 2px;
}

.esd-cal-header {
  color: var(--slate-400);
  font-weight: 700;
  margin-bottom: 4px;
}

.esd-cal-days span {
  padding: 4px 2px;
  border-radius: 4px;
}

.esd-cal-days span.muted { color: #cbd5e1; }
.esd-cal-days span.active { background: #0284c7; color: #ffffff; font-weight: 800; }

.esd-tasks-stack {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.esd-task-item {
  border-radius: 8px;
  padding: 0.6rem 0.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.esd-task-item.green { background: #f0fdf4; border: 1px solid #bbf7d0; }
.esd-task-item.blue { background: #f0f9ff; border: 1px solid #bae6fd; }

.esd-ti-left {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.esd-ti-ico { font-size: 1.05rem; flex-shrink: 0; }

.esd-ti-title {
  font-size: 0.8rem;
  color: var(--slate-900);
  display: block;
}

.esd-ti-sub {
  font-size: 0.7rem;
  font-weight: 600;
}

.esd-ti-sub.green { color: #15803d; }
.esd-ti-sub.blue { color: #0369a1; }

.esd-ti-badge {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  flex-shrink: 0;
}

.esd-ti-badge.green { background: #dcfce7; color: #15803d; }
.esd-ti-badge.blue { background: #e0f2fe; color: #0369a1; }

.esd-inventory-hero {
  height: clamp(140px, 20vw, 170px);
  background-image: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=600&q=80');
  background-size: cover;
  background-position: center;
  padding: 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.esd-ih-tags {
  display: flex;
  gap: 4px;
}

.esd-tag {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  color: #ffffff;
}

.esd-tag.orange { background: #ea580c; }
.esd-tag.blue { background: #0284c7; }

.esd-ih-vault {
  background: rgba(15,23,42,0.85);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}

.esd-inventory-body {
  padding: clamp(0.85rem, 2vw, 1.25rem);
}

.esd-ib-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.65rem;
  gap: 0.5rem;
}

.esd-ib-name {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  font-weight: 800;
  color: var(--slate-900);
}

.esd-ib-id {
  font-size: 0.75rem;
  color: var(--slate-500);
}

.esd-ib-price {
  font-size: clamp(1.15rem, 2.5vw, 1.35rem);
  font-weight: 800;
  color: var(--teal-primary);
  flex-shrink: 0;
}

.esd-owner-chip {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: 8px;
  padding: 0.55rem 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
  gap: 0.5rem;
}

.esd-oc-left {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.esd-oc-ico { font-size: 1rem; flex-shrink: 0; }
.esd-oc-name { font-size: 0.78rem; color: var(--slate-900); display: block; }
.esd-oc-phone { font-size: 0.7rem; color: var(--slate-500); }

.esd-oc-badge {
  font-size: 0.7rem;
  background: #e0f2fe;
  color: #0369a1;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  flex-shrink: 0;
}

.esd-action-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
}

.esd-btn-action {
  background: var(--slate-100);
  color: var(--slate-900);
  text-align: center;
  padding: 0.55rem 0;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  transition: var(--tr-fast);
}

.esd-btn-action.wa { background: #dcfce7; color: #15803d; }
.esd-btn-action.teal { background: #f0fdfa; color: var(--teal-primary); border: 1px solid rgba(13,148,136,0.3); }

.esd-lead-user-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.esd-lead-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.esd-lead-title-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.esd-lead-name {
  font-size: 0.95rem;
  color: var(--slate-900);
}

.esd-lead-badge-qual {
  background: #dcfce7;
  color: #15803d;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: var(--radius-pill);
}

.esd-lead-meta {
  font-size: 0.75rem;
  color: var(--slate-500);
}

.esd-stage-pill {
  font-size: 0.72rem;
  background: #f0f9ff;
  color: #0284c7;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 6px;
  flex-shrink: 0;
}

.esd-kanban-stages-bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 3px;
  background: var(--slate-50);
  padding: 0.45rem;
  border-radius: 8px;
  margin-bottom: 0.85rem;
  text-align: center;
}

.esd-ks-item {
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--slate-400);
  padding: 2px 0;
}

.esd-ks-item.passed { color: var(--teal-primary); }
.esd-ks-item.active { background: #0284c7; color: #ffffff; border-radius: 4px; font-weight: 800; }

.esd-timeline-box {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: 8px;
  padding: 0.75rem;
}

.esd-tb-title {
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 0.45rem;
}

.esd-tb-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.esd-tb-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.esd-tb-time { color: var(--slate-500); }

/* ════════════════════════ MICRO-FEATURES BAR (BUILT-IN UTILITIES) ════════════════════════ */
.micro-features-bar {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: clamp(16px, 2.5vw, var(--radius-xl));
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  box-shadow: 0 10px 30px -4px rgba(15, 23, 42, 0.04), 0 2px 8px -1px rgba(15, 23, 42, 0.02);
}

.mfb-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.mfb-header-text {
  flex: 1;
  min-width: min(300px, 100%);
}

.mfb-badge-group {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
  flex-wrap: wrap;
}

.mfb-badge {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--teal-primary);
  background: var(--teal-subtle);
  border: 1px solid rgba(13, 148, 136, 0.2);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}

.mfb-count-pill {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--slate-600);
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.mfb-header-text h4 {
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}

.mfb-subtitle {
  font-size: clamp(0.86rem, 1.3vw, 0.92rem);
  color: var(--slate-600);
  line-height: 1.55;
  margin: 0;
  max-width: 780px;
}

.btn-toggle-micro {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--slate-900);
  color: #ffffff;
  border: none;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--tr-smooth);
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
  flex-shrink: 0;
}

.btn-toggle-micro:hover {
  background: var(--teal-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(13, 148, 136, 0.25);
}

.btn-toggle-micro svg {
  transition: transform 0.3s ease;
}

.btn-toggle-micro.active svg {
  transform: rotate(180deg);
}

.mfb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.mfb-expanded-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  animation: fadeIn 0.35s ease-out;
}

.mfb-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  transition: var(--tr-smooth);
  box-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.03);
}

.mfb-card:hover {
  background: #ffffff;
  border-color: var(--teal-primary);
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(13, 148, 136, 0.1);
}

.mfb-ico {
  font-size: 1.65rem;
  line-height: 1;
  margin-bottom: 0.65rem;
}

.mfb-card strong {
  display: block;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 0.35rem;
  line-height: 1.35;
}

.mfb-card p {
  font-size: 0.84rem;
  color: var(--slate-600);
  line-height: 1.5;
  margin: 0;
}

.mfb-footer-strip {
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: #f8fafc;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: var(--radius-md);
  padding: 0.95rem 1.25rem;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.mfs-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--slate-700);
}

.mfs-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #dcfce7;
  color: #15803d;
  font-size: 0.75rem;
  font-weight: 900;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .mfb-grid,
  .mfb-expanded-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .mfb-header-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .btn-toggle-micro {
    width: 100%;
  }
  .mfb-grid,
  .mfb-expanded-grid {
    grid-template-columns: 1fr;
  }
  .mfb-footer-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
  }
}


/* ════════════════════════ FLEXIBLE ADD-ON MODULES ════════════════════════ */
.section-modules {
  padding: clamp(4rem, 7vw, 6.5rem) 0;
  background: radial-gradient(circle at 50% 0%, rgba(6, 182, 212, 0.07) 0%, rgba(248, 250, 252, 0) 70%), #f8fafc;
  position: relative;
}

.modular-workflow-container,
.modular-workflow-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 0;
}

.modular-grid-row.top-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.modular-grid-row.bottom-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 818px;
  width: 100%;
  margin: 0 auto;
}

.module-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.7);
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.04), 0 1px 2px -1px rgba(0, 0, 0, 0.04);
  position: relative;
}

.module-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  border-color: rgba(45, 212, 191, 0.5);
}

.module-card.highlight-builder {
  background: linear-gradient(135deg, rgba(254, 243, 199, 0.3) 0%, rgba(255, 247, 237, 0.4) 100%), #ffffff;
  border-color: rgba(253, 230, 138, 0.8);
}

.module-card.highlight-builder:hover {
  border-color: #f59e0b;
  box-shadow: 0 10px 25px -5px rgba(245, 158, 11, 0.12);
}

.mc-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.mc-icon-wrap {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background: rgba(241, 245, 249, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #334155;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.mc-icon-wrap.blue { background: #e0f2fe; color: #0284c7; }
.mc-icon-wrap.cyan { background: #cffafe; color: #0891b2; }
.mc-icon-wrap.green { background: #dcfce7; color: #16a34a; }
.mc-icon-wrap.indigo { background: #e0e7ff; color: #4f46e5; }
.mc-icon-wrap.teal { background: #ccfbf1; color: #0d9488; }
.mc-icon-wrap.amber { background: #fef3c7; color: #d97706; }

.module-card:hover .mc-icon-wrap {
  transform: scale(1.04);
}

.mc-badge {
  font-size: 11px;
  font-weight: 500;
  padding: 0.15rem 0.65rem;
  border-radius: 9999px;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid rgba(226, 232, 240, 0.6);
  flex-shrink: 0;
  white-space: nowrap;
  line-height: 1.35;
  letter-spacing: 0.01em;
}

.mc-badge.custom {
  background: #fef3c7;
  color: #b45309;
  border-color: rgba(251, 191, 36, 0.5);
}

.mc-content {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  width: 100%;
}

.mc-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.mc-desc {
  font-size: 0.875rem;
  line-height: 1.5;
  color: #64748b;
  margin: 0;
}

.modules-action-strip {
  margin-top: 2.5rem;
  background: var(--slate-900);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 1.75rem) clamp(1.25rem, 3.5vw, 2.25rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-lg);
  gap: 1.25rem;
  flex-wrap: wrap;
}

.mas-text strong {
  display: block;
  font-size: clamp(1.05rem, 1.8vw, 1.15rem);
  font-weight: 800;
}

.mas-text span {
  display: block;
  font-size: clamp(0.82rem, 1.4vw, 0.88rem);
  color: var(--slate-400);
}

.btn-primary-glow {
  background: linear-gradient(135deg, var(--teal-primary) 0%, var(--blue-primary) 100%);
  color: #ffffff;
  border: none;
  font-size: 0.95rem;
  font-weight: 800;
  padding: 0.85rem 1.85rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--tr-smooth);
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.btn-primary-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13, 148, 136, 0.4);
}

/* ════════════════════════ CUSTOM DOMAIN SHOWCASE ════════════════════════ */
.section-domain {
  padding: clamp(4rem, 7vw, 6.5rem) 0;
  background: radial-gradient(circle at 50% 0%, rgba(6, 182, 212, 0.07) 0%, rgba(248, 250, 252, 0) 70%), #f8fafc;
  position: relative;
}

.domain-grid-wrap {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.domain-copy {
  display: flex;
  flex-direction: column;
}

.domain-highlight {
  background: var(--teal-subtle);
  color: var(--teal-primary);
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid var(--teal-border);
}

.domain-perks-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  margin: 1.5rem 0 2rem 0;
}

.domain-perks-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: clamp(0.86rem, 1.5vw, 0.95rem);
  color: var(--slate-700);
}

.perk-check {
  color: var(--teal-primary);
  font-weight: 800;
  background: var(--teal-subtle);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.domain-btn-wrap {
  display: flex;
}

/* Browser Visual Frame */
.domain-visual-showcase {
  position: relative;
  width: 100%;
}

.callout-pill {
  position: absolute;
  background: #ffffff;
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.85rem;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--slate-900);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--slate-200);
  z-index: 10;
  transition: transform 0.3s ease;
  white-space: nowrap;
}

.callout-pill:hover {
  transform: scale(1.06);
}

.cp-logo { top: -12px; left: 15px; }
.cp-domain { top: -12px; right: 15px; }
.cp-theme { bottom: 10px; left: 10px; }
.cp-leads { bottom: 10px; right: 10px; }

.browser-device-frame {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: 0 10px 30px -4px rgba(15, 23, 42, 0.06), 0 2px 8px -1px rgba(15, 23, 42, 0.03);
  overflow: hidden;
  width: 100%;
}

.browser-top-bar {
  background: var(--slate-100);
  padding: 0.55rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid var(--slate-200);
}

.browser-dots {
  display: flex;
  gap: 4px;
}

.browser-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #cbd5e1;
}

.browser-url-bar {
  flex: 1;
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-pill);
  padding: 0.2rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--slate-900);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.b-lock { color: #16a34a; }

.browser-website-screen {
  padding: 0.75rem;
  background: #ffffff;
}

.bws-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--slate-100);
  padding-bottom: 0.5rem;
  gap: 0.5rem;
}

.bws-logo {
  font-size: 0.78rem;
  color: var(--slate-900);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  white-space: nowrap;
}

.bws-menu {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.64rem;
  font-weight: 600;
  color: var(--slate-500);
}

.bws-contact-btn {
  background: var(--teal-primary);
  color: #ffffff;
  padding: 2px 6px;
  border-radius: 4px;
}

.bws-hero-banner {
  background: linear-gradient(135deg, var(--slate-900) 0%, var(--slate-800) 100%);
  color: #ffffff;
  border-radius: 8px;
  padding: clamp(1rem, 2.5vw, 1.5rem) clamp(0.75rem, 2vw, 1rem);
  text-align: center;
  margin: 0.65rem 0;
}

.bws-hero-banner h3 {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 800;
  line-height: 1.2;
}

.bws-hero-banner p {
  font-size: 0.7rem;
  color: var(--slate-400);
  margin: 0.3rem 0 0.75rem 0;
}

.bws-search-box {
  display: flex;
  max-width: 280px;
  width: 100%;
  margin: 0 auto;
  background: #ffffff;
  border-radius: var(--radius-pill);
  padding: 3px 4px 3px 10px;
}

.bws-search-box input {
  flex: 1;
  border: none;
  font-size: 0.62rem;
  outline: none;
  min-width: 0;
}

.bws-search-action {
  background: var(--teal-primary);
  color: #ffffff;
  border: none;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
}

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

.bws-prop-card {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: 6px;
  padding: 4px;
}

.bws-img {
  height: clamp(40px, 8vw, 52px);
  border-radius: 4px;
  background-size: cover;
  background-position: center;
}

.bws-img.img-sea { background-image: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=250&q=80'); }
.bws-img.img-villa { background-image: url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?auto=format&fit=crop&w=250&q=80'); }
.bws-img.img-pent { background-image: url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=250&q=80'); }

.bws-info {
  padding: 3px 0 0 0;
  display: flex;
  flex-direction: column;
}

.bws-info strong {
  font-size: 0.65rem;
  color: var(--slate-900);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bws-price {
  font-size: 0.62rem;
  font-weight: 800;
  color: var(--teal-primary);
}

/* ════════════════════════ ONE-TIME OWNERSHIP ADVANTAGE ════════════════════════ */
.section-ownership {
  padding: clamp(4rem, 7vw, 6.5rem) 0;
  background: radial-gradient(circle at 50% 0%, rgba(245, 158, 11, 0.05) 0%, rgba(13, 148, 136, 0.03) 50%, rgba(248, 250, 252, 0) 70%), #f8fafc;
  position: relative;
  overflow: hidden;
  color: var(--slate-900);
  border-bottom: none;
}

.section-ownership::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, 100vw);
  height: 450px;
  background: radial-gradient(ellipse at center, rgba(13, 148, 136, 0.06) 0%, rgba(248, 250, 252, 0) 70%);
  pointer-events: none;
}

/* Mobile Toggle Switcher (Hidden on Desktop >= 768px) */
.comp-toggle-switcher {
  display: none;
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  padding: 4px;
  border-radius: var(--radius-pill);
  margin: 0 auto 1.5rem auto;
  width: 100%;
  max-width: 440px;
  gap: 4px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.04);
}

.comp-toggle-btn {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0.65rem 0.85rem;
  font-size: clamp(0.78rem, 1.8vw, 0.86rem);
  font-weight: 700;
  border-radius: var(--radius-pill);
  color: var(--slate-600);
  cursor: pointer;
  min-height: 44px;
  transition: var(--tr-smooth);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  white-space: nowrap;
}

.comp-toggle-btn.active {
  background: var(--slate-900);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.18);
}

.comp-toggle-btn#compBtnSaas.active {
  background: #dc2626;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
}

.comp-toggle-btn#compBtnBroconn.active {
  background: linear-gradient(135deg, var(--slate-900) 0%, var(--slate-800) 100%);
  color: #ffffff;
}

.comp-rec-pill {
  background: var(--teal-primary);
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.ownership-comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(1.25rem, 3vw, 2rem);
  margin-bottom: 2rem;
  align-items: stretch;
}

.comp-card {
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  display: flex;
  flex-direction: column;
  transition: var(--tr-smooth);
  box-shadow: 0 10px 30px -4px rgba(15, 23, 42, 0.04), 0 2px 8px -1px rgba(15, 23, 42, 0.02);
}

.comp-card.standard-saas {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.85);
}

.comp-card.broconn-advantage {
  background: linear-gradient(160deg, #f0fdfa 0%, #ffffff 50%, #f0fdfa 100%);
  border: 2px solid var(--teal-primary);
  box-shadow: 0 16px 36px rgba(13, 148, 136, 0.12), 0 0 0 1px rgba(13, 148, 136, 0.1);
  transform: translateY(-4px);
}

.comp-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-pill);
  width: fit-content;
  margin-bottom: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.comp-badge.bad {
  background: #fee2e2;
  color: #dc2626;
  border: 1px solid #fca5a5;
}

.comp-badge.good {
  background: linear-gradient(135deg, var(--teal-primary) 0%, #059669 100%);
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(13, 148, 136, 0.3);
}

.comp-card h3 {
  font-size: var(--font-card-title);
  font-weight: 800;
  margin-bottom: 1.25rem;
  color: var(--slate-900);
  letter-spacing: -0.02em;
}

.comp-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.comp-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.cross-ico {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fee2e2;
  color: #dc2626;
  font-weight: 900;
  font-size: 0.76rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.check-ico {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  font-weight: 900;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.2);
}

.comp-item-content {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.comp-item-content strong {
  font-size: clamp(0.9rem, 1.4vw, 0.96rem);
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1.35;
}

.comp-item-content p {
  font-size: clamp(0.8rem, 1.3vw, 0.84rem);
  color: var(--slate-600);
  line-height: 1.45;
}

.comp-item-content code {
  background: #f1f5f9;
  color: var(--teal-dark);
  padding: 0.12rem 0.35rem;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  word-break: break-word;
}

.ownership-quote-box {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-left: 4px solid var(--teal-primary);
  padding: clamp(1.25rem, 2.5vw, 1.75rem) clamp(1.25rem, 3vw, 2.25rem);
  border-radius: var(--radius-md);
  text-align: center;
  font-size: clamp(0.92rem, 1.4vw, 1.05rem);
  color: var(--slate-700);
  box-shadow: var(--shadow-sm);
  margin-top: 0.5rem;
}

.ownership-quote-box p {
  margin: 0;
  line-height: 1.6;
}

/* ════════════════════════ MICRO-FEATURES INGESTION SUB-STRIP ════════════════════════ */
.mfb-ingestion-strip {
  background: #f8fafc;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.4rem;
  margin-top: 1.4rem;
  margin-bottom: 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  text-align: center;
  transition: var(--tr-smooth);
}

.mfb-ingestion-strip:hover {
  border-color: rgba(13, 148, 136, 0.35);
}

.mfb-ingestion-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.mfb-ingestion-badge {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--teal-primary);
  background: var(--teal-subtle);
  border: 1px solid rgba(13, 148, 136, 0.2);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}

.mfb-ingestion-label {
  font-size: 0.88rem;
  font-weight: 500;
  color: #475569; /* text-slate-600 */
  line-height: 1.4;
  margin: 0;
  letter-spacing: -0.01em;
}

/* Compact Horizontal Integration Chips Strip inside Micro-Features */
.mfb-ingestion-chips {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem 0.85rem;
}

.ingestion-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 8px 16px;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 9999px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  cursor: default;
  user-select: none;
}

.ingestion-chip:hover {
  border-color: #2dd4bf; /* border-teal-400 */
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(13, 148, 136, 0.08);
}

.chip-icon-box {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.65rem;
  font-weight: 800;
  line-height: 1;
}

.chip-icon-box svg {
  width: 13px;
  height: 13px;
  display: block;
}

.chip-icon-box.meta-chip {
  background: #1877f2;
  color: #ffffff;
}

.chip-icon-box.google-chip {
  background: #ffffff;
  border: 1px solid #e2e8f0;
}

.chip-icon-box.housing-chip {
  background: #ff5a5f;
  color: #ffffff;
  font-weight: 900;
  font-size: 0.7rem;
}

.chip-icon-box.acres-chip {
  background: #005ca9;
  color: #ffffff;
  font-weight: 900;
  font-size: 0.65rem;
}

.chip-icon-box.magic-chip {
  background: #e4002b;
  color: #ffffff;
  font-weight: 900;
  font-size: 0.6rem;
}

.chip-icon-box.jd-chip {
  background: #ff7700;
  color: #ffffff;
  font-weight: 900;
  font-size: 0.65rem;
}

.chip-name {
  font-size: 0.875rem; /* text-sm */
  font-weight: 600;
  color: #334155; /* text-slate-700 */
  white-space: nowrap;
}

.chip-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981; /* bg-emerald-500 */
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.6);
  flex-shrink: 0;
  position: relative;
}

.chip-live-dot::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 1px solid rgba(16, 185, 129, 0.4);
  animation: pulse-ring 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.4); opacity: 0; }
  100% { transform: scale(0.9); opacity: 0; }
}

/* ════════════════════════ 2. BEFORE VS AFTER — WORKFLOW TRANSFORMATION ════════════════════════ */
.section-transformation {
  padding: clamp(4rem, 7vw, 6.5rem) 0;
  background: radial-gradient(circle at 50% 0%, rgba(168, 85, 247, 0.05) 0%, rgba(13, 148, 136, 0.03) 50%, rgba(248, 250, 252, 0) 70%), #f8fafc;
  border-bottom: none;
  position: relative;
}

.transformation-comparative-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
  margin-top: 1rem;
}

.bva-column {
  border-radius: var(--radius-xl);
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 30px -4px rgba(15, 23, 42, 0.04), 0 2px 8px -1px rgba(15, 23, 42, 0.02);
  transition: var(--tr-smooth);
}

.bva-scattered {
  background: #ffffff;
  border: 1.5px solid #fecaca;
  box-shadow: 0 10px 30px -4px rgba(239, 68, 68, 0.06), 0 2px 8px -1px rgba(15, 23, 42, 0.02);
}

.bva-unified {
  background: linear-gradient(145deg, #f0fdfa 0%, #ffffff 60%, #f0fdf4 100%);
  border: 2px solid var(--teal-primary);
  box-shadow: 0 16px 36px rgba(13, 148, 136, 0.14), 0 0 0 1px rgba(13, 148, 136, 0.1);
  transform: translateY(-3px);
}

.bva-col-head {
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--slate-100);
  padding-bottom: 1.25rem;
}

.bva-head-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.bva-head-tag.bad {
  background: #fee2e2;
  color: #dc2626;
  border: 1px solid #fca5a5;
}

.bva-head-tag.good {
  background: linear-gradient(135deg, var(--teal-primary) 0%, #059669 100%);
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(13, 148, 136, 0.3);
}

.bva-head-title {
  font-size: clamp(1.35rem, 2.3vw, 1.75rem);
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}

.bva-head-sub {
  font-size: 0.88rem;
  color: var(--slate-600);
  line-height: 1.45;
  margin: 0;
}

.bva-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  padding: 0;
  margin: 0;
}

.bva-item {
  display: flex;
  align-items: flex-start;
  gap: 0.95rem;
}

.bva-icon-box {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 2px;
}

.bva-icon-box.bad {
  background: #fee2e2;
  color: #dc2626;
}

.bva-icon-box.good {
  background: #dcfce7;
  color: #16a34a;
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.2);
}

.bva-item-text strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 0.2rem;
}

.bva-item-text p {
  font-size: 0.85rem;
  color: var(--slate-600);
  line-height: 1.5;
  margin: 0;
}

/* ════════════════════════ 3. TECH STACK CONSOLIDATION ════════════════════════ */
.section-consolidation {
  padding: clamp(4rem, 7vw, 6.5rem) 0;
  background: radial-gradient(circle at 50% 0%, rgba(6, 182, 212, 0.06) 0%, rgba(248, 250, 252, 0) 70%), #f8fafc;
  border-bottom: none;
  position: relative;
}

.consolidation-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.bento-tool-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 10px 30px -4px rgba(15, 23, 42, 0.04), 0 2px 8px -1px rgba(15, 23, 42, 0.02);
  transition: var(--tr-smooth);
}

.bento-tool-card:hover {
  transform: translateY(-3px);
  border-color: #f97316;
  box-shadow: 0 14px 32px rgba(249, 115, 22, 0.12), 0 2px 8px rgba(15, 23, 42, 0.04);
}

.bento-badge-cut {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  color: #dc2626;
  background: #fee2e2;
  border: 1px solid #fca5a5;
  padding: 2px 8px;
  border-radius: 4px;
  width: fit-content;
  margin-bottom: 0.85rem;
  letter-spacing: 0.04em;
}

.bento-tool-icon {
  font-size: 1.85rem;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.bento-tool-card h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 0.45rem;
  line-height: 1.35;
}

.bento-tool-card p {
  font-size: 0.85rem;
  color: var(--slate-600);
  line-height: 1.5;
  margin: 0;
}

.consolidation-highlight-banner {
  background: linear-gradient(135deg, #0f766e 0%, #0d9488 60%, #06b6d4 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.35rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  box-shadow: 0 12px 32px rgba(13, 148, 136, 0.22);
}

.chb-icon {
  font-size: 1.75rem;
  flex-shrink: 0;
}

.chb-text {
  font-size: 0.96rem;
  line-height: 1.55;
  color: #ffffff;
}

.chb-text strong {
  color: #ffffff;
  font-weight: 800;
}

/* ════════════════════════ 4. ZERO VENDOR LOCK-IN DATA SOVEREIGNTY ════════════════════════ */
.section-sovereignty {
  padding: clamp(4rem, 7vw, 6.5rem) 0;
  background: radial-gradient(circle at 50% 50%, rgba(6, 182, 212, 0.06) 0%, rgba(248, 250, 252, 0) 70%), #f8fafc;
  position: relative;
}

.sovereignty-badge-container {
  position: relative;
  background: radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.15) 0%, transparent 60%), #0f172a;
  color: #ffffff;
  border: 1.5px solid rgba(6, 182, 212, 0.35);
  border-radius: clamp(16px, 3vw, var(--radius-xl));
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.25rem, 4vw, 3.5rem);
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.35), 0 0 50px -10px rgba(6, 182, 212, 0.18);
  text-align: center;
}

.sovereignty-badge-container .section-pill-tag {
  background: rgba(6, 182, 212, 0.15);
  color: #22d3ee;
  border-color: rgba(6, 182, 212, 0.35);
}

.sovereignty-title {
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
  margin: 1rem 0 0.75rem 0;
}

.cyan-gradient-text {
  background: linear-gradient(135deg, #22d3ee 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sovereignty-sub {
  font-size: clamp(0.92rem, 1.5vw, 1.05rem);
  color: var(--slate-300);
  line-height: 1.6;
  max-width: 680px;
  margin: 0 auto 2.5rem auto;
}

.sovereignty-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: left;
}

.sov-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  padding: 1.6rem;
  border-radius: var(--radius-md);
  transition: var(--tr-smooth);
}

.sov-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(6, 182, 212, 0.5);
  transform: translateY(-3px);
}

.sov-icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.sov-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.sov-card p {
  font-size: 0.88rem;
  color: var(--slate-300);
  line-height: 1.55;
  margin: 0;
}

/* ════════════════════════ 5. INTERACTIVE BROKER FAQS (ACCORDION) ════════════════════════ */
.section-faqs {
  padding: clamp(4rem, 7vw, 6.5rem) 0;
  background: radial-gradient(circle at 50% 0%, rgba(6, 182, 212, 0.07) 0%, rgba(248, 250, 252, 0) 70%), #f8fafc;
  border-top: none;
  border-bottom: none;
  position: relative;
}

.faq-accordion {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--tr-smooth);
  box-shadow: 0 10px 30px -4px rgba(15, 23, 42, 0.04), 0 2px 8px -1px rgba(15, 23, 42, 0.02);
}

.faq-item:hover,
.faq-item.active {
  border-color: var(--teal-primary);
  box-shadow: 0 14px 34px -4px rgba(13, 148, 136, 0.12), 0 2px 8px rgba(15, 23, 42, 0.04);
}

.faq-question {
  width: 100%;
  min-height: 52px;
  padding: 1.15rem 1.4rem;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  text-align: left;
  font-size: clamp(0.92rem, 1.8vw, 1.02rem);
  font-weight: 700;
  color: var(--slate-900);
  transition: color var(--tr-fast);
}

.faq-question:hover {
  color: var(--teal-primary);
}

.faq-q-text {
  flex-grow: 1;
  line-height: 1.45;
}

.faq-q-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--slate-100);
  color: var(--slate-600);
  flex-shrink: 0;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.faq-item.active .faq-q-icon {
  transform: rotate(180deg);
  background: var(--teal-subtle);
  color: var(--teal-primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer-inner {
  padding: 0 1.4rem 1.25rem 1.4rem;
  font-size: 0.92rem;
  color: var(--slate-600);
  line-height: 1.6;
}

.faq-answer-inner code {
  background: #f1f5f9;
  color: var(--teal-dark);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Responsive Overrides for New Sections */
@media (max-width: 1024px) {
  .consolidation-bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sovereignty-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .mfb-ingestion-strip {
    padding: 0.95rem 0.85rem;
    gap: 0.75rem;
  }
  .mfb-ingestion-header {
    flex-direction: column;
    gap: 0.35rem;
  }
  .mfb-ingestion-label {
    font-size: 0.82rem;
  }
  .mfb-ingestion-chips {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }
  .ingestion-chip {
    padding: 6px 12px;
    justify-content: center;
  }
  .chip-name {
    font-size: 0.8rem;
  }
  .transformation-comparative-grid {
    grid-template-columns: 1fr;
  }
  .consolidation-bento-grid {
    grid-template-columns: 1fr;
  }
  .sovereignty-cards-grid {
    grid-template-columns: 1fr;
  }
  .consolidation-highlight-banner {
    flex-direction: column;
    text-align: center;
  }
}

/* ════════════════════════ HIGH-CONVERTING DEMO CTA BANNER ════════════════════════ */
.section-cta-banner {
  padding: clamp(4rem, 7vw, 6.5rem) 0;
  background: radial-gradient(circle at 50% 50%, rgba(20, 184, 166, 0.05) 0%, rgba(248, 250, 252, 0) 70%), #f8fafc;
  position: relative;
}

.cta-banner-inner {
  position: relative;
  background: radial-gradient(circle at 85% 15%, rgba(20, 184, 166, 0.18) 0%, transparent 50%), radial-gradient(circle at 15% 85%, rgba(2, 132, 199, 0.18) 0%, transparent 50%), #0f172a;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: clamp(16px, 3vw, var(--radius-xl));
  padding: clamp(2.5rem, 5.5vw, 4.5rem) clamp(1.25rem, 4vw, 3.5rem);
  text-align: center;
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.4), 0 0 50px -10px rgba(20, 184, 166, 0.16);
}

.cta-banner-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.2) 0%, transparent 70%);
  top: -120px;
  right: -80px;
  pointer-events: none;
}

.cta-banner-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
}

.cta-banner-content .section-pill-tag {
  background: rgba(20, 184, 166, 0.15);
  color: #2dd4bf;
  border-color: rgba(20, 184, 166, 0.35);
}

.cta-title {
  font-size: clamp(1.85rem, 4vw + 0.6rem, 2.9rem);
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin: 1.15rem 0 0.85rem 0;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.cta-sub {
  font-size: clamp(0.95rem, 1.5vw, 1.12rem);
  line-height: 1.6;
  color: var(--slate-300);
  margin-bottom: 2rem;
  text-wrap: balance;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.cta-action-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.btn-cta-light {
  background: var(--slate-900);
  color: #ffffff;
  border: none;
  font-size: clamp(0.92rem, 1.8vw, 1rem);
  font-weight: 800;
  padding: 0.95rem clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--tr-smooth);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.18);
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-cta-light:hover {
  background: #000000;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.28);
}

.btn-cta-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #16a34a;
  color: #ffffff;
  font-size: clamp(0.92rem, 1.8vw, 1rem);
  font-weight: 700;
  padding: 0.95rem clamp(1.25rem, 2.5vw, 1.85rem);
  border-radius: var(--radius-pill);
  transition: var(--tr-smooth);
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(22, 163, 74, 0.25);
  min-height: 48px;
}

.btn-cta-wa:hover {
  background: #15803d;
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(22, 163, 74, 0.35);
}

/* ════════════════════════ MODERN MULTI-COLUMN FOOTER (WVTS) ════════════════════════ */
.site-global-footer {
  background: #0B0F19;
  color: #ffffff;
  padding: clamp(3.5rem, 6vw, 5.5rem) 0 calc(115px + env(safe-area-inset-bottom, 0px)) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-main-grid {
  display: grid;
  grid-template-columns: 1.35fr 1.35fr 1.3fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 3.5rem;
}

.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
}

.footer-logo-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.footer-logo-text {
  display: flex;
  flex-direction: column;
}

.fl-name {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #ffffff;
}

.fl-sub {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--teal-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--slate-400);
  margin-bottom: 1.5rem;
}

.btn-footer-wa-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #16a34a;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-pill);
  transition: var(--tr-smooth);
  text-decoration: none;
  min-height: 44px;
}

.btn-footer-wa-pill:hover {
  background: #15803d;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(22, 163, 74, 0.3);
}

.f-col-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.footer-nav-subgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.f-col-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.f-links-heading {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal-light);
  margin-bottom: 0.25rem;
}

.f-col-links a {
  font-size: 0.88rem;
  color: var(--slate-400);
  text-decoration: none;
  transition: var(--tr-fast);
  display: inline-block;
  padding: 2px 0;
}

.f-col-links a:hover {
  color: var(--teal-light);
  transform: translateX(4px);
}

.company-sub-tag {
  font-size: 0.84rem;
  font-weight: 700;
  color: #38bdf8;
  margin-bottom: 1.15rem;
}

/* ════════════════════════ CORPORATE FOOTER CONTACT WIDGET ════════════════════════ */
.footer-contact-widget {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 0.95rem 1.05rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color var(--tr-smooth), background-color var(--tr-smooth), box-shadow var(--tr-smooth);
}

.footer-contact-widget:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(20, 184, 166, 0.35);
  box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.4), 0 0 20px rgba(20, 184, 166, 0.08);
}

.fc-widget-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.45rem 0.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform var(--tr-fast);
}

.fc-widget-row:last-child {
  border-bottom: none;
  padding-bottom: 0.2rem;
}

.fc-row-leading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  flex: 1;
}

.fc-icon-badge {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(20, 184, 166, 0.12);
  border: 1px solid rgba(20, 184, 166, 0.25);
  color: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--tr-fast), background var(--tr-fast), color var(--tr-fast);
}

.fc-icon-badge.email-badge {
  background: rgba(2, 132, 199, 0.12);
  border-color: rgba(56, 189, 248, 0.25);
  color: #38bdf8;
}

.fc-widget-row:hover .fc-icon-badge {
  transform: scale(1.06);
  background: rgba(20, 184, 166, 0.22);
}

.fc-widget-row:hover .fc-icon-badge.email-badge {
  background: rgba(2, 132, 199, 0.22);
}

.fc-row-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

.fc-meta-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--slate-400);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 2px;
}

.fc-meta-val {
  font-size: 0.91rem;
  font-weight: 700;
  color: #f1f5f9;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color var(--tr-fast);
  line-height: 1.35;
}

.fc-meta-val:hover {
  color: #2dd4bf; /* text-teal-400 */
  text-decoration: underline;
  text-underline-offset: 3px;
}

.fc-row-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.fc-action-btn {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all var(--tr-fast);
  cursor: pointer;
}

.fc-action-btn:hover {
  transform: translateY(-2px);
}

.fc-action-btn.fc-btn-call:hover {
  background: rgba(2, 132, 199, 0.35);
  border-color: #38bdf8;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

.fc-action-btn.fc-btn-wa:hover {
  background: rgba(22, 163, 74, 0.35);
  border-color: #4ade80;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}

.fc-action-btn.fc-btn-mail:hover {
  background: rgba(20, 184, 166, 0.35);
  border-color: #2dd4bf;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3);
}

.btn-footer-consult {
  width: 100%;
  background: linear-gradient(135deg, var(--teal-primary) 0%, var(--blue-primary) 100%);
  color: #ffffff;
  border: none;
  padding: 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
  transition: var(--tr-smooth);
  box-shadow: 0 4px 15px rgba(13, 148, 136, 0.25);
  min-height: 48px;
}

.btn-footer-consult:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.4);
}

.footer-bottom-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2.25rem;
  font-size: 0.84rem;
  color: var(--slate-400);
  gap: 1.25rem;
}

.footer-bottom-row p {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.fbr-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(1.2rem, 3vw, 2.25rem);
  flex-wrap: wrap;
  padding: 0 1rem;
}

.fbr-links a {
  color: var(--slate-400);
  text-decoration: none;
  transition: var(--tr-fast);
}

.fbr-links a:hover {
  color: var(--teal-light);
}

/* ════════════════════════ MODAL STYLING ════════════════════════ */
.demo-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(9, 14, 23, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: clamp(0.75rem, 3vw, 1.5rem);
}

.demo-modal-backdrop.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

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

.demo-modal-dialog {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 580px;
  width: 100%;
  padding: clamp(1.25rem, 4vw, 2.5rem);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--slate-100);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 0.95rem;
  color: var(--slate-500);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--tr-fast);
}

.modal-close-btn:hover {
  background: var(--slate-200);
  color: var(--slate-900);
}

.modal-header-section {
  text-align: center;
  margin-bottom: 1.25rem;
}

.modal-logo-icon img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  margin-bottom: 0.5rem;
  margin-left: auto;
  margin-right: auto;
}

.modal-title {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 800;
  color: var(--slate-900);
}

.modal-subtitle {
  font-size: clamp(0.82rem, 1.4vw, 0.88rem);
  color: var(--slate-500);
  margin-top: 0.35rem;
}

.modal-form-body {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--slate-700);
}

.form-group input, .form-group textarea {
  padding: 0.75rem 0.95rem;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font-size: 16px; /* Prevents auto-zoom in iOS Safari */
  color: var(--slate-900);
  outline: none;
  transition: var(--tr-fast);
  min-height: 46px;
}

.form-group textarea {
  min-height: 70px;
}

.form-group input:focus, .form-group textarea:focus {
  border-color: var(--teal-primary);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

.modules-checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  background: var(--slate-50);
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--slate-200);
}

.mod-checkbox {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--slate-700);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  min-height: 44px;
  padding: 0 4px;
}

.btn-modal-submit {
  background: linear-gradient(135deg, var(--slate-900) 0%, var(--slate-800) 100%);
  color: #ffffff;
  border: none;
  padding: 0.95rem;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.2);
  transition: var(--tr-smooth);
  min-height: 48px;
}

.btn-modal-submit:hover {
  background: linear-gradient(135deg, var(--teal-primary) 0%, var(--blue-primary) 100%);
  transform: translateY(-2px);
}

.btn-modal-submit:disabled,
.btn-modal-submit.is-loading {
  opacity: 0.85;
  cursor: not-allowed;
  transform: none !important;
}

.btn-submit-spinner {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.animate-spin {
  animation: spin 0.8s linear infinite;
}

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

.modal-form-footer-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--slate-500);
  margin-top: 0.25rem;
}

.modal-form-footer-note a {
  color: #16a34a;
  font-weight: 700;
}

/* Modal Thank You Success Screen */
.modal-success-screen {
  text-align: center;
  padding: 1.5rem 0.5rem 0.5rem;
}

.success-icon-anim {
  display: flex;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.success-checkmark-circle {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #dcfce7;
  border: 2px solid #86efac;
  color: #15803d;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 24px rgba(22, 163, 74, 0.28);
  animation: pulse-check 2s infinite ease-in-out;
}

@keyframes pulse-check {
  0% { transform: scale(0.96); box-shadow: 0 0 10px rgba(22, 163, 74, 0.2); }
  50% { transform: scale(1.04); box-shadow: 0 0 28px rgba(22, 163, 74, 0.45); }
  100% { transform: scale(0.96); box-shadow: 0 0 10px rgba(22, 163, 74, 0.2); }
}

.success-title {
  font-size: clamp(1.4rem, 2.5vw, 1.7rem);
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 0.5rem;
}

.success-message {
  font-size: 0.92rem;
  color: var(--slate-600);
  line-height: 1.55;
  margin-bottom: 1.75rem;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

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

.btn-success-wa {
  background: #16a34a;
  color: #ffffff;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  box-shadow: 0 6px 18px rgba(22, 163, 74, 0.3);
  transition: var(--tr-smooth);
}

.btn-success-wa:hover {
  background: #15803d;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(22, 163, 74, 0.4);
}

.btn-success-close {
  background: var(--slate-100);
  color: var(--slate-700);
  border: 1px solid var(--slate-200);
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--tr-fast);
}

.btn-success-close:hover {
  background: var(--slate-200);
  color: var(--slate-900);
}

/* Toast */
.toast-notification {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--slate-900);
  color: #ffffff;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transform: translateY(100px);
  opacity: 0;
  transition: var(--tr-smooth);
  z-index: 3000;
  max-width: calc(100vw - 2rem);
  text-align: center;
}

.toast-notification.show {
  transform: translateY(0);
  opacity: 1;
}

/* ════════════════════════ RESPONSIVE BREAKPOINTS ════════════════════════ */

/* TABLET LANDSCAPE & SMALL DESKTOPS (<= 1024px) */
@media (max-width: 1024px) {
  .engine-showcase-display {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .domain-grid-wrap {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .ownership-comparison-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .nav-menu {
    gap: 1.15rem;
  }

  .nav-link {
    font-size: 13px;
    padding: 0.35rem 0.5rem;
  }

  .modular-grid-row.top-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .modular-grid-row.bottom-row {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
    gap: 1rem;
  }

  .modular-workflow-grid {
    grid-template-columns: 1fr;
  }

  .mfb-grid, .mfb-expanded-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-main-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .footer-col-founders {
    grid-column: span 2;
  }

  .floating-mobile-preview {
    display: none;
  }
}

/* TABLET PORTRAIT & LARGE MOBILE (<= 768px) */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .hamburger-btn {
    display: flex;
  }

  .btn-nav-primary {
    display: none;
  }

  .engine-tabs-nav {
    width: 100%;
    justify-content: flex-start;
    padding: 0.35rem;
    border-radius: var(--radius-md);
  }

  .mockup-inner-grid {
    grid-template-columns: 1fr;
  }

  .mockup-sidebar {
    display: none;
  }

  .mmp-split-row {
    grid-template-columns: 1fr;
  }

  .mmp-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .modular-grid-row.top-row,
  .modular-grid-row.bottom-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .modular-workflow-grid {
    grid-template-columns: 1fr;
  }

  .mfb-grid, .mfb-expanded-grid {
    grid-template-columns: 1fr;
  }

  .mfb-header-row {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-toggle-micro {
    width: 100%;
  }

  .footer-main-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .footer-col-founders {
    grid-column: span 1;
  }

  .site-global-footer {
    padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .footer-bottom-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.25rem;
    padding-top: 1.75rem;
  }

  .footer-bottom-row p {
    text-align: center;
    max-width: 480px;
    margin: 0;
    line-height: 1.5;
  }

  .fbr-links {
    justify-content: center;
    gap: 1.25rem;
    padding: 0 1rem;
  }

  .trust-metrics-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem 0.5rem;
  }

  .modules-action-strip {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 1rem;
  }

  .btn-primary-glow {
    width: 100%;
  }

  /* Reposition callout pills safely on mobile to prevent overflow */
  .callout-pill {
    position: static;
    display: inline-block;
    margin: 4px;
    box-shadow: var(--shadow-sm);
  }

  .domain-visual-showcase {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  .domain-visual-showcase::before {
    content: 'Live Portal Highlights:';
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--slate-400);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: -0.25rem;
  }

  /* Mobile Interactive Comparison Toggle & Cards (< 768px) */
  .comp-toggle-switcher {
    display: flex;
  }

  .ownership-comparison-grid {
    display: block;
    width: 100%;
    margin-bottom: 1.5rem;
  }

  .comp-card {
    display: none;
    width: 100%;
    padding: clamp(1.2rem, 3.5vw, 1.75rem);
  }

  .comp-card.active-mobile {
    display: flex;
  }

  .comp-card.broconn-advantage {
    transform: none;
  }

  .comp-list {
    gap: 0.85rem;
  }

  .comp-list li {
    gap: 0.75rem;
  }

  .cross-ico, .check-ico {
    width: 20px;
    height: 20px;
    font-size: 0.72rem;
  }

  .comp-item-content strong {
    font-size: 0.9rem;
  }

  .comp-item-content p {
    font-size: 0.8rem;
  }
}

/* SMARTPHONES (<= 640px) */
@media (max-width: 640px) {
  .hero-cta-row {
    flex-direction: column;
    width: 100%;
  }

  .btn-hero-primary, .btn-hero-secondary {
    width: 100%;
  }

  .cta-action-btns {
    flex-direction: column;
    width: 100%;
  }

  .btn-cta-light, .btn-cta-wa {
    width: 100%;
  }

  .form-grid-2 {
    grid-template-columns: 1fr;
  }

  .modules-checkbox-grid {
    grid-template-columns: 1fr;
  }

  .esd-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .esd-submatches-grid {
    grid-template-columns: 1fr;
  }

  .esd-action-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bws-props-grid {
    grid-template-columns: 1fr;
  }

  .bws-menu span:not(.bws-contact-btn) {
    display: none;
  }

  .toast-notification {
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
    width: auto;
  }
}

/* SMALL SMARTPHONES (<= 480px) */
@media (max-width: 480px) {
  .footer-nav-subgrid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .btn-nav-wa span {
    display: none;
  }

  .btn-nav-wa {
    padding: 0.55rem;
    width: 44px;
    height: 44px;
    justify-content: center;
  }

  .mmp-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.4rem;
  }

  .mmp-kpi {
    padding: 0.5rem;
  }

  .esd-kanban-stages-bar {
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
  }

  .esd-ks-item:nth-child(n+4) {
    display: none;
  }
}

/* ════════════════════════ CIRCULAR LIGHT-BLUE SCROLL PROGRESS INDICATOR ════════════════════════ */
.scroll-progress-circle {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 50%;
  background: rgba(240, 249, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(56, 189, 248, 0.45);
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.2), 0 2px 6px rgba(14, 165, 233, 0.15);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px) scale(0.92);
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.2s ease,
              border-color 0.2s ease,
              box-shadow 0.2s ease;
  user-select: none;
}

.scroll-progress-circle.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.scroll-progress-circle:hover {
  background: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 12px 30px rgba(2, 132, 199, 0.3), 0 0 16px rgba(56, 189, 248, 0.45);
  transform: translateY(-3px) scale(1.06);
}

.scroll-progress-circle:active {
  transform: translateY(0) scale(0.96);
}

.progress-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  pointer-events: none;
}

.progress-ring-bg {
  stroke: rgba(186, 230, 253, 0.65);
}

.progress-ring-circle {
  stroke: #0284c7;
  transition: stroke-dashoffset 0.1s linear;
}

.progress-icon-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0284c7;
  z-index: 1;
}

.scroll-arrow-icon {
  color: #0284c7;
  transition: transform 0.25s ease, color 0.25s ease;
}

.scroll-progress-circle:hover .scroll-arrow-icon {
  transform: translateY(-2px);
  color: #0369a1;
}

@media (max-width: 640px) {
  .scroll-progress-circle {
    bottom: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
  }
}

/* ════════════════════════ AUTONOMOUS SMART COMPANION GUIDE ════════════════════════ */
#smart-companion-guide {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 950;
  display: flex;
  align-items: flex-end;
  gap: 12px;
  pointer-events: auto;
  font-family: inherit;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
}

#smart-companion-guide.at-footer {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(24px) scale(0.92) !important;
}

.smart-guide-avatar-wrap {
  width: 62px;
  height: 60px;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  outline: none;
  user-select: none;
  flex-shrink: 0;
  animation: smart-guide-float 3.2s ease-in-out infinite;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), filter 0.25s ease;
}

.smart-guide-avatar-wrap:hover {
  transform: translateY(-5px) scale(1.08);
  filter: drop-shadow(0 0 16px rgba(6, 182, 212, 0.65));
}

.smart-guide-bot-svg {
  width: 62px;
  height: 60px;
  display: block;
  overflow: visible;
  filter: drop-shadow(0 8px 16px rgba(15, 23, 42, 0.24)) drop-shadow(0 0 8px rgba(6, 182, 212, 0.4));
}

.bot-eye {
  transform-origin: 50% 50%;
  animation: bot-eye-blink 4s infinite ease-in-out;
}

.bot-beacon-led,
.bot-beacon-glow {
  transform-origin: 71.5px 9px;
  animation: bot-beacon-pulse 1.8s infinite ease-in-out;
}

.bot-thruster-aura {
  transform-origin: 50px 91px;
  animation: bot-thruster-hover 2.2s infinite ease-in-out;
}

.bot-smile {
  animation: bot-smile-pulse 3s infinite ease-in-out;
}

.smart-guide-status-dot {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #10b981;
  border: 2px solid #ffffff;
  box-shadow: 0 0 10px #10b981, 0 0 4px #10b981;
  display: none;
  animation: ping-pulse 2s infinite;
}

@keyframes ping-pulse {
  0%, 100% {
    transform: scale(0.95);
    box-shadow: 0 0 6px #10b981;
  }
  50% {
    transform: scale(1.2);
    box-shadow: 0 0 14px #10b981, 0 0 20px rgba(16, 185, 129, 0.6);
  }
}

/* Light Frosted Acrylic Speech Bubble */
.smart-guide-bubble {
  position: relative;
  width: 320px;
  max-width: 320px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(6, 182, 212, 0.3);
  box-shadow: 0 10px 30px -4px rgba(15, 23, 42, 0.12);
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  padding: 12px 16px 14px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.smart-guide-bubble:hover {
  transform: translateY(-2px);
  border-color: #06b6d4;
  box-shadow: 0 14px 34px -4px rgba(15, 23, 42, 0.16), 0 0 16px rgba(6, 182, 212, 0.18);
}

.smart-guide-bubble.is-fading {
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.smart-guide-bubble.hidden {
  opacity: 0;
  visibility: hidden;
  transform: scale(0.9) translateY(10px);
  pointer-events: none;
  max-height: 0;
  padding: 0;
  margin: 0;
  border: none;
}

.smart-guide-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.smart-guide-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #0891b2;
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.28);
  padding: 2px 8px;
  border-radius: 9999px;
  text-transform: uppercase;
}

.smart-guide-close-btn {
  background: rgba(15, 23, 42, 0.05);
  border: none;
  color: #64748b;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
  flex-shrink: 0;
}

.smart-guide-close-btn:hover {
  background: rgba(15, 23, 42, 0.12);
  color: #0f172a;
}

.smart-guide-body {
  min-height: 48px;
}

.smart-guide-text {
  font-size: 13px;
  line-height: 1.45;
  color: #0f172a;
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.typewriter-cursor {
  display: inline-block;
  color: #0891b2;
  font-weight: 700;
  margin-left: 1px;
  animation: cursor-blink 0.75s infinite ease-in-out;
}

.typewriter-cursor.done {
  display: none;
}

.smart-guide-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2px;
}

.smart-guide-cta-label {
  font-size: 11px;
  font-weight: 600;
  color: #0891b2;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transition: color 0.2s ease;
}

.smart-guide-bubble:hover .smart-guide-cta-label {
  color: #06b6d4;
}

.smart-guide-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

.smart-guide-bubble:hover .smart-guide-arrow {
  transform: translate(2px, -2px);
}

/* 11-Second Mini Progress Timer Bar */
.smart-guide-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(6, 182, 212, 0.15);
  overflow: hidden;
}

.smart-guide-progress-fill {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #06b6d4, #0891b2);
  transform-origin: left center;
}

/* Animations */
@keyframes smart-guide-float {
  0%, 100% {
    transform: translateY(-3px);
  }
  50% {
    transform: translateY(3px);
  }
}

@keyframes smart-aura-pulse {
  0%, 100% {
    opacity: 0.4;
    transform: scale(0.95);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.1);
  }
}

@keyframes bot-eye-blink {
  0%, 88%, 100% {
    transform: scaleY(1);
  }
  92%, 96% {
    transform: scaleY(0.08);
  }
}

@keyframes bot-beacon-pulse {
  0%, 100% {
    opacity: 0.4;
    transform: scale(0.9);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

@keyframes bot-thruster-hover {
  0%, 100% {
    opacity: 0.35;
    transform: scaleX(0.85);
  }
  50% {
    opacity: 0.75;
    transform: scaleX(1.2);
  }
}

@keyframes bot-smile-pulse {
  0%, 100% {
    opacity: 0.8;
  }
  50% {
    opacity: 1;
  }
}

@keyframes cursor-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Mobile Responsiveness (<= 768px) */
@media (max-width: 768px) {
  #smart-companion-guide {
    bottom: 16px;
    left: 16px;
    gap: 8px;
  }

  .smart-guide-avatar-wrap {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .smart-guide-bot-svg {
    width: 40px;
    height: 38px;
  }

  .smart-guide-bubble {
    width: 280px;
    max-width: 280px;
    padding: 10px 14px 12px;
  }

  .smart-guide-text {
    font-size: 12px;
    line-height: 1.4;
  }
}

/* Mobile Safe Area & Anti-Collision (< 640px) */
@media (max-width: 640px) {
  /* Companion Guide Anchor (Bottom-Left) */
  #smart-companion-guide {
    left: 12px !important;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px)) !important;
    gap: 8px !important;
    z-index: 950 !important;
  }

  /* Mascot Avatar Size on Mobile */
  #smart-companion-guide .mascot-avatar,
  #smart-companion-guide .smart-guide-avatar-wrap,
  #smart-companion-guide svg {
    width: 38px !important;
    height: 38px !important;
  }

  #smart-companion-guide .smart-guide-close-btn svg {
    width: 11px !important;
    height: 11px !important;
  }

  /* Dynamic Bubble Constraints - strictly prevents hitting the right-side pill */
  #smart-companion-guide .companion-bubble,
  #smart-companion-guide .smart-guide-bubble,
  #companion-bubble,
  #smartGuideBubble {
    width: auto !important;
    max-width: 240px !important; /* Strictly prevents collision on screens down to 360px */
    padding: 10px 12px !important;
    font-size: 11.5px !important;
    line-height: 1.4 !important;
    border-radius: 14px !important;
    border-bottom-left-radius: 3px !important;
  }

  #smart-companion-guide .smart-guide-text {
    font-size: 11.5px !important;
    line-height: 1.4 !important;
  }

  /* Scroll Progress Pill (Bottom-Right) */
  #scroll-progress-pill,
  #scrollProgressBtn,
  .scroll-progress-container,
  .scroll-progress-circle {
    right: 12px !important;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px)) !important;
    width: 38px !important;
    height: 38px !important;
    z-index: 940 !important;
  }

  .scroll-progress-circle .scroll-arrow-icon {
    width: 14px !important;
    height: 14px !important;
  }
}

/* Ultra-compact screen protection (< 375px e.g. iPhone SE) */
@media (max-width: 375px) {
  #smart-companion-guide .companion-bubble,
  #smart-companion-guide .smart-guide-bubble,
  #companion-bubble,
  #smartGuideBubble {
    max-width: 210px !important;
    font-size: 11px !important;
  }

  #smart-companion-guide .smart-guide-text {
    font-size: 11px !important;
  }
}

/* ════════════════════════ APPLE-INSPIRED CORPORATE LEGAL SHEET ════════════════════════ */
.legal-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2100;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
  display: flex;
  justify-content: flex-end;
}

.legal-drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.legal-drawer-panel {
  width: 100%;
  max-width: 580px;
  height: 100%;
  background: #ffffff;
  border-left: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: -12px 0 40px rgba(15, 23, 42, 0.08), -1px 0 0 rgba(226, 232, 240, 0.6);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.legal-drawer-backdrop.active .legal-drawer-panel {
  transform: translateX(0);
}

/* Drawer Header */
.legal-drawer-header {
  padding: 1.5rem 1.75rem 1.25rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid #f1f5f9;
  background: #ffffff;
}

.legal-header-meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.legal-badge-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.legal-category-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(14, 116, 144, 0.08);
  border: 1px solid rgba(14, 116, 144, 0.16);
  color: #0e7490;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 3px 9px;
  border-radius: 9999px;
  text-transform: uppercase;
}

.legal-corp-tag {
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
}

.legal-drawer-title {
  font-size: 1.22rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.015em;
}

.legal-close-btn {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #64748b;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  padding: 0;
}

.legal-close-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
  border-color: #cbd5e1;
  transform: rotate(90deg);
}

/* Segmented Control Tab Bar */
.legal-nav-tabs-wrap {
  padding: 0.75rem 1.75rem;
  background: #ffffff;
  border-bottom: 1px solid #f1f5f9;
}

.legal-nav-tabs {
  display: flex;
  gap: 4px;
  background: #f1f5f9;
  padding: 4px;
  border-radius: 11px;
  border: 1px solid #e2e8f0;
  overflow-x: auto;
  scrollbar-width: none;
}

.legal-nav-tabs::-webkit-scrollbar {
  display: none;
}

.legal-tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: #64748b;
  font-size: 12.5px;
  font-weight: 500;
  padding: 7px 12px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.legal-tab-btn:hover {
  color: #0f172a;
}

.legal-tab-btn.active {
  background: #ffffff;
  color: #0f172a;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.04);
}

.tab-svg {
  flex-shrink: 0;
  opacity: 0.75;
  transition: opacity 0.2s ease;
}

.legal-tab-btn.active .tab-svg {
  opacity: 1;
  stroke: #0e7490;
}

/* Body & Content Panes */
.legal-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.75rem;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}

.legal-drawer-body::-webkit-scrollbar {
  width: 6px;
}

.legal-drawer-body::-webkit-scrollbar-track {
  background: transparent;
}

.legal-drawer-body::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
}

.legal-tab-pane {
  display: none;
  animation: fadeIn 0.2s ease;
}

.legal-tab-pane.active {
  display: block;
}

/* Intro Document Banner */
.legal-intro-banner {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 3.5px solid #0e7490;
  border-radius: 12px;
  padding: 1.2rem 1.35rem;
  margin-bottom: 1.2rem;
}

.lib-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #0e7490;
  background: rgba(14, 116, 144, 0.08);
  border: 1px solid rgba(14, 116, 144, 0.16);
  padding: 2px 8px;
  border-radius: 6px;
  margin-bottom: 0.5rem;
}

.legal-intro-banner h4 {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.35rem 0;
}

.legal-intro-banner p {
  font-size: 13.5px;
  line-height: 1.6;
  color: #475569;
  margin: 0;
}

/* Clauses List */
.legal-clauses-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.legal-clause-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 15px 18px;
  transition: all 0.2s ease;
}

.legal-clause-card:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.lcc-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.45rem;
}

.lcc-badge {
  font-size: 11px;
  font-weight: 600;
  color: #475569;
  background: #e2e8f0;
  padding: 2px 7px;
  border-radius: 5px;
  letter-spacing: 0.02em;
}

.lcc-header h5 {
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  margin: 0;
}

.legal-clause-card p {
  font-size: 13.5px;
  line-height: 1.6;
  color: #475569;
  margin: 0;
}

.legal-clause-card p strong {
  color: #0f172a;
  font-weight: 600;
}

.legal-clause-card p code {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #0284c7;
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

/* Footer Action */
.legal-drawer-footer {
  padding: 1.1rem 1.75rem;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.ldf-corp {
  display: flex;
  flex-direction: column;
  font-size: 12px;
  color: #64748b;
  line-height: 1.4;
}

.ldf-corp strong {
  color: #0f172a;
  font-weight: 600;
}

.btn-legal-close {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.btn-legal-close:hover {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #94a3b8;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .legal-drawer-panel {
    max-width: 100%;
    border-left: none;
  }

  .legal-drawer-header {
    padding: 1.2rem 1.25rem 1rem;
  }

  .legal-nav-tabs-wrap {
    padding: 0.5rem 1.25rem;
  }

  .legal-tab-btn {
    font-size: 11.5px;
    padding: 6px 8px;
  }

  .legal-drawer-body {
    padding: 1.25rem;
    padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  }

  .legal-drawer-footer {
    padding: 1rem 1.25rem;
    padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  }
}


