/* ==========================================================================
   JENGAMORE 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);
}

.support-label-desktop {
  display: inline;
}

.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;
  white-space: nowrap;
  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;
  text-decoration: none;
  transition: all var(--transition-fast);
}

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

.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);
}

.cta-text-full {
  display: inline;
}

.cta-text-compact {
  display: none;
}

.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: calc(100vh - 76px);
  padding: clamp(18px, 2.2vw, 32px) 32px clamp(24px, 3.2vw, 44px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 5;
  overflow: hidden;
}

.hero-top-badge-wrap {
  display: none;
}

.kwei-badge-lime {
  display: none;
}

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

/* Animated Staggered Heading */
.small-team {
  font-family: "DM Sans", sans-serif;
  font-weight: 800;
  font-size: clamp(40px, 6.2vw, 88px);
  letter-spacing: -0.04em;
  line-height: 1.02;
  color: var(--ink);
  text-align: center;
  margin-top: clamp(4px, 0.8vw, 10px);
  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;
  width: 172px;
  height: 232px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(175deg, #1b3820 0%, #29542a 38%, #3e782e 72%, #95d614 96%, var(--green) 100%);
  border: 1px solid rgba(204, 255, 2, 0.45);
  box-shadow: 0 28px 50px -14px rgba(0, 0, 0, 0.35),
              0 14px 28px -6px rgba(204, 255, 2, 0.35),
              inset 0 1.5px 0.5px rgba(255, 255, 255, 0.65),
              inset 0 0 24px rgba(204, 255, 2, 0.12);
  cursor: pointer;
  will-change: transform;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px 14px;
  text-align: center;
  box-sizing: border-box;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: box-shadow var(--transition-smooth), border-color var(--transition-smooth);
}

/* Luminous glass specular sheen across the top-left */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.42) 0%, rgba(255, 255, 255, 0.08) 28%, transparent 55%, rgba(204, 255, 2, 0.22) 100%);
  pointer-events: none;
  border-radius: inherit;
  z-index: 2;
}

.card-img {
  display: none;
}

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

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

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

.card-tag,
.card-caption {
  display: none;
}

.card:hover,
.card.active {
  box-shadow: 0 40px 75px -16px rgba(0, 0, 0, 0.5),
              0 20px 40px -6px var(--green-glow),
              inset 0 2px 1px rgba(255, 255, 255, 0.85),
              inset 0 0 32px rgba(204, 255, 2, 0.35);
  border-color: var(--green);
}

/* Distinctive Luminous Gradients per Card */
.card-1 {
  left: calc(1.5% + (97% - 172px) / 7 * 0);
  top: 32px;
  z-index: 1;
  background: linear-gradient(175deg, #1b3a20 0%, #285628 35%, #3d7c2a 70%, #95d614 94%, var(--green) 100%);
  border-color: rgba(204, 255, 2, 0.55);
}

.card-2 {
  left: calc(1.5% + (97% - 172px) / 7 * 1);
  top: 38px;
  z-index: 2;
  background: linear-gradient(175deg, #123e48 0%, #1a606a 35%, #25888c 70%, #38d6b6 94%, var(--green) 100%);
  border-color: rgba(56, 214, 182, 0.55);
}

.card-3 {
  left: calc(1.5% + (97% - 172px) / 7 * 2);
  top: 22px;
  z-index: 3;
  background: linear-gradient(175deg, #192d59 0%, #25407f 35%, #365ca9 70%, #60a5fa 94%, var(--green) 100%);
  border-color: rgba(96, 165, 250, 0.55);
}

.card-4 {
  left: calc(1.5% + (97% - 172px) / 7 * 3);
  top: 28px;
  z-index: 4;
  background: linear-gradient(175deg, #143e5c 0%, #1e5c82 35%, #2f84ad 70%, #38bdf8 94%, var(--green) 100%);
  border-color: rgba(56, 189, 248, 0.55);
}

.card-5 {
  left: calc(1.5% + (97% - 172px) / 7 * 4);
  top: 18px;
  z-index: 4;
  background: linear-gradient(175deg, #373a1c 0%, #545725 35%, #787a2a 70%, #eab308 94%, var(--green) 100%);
  border-color: rgba(234, 179, 8, 0.55);
}

.card-6 {
  left: calc(1.5% + (97% - 172px) / 7 * 5);
  top: 28px;
  z-index: 3;
  background: linear-gradient(175deg, #322055 0%, #502e7a 35%, #753fa7 70%, #c084fc 94%, var(--green) 100%);
  border-color: rgba(192, 132, 252, 0.55);
}

.card-7 {
  left: calc(1.5% + (97% - 172px) / 7 * 6);
  top: 22px;
  z-index: 2;
  background: linear-gradient(175deg, #3f281b 0%, #623a20 35%, #925126 70%, #fb923c 94%, var(--green) 100%);
  border-color: rgba(251, 146, 60, 0.55);
}

.card-8 {
  left: calc(1.5% + (97% - 172px) / 7 * 7);
  top: 34px;
  z-index: 1;
  background: linear-gradient(175deg, #143e33 0%, #1f6348 35%, #319260 70%, #34d399 94%, var(--green) 100%);
  border-color: rgba(52, 211, 153, 0.55);
}

/* Subline below */
.subline {
  margin-top: clamp(75px, 8vw, 115px);
  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 JENGAMORE (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;
}

/* Minimalist Icon Pillar Art (Domain 8 Specialized) */
.t-card-icon-art {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 42%, rgba(204, 255, 2, 0.12) 0%, rgba(26, 30, 20, 0.95) 48%, #11140e 80%, #0c0d0a 100%);
  position: relative;
  overflow: hidden;
  user-select: none;
}

.t-card-icon-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(204, 255, 2, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(204, 255, 2, 0.04) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
  opacity: 0.7;
}

.t-card-icon-center {
  position: relative;
  z-index: 2;
  width: 90px;
  height: 90px;
  border-radius: 22px;
  background: rgba(18, 22, 14, 0.9);
  border: 1px solid rgba(204, 255, 2, 0.4);
  box-shadow: 0 0 35px rgba(204, 255, 2, 0.22), inset 0 0 20px rgba(204, 255, 2, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.t-card:hover .t-card-icon-center {
  transform: scale(1.08) rotate(3deg);
  border-color: var(--green);
  box-shadow: 0 0 50px rgba(204, 255, 2, 0.5), inset 0 0 25px rgba(204, 255, 2, 0.2);
}

.t-card-icon-center svg,
.t-card-icon-center i {
  width: 46px;
  height: 46px;
  color: var(--green);
  stroke-width: 1.75;
  filter: drop-shadow(0 0 10px rgba(204, 255, 2, 0.65));
}

.t-card-icon-label {
  position: relative;
  z-index: 2;
  margin-top: 14px;
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
}

.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;
}

/* Domain Section Bottom Navigation Controls */
.domain-bottom-nav {
  margin-top: 36px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.domain-nav-row {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.domain-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: #ffffff;
  border: 1px solid var(--ink);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  user-select: none;
}

.domain-nav-btn i,
.domain-nav-btn svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.2px;
  transition: transform 0.2s ease;
}

.domain-nav-btn:hover:not(:disabled) {
  background: #000000;
  color: var(--green);
  border-color: #000000;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transform: translateY(-1px);
}

.domain-nav-prev:hover:not(:disabled) i,
.domain-nav-prev:hover:not(:disabled) svg {
  transform: translateX(-3px);
}

.domain-nav-next:hover:not(:disabled) i,
.domain-nav-next:hover:not(:disabled) svg {
  transform: translateX(3px);
}

.domain-nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
  transform: none !important;
}

.domain-nav-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: 6px;
}

.domain-nav-badge {
  display: inline-block;
  padding: 5px 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.domain-nav-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
}

@media (max-width: 640px) {
  .domain-bottom-nav {
    margin-top: 28px;
  }
  .domain-nav-row {
    width: 100%;
    gap: 10px;
  }
  .domain-nav-status {
    width: 100%;
    margin-left: 0;
    margin-top: 4px;
  }
}

/* ==========================================================================
   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;
}

.pkg-currency-stack {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  align-self: flex-end;
  margin-bottom: 4px;
}

.pkg-currency-stack .price-prefix {
  font-size: 13px;
  color: var(--mute);
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 2px;
  letter-spacing: -0.01em;
}

.pkg-currency-stack .currency {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1;
}

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

.featured-pkg .pkg-currency-stack .price-prefix {
  color: #a4a89c;
}

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

.pkg-price-row .amount.custom-quote-text {
  font-size: clamp(28px, 2.3vw, 42px);
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.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 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);
}

.subtle-gateway-trigger {
  cursor: pointer;
  user-select: none;
  transform: none !important;
  transition: opacity var(--transition-fast);
  text-decoration: none;
}

.subtle-gateway-trigger:hover,
.subtle-gateway-trigger:focus,
.subtle-gateway-trigger:active {
  transform: none !important;
  color: #e0e4d6 !important;
  outline: none !important;
  box-shadow: none !important;
  opacity: 0.92;
}

.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 & MOBILE SCROLL ASSISTANT
   ========================================================================== */
.mobile-scroll-assistant {
  display: none !important;
}

.sos-text-mobile {
  display: none !important;
}

.sos-text-desktop {
  display: inline;
}

.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);
}

/* Mild red glow for unfilled / invalid fields on submit */
.form-group input.field-error,
.form-group select.field-error,
.form-group textarea.field-error {
  border-color: #ef4444 !important;
  background-color: #fffbfa !important;
  box-shadow: 0 0 0 3.5px rgba(239, 68, 68, 0.22) !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.form-group input.field-error:focus,
.form-group select.field-error:focus,
.form-group textarea.field-error:focus {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.32) !important;
}

.modal-notice-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  padding: 4px 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  line-height: 1.4;
}

.modal-notice-icon {
  width: 16px;
  height: 16px;
  color: #16a34a;
  flex-shrink: 0;
}

/* Cloudflare Turnstile Container */
.turnstile-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 12px 0 6px 0;
  min-height: 65px;
}

.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: 12px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 20px rgba(204, 255, 2, 0.2);
  max-width: 420px;
  animation: slideUpPwa 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

@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;
}

.input-with-icon input.has-toggle {
  padding-right: 44px !important;
}

.password-toggle-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--mute, #64748b);
  transition: color 0.18s ease, background-color 0.18s ease, transform 0.1s ease;
  z-index: 5;
  pointer-events: auto;
}

.password-toggle-btn:hover {
  color: #111827;
  background: rgba(0, 0, 0, 0.06);
}

.password-toggle-btn:active {
  transform: translateY(-50%) scale(0.94);
}

.password-toggle-btn:focus-visible {
  outline: 2px solid #ccff02;
  outline-offset: 1px;
}

.password-toggle-btn i,
.password-toggle-btn svg {
  position: static !important;
  left: auto !important;
  width: 17px !important;
  height: 17px !important;
  color: currentColor !important;
  pointer-events: none !important;
  display: block;
}

.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;
}

.datetime-picker-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 20px;
  background: #f8faf6;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
}

@media (max-width: 680px) {
  .datetime-picker-row {
    grid-template-columns: 1fr;
  }
}

.picker-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.picker-section-title svg {
  width: 15px;
  height: 15px;
  color: #15803d;
}

.calendar-date-pane {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.slot-date-input {
  padding: 10px 14px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  background: #ffffff;
  color: var(--ink);
  font-weight: 600;
  transition: all var(--transition-fast);
}

.slot-date-input:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(204, 255, 2, 0.4);
}

.calendar-date-hint {
  font-size: 11.5px;
  color: #6b7264;
  line-height: 1.45;
}

.calendar-time-pane {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Manual Time Picker Card */
.manual-time-picker-card {
  background: #ffffff;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.manual-time-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.time-field-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.time-field-sublabel {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6b7264;
}

.manual-time-select {
  padding: 8px 10px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  background: var(--bg);
  outline: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.manual-time-select:focus {
  border-color: var(--ink);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(204, 255, 2, 0.4);
}

.manual-time-colon {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  padding-bottom: 7px;
}

.btn-confirm-time {
  margin-left: auto;
  background: var(--ink);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.btn-confirm-time:hover {
  background: #000000;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.btn-confirm-time svg {
  width: 14px;
  height: 14px;
  color: var(--green);
}

.manual-time-msg {
  font-size: 11.5px;
  font-weight: 600;
  color: #b91c1c;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  padding: 6px 10px;
  margin-top: 8px;
}

.calendar-time-hint {
  font-size: 11.5px;
  color: #6b7264;
  line-height: 1.45;
  margin-top: 4px;
}

/* Booked Time Banner with Close / Change button */
.booked-time-banner {
  background: #141812;
  color: #ffffff;
  border-radius: 14px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  animation: fadeIn 0.25s ease;
}

.booked-time-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.booked-time-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #8c9484;
}

.booked-time-info strong {
  font-size: 15px;
  color: var(--green);
}

.btn-change-booked-time {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-change-booked-time:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: #ef4444;
  color: #fca5a5;
}

.btn-done-booking {
  background: #141812;
  color: #ffffff;
  border: none;
  padding: 12px 36px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-done-booking:hover {
  background: #273022;
  color: var(--green);
}

.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;
}

/* 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;
}

.rd-brand-identity {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rd-header-logo {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: contain;
}

.rd-title-wrap {
  display: flex;
  flex-direction: column;
}

.rd-header-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.rd-header-status {
  font-size: 11px;
  color: #8c9484;
  font-weight: 600;
}

.rd-header-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Single Header Timer */
.rd-single-timer {
  background: #192216;
  border: 1px solid rgba(204, 255, 2, 0.35);
  color: var(--green);
  padding: 5px 12px;
  border-radius: 14px;
  font-family: 'Space Grotesk', monospace;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.rd-single-timer .timer-icon {
  width: 13px;
  height: 13px;
  color: var(--green);
}

.rd-btn-disconnect {
  background: rgba(239, 68, 68, 0.18);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  padding: 6px 14px;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.rd-btn-disconnect:hover {
  background: rgba(239, 68, 68, 0.35);
  color: #ffffff;
}

.rd-btn-disconnect svg {
  width: 13px;
  height: 13px;
}

.rd-btn-close {
  background: none;
  border: none;
  color: #9ca3af;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
  transition: color 0.2s ease;
}

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

/* RustDesk / AnyDesk Connection Card Panel (No connection state) */
.rd-connect-panel {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: radial-gradient(circle at 50% 30%, #161e13 0%, #090c08 80%);
}

.rd-connect-card {
  background: #131910;
  border: 1.5px solid #24301d;
  border-radius: 20px;
  padding: 38px 32px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: fadeIn 0.3s ease;
}

.rd-card-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rd-card-logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-bottom: 14px;
  box-shadow: 0 0 20px rgba(204, 255, 2, 0.2);
}

.rd-card-brand h3 {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 6px 0;
}

.rd-card-brand p {
  font-size: 13px;
  color: #8c9484;
  line-height: 1.45;
  margin: 0;
}

.rd-pin-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}

.rd-pin-input-wrap label {
  font-size: 11px;
  font-weight: 800;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  display: block;
}

.rd-pin-field-row {
  display: flex;
  gap: 10px;
}

#remotePinInput {
  flex: 1;
  background: #0b0f09;
  border: 1.5px solid #2d3826;
  border-radius: 12px;
  padding: 12px 16px;
  font-family: 'Space Grotesk', monospace;
  font-size: 18px;
  font-weight: 800;
  color: var(--green);
  letter-spacing: 4px;
  text-align: center;
  outline: none;
  transition: all 0.2s ease;
}

#remotePinInput:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(204, 255, 2, 0.25);
  background: #11170e;
}

.rd-btn-connect {
  background: var(--green);
  color: #0e130c;
  border: none;
  padding: 12px 22px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

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

.rd-btn-connect svg {
  width: 15px;
  height: 15px;
}

.rd-connect-help {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: #6b7264;
  line-height: 1.4;
}

.rd-connect-help svg {
  width: 14px;
  height: 14px;
  color: #16a34a;
  flex-shrink: 0;
}

/* 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;
}

/* Inquiries & Notification Dispatch Cards */
.notification-dispatch-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.notif-channel-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 18px;
}

.channel-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.channel-header strong {
  font-size: 14px;
  color: var(--ink);
}

.channel-status-tag {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  background: #eef8ee;
  color: #15803d;
}

.channel-detail {
  font-size: 13px;
  color: var(--mute);
  margin-bottom: 4px;
}

.channel-detail code {
  font-family: monospace;
  font-size: 12px;
  background: #f4f5f0;
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--ink);
}

.channel-hint {
  font-size: 12px;
  color: #6b7264;
  margin: 0;
  line-height: 1.4;
}

.recent-inquiries-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.inquiry-item-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.inquiry-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.inquiry-client-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.inquiry-type-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  background: #f1f4ed;
  color: #434c3e;
}

.inquiry-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12.5px;
  color: var(--mute);
}

.inquiry-issue-box {
  background: #f8faf6;
  border: 1px solid #e7ebe2;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--ink);
  line-height: 1.5;
}

.inquiry-actions-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
}

.inquiry-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--ink);
  transition: all 0.2s ease;
}

.inquiry-btn:hover {
  background: #f4f5f0;
  border-color: #d1d5db;
}

.inquiry-btn.btn-primary-action {
  background: #141812;
  color: #ccff02;
  border-color: #141812;
}

.inquiry-btn.btn-primary-action:hover {
  background: #232a20;
}

/* ==========================================================================
   CLIENT SUPPORT HUB / USER PORTAL MODAL
   ========================================================================== */
.client-portal-auth-view {
  padding: 28px 24px 34px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fbfcf9;
}

.portal-auth-card {
  width: 100%;
  max-width: 460px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.portal-auth-intro {
  text-align: center;
  margin-bottom: 22px;
}

.portal-auth-lock-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: rgba(204, 255, 2, 0.2);
  border: 1.5px solid rgba(204, 255, 2, 0.6);
  color: #0e120d;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portal-auth-lock-icon svg {
  width: 22px;
  height: 22px;
}

.portal-auth-intro h4 {
  font-size: 19px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.portal-auth-intro p {
  font-size: 13px;
  color: var(--mute);
  line-height: 1.5;
}

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

.portal-login-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
  font-size: 12.5px;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 10px;
  line-height: 1.45;
}

.btn-portal-logout {
  background: #f4f6f0;
  border: 1px solid var(--line);
  color: #4b5563;
  padding: 6px 14px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-portal-logout:hover {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #dc2626;
}

.btn-portal-logout svg {
  width: 14px;
  height: 14px;
}

.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);
  }
}

/* ==========================================================================
   DESKTOP SCREEN NAVIGATION OPTIMIZATIONS (1120px - 1380px)
   Prevents overlapping, text stacking, and layout shift
   ========================================================================== */
@media (max-width: 1380px) {
  /* Hide the long tagline next to JENGAMORE on intermediate desktop screens */
  .logo-brand .brand-tag {
    display: none !important;
  }
  
  .logo-brand {
    flex-shrink: 0;
  }

  /* Fluid padding and spacing for navigation links */
  .nav {
    padding: 14px 28px;
  }

  .nav.scrolled {
    padding: 10px 28px;
  }

  .nav-links {
    gap: clamp(12px, 1.4vw, 22px);
    flex-shrink: 1;
  }

  .nav-links a {
    font-size: 13.5px;
    white-space: nowrap;
  }

  .nav-actions {
    gap: 10px;
    flex-shrink: 0;
  }
}

@media (max-width: 1240px) {
  /* Compact action buttons and links to prevent colliding with FAQ */
  .nav-cta {
    padding: 9px 16px;
    font-size: 13px;
    gap: 8px;
  }

  .cta-text-full {
    display: none !important;
  }

  .cta-text-compact {
    display: inline !important;
  }

  .nav-portal-btn {
    padding: 8px 14px;
    font-size: 12.5px;
    gap: 6px;
  }

  .nav-links {
    gap: 12px;
  }

  .nav-links a {
    font-size: 13px;
  }
}

@media (max-width: 1120px) {
  .nav {
    padding: 16px 24px;
  }
  .nav-links {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .feature-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  /* Top Announcement Bar for Mobile: Call Icon + Phone Number & Social Media in Same Row */
  .top-announcement {
    display: block !important;
    padding: 7px 16px !important;
    background: var(--ink) !important;
    border-bottom: 1px solid rgba(204, 255, 2, 0.2) !important;
    position: relative !important;
    z-index: 60 !important;
  }
  .announcement-inner {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
  }
  .announcement-left {
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
  }
  .quick-support-link {
    font-size: 11.5px !important;
    gap: 5px !important;
    color: #e5e8dc !important;
    white-space: nowrap !important;
  }
  .quick-support-link .inline-icon {
    width: 13px !important;
    height: 13px !important;
    margin-right: 3px !important;
    color: var(--green) !important;
    flex-shrink: 0 !important;
  }
  .support-label-desktop {
    display: none !important;
  }
  .quick-support-link strong {
    font-size: 11.5px !important;
    color: var(--green) !important;
    letter-spacing: 0.02em !important;
  }
  .announcement-right {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex-shrink: 0 !important;
  }
  .top-social-links {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
  }
  .social-icon-btn {
    width: 25px !important;
    height: 25px !important;
  }
  .country-badge {
    display: none !important;
  }

  /* 1. Clean Mobile Navigation Bar (Logo + Hamburger Only) */
  .nav {
    padding: 12px 18px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
  }
  .nav-links {
    display: none !important;
  }
  .nav-actions {
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
  }
  .nav-actions #workspaceBtn,
  .nav-actions #bookSessionNavBtn,
  .nav-actions .nav-portal-btn,
  .nav-actions .nav-cta {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex !important;
    flex-direction: column !important;
    gap: 5px !important;
    padding: 8px 6px !important;
    cursor: pointer !important;
    z-index: 10 !important;
    background: transparent !important;
    border: none !important;
  }

  /* 2. Hero Section: Centering & Balanced Mobile Spacing */
  .hero {
    padding: 28px 18px 40px !important;
    min-height: auto !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  .small-team {
    font-size: clamp(32px, 9.5vw, 44px) !important;
    text-align: center !important;
    width: 100% !important;
    margin: 4px auto 0 !important;
    line-height: 1.08 !important;
  }
  .hero-sub-pill-container {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    margin: 12px auto 0 !important;
  }
  .we-handle-pill {
    font-size: clamp(15px, 4.4vw, 20px) !important;
    padding: 6px 18px !important;
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    margin: 0 auto !important;
    max-width: 94% !important;
    white-space: normal !important;
    line-height: 1.25 !important;
    text-wrap: balance !important;
    box-shadow: 0 6px 20px rgba(204, 255, 2, 0.35) !important;
  }
  .hero-subheadline {
    text-align: center !important;
    margin: 14px auto 0 !important;
    max-width: 92% !important;
    font-size: 14.5px !important;
    line-height: 1.5 !important;
  }
  .big-results-wrap {
    display: none !important;
  }

  /* 3. Hide 3D Floating Cards Stack in Mobile */
  .cards-row {
    display: none !important;
  }
  .subline {
    margin-top: 24px !important;
    position: relative !important;
    z-index: 4 !important;
    width: 100% !important;
  }
  .hero-cta-group {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
  }
  .hero-cta-group .arrow-pill,
  .hero-cta-group .hero-secondary-btn {
    width: 100% !important;
    max-width: 320px !important;
    justify-content: center !important;
  }
  .subline-text {
    text-align: center !important;
    margin: 16px auto 0 !important;
    max-width: 92% !important;
    font-size: 13.5px !important;
    line-height: 1.5 !important;
  }

  .pwa-install-banner {
    bottom: 74px !important;
    right: 14px !important;
    left: 14px !important;
    max-width: none !important;
    padding: 10px 14px !important;
    gap: 12px !important;
  }

  /* 4. Compact Floating Chat Button for Mobile */
  .floating-quick-action {
    bottom: 18px !important;
    right: 14px !important;
    z-index: 99 !important;
  }
  .floating-sos-btn {
    padding: 9px 15px !important;
    font-size: 13px !important;
    gap: 7px !important;
    border-radius: var(--radius-pill) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), 0 0 16px var(--green-glow) !important;
  }
  .sos-icon svg {
    width: 20px !important;
    height: 20px !important;
  }
  .sos-text .sos-text-desktop {
    display: none !important;
  }
  .sos-text .sos-text-mobile {
    display: inline !important;
    font-weight: 800 !important;
    letter-spacing: 0.02em !important;
  }

  /* 5. Minimalist Mobile Scroll Assistant */
  .mobile-scroll-assistant {
    display: flex !important;
    position: fixed !important;
    bottom: 18px !important;
    left: 14px !important;
    z-index: 98 !important;
    align-items: center !important;
    background: rgba(18, 20, 17, 0.92) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    border: 1px solid rgba(204, 255, 2, 0.35) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 14px rgba(204, 255, 2, 0.15) !important;
    border-radius: var(--radius-pill) !important;
    padding: 4px 6px !important;
    gap: 4px !important;
    transition: opacity 0.35s ease, transform 0.35s ease, filter 0.35s ease !important;
    max-width: calc(100vw - 120px) !important;
    user-select: none !important;
  }
  .mobile-scroll-assistant.hidden-initial {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(12px) !important;
  }
  .mobile-scroll-assistant.scrolling-active {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
    filter: none !important;
  }
  .mobile-scroll-assistant.idle-dimmed {
    opacity: 0.35 !important;
    filter: grayscale(0.4) !important;
    transform: translateY(0) !important;
  }
  .mobile-scroll-assistant:hover,
  .mobile-scroll-assistant:active,
  .mobile-scroll-assistant:focus-within {
    opacity: 1 !important;
    filter: none !important;
  }
  .scroll-ast-arrow {
    background: rgba(255, 255, 255, 0.08) !important;
    border: none !important;
    color: var(--green) !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    transition: background 0.2s, transform 0.2s !important;
  }
  .scroll-ast-arrow:active {
    transform: scale(0.9) !important;
    background: rgba(204, 255, 2, 0.25) !important;
  }
  .scroll-ast-chip {
    background: transparent !important;
    border: none !important;
    color: #ffffff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 4px 10px !important;
    cursor: pointer !important;
    font-family: inherit !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    border-radius: var(--radius-pill) !important;
    transition: background 0.2s !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    max-width: 140px !important;
  }
  .scroll-ast-chip:active {
    background: rgba(255, 255, 255, 0.1) !important;
  }
  .scroll-ast-label {
    color: var(--green) !important;
    font-weight: 800 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    letter-spacing: -0.01em !important;
  }
  .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);
}
