/* ==========================================================================
   DUNDUGO REMOTE SUPPORT & TECHNOLOGY SOLUTIONS - DESIGN SYSTEM & STYLESHEET
   Brand Colors:
     - Electric Lime Green: #ccff02
     - Deep Charcoal / Black: #1b1b1b
   ========================================================================== */

:root {
  --green: #ccff02;
  --green-glow: rgba(204, 255, 2, 0.45);
  --green-subtle: rgba(204, 255, 2, 0.12);
  --green-hover: #b8e600;
  
  --ink: #1b1b1b;
  --ink-soft: #383838;
  --ink-light: #606060;
  --mute: #828282;
  --line: #e3e6ea;
  --card-border: rgba(27, 27, 27, 0.08);

  --bg: #f7f9f6;
  --bg-gradient: radial-gradient(120% 70% at 50% 0%, #fbfcf8 0%, #f3f6ee 60%, #e6ebe0 100%);
  --surface-white: #ffffff;
  --surface-dark: #1b1b1b;
  --surface-dark-card: #222222;
  
  --ghost: #d6ded0;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.6, 0, 0.2, 1);
  --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--ink);
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  min-height: 100vh;
}

/* Grain Noise Overlay */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.045;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.1 0 0 0 0 0.1 0 0 0 0.6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ==========================================================================
   TOP ANNOUNCEMENT / LIVE QUEUE TICKER
   ========================================================================== */
.top-announcement {
  background: var(--ink);
  color: #f0f2ea;
  font-size: 12px;
  padding: 9px 24px;
  border-bottom: 1px solid rgba(204, 255, 2, 0.2);
  position: relative;
  z-index: 60;
}

.announcement-inner {
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.announcement-left {
  display: flex;
  align-items: center;
}

.quick-support-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #e5e8dc;
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.quick-support-link strong {
  color: var(--green);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.quick-support-link:hover {
  color: #ffffff;
}

.quick-support-link:hover strong {
  text-shadow: 0 0 10px var(--green-glow);
}

.announcement-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.inline-icon {
  width: 13px;
  height: 13px;
  vertical-align: -2px;
  color: var(--green);
  display: inline-block;
  margin-right: 4px;
}

.top-social-links {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.social-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #dbe0d2;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.social-icon-btn svg {
  display: block;
  transition: transform var(--transition-fast);
}

.social-icon-btn:hover {
  transform: translateY(-1px);
}

.social-icon-btn:hover svg {
  transform: scale(1.15);
}

.social-icon-btn.tiktok:hover {
  background: rgba(0, 242, 254, 0.15);
  border-color: #00f2fe;
  color: #00f2fe;
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.45);
}

.social-icon-btn.facebook:hover {
  background: rgba(24, 119, 242, 0.18);
  border-color: #1877f2;
  color: #1877f2;
  box-shadow: 0 0 10px rgba(24, 119, 242, 0.45);
}

.social-icon-btn.instagram:hover {
  background: rgba(225, 48, 108, 0.18);
  border-color: #e1306c;
  color: #e1306c;
  box-shadow: 0 0 10px rgba(225, 48, 108, 0.45);
}

.country-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 600;
  color: #f0f2ea;
  letter-spacing: 0.04em;
  user-select: none;
}

.country-badge:hover {
  border-color: rgba(204, 255, 2, 0.3);
}

.kenya-flag-svg {
  border-radius: 2px;
  display: block;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  flex-shrink: 0;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.nav {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 16px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(247, 249, 246, 0.85);
  border-bottom: 1px solid rgba(27, 27, 27, 0.06);
  transition: all var(--transition-smooth);
}

.nav.scrolled {
  padding: 12px 48px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.brand-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: contain;
  transition: transform var(--transition-smooth);
}

.logo-brand:hover .brand-logo-img {
  transform: rotate(15deg) scale(1.05);
}

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

.brand-name {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.03em;
  line-height: 1;
}

.brand-tag {
  font-size: 8.5px;
  letter-spacing: 0.07em;
  font-weight: 700;
  color: var(--ink-light);
  line-height: 1.25;
  text-transform: uppercase;
}

.brand-tag:first-of-type {
  margin-top: 3px;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
  transition: width var(--transition-smooth);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-portal-btn {
  background: transparent;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.nav-portal-btn:hover {
  background: var(--ink);
  color: #ffffff;
  border-color: var(--ink);
}

.nav-cta {
  background: var(--ink);
  color: #ffffff;
  border: none;
  padding: 10px 20px 10px 22px;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 24px -6px rgba(27, 27, 27, 0.35);
  transition: all var(--transition-smooth);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -6px rgba(27, 27, 27, 0.45);
  background: #000000;
}

.cta-arrow-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--green);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-smooth);
}

.nav-cta:hover .cta-arrow-circle {
  transform: rotate(45deg);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: 0.3s;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 82%;
  max-width: 360px;
  height: 100vh;
  background: #ffffff;
  z-index: 1000;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  padding: 30px 24px;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer.open {
  right: 0;
}

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

.drawer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
}

.drawer-close {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--ink);
}

.drawer-links {
  list-style: none;
  margin: 30px 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.drawer-link {
  text-decoration: none;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
}

.drawer-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-full-cta {
  background: var(--ink);
  color: var(--green);
  border: none;
  padding: 14px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
}

.btn-full-emergency {
  background: rgba(220, 38, 38, 0.1);
  color: #dc2626;
  border: 1px solid #dc2626;
  padding: 12px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 24px 32px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 5;
  overflow: hidden;
}

.hero-top-badge-wrap {
  margin-bottom: 22px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 780px;
  padding: 0 16px;
}

.kwei-badge-lime {
  background: var(--ink);
  color: var(--green);
  font-size: clamp(10.5px, 0.95vw, 11.5px);
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 7px 20px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
  border: 1px solid rgba(204, 255, 2, 0.28);
  line-height: 1.35;
}

.hero-subheadline {
  font-family: "DM Sans", sans-serif;
  font-size: clamp(14px, 1.25vw, 16.5px);
  color: var(--ink-soft);
  max-width: 620px;
  margin: 12px auto 0;
  line-height: 1.55;
  font-weight: 500;
  text-align: center;
  letter-spacing: -0.01em;
}

/* Animated Staggered Heading */
.small-team {
  font-family: "DM Sans", sans-serif;
  font-weight: 800;
  font-size: clamp(44px, 7vw, 98px);
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
  text-align: center;
  margin-bottom: 0;
  z-index: 4;
  position: relative;
}

.small-team .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}

.small-team .word > span {
  display: inline-block;
  transform: translateY(105%);
}

/* Signature Banner Pill matching Screenshot 2 */
.hero-sub-pill-container {
  margin-top: 14px;
  z-index: 4;
}

.we-handle-pill {
  background: var(--green);
  color: var(--ink);
  font-size: clamp(26px, 4.4vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  padding: 4px 28px;
  border-radius: var(--radius-pill);
  display: inline-block;
  box-shadow: 0 10px 30px rgba(204, 255, 2, 0.45), 0 4px 10px rgba(0, 0, 0, 0.08);
  border: 2px solid rgba(27, 27, 27, 0.12);
  transform-origin: center;
}

/* Giant background typography */
.big-results-wrap {
  position: relative;
  width: 100%;
  margin-top: -30px;
  display: flex;
  justify-content: center;
  z-index: 1;
}

.big-results {
  font-family: "DM Sans", sans-serif;
  font-style: italic;
  font-weight: 900;
  font-size: clamp(100px, 20vw, 290px);
  letter-spacing: -0.05em;
  line-height: 0.85;
  color: var(--ghost);
  text-align: center;
  white-space: nowrap;
  user-select: none;
  z-index: 1;
  text-shadow: 0 6px 20px rgba(130, 160, 100, 0.08);
}

.big-results .letter {
  display: inline-block;
  transform-origin: bottom;
}

/* Hero Cards Row (8 Cards fanning out) */
.cards-row {
  position: absolute;
  left: 0;
  right: 0;
  top: 46%;
  height: 290px;
  z-index: 3;
  pointer-events: none;
}

.cards-row > * {
  pointer-events: auto;
}

.card {
  position: absolute;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(180deg, #1b1b1b 0%, #293010 40%, #1a2202 75%, var(--green) 100%);
  border: 1px solid rgba(204, 255, 2, 0.4);
  box-shadow: 0 30px 55px -14px rgba(0, 0, 0, 0.45),
              0 14px 26px -8px rgba(204, 255, 2, 0.3),
              inset 0 1px 0 rgba(255, 255, 255, 0.3);
  cursor: pointer;
  will-change: transform;
  transition: box-shadow var(--transition-smooth);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, rgba(204, 255, 2, 0.15) 0%, transparent 35%, transparent 65%, rgba(0, 0, 0, 0.6) 100%);
  pointer-events: none;
  border-radius: inherit;
  z-index: 2;
}

.card img {
  display: none; /* No longer used */
}

/* Text-based card layout — title only */
.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 14px;
  text-align: center;
  box-sizing: border-box;
}

.card-pillar-title {
  font-family: 'Space Grotesk', 'DM Sans', sans-serif;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.24;
  letter-spacing: -0.02em;
  z-index: 4;
  position: relative;
  text-wrap: balance;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.75);
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.card-1 .card-pillar-title { font-size: 16.5px; }
.card-2 .card-pillar-title { font-size: 17px; }
.card-3 .card-pillar-title { font-size: 16.5px; }
.card-4 .card-pillar-title { font-size: 16px; }
.card-5 .card-pillar-title { font-size: 16.5px; }
.card-6 .card-pillar-title { font-size: 15.5px; }
.card-7 .card-pillar-title { font-size: 17px; }
.card-8 .card-pillar-title { font-size: 16px; }

.card:hover .card-pillar-title,
.card.active .card-pillar-title {
  color: var(--green);
  transform: scale(1.04);
}

.card-tag {
  display: none;
}

.card-caption {
  display: none;
}

.card:hover,
.card.active {
  box-shadow: 0 40px 75px -16px rgba(0, 0, 0, 0.6),
              0 20px 35px -8px var(--green-glow),
              inset 0 2px 0 rgba(204, 255, 2, 0.6);
  border-color: var(--green);
}

/* Card sizing & uniform horizontal gap distribution */
.card {
  width: 172px;
  height: 232px;
}

.card-1 { left: calc(1.5% + (97% - 172px) / 7 * 0); top: 32px; z-index: 1; }
.card-2 { left: calc(1.5% + (97% - 172px) / 7 * 1); top: 38px; z-index: 2; }
.card-3 { left: calc(1.5% + (97% - 172px) / 7 * 2); top: 22px; z-index: 3; }
.card-4 { left: calc(1.5% + (97% - 172px) / 7 * 3); top: 28px; z-index: 4; }
.card-5 { left: calc(1.5% + (97% - 172px) / 7 * 4); top: 18px; z-index: 4; }
.card-6 { left: calc(1.5% + (97% - 172px) / 7 * 5); top: 28px; z-index: 3; }
.card-7 { left: calc(1.5% + (97% - 172px) / 7 * 6); top: 22px; z-index: 2; }
.card-8 { left: calc(1.5% + (97% - 172px) / 7 * 7); top: 34px; z-index: 1; }

/* Subline below */
.subline {
  margin-top: 175px;
  text-align: center;
  z-index: 4;
  position: relative;
  max-width: 800px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.arrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--ink);
  color: #ffffff;
  border: none;
  padding: 14px 22px 14px 28px;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 16px 30px -8px rgba(0, 0, 0, 0.4),
              0 6px 12px -2px rgba(204, 255, 2, 0.2);
  transition: all var(--transition-smooth);
}

.arrow-pill:hover {
  transform: translateY(-2px);
  background: #000000;
  box-shadow: 0 20px 38px -8px rgba(0, 0, 0, 0.5), 0 0 20px var(--green-glow);
}

.arrow-pill .ar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: transform var(--transition-smooth);
}

.arrow-pill:hover .ar {
  transform: rotate(45deg);
}

.hero-secondary-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface-white);
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  transition: all var(--transition-fast);
}

.hero-secondary-btn:hover {
  background: var(--ink);
  color: var(--green);
  border-color: var(--ink);
}

.btn-icon-sm {
  width: 16px;
  height: 16px;
}

.subline-text {
  margin-top: 24px;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.subline-text strong {
  color: var(--ink);
}

.hero-trust-badges {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--mute);
}

.hero-trust-badges span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-trust-badges svg {
  width: 15px;
  height: 15px;
  color: #16a34a;
}

/* ==========================================================================
   SECTION: WHY DUNDUGO (MATCHING SCREENSHOT 1 & 2)
   ========================================================================== */
.why-kwei-section {
  padding: 100px 32px 80px;
  position: relative;
  z-index: 5;
}

.section-container {
  max-width: 1280px;
  margin: 0 auto;
}

.why-kwei-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}

.eyebrow-dark-pill {
  display: inline-block;
  background: var(--ink);
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}

.why-kwei-title {
  font-size: clamp(34px, 4.5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.1;
}

.with-kwei-badge {
  display: inline-block;
  background: var(--ink);
  color: var(--green);
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  padding: 4px 22px;
  border-radius: 12px;
  margin: 12px 0 16px;
}

.why-kwei-lead {
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* 6 Feature Cards Grid matching Screenshot 1 */
.feature-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--surface-white);
  border: 1px solid rgba(27, 27, 27, 0.08);
  border-radius: 22px;
  padding: 38px 32px;
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.04);
  transition: all var(--transition-smooth);
  position: relative;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(204, 255, 2, 0.7);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.08), 0 0 20px rgba(204, 255, 2, 0.2);
}

.feature-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #f5f9e8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  margin-bottom: 22px;
  border: 1px solid rgba(204, 255, 2, 0.6);
}

.feature-icon-box svg {
  width: 22px;
  height: 22px;
  stroke-width: 2;
}

.feature-card-title {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--ink);
}

.feature-card-desc {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* ==========================================================================
   SECTION 2: TEAM / ARCHITECTURE GRID (ADAPTING TEMPLATE)
   ========================================================================== */
.team-section {
  padding: 110px 40px 80px;
  position: relative;
  z-index: 5;
}

.team-head {
  max-width: 1280px;
  margin: 0 auto 60px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mute);
  font-weight: 700;
  margin-bottom: 16px;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(204, 255, 2, 0.3);
}

.team-head h2 {
  font-family: "DM Sans", sans-serif;
  font-weight: 800;
  font-size: clamp(34px, 4.4vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  max-width: 650px;
}

.team-head h2 em {
  font-style: italic;
  font-weight: 800;
  background: linear-gradient(135deg, #1b1b1b, #627a00);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.team-head p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 360px;
}

.team-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.t-card {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(180deg, #1b1b1b 0%, #202315 40%, #151804 75%, var(--green) 100%);
  position: relative;
  border: 1px solid rgba(204, 255, 2, 0.25);
  box-shadow: 0 24px 40px -16px rgba(0, 0, 0, 0.4),
              0 10px 22px -6px rgba(204, 255, 2, 0.2);
  cursor: pointer;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.t-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, rgba(204, 255, 2, 0.12) 0%, transparent 35%, transparent 65%, rgba(0, 0, 0, 0.5) 100%);
  pointer-events: none;
  z-index: 2;
}

.t-card:hover {
  transform: translateY(-10px) rotate(-1deg);
  box-shadow: 0 34px 55px -14px rgba(0, 0, 0, 0.55), 0 0 25px var(--green-glow);
}

.t-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.t-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(27, 27, 27, 0.85);
  color: var(--green);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(204, 255, 2, 0.3);
  z-index: 3;
  backdrop-filter: blur(8px);
}

.t-meta {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  background: rgba(20, 20, 20, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #fafaf7;
  padding: 16px;
  border-radius: 16px;
  z-index: 3;
  transform: translateY(8px);
  opacity: 0;
  transition: opacity 0.4s, transform 0.4s cubic-bezier(0.6, 0, 0.2, 1);
  border: 1px solid rgba(204, 255, 2, 0.25);
}

.t-card:hover .t-meta {
  transform: translateY(0);
  opacity: 1;
}

.t-meta .nm {
  font-weight: 700;
  font-size: 15px;
  color: var(--green);
}

.t-meta .rl {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 2px;
  letter-spacing: 0.03em;
}

.t-meta .t-desc {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 8px;
  line-height: 1.4;
}

/* ==========================================================================
   SECTION 3: STATS (ADAPTING TEMPLATE)
   ========================================================================== */
.stats {
  padding: 80px 40px 120px;
  position: relative;
  z-index: 5;
}

.stats-inner {
  max-width: 1280px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 36px;
  padding: 80px 60px;
  color: #f4edde;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  align-items: end;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6),
              0 16px 32px -12px rgba(204, 255, 2, 0.15),
              inset 0 1px 0 rgba(204, 255, 2, 0.25);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(204, 255, 2, 0.2);
}

.stats-inner::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(204, 255, 2, 0.2), transparent 65%);
  top: -200px;
  right: -100px;
  filter: blur(50px);
}

.stats-inner::after {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(204, 255, 2, 0.12), transparent 65%);
  bottom: -150px;
  left: 20%;
  filter: blur(40px);
}

.stats-badge {
  display: inline-block;
  background: rgba(204, 255, 2, 0.15);
  color: var(--green);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
  border: 1px solid rgba(204, 255, 2, 0.3);
}

.stats h3 {
  font-family: "DM Sans", sans-serif;
  font-weight: 800;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  position: relative;
  z-index: 1;
  color: #ffffff;
}

.stats h3 em {
  font-style: italic;
  font-weight: 800;
  background: linear-gradient(135deg, var(--green), #e2ff66);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stats-sub {
  font-size: 13.5px;
  color: #a0a498;
  margin-top: 10px;
  line-height: 1.5;
  max-width: 280px;
  position: relative;
  z-index: 1;
}

.stat-block {
  position: relative;
  z-index: 1;
}

.stat-block .num {
  font-family: "DM Sans", sans-serif;
  font-weight: 800;
  font-size: clamp(48px, 4.6vw, 70px);
  line-height: 1;
  letter-spacing: -0.04em;
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: var(--green);
}

.stat-block .num small {
  font-size: 0.42em;
  color: #ffffff;
  font-weight: 600;
}

.stat-block .lbl {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #9ea298;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   SECTION 4: 8-DOMAIN INTERACTIVE SERVICES DIRECTORY
   ========================================================================== */
.services-directory-section {
  padding: 100px 32px 90px;
  background: #ffffff;
  position: relative;
  z-index: 5;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.services-header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
}

.section-title {
  font-size: clamp(34px, 4.2vw, 54px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 12px 0 16px;
  line-height: 1.1;
}

.section-lead {
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* Live Search Bar */
.service-search-bar {
  max-width: 620px;
  margin: 32px auto 24px;
  position: relative;
}

.service-search-bar input {
  width: 100%;
  padding: 16px 50px 16px 54px;
  font-family: inherit;
  font-size: 15px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  outline: none;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.service-search-bar input:focus {
  border-color: var(--ink);
  background: #ffffff;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08), 0 0 0 3px rgba(204, 255, 2, 0.5);
}

.search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--mute);
  pointer-events: none;
}

.clear-search-btn {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 22px;
  color: var(--mute);
  cursor: pointer;
}

/* Category Tabs */
.category-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.tab-btn {
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tab-btn:hover {
  background: var(--ink);
  color: #ffffff;
  border-color: var(--ink);
}

.tab-btn.active {
  background: var(--ink);
  color: var(--green);
  border-color: var(--ink);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

/* Service Blocks */
.service-cards-container {
  display: flex;
  flex-direction: column;
  gap: 60px;
  margin-top: 40px;
}

.service-category-block {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 44px 38px;
  scroll-margin-top: 96px;
  transition: all var(--transition-smooth);
}

.service-category-block:hover {
  border-color: rgba(204, 255, 2, 0.8);
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.05);
}

.cat-block-header {
  margin-bottom: 32px;
}

.cat-number-badge {
  display: inline-block;
  background: var(--ink);
  color: var(--green);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.18em;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 10px;
}

.cat-block-header h3 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.cat-block-header p {
  font-size: 15px;
  color: var(--ink-soft);
  margin-top: 4px;
}

.service-bullet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 20px;
}

.service-item-card {
  background: #ffffff;
  border: 1px solid rgba(27, 27, 27, 0.08);
  border-radius: 18px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
}

.service-item-card:hover {
  transform: translateY(-4px);
  border-color: rgba(204, 255, 2, 0.9);
  box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.08), 0 0 16px rgba(204, 255, 2, 0.2);
}

.item-icon-tag {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #f4f8e6;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border: 1px solid rgba(204, 255, 2, 0.5);
}

.item-icon-tag svg {
  width: 19px;
  height: 19px;
}

.service-item-card h4 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.35;
}

.service-item-card p {
  font-size: 13.5px;
  color: var(--ink-light);
  line-height: 1.5;
  margin-bottom: 16px;
  flex-grow: 1;
}

.book-this-service-btn {
  background: transparent;
  border: none;
  color: var(--ink);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition-fast);
}

.book-this-service-btn:hover {
  color: #708f00;
  text-decoration: underline;
}

/* Emergency card */
.service-item-card.emergency-card {
  background: #fff8f8;
  border-color: #fecaca;
}

.item-icon-tag.alert-icon {
  background: #fee2e2;
  color: #dc2626;
  border-color: #fca5a5;
}

.btn-danger-pill {
  color: #dc2626 !important;
}

/* ==========================================================================
   SECTION 5: SERVICE PACKAGES & PRICING GRID (DOMAIN 9)
   ========================================================================== */
.packages-section {
  padding: 100px 32px;
  position: relative;
  z-index: 5;
}

.packages-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.package-billing-switch {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--surface-white);
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  margin-top: 24px;
}

.switch-lbl {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.switch-lbl.active {
  color: var(--ink);
  font-weight: 800;
}

.switch-separator {
  color: var(--line);
}

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

.package-card {
  background: var(--surface-white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.04);
  transition: all var(--transition-smooth);
}

.package-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px -12px rgba(0, 0, 0, 0.1);
  border-color: rgba(204, 255, 2, 0.8);
}

/* Featured Package */
.package-card.featured-pkg {
  background: var(--ink);
  color: #ffffff;
  border: 2px solid var(--green);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.5), 0 0 30px var(--green-glow);
  transform: scale(1.03);
  z-index: 2;
}

.featured-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  padding: 5px 16px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 12px rgba(204, 255, 2, 0.5);
}

.package-card.emergency-pkg-card {
  border-color: #fca5a5;
  background: #fffbfb;
}

.emergency-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #dc2626;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  padding: 5px 16px;
  border-radius: var(--radius-pill);
}

.pkg-type {
  display: block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--mute);
  margin-bottom: 8px;
}

.featured-pkg .pkg-type {
  color: var(--green);
}

.pkg-title {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 14px;
}

.pkg-price-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 12px;
}

.pkg-price-row .currency {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.featured-pkg .pkg-price-row .currency {
  color: var(--green);
}

.pkg-price-row .amount {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.featured-pkg .pkg-price-row .amount {
  color: var(--green);
}

.pkg-price-row .period {
  font-size: 13px;
  color: var(--mute);
}

.featured-pkg .pkg-price-row .period {
  color: #a4a89c;
}

.pkg-desc {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.5;
  margin-bottom: 24px;
}

.featured-pkg .pkg-desc {
  color: #c4c8bc;
}

.pkg-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
  flex-grow: 1;
}

.pkg-features li {
  font-size: 13.5px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
  color: var(--ink-soft);
}

.featured-pkg .pkg-features li {
  color: #e2e5db;
}

.pkg-features li svg {
  width: 16px;
  height: 16px;
  color: #16a34a;
  flex-shrink: 0;
  margin-top: 2px;
}

.featured-pkg .pkg-features li svg {
  color: var(--green);
}

.pkg-cta-btn {
  background: var(--ink);
  color: #ffffff;
  border: none;
  padding: 13px;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  width: 100%;
}

.pkg-cta-btn:hover {
  background: #000000;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.3);
}

.pkg-cta-btn.highlight {
  background: var(--green);
  color: var(--ink);
}

.pkg-cta-btn.highlight:hover {
  background: var(--green-hover);
  box-shadow: 0 10px 25px rgba(204, 255, 2, 0.4);
}

.pkg-cta-btn.danger {
  background: #dc2626;
  color: #ffffff;
}

.pkg-cta-btn.danger:hover {
  background: #b91c1c;
}

/* ==========================================================================
   SECTION 6: INTERACTIVE QUOTE ESTIMATE ENGINE
   ========================================================================== */
.calculator-section {
  padding: 40px 32px 100px;
  position: relative;
  z-index: 5;
}

.calculator-card {
  background: var(--ink);
  border-radius: 32px;
  color: #ffffff;
  padding: 60px;
  border: 1px solid rgba(204, 255, 2, 0.3);
  box-shadow: 0 35px 80px -20px rgba(0, 0, 0, 0.5);
}

.calc-header {
  max-width: 650px;
  margin-bottom: 44px;
}

.eyebrow-lime {
  display: inline-block;
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  margin-bottom: 12px;
}

.calc-header h2 {
  font-size: clamp(30px, 3.8vw, 46px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.calc-header p {
  color: #a4a89c;
  font-size: 16px;
  margin-top: 8px;
}

.calc-body {
  display: grid;
  grid-template-columns: 1.6fr 1.1fr;
  gap: 50px;
  align-items: start;
}

.calc-controls {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.calc-field label {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #e5e8dc;
}

.calc-select {
  width: 100%;
  padding: 14px 18px;
  background: #252525;
  border: 1.5px solid #383838;
  color: #ffffff;
  border-radius: 14px;
  font-family: inherit;
  font-size: 15px;
  outline: none;
  transition: all var(--transition-fast);
}

.calc-select:focus {
  border-color: var(--green);
  box-shadow: 0 0 15px var(--green-subtle);
}

.range-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.range-val-badge {
  background: var(--green);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.calc-slider {
  width: 100%;
  height: 8px;
  border-radius: 5px;
  background: #333333;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  margin-top: 10px;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--green);
  cursor: pointer;
  box-shadow: 0 0 14px var(--green-glow);
}

.range-markers {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #7d8274;
  margin-top: 6px;
}

.section-sublabel {
  font-size: 13.5px !important;
  color: #c0c4b8 !important;
  margin-bottom: 12px !important;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.custom-checkbox {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #252525;
  padding: 12px 16px;
  border-radius: 12px;
  cursor: pointer;
  border: 1px solid #383838;
  transition: all var(--transition-fast);
}

.custom-checkbox:hover {
  border-color: rgba(204, 255, 2, 0.4);
}

.custom-checkbox input {
  display: none;
}

.checkmark {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 2px solid #555555;
  display: inline-block;
  position: relative;
  transition: all var(--transition-fast);
}

.custom-checkbox input:checked + .checkmark {
  background: var(--green);
  border-color: var(--green);
}

.custom-checkbox input:checked + .checkmark::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 4px;
  height: 9px;
  border: solid var(--ink);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.check-text {
  font-size: 13.5px;
  color: #e0e4d6;
}

/* Calculation Panel Side Card */
.calc-summary-panel {
  background: #242424;
  border: 1.5px solid rgba(204, 255, 2, 0.3);
  border-radius: 24px;
  padding: 38px 30px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.panel-pill {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  font-weight: 800;
  color: var(--green);
  margin-bottom: 12px;
}

.calc-total-wrap {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 24px;
}

.total-currency {
  font-size: 24px;
  font-weight: 800;
  color: var(--green);
  letter-spacing: -0.01em;
}

.total-num {
  font-size: 64px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #ffffff;
}

.total-frequency {
  font-size: 15px;
  color: #a4a89c;
}

.breakdown-list {
  border-top: 1px solid #383838;
  border-bottom: 1px solid #383838;
  padding: 16px 0;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.breakdown-item {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  color: #c4c8bc;
}

.breakdown-item .item-cost {
  font-weight: 700;
  color: #ffffff;
}

.guarantee-box {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: #9ea294;
  margin-bottom: 24px;
  line-height: 1.4;
}

.guarantee-icon {
  width: 16px;
  height: 16px;
  color: var(--green);
  flex-shrink: 0;
}

.calc-book-btn {
  background: var(--green);
  color: var(--ink);
  border: none;
  padding: 15px 22px;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  transition: all var(--transition-smooth);
}

.calc-book-btn:hover {
  background: var(--green-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(204, 255, 2, 0.4);
}

/* ==========================================================================
   SECTION 7: HOW IT WORKS IN 4 STEPS
   ========================================================================== */
.how-it-works-section {
  padding: 90px 32px 100px;
  background: #ffffff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 5;
}

.how-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 50px;
}

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

.step-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 34px 26px;
  position: relative;
  transition: all var(--transition-smooth);
}

.step-card:hover {
  transform: translateY(-6px);
  border-color: rgba(204, 255, 2, 0.8);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.06);
}

.step-num {
  font-size: 34px;
  font-weight: 900;
  color: #d1d8c8;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 16px;
}

.step-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.step-title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.step-desc {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* ==========================================================================
   SECTION 8: FAQ ACCORDION
   ========================================================================== */
.faq-section {
  padding: 100px 32px 90px;
  position: relative;
  z-index: 5;
}

.faq-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 50px;
}

.faq-accordion {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--surface-white);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item.active {
  border-color: var(--ink);
  box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.05);
}

.faq-question {
  width: 100%;
  padding: 22px 26px;
  background: none;
  border: none;
  text-align: left;
  font-family: inherit;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-toggle-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-smooth);
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(180deg);
  background: var(--green);
  color: var(--ink);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 26px 24px;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ==========================================================================
   SECTION 9: CALL TO ACTION BANNER
   ========================================================================== */
.cta-banner-section {
  padding: 30px 32px 100px;
  position: relative;
  z-index: 5;
}

.cta-banner-card {
  background: linear-gradient(135deg, var(--ink) 0%, #151806 60%, #202604 100%);
  border-radius: 36px;
  padding: 70px 60px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  border: 1.5px solid rgba(204, 255, 2, 0.35);
  box-shadow: 0 35px 80px -20px rgba(0, 0, 0, 0.5), 0 0 30px rgba(204, 255, 2, 0.15);
  position: relative;
  overflow: hidden;
}

.cta-lime-badge {
  display: inline-block;
  background: rgba(204, 255, 2, 0.2);
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
  border: 1px solid rgba(204, 255, 2, 0.4);
}

.cta-banner-heading {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  max-width: 650px;
}

.cta-banner-text {
  font-size: 16.5px;
  color: #b8bcb0;
  margin: 14px 0 32px;
  max-width: 580px;
  line-height: 1.6;
}

.cta-banner-btns {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-banner-cta {
  background: var(--green) !important;
  color: var(--ink) !important;
}

.btn-banner-cta:hover {
  background: var(--green-hover) !important;
  box-shadow: 0 0 25px var(--green-glow) !important;
}

.btn-banner-cta .ar {
  background: var(--ink) !important;
  color: var(--green) !important;
}

.cta-phone-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color var(--transition-fast);
}

.cta-phone-link:hover {
  color: var(--green);
}

.cta-floating-logo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: contain;
  filter: drop-shadow(0 0 35px rgba(204, 255, 2, 0.55));
  animation: floatSlow 4s ease-in-out infinite;
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(4deg); }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: #111111;
  color: #c4c8bc;
  padding: 90px 32px 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 5;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 70px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #ffffff;
  margin-bottom: 18px;
}

.footer-logo-title {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.02em;
}

.footer-mission {
  font-size: 14px;
  line-height: 1.65;
  color: #8c9085;
  max-width: 380px;
  margin-bottom: 24px;
}

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

.contact-chip {
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #e0e4d6;
}

.contact-chip svg {
  width: 14px;
  height: 14px;
  color: var(--green);
}

.footer-brand-legal {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}

.footer-brand-legal-link {
  color: #8c9085;
  text-decoration: none;
  font-size: 13px;
  transition: color var(--transition-fast);
}

.footer-brand-legal-link:hover {
  color: var(--green);
  text-decoration: underline;
}

.col-title {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 20px;
}

.footer-links-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-col a {
  text-decoration: none;
  color: #8c9085;
  font-size: 14px;
  transition: color var(--transition-fast);
}

.footer-links-col a:hover {
  color: var(--green);
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 30px;
  font-size: 13px;
  color: #72766c;
  flex-wrap: wrap;
  gap: 16px;
}

.security-cert-badges {
  display: flex;
  align-items: center;
  gap: 20px;
}

.security-cert-badges span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.security-cert-badges svg {
  width: 14px;
  height: 14px;
  color: var(--green);
}

/* ==========================================================================
   FLOATING EMERGENCY BUTTON
   ========================================================================== */
.floating-quick-action {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 100;
}

.floating-sos-btn {
  background: var(--ink);
  color: var(--green);
  border: 2px solid var(--green);
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px var(--green-glow);
  transition: all var(--transition-smooth);
}

.floating-sos-btn:hover {
  background: var(--green);
  color: var(--ink);
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 30px var(--green-glow);
}

.sos-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  animation: shake 2.5s infinite;
}

@keyframes shake {
  0%, 100% { transform: rotate(0deg); }
  10%, 30% { transform: rotate(-8deg); }
  20%, 40% { transform: rotate(8deg); }
  50% { transform: rotate(0deg); }
}

/* ==========================================================================
   HAWI AI CHATBOT WIDGET
   ========================================================================== */
.hawi-chat-widget {
  position: fixed;
  bottom: 95px;
  right: 30px;
  width: 400px;
  max-width: calc(100vw - 32px);
  height: 580px;
  max-height: calc(100vh - 120px);
  background: #141713;
  border: 1.5px solid rgba(204, 255, 2, 0.35);
  border-radius: 24px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.65), 0 0 35px rgba(204, 255, 2, 0.16);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 999;
  transform: translateY(20px) scale(0.94);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

.hawi-chat-widget.open {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.hawi-chat-header {
  background: #1a1e18;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hawi-header-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hawi-avatar {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #0d0f0c;
  border: 1.5px solid var(--green);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px var(--green-glow);
  flex-shrink: 0;
}

.hawi-avatar .online-indicator {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
  border: 2px solid #1a1e18;
}

.hawi-header-text {
  display: flex;
  flex-direction: column;
}

.hawi-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hawi-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: #ffffff;
  font-size: 15px;
}

.hawi-badge {
  font-size: 10px;
  font-weight: 800;
  color: var(--ink);
  background: var(--green);
  padding: 2px 7px;
  border-radius: 10px;
  letter-spacing: 0.02em;
}

.hawi-status {
  font-size: 11px;
  color: #9da396;
}

.hawi-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hawi-btn-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #c9cebe;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.hawi-btn-icon:hover {
  background: var(--green);
  color: var(--ink);
  border-color: var(--green);
}

.hawi-messages-container {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: radial-gradient(circle at top right, rgba(204, 255, 2, 0.03) 0%, transparent 70%), #141713;
}

.hawi-msg {
  display: flex;
  flex-direction: column;
  max-width: 88%;
  animation: fadeIn 0.25s ease forwards;
}

.hawi-bot {
  align-self: flex-start;
}

.hawi-user {
  align-self: flex-end;
}

.hawi-bot .hawi-msg-bubble {
  background: #1c201a;
  color: #e5eae0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px 18px 18px 4px;
  padding: 12px 15px;
  font-size: 13.5px;
  line-height: 1.5;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hawi-bot .hawi-msg-bubble h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 6px;
}

.hawi-bot .hawi-msg-bubble p {
  margin-bottom: 6px;
}

.hawi-bot .hawi-msg-bubble p:last-child {
  margin-bottom: 0;
}

.hawi-bot .hawi-msg-bubble ul,
.hawi-bot .hawi-msg-bubble ol {
  padding-left: 18px;
  margin: 6px 0;
}

.hawi-bot .hawi-msg-bubble li {
  margin-bottom: 4px;
}

.hawi-user .hawi-msg-bubble {
  background: var(--green);
  color: var(--ink);
  border-radius: 18px 18px 4px 18px;
  padding: 11px 15px;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.45;
  box-shadow: 0 4px 15px rgba(204, 255, 2, 0.25);
}

.hawi-quick-pills {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
  padding: 4px 0;
}

.hawi-quick-pills .pills-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #8c9284;
}

.hawi-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(204, 255, 2, 0.25);
  color: #e2e8dc;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 20px;
  cursor: pointer;
  text-align: left;
  transition: all var(--transition-fast);
  display: inline-block;
  align-self: flex-start;
}

.hawi-pill:hover {
  background: var(--green);
  color: var(--ink);
  border-color: var(--green);
  transform: translateX(3px);
  box-shadow: 0 0 14px var(--green-glow);
}

.hawi-typing-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: #141713;
}

.typing-bubble {
  display: inline-flex;
  gap: 4px;
  padding: 6px 10px;
  background: #1c201a;
  border-radius: 12px;
}

.typing-bubble span {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: typingBounce 1.4s infinite both;
}

.typing-bubble span:nth-child(2) { animation-delay: 0.2s; }
.typing-bubble span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.4; }
  40% { transform: translateY(-5px); opacity: 1; }
}

.typing-text {
  font-size: 11.5px;
  color: #8c9284;
  font-style: italic;
}

.hawi-chat-footer {
  background: #1a1e18;
  padding: 12px 16px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hawi-input-form {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #0e110d;
  border: 1.5px solid rgba(204, 255, 2, 0.3);
  border-radius: 24px;
  padding: 4px 6px 4px 14px;
  transition: all var(--transition-fast);
}

.hawi-input-form:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 14px var(--green-glow);
}

#hawiInput {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-family: inherit;
  font-size: 13px;
  padding: 6px 0;
}

#hawiInput::placeholder {
  color: #7b8273;
}

#hawiSendBtn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--green);
  color: var(--ink);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

#hawiSendBtn:hover {
  transform: scale(1.08);
  box-shadow: 0 0 12px var(--green-glow);
}

.hawi-footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 8px;
  gap: 12px;
}

.hawi-remote-booking-btn,
.hawi-open-intake-btn {
  background: none;
  border: none;
  padding: 4px 0;
  display: inline-flex;
  align-items: center;
  font-family: inherit;
  font-size: 11.5px;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.hawi-remote-booking-btn .share-text {
  color: var(--green);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.hawi-remote-booking-btn:hover .share-text {
  color: #ffffff;
  text-shadow: 0 0 10px var(--green-glow);
}

.hawi-open-intake-btn {
  margin-left: auto;
}

.hawi-open-intake-btn .intake-text {
  color: var(--green);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.hawi-open-intake-btn:hover .intake-text {
  color: #ffffff;
  text-shadow: 0 0 10px var(--green-glow);
}

@media (max-width: 768px) {
  .hawi-chat-widget {
    bottom: 85px;
    right: 16px;
    left: 16px;
    width: auto;
    height: 72vh;
    border-radius: 20px;
  }
}

/* ==========================================================================
   MODAL DIALOG (INTAKE & BOOKING)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog {
  background: #ffffff;
  border-radius: 28px;
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(27, 27, 27, 0.1);
  transform: translateY(20px) scale(0.96);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.open .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-header {
  padding: 24px 30px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header-branding {
  display: flex;
  align-items: center;
  gap: 12px;
}

.modal-logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: contain;
}

.modal-title {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.modal-subtitle {
  font-size: 12px;
  color: var(--mute);
}

.modal-close {
  background: none;
  border: none;
  font-size: 28px;
  color: var(--mute);
  cursor: pointer;
  line-height: 1;
}

.modal-close:hover {
  color: var(--ink);
}

.modal-form {
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  outline: none;
  background: var(--bg);
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--ink);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(204, 255, 2, 0.5);
}

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

.security-note {
  font-size: 12px;
  color: var(--mute);
  display: flex;
  align-items: center;
  gap: 6px;
}

.sec-icon {
  width: 14px;
  height: 14px;
  color: #16a34a;
}

.modal-submit-btn {
  background: var(--ink);
  color: var(--green);
  border: none;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-smooth);
}

.modal-submit-btn:hover {
  background: #000000;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), 0 0 15px var(--green-glow);
}

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--ink);
  color: #ffffff;
  border: 1px solid var(--green);
  padding: 14px 20px;
  border-radius: 14px;
  font-size: 13.5px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideInToast 0.3s forwards;
}

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

/* ==========================================================================
   PWA IN-APP INSTALL BANNER
   ========================================================================== */
.pwa-install-banner {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1050;
  background: #141812;
  border: 1.5px solid var(--green);
  border-radius: 20px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 20px rgba(204, 255, 2, 0.2);
  max-width: 460px;
  animation: slideUpPwa 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.pwa-banner-content {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pwa-banner-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(204, 255, 2, 0.15);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pwa-banner-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pwa-banner-text strong {
  font-size: 13.5px;
  color: #ffffff;
  font-weight: 700;
}

.pwa-banner-text span {
  font-size: 11px;
  color: #9da396;
  line-height: 1.35;
}

.pwa-banner-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.pwa-install-btn {
  background: var(--green);
  color: #0e120d;
  border: none;
  border-radius: 20px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.pwa-install-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 12px var(--green-glow);
}

.pwa-dismiss-btn {
  background: none;
  border: none;
  color: #7a8274;
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
}

.pwa-dismiss-btn:hover {
  color: #ffffff;
}

/* ==========================================================================
   MODAL DIALOG EXTENSIONS (AUTH, CALENDAR, ADMIN, CLIENT)
   ========================================================================== */
.modal-dialog-auth {
  max-width: 520px;
}

.modal-dialog-lg {
  max-width: 780px;
}

.modal-dialog-xl {
  max-width: 1040px;
}

.modal-badge-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(204, 255, 2, 0.15);
  color: #0e120d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  border: 1px solid rgba(204, 255, 2, 0.4);
}

.modal-badge-icon.badge-auth {
  background: #141812;
  color: var(--green);
}

.modal-badge-icon.badge-admin {
  background: #0e120d;
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.4);
}

.modal-badge-icon.badge-client {
  background: #0e120d;
  color: var(--green);
}

/* Auth Modal Body & Persona Switchers */
.auth-modal-body {
  padding: 24px 30px 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.auth-tabs-row {
  display: flex;
  gap: 8px;
  background: #f0f2eb;
  padding: 4px;
  border-radius: 14px;
}

.auth-mode-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  border: none;
  background: transparent;
  font-size: 13px;
  font-weight: 700;
  color: var(--mute);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.auth-mode-tab.active {
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.auth-quick-profiles {
  background: #f8f9f5;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quick-profiles-lbl {
  font-size: 11px;
  font-weight: 700;
  color: var(--mute);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.profile-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.profile-pill-btn {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.profile-pill-btn:hover {
  border-color: var(--ink);
  background: #f1f3eb;
}

.profile-pill-btn.active {
  background: #141812;
  color: var(--green);
  border-color: #141812;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-icon i,
.input-with-icon svg {
  position: absolute;
  left: 14px;
  width: 17px;
  height: 17px;
  color: var(--mute);
  pointer-events: none;
}

.input-with-icon input {
  padding-left: 42px !important;
}

.auth-security-notice {
  background: rgba(204, 255, 2, 0.08);
  border: 1px solid rgba(204, 255, 2, 0.3);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 11.5px;
  color: #3b4233;
  line-height: 1.4;
}

.auth-security-notice .notice-icon {
  width: 16px;
  height: 16px;
  color: #15803d;
  flex-shrink: 0;
  margin-top: 2px;
}

.auth-footer {
  padding-top: 10px;
  border-top: none;
}

.auth-submit-btn {
  width: 100%;
  justify-content: center;
}

/* ==========================================================================
   CALENDAR BOOKING MODAL
   ========================================================================== */
.calendar-booking-body {
  padding: 24px 30px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.booking-step-banner {
  background: #f5f7f0;
  border-left: 4px solid var(--green);
  padding: 10px 16px;
  border-radius: 0 12px 12px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--ink);
}

.booking-step-banner .step-num {
  font-weight: 800;
  background: var(--ink);
  color: var(--green);
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 11px;
}

.calendar-controls-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.date-selector-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.date-selector-group label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.slot-date-input {
  padding: 8px 12px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-family: inherit;
  font-size: 13px;
  outline: none;
  background: #ffffff;
}

.quick-date-pills {
  display: flex;
  gap: 6px;
}

.quick-date-btn {
  background: #ffffff;
  border: 1px solid var(--line);
  padding: 6px 14px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.quick-date-btn.active {
  background: var(--ink);
  color: var(--green);
  border-color: var(--ink);
}

.timezone-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f4f6f1;
  border: 1px solid var(--line);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}

.timezone-notice .notice-icon {
  width: 14px;
  height: 14px;
  color: #15803d;
}

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

.slots-section-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 4px;
}

.slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
}

.slot-time-card {
  background: #ffffff;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
}

.slot-time-card:hover:not(.unavailable) {
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.slot-time-card.selected {
  background: #141812;
  border-color: #141812;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.slot-time-card.selected .slot-time-text {
  color: var(--green);
}

.slot-time-card.selected .slot-status-text {
  color: #a3ad98;
}

.slot-time-card.unavailable {
  opacity: 0.45;
  background: #f5f5f2;
  cursor: not-allowed;
}

.slot-time-text {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.slot-duration-text {
  font-size: 10px;
  color: #6b7264;
  font-weight: 600;
}

.slot-time-card.selected .slot-duration-text {
  color: #c5cdbe;
}

.slot-status-text {
  font-size: 11px;
  color: #15803d;
  font-weight: 700;
  margin-top: 2px;
}

.slot-time-card.unavailable .slot-status-text {
  color: #991b1b;
}

.slot-intake-form {
  border-top: 1.5px dashed var(--line);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: fadeIn 0.3s ease;
}

.selected-slot-pill {
  background: #141812;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
}

.selected-slot-pill strong {
  color: var(--green);
}

/* Booking Confirmation Card */
.booking-confirmation-card {
  background: #f8faf5;
  border: 1.5px solid #22c55e;
  border-radius: 20px;
  padding: 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  animation: fadeIn 0.3s ease;
}

.confirmation-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.15);
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.confirmation-icon svg {
  width: 28px;
  height: 28px;
}

.booking-confirmation-card h4 {
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
}

.booking-confirmation-card p {
  font-size: 13.5px;
  color: var(--mute);
  max-width: 480px;
}

.pin-display-box {
  background: #141812;
  border: 1.5px solid var(--green);
  border-radius: 16px;
  padding: 16px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin: 10px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.pin-label {
  font-size: 10.5px;
  font-weight: 800;
  color: #8c9484;
  letter-spacing: 0.08em;
}

.pin-digits {
  font-family: 'Space Grotesk', monospace;
  font-size: 32px;
  font-weight: 800;
  color: var(--green);
  letter-spacing: 0.15em;
  text-shadow: 0 0 15px rgba(204, 255, 2, 0.4);
}

.pin-hint {
  font-size: 11px;
  color: #a7b0a0;
  max-width: 360px;
}

.confirmation-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-launch-console {
  background: #141812;
  color: var(--green);
  border: none;
  padding: 12px 22px;
  border-radius: 24px;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.btn-launch-console:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), 0 0 15px var(--green-glow);
}

.btn-done-booking {
  background: #ffffff;
  border: 1.5px solid var(--line);
  padding: 12px 22px;
  border-radius: 24px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-done-booking:hover {
  border-color: var(--ink);
}

/* ==========================================================================
   REMOTE DESKTOP SUPPORT CONSOLE MODAL
   ========================================================================== */
.remote-desktop-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 10, 6, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.remote-desktop-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.remote-desktop-viewport {
  background: #0f140d;
  border: 1.5px solid rgba(204, 255, 2, 0.35);
  border-radius: 20px;
  width: 100%;
  max-width: 1220px;
  height: 94vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.7), 0 0 40px rgba(204, 255, 2, 0.15);
  position: relative;
}

/* Remote Console Top Toolbar */
.remote-top-bar {
  background: #151b12;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.remote-host-identity {
  display: flex;
  align-items: center;
  gap: 12px;
}

.host-avatar-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(204, 255, 2, 0.15);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
}

.host-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.remote-host-name {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
}

.remote-os-tag {
  background: rgba(255, 255, 255, 0.1);
  color: #d1d5db;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 11px;
}

.remote-tenant-tag {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
}

.remote-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11.5px;
  margin-top: 3px;
}

.status-live-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #22c55e;
  font-weight: 700;
}

.status-live-indicator .pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulseDot 1.4s infinite;
}

.cipher-tag {
  color: #9ca3af;
  display: flex;
  align-items: center;
  gap: 4px;
}

.cipher-tag svg {
  width: 12px;
  height: 12px;
}

.ping-tag {
  color: #4ade80;
  font-family: monospace;
}

.timer-tag {
  color: #facc15;
  font-family: monospace;
  font-weight: 700;
}

.rec-tag {
  color: #ef4444;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 4px;
}

.rec-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ef4444;
  animation: pulseDot 1s infinite;
}

.remote-toolbar-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.r-tool-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #e5e7eb;
  padding: 7px 12px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.r-tool-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.r-tool-btn svg {
  width: 14px;
  height: 14px;
}

.r-tool-transfer {
  border-color: rgba(56, 189, 248, 0.4);
  color: #38bdf8;
}

.r-tool-transfer:hover {
  background: rgba(56, 189, 248, 0.2);
}

.r-tool-end {
  background: rgba(239, 68, 68, 0.18);
  border-color: rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}

.r-tool-end:hover {
  background: rgba(239, 68, 68, 0.35);
  color: #ffffff;
}

/* Remote Screen Canvas Area */
.remote-canvas-wrapper {
  flex: 1;
  background: #090c08;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.webrtc-stream-canvas {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  position: relative;
}

/* Virtual OS Window Inside Remote Screen */
.virtual-os-window {
  width: 100%;
  max-width: 1080px;
  height: 100%;
  max-height: 620px;
  background: #182014;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.5);
  position: relative;
}

.os-header-bar {
  background: #11170e;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.os-window-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: #9ca3af;
}

.os-window-title svg {
  width: 13px;
  height: 13px;
  color: var(--green);
}

.os-window-btns {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: #6b7280;
}

.virtual-desktop-content {
  flex: 1;
  background: radial-gradient(circle at 75% 20%, #1f2a1b 0%, #121910 70%);
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.desktop-icons-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.desktop-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 72px;
  text-align: center;
  cursor: pointer;
}

.d-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: all var(--transition-fast);
}

.desktop-icon:hover .d-icon-box {
  background: rgba(204, 255, 2, 0.2);
  color: var(--green);
}

.desktop-icon span {
  font-size: 10px;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

/* Active Triage Card in Desktop */
.active-triage-card {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 360px;
  background: rgba(14, 18, 13, 0.92);
  border: 1px solid rgba(204, 255, 2, 0.35);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  overflow: hidden;
}

.triage-card-header {
  background: #172015;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.triage-card-header .pulse-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
}

.triage-card-header .cpu-stat {
  margin-left: auto;
  font-family: monospace;
  font-size: 10.5px;
  color: #facc15;
}

.triage-card-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.metric-row {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 11px;
  color: #9da396;
}

.metric-bar {
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.metric-fill {
  height: 100%;
  background: var(--green);
  border-radius: 4px;
}

.triage-btn-row {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}

.btn-os-action {
  flex: 1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  padding: 6px 4px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-os-action:hover {
  background: var(--green);
  color: #0e120d;
  border-color: var(--green);
}

.btn-os-action svg {
  width: 11px;
  height: 11px;
}

/* Remote Pointer Indicator */
.agent-remote-pointer {
  position: absolute;
  top: 55%;
  left: 35%;
  display: flex;
  align-items: center;
  gap: 4px;
  pointer-events: none;
  animation: floatPointer 4s ease-in-out infinite;
  z-index: 10;
}

@keyframes floatPointer {
  0% { transform: translate(0, 0); }
  35% { transform: translate(45px, -30px); }
  70% { transform: translate(-20px, 40px); }
  100% { transform: translate(0, 0); }
}

.pointer-tag {
  background: #ccff02;
  color: #000000;
  font-size: 9.5px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
}

/* Virtual Taskbar */
.virtual-taskbar {
  height: 38px;
  background: #0d120c;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 12px;
}

.taskbar-start-btn {
  background: rgba(204, 255, 2, 0.15);
  color: var(--green);
  border: none;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.taskbar-running-apps {
  display: flex;
  gap: 6px;
}

.app-chip {
  background: rgba(255, 255, 255, 0.06);
  color: #d1d5db;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 10.5px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.app-chip.active {
  background: rgba(255, 255, 255, 0.16);
  border-bottom: 2px solid var(--green);
}

.taskbar-tray {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10.5px;
  color: #9ca3af;
  font-family: monospace;
}

/* Screen Share Toggle Banner */
.screen-share-toggle-banner {
  background: #121810;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #9da396;
}

.btn-real-screen-share {
  background: rgba(204, 255, 2, 0.15);
  border: 1px solid rgba(204, 255, 2, 0.35);
  color: var(--green);
  padding: 5px 12px;
  border-radius: 14px;
  font-size: 11.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-real-screen-share:hover {
  background: var(--green);
  color: #0e120d;
}

/* Terminal Drawer */
.remote-terminal-drawer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #090d08;
  border-top: 1.5px solid var(--green);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  max-height: 280px;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 20;
}

.remote-terminal-drawer.open {
  transform: translateY(0);
}

.terminal-header {
  background: #111810;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  color: #d1d5db;
}

.terminal-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.terminal-title svg {
  width: 14px;
  height: 14px;
  color: var(--green);
}

.terminal-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.t-btn-chip {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #9ca3af;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-family: monospace;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.t-btn-chip:hover {
  background: rgba(204, 255, 2, 0.15);
  color: var(--green);
  border-color: rgba(204, 255, 2, 0.3);
}

.btn-close-terminal {
  background: none;
  border: none;
  color: #6b7280;
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
}

.btn-close-terminal:hover {
  color: #ffffff;
}

.terminal-output-window {
  flex: 1;
  padding: 12px 16px;
  font-family: 'Space Grotesk', monospace;
  font-size: 11px;
  color: #a3e635;
  background: #060905;
  overflow-y: auto;
  white-space: pre-wrap;
  line-height: 1.45;
  max-height: 170px;
}

.terminal-input-bar {
  display: flex;
  align-items: center;
  padding: 6px 14px;
  background: #0f150e;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  gap: 8px;
}

.prompt-symbol {
  font-family: monospace;
  font-size: 11px;
  color: #38bdf8;
  font-weight: 700;
}

#terminalInput {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-family: monospace;
  font-size: 11px;
}

.terminal-send-btn {
  background: var(--green);
  color: #000000;
  border: none;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 10.5px;
  font-weight: 800;
  cursor: pointer;
}

/* ==========================================================================
   ADMIN & AGENT DISPATCH DASHBOARD MODAL
   ========================================================================== */
.admin-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-role-badge {
  background: #141812;
  color: #38bdf8;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.rbac-persona-bar {
  background: #f4f5ee;
  border-bottom: 1px solid var(--line);
  padding: 10px 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.rbac-label {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--mute);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.rbac-btn {
  background: #ffffff;
  border: 1px solid var(--line);
  padding: 5px 12px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.rbac-btn:hover {
  border-color: var(--ink);
}

.rbac-btn.active {
  background: #141812;
  color: var(--green);
  border-color: #141812;
}

.admin-tabs-bar {
  display: flex;
  border-bottom: 1px solid var(--line);
  padding: 0 30px;
  gap: 8px;
  background: #fafbf8;
}

.admin-tab {
  background: transparent;
  border: none;
  padding: 14px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--mute);
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all var(--transition-fast);
}

.admin-tab:hover {
  color: var(--ink);
}

.admin-tab.active {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.admin-tab svg {
  width: 15px;
  height: 15px;
}

.admin-tab-content {
  padding: 24px 30px 32px;
}

.pane-filters-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.tenant-filter-pills {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.tenant-filter-pills .filter-lbl {
  font-size: 12px;
  font-weight: 700;
  color: var(--mute);
}

.tenant-pill {
  background: #ffffff;
  border: 1px solid var(--line);
  padding: 5px 12px;
  border-radius: 16px;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tenant-pill.active {
  background: #141812;
  color: #38bdf8;
  border-color: #141812;
}

.btn-enroll-device {
  background: #141812;
  color: var(--green);
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-enroll-device:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.admin-hosts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.admin-host-card {
  background: #ffffff;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all var(--transition-fast);
}

.admin-host-card:hover {
  border-color: var(--ink);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

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

.host-os-badge {
  font-size: 11px;
  background: #f1f3ec;
  padding: 2px 8px;
  border-radius: 8px;
  font-weight: 600;
}

.host-status-dot {
  font-size: 11.5px;
  font-weight: 700;
}

.host-status-dot.online { color: #16a34a; }
.host-status-dot.busy { color: #f59e0b; }
.host-status-dot.in-session { color: #3b82f6; }

.host-card-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
}

.host-card-specs {
  font-size: 11.5px;
  color: var(--mute);
  line-height: 1.35;
}

.host-card-meta {
  background: #f8faf5;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 11px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: #4b5563;
}

.host-connect-btn {
  background: #141812;
  color: var(--green);
  border: none;
  padding: 10px;
  border-radius: 12px;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.host-connect-btn:hover {
  background: #000000;
  transform: translateY(-1px);
}

/* Tables for Active Sessions & Audit */
.admin-data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}

.admin-data-table th {
  background: #f1f3ea;
  text-align: left;
  padding: 10px 14px;
  font-weight: 800;
  color: var(--ink);
  font-size: 11.5px;
  border-bottom: 1.5px solid var(--line);
}

.admin-data-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  color: #374151;
}

.admin-data-table tr:hover td {
  background: #fbfcf9;
}

/* Booked Slots List */
.booked-slots-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.booked-slot-item {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.slot-item-info strong {
  font-size: 14px;
  color: var(--ink);
}

.slot-item-meta {
  font-size: 12px;
  color: var(--mute);
}

.slot-pin-tag {
  background: #141812;
  color: var(--green);
  font-family: monospace;
  font-size: 13px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 8px;
}

/* ==========================================================================
   CLIENT SUPPORT HUB / USER PORTAL MODAL
   ========================================================================== */
.client-hub-body {
  padding: 24px 30px 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.client-profile-card {
  background: #f8faf4;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.client-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.client-meta h4 {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
}

.client-meta span {
  font-size: 12px;
  color: var(--mute);
}

.client-status-badge {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(34, 197, 94, 0.12);
  color: #15803d;
  padding: 4px 12px;
  border-radius: 14px;
  font-size: 11.5px;
  font-weight: 700;
}

.client-status-badge .pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
}

.instant-host-launch-card {
  background: #141812;
  border: 1.5px solid rgba(204, 255, 2, 0.4);
  border-radius: 20px;
  padding: 24px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.launch-card-left h4 {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
}

.launch-card-left p {
  font-size: 12.5px;
  color: #a3ad98;
  margin: 4px 0 12px;
  max-width: 420px;
}

.live-pin-banner {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(204, 255, 2, 0.3);
  padding: 6px 14px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
}

.live-pin-banner strong {
  font-family: monospace;
  font-size: 16px;
  color: var(--green);
  letter-spacing: 0.1em;
}

.launch-card-right {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

.btn-launch-host-now {
  background: var(--green);
  color: #0e120d;
  border: none;
  padding: 12px 20px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-launch-host-now:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px var(--green-glow);
}

.btn-book-calendar-slot {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 18px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-book-calendar-slot:hover {
  background: rgba(255, 255, 255, 0.2);
}

.enrolled-devices-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.section-sub-header h4 {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
}

.btn-add-device-pwa {
  background: #ffffff;
  border: 1px solid var(--line);
  padding: 6px 14px;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-add-device-pwa:hover {
  border-color: var(--ink);
}

.enrolled-devices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}

.enrolled-device-card {
  background: #ffffff;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.enrolled-device-card.active {
  border-color: var(--green);
  box-shadow: 0 4px 14px rgba(204, 255, 2, 0.15);
}

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

.d-os-pill {
  font-size: 11px;
  font-weight: 700;
  background: #f1f3ec;
  padding: 2px 8px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.d-status-pill {
  font-size: 11px;
  font-weight: 700;
}

.d-status-pill.online { color: #16a34a; }

.enrolled-device-card h5 {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--ink);
}

.d-spec-line {
  font-size: 11.5px;
  color: var(--mute);
  font-family: monospace;
}

.d-action-row {
  margin-top: 4px;
}

.d-btn-connect {
  width: 100%;
  background: #141812;
  color: var(--green);
  border: none;
  padding: 9px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.d-btn-connect:hover {
  background: #000000;
  transform: translateY(-1px);
}

/* Discrete Portal Link in Footer */
.discrete-portal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
}

.discrete-portal-link {
  color: #8c9484;
  font-size: 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all var(--transition-fast);
  padding: 3px 8px;
  border-radius: 6px;
}

.discrete-portal-link:hover {
  color: var(--green);
  background: rgba(255, 255, 255, 0.05);
}

.discrete-portal-link .portal-link-icon {
  width: 13px;
  height: 13px;
}

.discrete-sep {
  color: #555c4f;
  font-size: 12px;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1200px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .packages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .nav {
    padding: 16px 24px;
  }
  .nav-links {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .stats-inner {
    grid-template-columns: 1fr 1fr;
    padding: 50px 36px;
    gap: 30px;
  }
  .calc-body {
    grid-template-columns: 1fr;
  }
  .feature-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .top-announcement {
    display: none;
  }
  .hero {
    padding: 24px 20px 40px;
    min-height: auto;
  }
  .small-team {
    font-size: 11vw;
  }
  .we-handle-pill {
    font-size: 6vw;
    padding: 4px 16px;
  }
  .big-results {
    font-size: 24vw;
  }
  .cards-row {
    height: 220px;
    top: 52%;
  }
  .card {
    width: 96px;
    height: 136px;
  }
  .card-1 { left: calc(1% + (98% - 96px) / 7 * 0); top: 24px; }
  .card-2 { left: calc(1% + (98% - 96px) / 7 * 1); top: 30px; }
  .card-3 { left: calc(1% + (98% - 96px) / 7 * 2); top: 18px; }
  .card-4 { left: calc(1% + (98% - 96px) / 7 * 3); top: 26px; }
  .card-5 { left: calc(1% + (98% - 96px) / 7 * 4); top: 18px; }
  .card-6 { left: calc(1% + (98% - 96px) / 7 * 5); top: 26px; }
  .card-7 { left: calc(1% + (98% - 96px) / 7 * 6); top: 20px; }
  .card-8 { left: calc(1% + (98% - 96px) / 7 * 7); top: 28px; }

  .card-pillar-title {
    font-size: 11px;
    line-height: 1.22;
  }
  .subline {
    margin-top: 130px;
  }
  .team-section {
    padding: 70px 20px 40px;
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .feature-card-grid {
    grid-template-columns: 1fr;
  }
  .packages-grid {
    grid-template-columns: 1fr;
  }
  .package-card.featured-pkg {
    transform: none;
  }
  .stats {
    padding: 20px 20px 60px;
  }
  .stats-inner {
    grid-template-columns: 1fr;
    padding: 40px 24px;
    gap: 24px;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .calculator-card {
    padding: 30px 20px;
  }
  .cta-banner-card {
    padding: 40px 26px;
    flex-direction: column;
    text-align: center;
  }
  .cta-banner-btns {
    justify-content: center;
  }
  .cta-floating-logo {
    display: none;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
  .form-row-2 {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   FOOTER LEGAL & COMPLIANCE BAR
   ========================================================================== */
.footer-legal-bar {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #8c9085;
}

.footer-legal-link {
  background: transparent;
  border: none;
  padding: 2px 4px;
  color: #8c9085;
  font-size: 13px;
  font-family: inherit;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 4px;
  transition: all var(--transition-fast);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.2);
}

.footer-legal-link:hover {
  color: var(--green);
  text-decoration-color: var(--green);
}

.footer-legal-sep {
  color: #4a4e45;
  font-size: 12px;
}

/* ==========================================================================
   POLICY & TERMS MODAL STYLING
   ========================================================================== */
.modal-policy-body {
  padding: 24px 32px 32px;
  overflow-y: auto;
  max-height: calc(85vh - 140px);
  color: #2b3027;
  font-size: 14.5px;
  line-height: 1.65;
}

#termsConditionsModal .modal-policy-body,
#privacyPolicyModal .modal-policy-body {
  max-height: calc(85vh - 90px);
  border-radius: 0 0 28px 28px;
  padding-bottom: 36px;
}

.policy-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.policy-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f1f4ec;
  color: #3b4235;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.policy-pill.green {
  background: rgba(204, 255, 2, 0.22);
  color: #17210e;
  border-color: rgba(140, 185, 2, 0.35);
}

.policy-pill.cyan {
  background: rgba(56, 189, 248, 0.15);
  color: #034b6e;
  border-color: rgba(56, 189, 248, 0.3);
}

.policy-quick-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 12px 14px;
  background: #f7f9f3;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  margin-bottom: 24px;
}

.policy-nav-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6a7063;
  width: 100%;
  margin-bottom: 4px;
}

.policy-quick-nav a {
  font-size: 12px;
  color: #495042;
  text-decoration: none;
  background: #ffffff;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: all var(--transition-fast);
}

.policy-quick-nav a:hover {
  background: #141812;
  color: #ffffff;
  border-color: #141812;
}

.policy-callout {
  background: #f9fbf6;
  border-left: 4px solid #8cb902;
  padding: 16px 20px;
  border-radius: 0 12px 12px 0;
  margin: 18px 0 24px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-left-width: 4px;
  border-left-color: #8cb902;
}

.policy-callout.cyan {
  border-left-color: #0284c7;
  background: #f0f9ff;
}

.policy-callout h5 {
  font-size: 14.5px;
  font-weight: 700;
  color: #141812;
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.policy-callout p {
  margin: 0;
  font-size: 13.5px;
  color: #4b5245;
  line-height: 1.55;
}

.policy-section {
  margin-bottom: 26px;
  scroll-margin-top: 20px;
}

.policy-section h4 {
  font-size: 16px;
  font-weight: 800;
  color: #141812;
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.policy-section p {
  margin: 0 0 10px;
  color: #3f4639;
}

.policy-section ul {
  margin: 8px 0 14px 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.policy-section li {
  color: #3f4639;
}

.policy-section strong {
  color: #141812;
}

.policy-footer {
  padding: 18px 30px;
  background: #f7f9f4;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 0 0 28px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.policy-footer-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.policy-btn-secondary {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: #2b3027;
  padding: 9px 18px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.policy-btn-secondary:hover {
  background: #f0f2ea;
  border-color: rgba(0, 0, 0, 0.2);
}

.policy-btn-primary {
  background: #141812;
  border: 1px solid #141812;
  color: #ffffff;
  padding: 9px 22px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.policy-btn-primary:hover {
  background: #000000;
  transform: translateY(-1px);
}
