@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

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

:root {
  --bg: #0D1117;
  --bg2: #111827;
  --bg3: #161D2B;
  --card: #161D2B;
  --card2: #1C2436;
  --border: rgba(255, 255, 255, 0.07);
  --border2: rgba(255, 255, 255, 0.12);
  --text: #F0F4FF;
  --muted: rgba(240, 244, 255, 0.5);
  --dim: rgba(240, 244, 255, 0.28);
  --green: #00D68F;
  --green-dim: rgba(0, 214, 143, 0.12);
  --green-mid: rgba(0, 214, 143, 0.22);
  --blue: #4F8EF7;
  --blue-dim: rgba(79, 142, 247, 0.12);
  --orange: #FF8C42;
  --orange-dim: rgba(255, 140, 66, 0.12);
  --purple: #9B7FFF;
  --purple-dim: rgba(155, 127, 255, 0.1);
  --gold: #F5C842;
  --gold-dim: rgba(245, 200, 66, 0.1);
  --font-head: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --r: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 0 5%;
  border-bottom: 1px solid var(--border);
  background: rgba(13, 17, 23, 0.85);
  backdrop-filter: blur(20px);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: block;
}

.nav-brand {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.4px;
}

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

.nav-links a {
  font-size: 13.5px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 400;
}

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

.nav-links a.active-nav {
  color: var(--green) !important;
}

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

.btn-sm-ghost {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  background: none;
  border: 1px solid var(--border2);
  padding: 7px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
}

.btn-sm-ghost:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-sm-green {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: #0D1117;
  background: var(--green);
  border: none;
  padding: 8px 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  text-decoration: none;
  display: inline-block;
}

.btn-sm-green:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

/* HERO */
.hero {
  padding: 148px 5% 100px;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(0, 214, 143, 0.07) 0%, transparent 65%);
  pointer-events: none;
}

.hero-glow2 {
  position: absolute;
  top: 200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(79, 142, 247, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-dim);
  border: 1px solid rgba(0, 214, 143, 0.22);
  border-radius: 100px;
  padding: 5px 14px 5px 8px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 22px;
  letter-spacing: 0.3px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: blink 2s infinite;
}

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

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(38px, 4.5vw, 58px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -1.8px;
  color: var(--text);
  margin-bottom: 22px;
}

.hero h1 .hl {
  color: var(--green);
}

.hero h1 .hl2 {
  color: var(--blue);
}

.hero-sub {
  font-size: 16.5px;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.72;
  margin-bottom: 36px;
  max-width: 460px;
}

.hero-sub strong {
  color: rgba(240, 244, 255, 0.8);
  font-weight: 500;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 44px;
}

.btn-main {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: #0D1117;
  background: var(--green);
  border: none;
  padding: 13px 28px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-main:hover {
  opacity: 0.88;
  transform: translateY(-2px);
}

.btn-ghost-lg {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
  background: none;
  border: 1px solid var(--border2);
  padding: 12px 22px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-ghost-lg:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.22);
}

.hero-social {
  display: flex;
  align-items: center;
  gap: 14px;
}

.avatars {
  display: flex;
}

.av {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  margin-right: -8px;
  font-size: 10.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--font-head);
}

.hero-stat {
  font-size: 13px;
  color: var(--muted);
}

.hero-stat strong {
  color: var(--text);
  font-weight: 600;
}

/* DASHBOARD MOCKUP */
.mockup-wrap {
  position: relative;
}

.db-shell {
  background: var(--card);
  border: 1px solid var(--border2);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.db-bar {
  background: var(--bg2);
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.db-dots {
  display: flex;
  gap: 6px;
}

.db-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.db-label {
  font-size: 11px;
  color: var(--dim);
  font-weight: 500;
  letter-spacing: 0.3px;
}

.db-live {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  color: var(--green);
  font-weight: 500;
}

.db-live-dot {
  width: 5px;
  height: 5px;
  background: var(--green);
  border-radius: 50%;
  animation: blink 1.5s infinite;
}

.db-content {
  padding: 18px;
}

.db-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.kpi {
  background: var(--card2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
}

.kpi-label {
  font-size: 9px;
  font-weight: 600;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 6px;
}

.kpi-val {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.5px;
  line-height: 1;
}

.kpi-delta {
  font-size: 9px;
  font-weight: 500;
  margin-top: 3px;
}

.delta-up {
  color: var(--green);
}

.delta-warn {
  color: var(--orange);
}

.db-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.db-jobs-panel {
  background: var(--card2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
}

.panel-title {
  font-size: 10px;
  font-weight: 600;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: 0.7px;
  margin-bottom: 10px;
}

.job-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}

.job-item:last-child {
  border: none;
}

.job-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.job-ico {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
}

.job-n {
  font-size: 11px;
  font-weight: 500;
  color: var(--text);
}

.job-t {
  font-size: 9.5px;
  color: var(--dim);
}

.pill {
  font-size: 8.5px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 100px;
}

.pill-g {
  background: var(--green-dim);
  color: var(--green);
}

.pill-o {
  background: var(--orange-dim);
  color: var(--orange);
}

.pill-b {
  background: var(--blue-dim);
  color: var(--blue);
}

.db-team {
  background: var(--card2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
}

.team-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  border-bottom: 1px solid var(--border);
}

.team-row:last-child {
  border: none;
}

.team-av {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 9px;
  font-weight: 700;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  flex-shrink: 0;
}

.team-name {
  font-size: 11px;
  font-weight: 500;
  color: var(--text);
  flex: 1;
}

.team-status {
  font-size: 9px;
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--green);
}

.status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
}

/* floating cards */
.float-1 {
  position: absolute;
  top: -24px;
  right: -24px;
  background: var(--card2);
  border: 1px solid var(--border2);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.float-2 {
  position: absolute;
  bottom: -20px;
  left: -24px;
  background: var(--card2);
  border: 1px solid var(--border2);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.float-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.fi-g {
  background: var(--green-dim);
}

.fi-b {
  background: var(--blue-dim);
}

.float-val {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.float-sub {
  font-size: 10px;
  color: var(--dim);
}

/* LOGO BAND */
.logo-band {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 5%;
  background: var(--bg2);
  overflow: hidden;
}

.logo-band-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
}

.lb-label {
  font-size: 11px;
  color: var(--dim);
  white-space: nowrap;
  letter-spacing: 0.3px;
  font-weight: 500;
}

.ticker-wrap {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.ticker {
  display: flex;
  gap: 48px;
  animation: ticker 22s linear infinite;
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-item {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.18);
  white-space: nowrap;
}

/* FEATURES */
.features {
  padding: 100px 5%;
}

.feat-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.sec-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.sec-h {
  font-family: var(--font-head);
  font-size: clamp(30px, 3.5vw, 46px);
  font-weight: 800;
  letter-spacing: -1.2px;
  color: var(--text);
  line-height: 1.08;
  margin-bottom: 16px;
}

.sec-p {
  font-size: 16px;
  color: var(--muted);
  max-width: 500px;
  line-height: 1.72;
  font-weight: 300;
  margin-bottom: 60px;
}

.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.f-card {
  background: var(--card);
  padding: 36px 30px;
  transition: background 0.25s;
  cursor: default;
  position: relative;
  overflow: hidden;
}

.f-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--green-mid), transparent);
  opacity: 0;
  transition: opacity 0.25s;
}

.f-card:hover {
  background: var(--card2);
}

.f-card:hover::before {
  opacity: 1;
}

.f-ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 20px;
}

.f-h {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 9px;
  letter-spacing: -0.2px;
}

.f-p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.65;
  font-weight: 300;
}

/* PRODUCT SHOWCASE */
.showcase {
  padding: 80px 5%;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.sc-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.sc-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 56px;
}

.sc-header .sec-tag {
  margin-bottom: 16px;
}

.sc-header .sec-h {
  margin-bottom: 28px;
  max-width: 650px;
}

.sc-tabs {
  display: flex;
  gap: 4px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 4px;
  width: fit-content;
}

.sc-header .sc-tabs {
  margin-bottom: 0;
}

.sc-tab {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  padding: 8px 18px;
  border-radius: 9px;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  background: none;
  font-family: var(--font-body);
}

.sc-tab.active {
  background: var(--card2);
  color: var(--text);
  border: 1px solid var(--border2);
}

h3.sec-h#sc-h {
  margin-top: 10px;
}
.sc-screens {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 64px;
  align-items: center;
}

.sc-text .sec-h {
  font-size: clamp(26px, 3vw, 36px);
  margin-bottom: 14px;
}

.sc-text .sec-p {
  margin-bottom: 32px;
}

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

.sc-bullet {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--muted);
  font-weight: 300;
}

.bullet-check {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: var(--green-dim);
  border: 1px solid rgba(0, 214, 143, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.bullet-check svg {
  width: 10px;
  height: 10px;
  stroke: var(--green);
  stroke-width: 2.5;
  fill: none;
}

.screen-mockup {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  overflow: visible !important;
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 480px !important;
  padding: 40px 20px !important;
}

/* centerpiece dashboard container */
.centerpiece-card {
  width: 85% !important;
  background: #0B0F19 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 16px !important;
  padding: 24px !important;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6) !important;
  z-index: 2 !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative !important;
}

body.light-mode .centerpiece-card {
  background: #FFFFFF !important;
  border-color: #E2E8F0 !important;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08) !important;
}

/* floating analytical cards */
.floating-card {
  position: absolute !important;
  background: rgba(13, 20, 35, 0.95) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 12px !important;
  padding: 14px 18px !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4) !important;
  z-index: 3 !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
  animation: floatEffect 6s ease-in-out infinite !important;
}

body.light-mode .floating-card {
  background: rgba(255, 255, 255, 0.98) !important;
  border-color: #E2E8F0 !important;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06) !important;
}

.floating-card:nth-child(2) { animation-delay: -1.5s !important; }
.floating-card:nth-child(3) { animation-delay: -3s !important; }
.floating-card:nth-child(4) { animation-delay: -4.5s !important; }

@keyframes floatEffect {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.floating-card:hover {
  transform: translateY(-12px) scale(1.02) !important;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5) !important;
}

body.light-mode .floating-card:hover {
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1) !important;
}

/* coordinates */
.fc-top-left { top: 0px !important; left: -10px !important; }
.fc-bottom-left { bottom: 20px !important; left: -20px !important; }
.fc-top-right { top: 10px !important; right: -10px !important; }
.fc-bottom-right { bottom: 0px !important; right: -15px !important; }

.fc-title {
  font-size: 10px !important;
  font-weight: 600 !important;
  color: var(--muted) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.8px !important;
  margin-bottom: 4px !important;
}

.fc-val {
  font-family: var(--font-head) !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  color: var(--text) !important;
}
.fc-val.green { color: var(--green) !important; }
.fc-val.blue { color: var(--blue) !important; }
.fc-val.orange { color: var(--orange) !important; }

.fc-sub {
  font-size: 9.5px !important;
  color: var(--dim) !important;
  margin-top: 2px !important;
}

#mockup-content-container {
  position: relative !important;
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: visible !important;
}

@media(max-width: 768px) {
  .screen-mockup {
    min-height: auto !important;
    padding: 10px 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    overflow: hidden !important;
  }
  #mockup-content-container {
    flex-direction: column !important;
    gap: 12px !important;
    align-items: stretch !important;
  }
  .centerpiece-card {
    width: 100% !important;
  }
  .floating-card {
    position: static !important;
    width: 100% !important;
    animation: none !important;
    transform: none !important;
  }
}

.sm-header {
  background: var(--bg2);
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sm-h-title {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.sm-badge {
  font-size: 9.5px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 100px;
  background: var(--green-dim);
  color: var(--green);
}

.sm-body {
  padding: 16px;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.stat-box {
  background: var(--card2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
}

.stat-box-label {
  font-size: 8.5px;
  font-weight: 600;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: 0.7px;
  margin-bottom: 4px;
}

.stat-box-val {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

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

.jc {
  background: var(--card2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  border-top: 2px solid;
}

.jc-conf {
  border-top-color: var(--blue);
}

.jc-prog {
  border-top-color: var(--orange);
}

.jc-comp {
  border-top-color: var(--green);
}

.jc-status {
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.jc-name {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.jc-info {
  font-size: 9.5px;
  color: var(--dim);
}

/* WORKFLOW */
.workflow {
  padding: 100px 5%;
  position: relative;
  overflow: hidden;
}

.workflow::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(0, 214, 143, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.wf-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 60px;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 14px);
  right: calc(12.5% + 14px);
  height: 1px;
  background: linear-gradient(90deg, var(--green), var(--blue), var(--purple), var(--orange));
  opacity: 0.3;
}

.step {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 22px;
  text-align: center;
  position: relative;
  transition: border-color 0.25s, transform 0.25s;
}

.step:hover {
  border-color: var(--border2);
  transform: translateY(-4px);
}

.step-num-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  border: 1px solid;
}

.sn1 {
  background: var(--green-dim);
  color: var(--green);
  border-color: rgba(0, 214, 143, 0.25);
}

.sn2 {
  background: var(--blue-dim);
  color: var(--blue);
  border-color: rgba(79, 142, 247, 0.25);
}

.sn3 {
  background: var(--purple-dim);
  color: var(--purple);
  border-color: rgba(155, 127, 255, 0.25);
}

.sn4 {
  background: var(--orange-dim);
  color: var(--orange);
  border-color: rgba(255, 140, 66, 0.25);
}

.step-h {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}

.step-p {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.6;
  font-weight: 300;
}

/* MENA SECTION */
.mena-section {
  padding: 100px 5%;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.mena-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.mena-flags {
  display: flex;
  gap: 10px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.mena-flag-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 100px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.mena-flag-chip:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--text);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.flag-em {
  font-size: 15px;
  line-height: 1;
}

/* Light Mode Overrides for Country Pills */
body.light-mode .mena-flag-chip {
  background: rgba(15, 23, 42, 0.03);
  border-color: rgba(15, 23, 42, 0.06);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
}

body.light-mode .mena-flag-chip:hover {
  background: rgba(15, 23, 42, 0.06);
  border-color: rgba(15, 23, 42, 0.12);
  color: var(--text);
}

/* MENA CONTENT HIERARCHY AND SPACING */
.mena-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.mena-content .mena-flags {
  margin-bottom: 24px; /* Country Pills -> Small Label (24px gap) */
}

.mena-content .sec-tag {
  margin-bottom: 24px; /* Small Label -> Large Heading (24px gap) */
}

.mena-content .sec-h {
  margin-bottom: 24px; /* Large Heading -> Description (24-32px gap) */
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.12; /* Clean compact line height for title */
}

.mena-content .sec-p {
  margin-bottom: 32px; /* Description -> Bullet Points Group (32px gap) */
  font-size: 14.5px;
  line-height: 1.45; /* Reduced line height: 1.4-1.5 */
  max-width: 520px; /* Controlled width: 3 lines maximum */
}

.mena-content .sc-bullets {
  gap: 16px; /* Connected group spacing: 14-18px */
  padding: 0;
  margin: 0;
  margin-bottom: 40px; /* Bullet Points Group -> Bottom padding (40px gap) */
}

.mena-content .sc-bullet {
  font-size: 14.5px;
  line-height: 1.5;
  align-items: flex-start;
  gap: 12px;
}

.mena-content .bullet-check {
  margin-top: 1px; /* Align check box with first line of text */
}


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

.mena-stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 20px;
  transition: border-color 0.2s;
}

.mena-stat-card:hover {
  border-color: var(--border2);
}

.usc-ico {
  font-size: 22px;
  margin-bottom: 10px;
}

.usc-val {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--text);
  margin-bottom: 4px;
}

.usc-label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 300;
}

/* PRICING */
.pricing {
  padding: 100px 5%;
}

.pricing-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.price-note {
  font-size: 13px;
  color: var(--dim);
  margin-bottom: 8px;
  font-style: italic;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  text-align: left;
  margin-top: 56px;
}

.pc {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.2s;
}

.pc:hover {
  border-color: var(--border2);
}

.pc.hot {
  background: var(--card2);
  border-color: rgba(0, 214, 143, 0.25);
  box-shadow: 0 0 0 1px rgba(0, 214, 143, 0.12), 0 24px 60px rgba(0, 214, 143, 0.05);
}

.pc-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: #0D1117;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
  font-family: var(--font-head);
}

.pc-tier {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--dim);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.pc-price {
  font-family: var(--font-head);
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -2px;
  color: var(--text);
  line-height: 1;
  margin-bottom: 5px;
}

.pc-price sup {
  font-size: 18px;
  font-weight: 600;
  vertical-align: super;
  letter-spacing: 0;
  margin-right: 2px;
}

.pc-period {
  font-size: 12.5px;
  color: var(--dim);
  margin-bottom: 20px;
}

.pc-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
  font-weight: 300;
  margin-bottom: 24px;
  flex: 1;
}

.pc-feats {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pc-feats li {
  font-size: 12.5px;
  color: var(--muted);
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.pc-feats li:last-child {
  border: none;
}

.pcheck {
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

.btn-pc {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  text-align: center;
  padding: 12px 20px;
  border-radius: 10px;
  cursor: pointer;
  border: none;
  text-decoration: none;
  display: block;
  transition: all 0.2s;
}

.btn-pc:hover {
  transform: translateY(-1px);
  opacity: 0.88;
}

.btn-dim {
  background: var(--card2);
  color: var(--muted);
  border: 1px solid var(--border2);
}

.btn-go {
  background: var(--green);
  color: #0D1117;
}

/* TESTIMONIALS */
.testi {
  padding: 100px 5%;
  background: var(--bg2);
  border-top: 1px solid var(--border);
}

.testi-inner {
  max-width: 1200px;
  margin: 0 auto;
}

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

.tc {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: border-color 0.2s;
}

.tc:hover {
  border-color: var(--border2);
}

.tc-stars {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.tc-q {
  font-size: 14.5px;
  color: rgba(240, 244, 255, 0.7);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 22px;
  font-weight: 300;
}

.tc-author {
  display: flex;
  align-items: center;
  gap: 11px;
}

.tc-av {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.tc-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.tc-role {
  font-size: 11.5px;
  color: var(--dim);
}

.tc-city {
  font-size: 10px;
  color: var(--green);
  font-weight: 500;
  margin-top: 2px;
}

/* CTA */
.cta-wrap {
  padding: 100px 5%;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(0, 214, 143, 0.06), transparent 70%);
  pointer-events: none;
}

.cta-inner {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-inner .sec-h {
  margin-bottom: 16px;
}

.cta-inner .sec-p {
  margin: 0 auto 40px;
  text-align: center;
}

.cta-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.cta-small {
  font-size: 12px;
  color: var(--dim);
  margin-top: 16px;
}

/* FOOTER */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 64px 5% 36px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
}

.f-logo-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.f-about {
  font-size: 13px;
  color: var(--dim);
  line-height: 1.7;
  max-width: 230px;
}

.f-col-h {
  font-size: 10.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.f-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.f-links a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.f-links a:hover {
  color: var(--text);
  transform: translateX(3px);
}

.footer-bot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--dim);
}

.footer-bot a {
  color: var(--dim);
  text-decoration: none;
}

/* RESPONSIVE */
@media(max-width: 1023px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 52px;
  }
  .feat-grid {
    grid-template-columns: 1fr 1fr;
  }
  .steps {
    grid-template-columns: 1fr 1fr;
  }
  .steps::before {
    display: none;
  }
  .sc-screens {
    grid-template-columns: 1fr;
  }
  .mena-inner {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .testi-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media(max-width: 991px) {
  nav .nav-links {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex !important;
  }
  .nav-right {
    gap: 16px !important;
  }
}

@media(max-width: 767px) {
  .feat-grid {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .db-kpis {
    grid-template-columns: repeat(2, 1fr);
  }
  .db-bottom {
    grid-template-columns: 1fr;
  }
  .hero-ctas {
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-right .btn-sm-green {
    display: none !important;
  }
  footer {
    padding: 48px 24px 32px !important;
    text-align: center !important;
  }
  .footer-top {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
    padding-bottom: 36px !important;
  }
  .f-logo-row {
    justify-content: center !important;
  }
  .f-about {
    margin: 0 auto !important;
    max-width: 320px !important;
  }
  .f-links {
    align-items: center !important;
    gap: 12px !important;
  }
  .footer-bot {
    flex-direction: column !important;
    gap: 16px !important;
    text-align: center !important;
  }
  .mena-grid {
    grid-template-columns: 1fr;
  }
  .float-1, .float-2 {
    display: none;
  }
}

/* ROI CALCULATOR */
.roi-calc {
  padding: 80px 5%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.roi-card-wrap {
  width: 100%;
  max-width: 1100px;
}
.roi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #0D1117;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5);
}
.roi-inputs-col {
  padding: 48px;
  display: flex;
  flex-direction: column;
}
.roi-outputs-col {
  padding: 48px;
  background: rgba(255, 255, 255, 0.005);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.roi-tag {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.roi-title {
  font-family: var(--font-head);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -1.2px;
  line-height: 1.15;
  margin-bottom: 20px;
}
.roi-desc {
  font-size: 14px;
  color: rgba(240, 244, 255, 0.55);
  line-height: 1.6;
  font-weight: 400;
  margin-bottom: 40px;
}
.roi-inputs {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.roi-input-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.roi-input-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.roi-input-header label {
  font-size: 13.5px;
  font-weight: 550;
  color: rgba(240, 244, 255, 0.85);
}
.roi-val-display {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--green);
}
.roi-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.12);
  outline: none;
  margin-top: 8px;
}
.roi-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green);
  border: 2px solid #FFFFFF;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4), 0 0 0 3px rgba(0, 214, 143, 0.25);
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}
.roi-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5), 0 0 0 5px rgba(0, 214, 143, 0.35);
}
.roi-slider::-webkit-slider-thumb:active {
  transform: scale(0.95);
  background: #00b87a;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5), 0 0 0 7px rgba(0, 214, 143, 0.45);
}
.roi-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green);
  border: 2px solid #FFFFFF;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4), 0 0 0 3px rgba(0, 214, 143, 0.25);
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}
.roi-slider::-moz-range-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5), 0 0 0 5px rgba(0, 214, 143, 0.35);
}
.roi-slider::-moz-range-thumb:active {
  transform: scale(0.95);
  background: #00b87a;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5), 0 0 0 7px rgba(0, 214, 143, 0.45);
}
.roi-proj-title {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
}
.roi-proj-tag {
  font-size: 10px;
  font-weight: 600;
  color: rgba(240, 244, 255, 0.4);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.roi-proj-val {
  font-family: var(--font-head);
  font-size: 46px;
  font-weight: 800;
  color: var(--green);
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  line-height: 1;
}
.roi-outputs-sub {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}
.roi-output-box {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  padding: 14px 18px;
}
.roi-output-box .roi-out-label {
  font-size: 10.5px;
  color: rgba(240, 244, 255, 0.4);
  margin-bottom: 4px;
  text-transform: none;
  letter-spacing: 0;
}
.roi-output-box .roi-out-val {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
}
.roi-footnote {
  font-size: 11px;
  color: rgba(240, 244, 255, 0.35);
  line-height: 1.5;
  margin-bottom: 24px;
}
.roi-btn {
  display: block;
  width: 100%;
  background: #00B580;
  color: #FFFFFF;
  text-align: center;
  font-weight: 600;
  font-size: 14.5px;
  padding: 14px;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.1s;
}
.roi-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

@media(max-width: 768px) {
  .roi-grid {
    grid-template-columns: 1fr;
  }
  .roi-inputs-col {
    padding: 32px 24px;
  }
  .roi-outputs-col {
    padding: 32px 24px;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .roi-outputs-sub {
    grid-template-columns: 1fr;
  }
}

/* BUILT FOR EVERY CONTEXT */
.context-section {
  padding: 100px 5%;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
}
.context-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.context-tabs-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-bottom: 48px;
}
.context-tab {
  background: var(--card);
  border: 1px solid var(--border2);
  border-radius: 10px;
  padding: 16px 8px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease-in-out;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.context-tab:hover {
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--text);
  background: var(--card2);
}
.context-tab.active {
  background: var(--green-dim);
  border-color: var(--green);
  color: var(--green);
  box-shadow: 0 4px 20px rgba(0, 214, 143, 0.05);
}
.context-tab-ico {
  font-size: 20px;
}
.context-content-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: 420px;
}
.context-text {
  transition: opacity 0.2s ease-in-out;
}
.context-feature-tag {
  font-family: var(--font-head);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}
.context-industry-h {
  font-family: var(--font-head);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: -1px;
  line-height: 1.15;
}
.context-industry-desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 24px;
  font-weight: 300;
}
.context-bullets-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.context-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13.5px;
  color: var(--muted);
}
.context-check {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: var(--green-dim);
  border: 1px solid rgba(0, 214, 143, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.context-check svg {
  width: 8px;
  height: 8px;
  stroke: var(--green);
  stroke-width: 3;
  fill: none;
}
.context-mockup-wrap {
  transition: opacity 0.2s ease-in-out;
}
.context-screen-mockup {
  background: var(--card);
  border: 1px solid var(--border2);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

@media(max-width: 991px) {
  .context-tabs-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .context-content-wrap {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}
@media(max-width: 480px) {
  .context-tabs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* THEME SWITCHER */
body.light-mode {
  --bg: #F8FAFC;
  --bg2: #FFFFFF;
  --bg3: #F1F5F9;
  --card: #FFFFFF;
  --card2: #F8FAFC;
  --border: rgba(15, 23, 42, 0.08);
  --border2: rgba(15, 23, 42, 0.14);
  --text: #0F172A;
  --muted: rgba(15, 23, 42, 0.65);
  --dim: rgba(15, 23, 42, 0.4);
  --green: #02B177;
  --green-dim: rgba(2, 177, 119, 0.08);
  --green-mid: rgba(2, 177, 119, 0.16);
  --blue: #2563EB;
  --blue-dim: rgba(37, 99, 235, 0.08);
  --orange: #EA580C;
  --orange-dim: rgba(234, 88, 12, 0.08);
  --purple: #7C3AED;
  --purple-dim: rgba(124, 58, 237, 0.08);
  --gold: #D97706;
  --gold-dim: rgba(217, 119, 6, 0.08);
}

body.light-mode nav {
  background: rgba(255, 255, 255, 0.85);
}

body.light-mode .roi-grid {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08) !important;
}

body.light-mode .roi-outputs-col {
  background: #F8FAFC !important;
  border-left: 1px solid #E2E8F0 !important;
}

body.light-mode .hero-sub strong {
  color: var(--text);
  font-weight: 600;
}

body.light-mode .tc-q {
  color: var(--text);
}

body.light-mode .roi-desc {
  color: var(--muted);
}

body.light-mode .roi-input-header label {
  color: var(--text);
}

body.light-mode .roi-proj-tag {
  color: var(--muted);
}

body.light-mode .roi-output-box {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04) !important;
}

body.light-mode .roi-output-box .roi-out-label {
  color: var(--muted);
}

body.light-mode .roi-footnote {
  color: var(--muted);
}

body.light-mode .ticker-item {
  color: rgba(15, 23, 42, 0.16);
}

body.light-mode .f-col-h {
  color: var(--muted);
}

body.light-mode .context-tab:hover {
  border-color: rgba(15, 23, 42, 0.28) !important;
}

body.light-mode .roi-slider {
  -webkit-appearance: none !important;
  appearance: none !important;
  background: #D1D5DB;
  height: 6px !important;
  border-radius: 3px !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}
body.light-mode .roi-slider::-webkit-slider-thumb {
  -webkit-appearance: none !important;
  appearance: none !important;
  width: 20px !important;
  height: 20px !important;
  border-radius: 50% !important;
  background: #02B177 !important;
  border: 2px solid #FFFFFF !important;
  box-shadow: 0 3px 8px rgba(15, 23, 42, 0.2), 0 0 0 3px rgba(2, 177, 119, 0.15) !important;
  cursor: pointer !important;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease !important;
}
body.light-mode .roi-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15) !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.28), 0 0 0 5px rgba(2, 177, 119, 0.22) !important;
}
body.light-mode .roi-slider::-webkit-slider-thumb:active {
  transform: scale(0.95) !important;
  background: #029463 !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.3), 0 0 0 7px rgba(2, 177, 119, 0.3) !important;
}
body.light-mode .roi-slider::-moz-range-thumb {
  width: 20px !important;
  height: 20px !important;
  border-radius: 50% !important;
  background: #02B177 !important;
  border: 2px solid #FFFFFF !important;
  box-shadow: 0 3px 8px rgba(15, 23, 42, 0.2), 0 0 0 3px rgba(2, 177, 119, 0.15) !important;
  cursor: pointer !important;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease !important;
}
body.light-mode .roi-slider::-moz-range-thumb:hover {
  transform: scale(1.15) !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.28), 0 0 0 5px rgba(2, 177, 119, 0.22) !important;
}
body.light-mode .roi-slider::-moz-range-thumb:active {
  transform: scale(0.95) !important;
  background: #029463 !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.3), 0 0 0 7px rgba(2, 177, 119, 0.3) !important;
}

.theme-toggle-btn {
  background: var(--card2);
  border: 1px solid var(--border);
  color: var(--text);
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 16px;
}

.theme-toggle-btn:hover {
  border-color: var(--border2);
  background: var(--card);
}

.theme-toggle-btn:hover #theme-toggle-icon {
  transform: rotate(15deg) scale(1.08);
}

#theme-toggle-icon {
  font-size: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

#theme-toggle-icon::before {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="%23F0F4FF" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z"></path></svg>');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

body.light-mode #theme-toggle-icon::before {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="%230F172A" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="4"></circle><path d="M12 2v2M12 20v2M4.93 4.93l1.41 1.41M17.66 17.66l1.41 1.41M2 12h2M20 12h2M6.34 17.66l-1.41 1.41M19.07 4.93l-1.41 1.41"></path></svg>');
}

/* FEATURES TOUR STYLES */
.feat-tabs-nav {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
  padding-bottom: 2px;
}

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

.feat-tab {
  font-family: var(--font-head);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  background: none;
  border: none;
  padding: 14px 18px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  display: flex;
  align-items: center;
  gap: 8px;
}

.feat-tab:hover {
  color: var(--text);
}

.feat-tab.active {
  color: var(--green);
  border-bottom-color: var(--green);
}

.ftab-ico {
  font-size: 15px;
}

.feat-tour-body {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 60px;
  align-items: center;
  min-height: 490px;
}

.feat-tour-text {
  transition: opacity 0.15s ease-out;
}

.feat-tour-mockup {
  transition: opacity 0.15s ease-out;
}

/* Mock Screen Layouts */
.mock-screen {
  background: var(--card);
  border: 1px solid var(--border2);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
}

body.light-mode .mock-screen {
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.08);
}

.mock-screen-bar {
  background: rgba(0, 0, 0, 0.2);
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

body.light-mode .mock-screen-bar {
  background: rgba(15, 23, 42, 0.02);
}

.mock-dots {
  display: flex;
  gap: 5px;
}

.mock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.mock-screen-title {
  font-size: 11px;
  color: var(--dim);
  font-weight: 500;
}

.mock-screen-body {
  padding: 16px;
}

/* Custom UI blocks inside mock screens */
.mock-kpis-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.mock-kpi-card {
  background: var(--card2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 10px;
}

.mock-kpi-label {
  font-size: 8px;
  font-weight: 600;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.mock-kpi-val {
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
}

.mock-kpi-sub {
  font-size: 8.5px;
  color: var(--green);
  margin-top: 2px;
}

.mock-table {
  background: var(--card2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  overflow: hidden;
}

.mock-row {
  display: grid;
  grid-template-columns: 1fr 90px 75px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  align-items: center;
}

.mock-row:last-child {
  border: none;
}

.mock-name {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text);
}

.mock-sub {
  font-size: 9px;
  color: var(--muted);
  margin-top: 1px;
}

.mock-val {
  font-size: 11px;
  color: var(--text);
  font-weight: 500;
}

.mock-tag {
  font-size: 8px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 100px;
  text-align: center;
  display: inline-block;
  text-transform: uppercase;
}

.mock-tag.green {
  background: var(--green-dim);
  color: var(--green);
}

.mock-tag.blue {
  background: var(--blue-dim);
  color: var(--blue);
}

.mock-tag.orange {
  background: var(--orange-dim);
  color: var(--orange);
}

.mock-tag.gold {
  background: var(--gold-dim);
  color: var(--gold);
}

/* Integrations grid styles */
.mock-int-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.mock-int-card {
  background: var(--card2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

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

.mock-int-icon {
  font-size: 16px;
}

.mock-int-name {
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
}

.mock-int-desc {
  font-size: 9px;
  color: var(--dim);
}

.mock-int-badge {
  font-size: 7.5px;
  font-weight: 600;
  padding: 1px 5px;
  border-radius: 100px;
}

.mock-int-badge.active {
  background: var(--green-dim);
  color: var(--green);
}

.mock-int-badge.soon {
  background: rgba(255, 255, 255, 0.05);
  color: var(--dim);
}

/* AI Chat styling */
.mock-ai-wrap {
  background: var(--card2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 12px;
}

.mock-ai-msg {
  background: rgba(79, 142, 247, 0.06);
  border: 1px solid rgba(79, 142, 247, 0.12);
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 8px;
}

.mock-ai-q {
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 4px;
}

.mock-ai-a {
  font-size: 11.5px;
  color: var(--text);
  font-weight: 500;
}

.mock-ai-chips {
  display: flex;
  gap: 4px;
  margin-bottom: 8px;
}

.mock-ai-chip {
  font-size: 8.5px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  padding: 3px 8px;
  border-radius: 100px;
  color: var(--muted);
}

.mock-ai-input {
  display: flex;
  gap: 6px;
}

.mock-ai-text {
  flex: 1;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 10.5px;
  color: var(--dim);
}

.mock-ai-btn {
  background: var(--green);
  color: #0D1117;
  border: none;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Calendar styling */
.mock-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.mock-cal-header {
  background: var(--card2);
  padding: 6px;
  text-align: center;
  font-size: 8px;
  color: var(--dim);
  font-weight: 700;
}

.mock-cal-cell {
  background: var(--card);
  padding: 6px;
  min-height: 48px;
}

.mock-cal-num {
  font-size: 8.5px;
  color: var(--dim);
  margin-bottom: 4px;
}

.mock-cal-ev {
  font-size: 7px;
  padding: 2px 4px;
  border-radius: 3px;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.mock-cal-ev.green {
  background: var(--green-dim);
  color: var(--green);
  border: 1px solid rgba(2, 177, 119, 0.1);
}

.mock-cal-ev.blue {
  background: var(--blue-dim);
  color: var(--blue);
  border: 1px solid rgba(37, 99, 235, 0.1);
}

.mock-cal-ev.orange {
  background: var(--orange-dim);
  color: var(--orange);
  border: 1px solid rgba(234, 88, 12, 0.1);
}

/* SVG Chart Mockup */
.mock-svg-wrap {
  background: var(--card2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 12px;
}

/* Responsive adjustment for features tour */
@media(max-width: 991px) {
  .feat-tour-body {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* INTEGRATIONS SECTION STYLE */
.integrations-sec {
  padding: 100px 5%;
  background: radial-gradient(circle at right center, #0F172A 0%, #070A12 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.int-inner {
  width: 100%;
  max-width: 1100px;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 991px) {
  .int-inner {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}
.int-left {
  display: flex;
  flex-direction: column;
  text-align: left;
}
.int-right {
  position: relative;
  padding: 0;
  width: 100%;
}
.int-showcase-container {
  position: relative;
  height: 600px;
  max-width: 680px;
  margin: 0 auto;
  overflow: hidden;
  mask-image: linear-gradient(to bottom, transparent 0%, #000 15%, #000 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 15%, #000 85%, transparent 100%);
  padding: 10px 0;
}
.int-columns-wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  height: 100%;
}
@media (max-width: 768px) {
  .int-columns-wrap {
    grid-template-columns: repeat(2, 1fr);
  }
  .int-column:nth-child(3),
  .int-column:nth-child(4) {
    display: none;
  }
  .int-showcase-container {
    height: 400px;
  }
}
.int-column {
  position: relative;
  height: 100%;
  overflow: hidden;
}
.int-column-track {
  display: flex;
  flex-direction: column;
  gap: 0;
  will-change: transform;
}
.int-column-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 16px;
  flex-shrink: 0;
}

/* Animations for track vertical movements */
.track-up1 {
  animation: scrollUpTrack 28s linear infinite;
}
.track-up2 {
  animation: scrollUpTrack 22s linear infinite;
}
.track-down1 {
  animation: scrollDownTrack 32s linear infinite;
}
.track-down2 {
  animation: scrollDownTrack 25s linear infinite;
}

@keyframes scrollUpTrack {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}
@keyframes scrollDownTrack {
  0% { transform: translateY(-50%); }
  100% { transform: translateY(0); }
}

/* Pause animation on hover of showcase wrapper */
.int-columns-wrap:hover .int-column-track {
  animation-play-state: paused;
}

/* Card sizes & styles */
.int-card {
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
}

.int-card.h-small {
  height: 110px;
}
.int-card.h-medium {
  height: 135px;
}
.int-card.h-large {
  height: 165px;
}

.int-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.int-card:hover .int-logo {
  transform: scale(1.1);
}

.int-card:hover {
  border-color: rgba(79, 142, 247, 0.4);
  transform: scale(1.04);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 25px rgba(79, 142, 247, 0.25);
  z-index: 10;
}

.int-name {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.2px;
}

/* Floating Pills */
.int-pill {
  position: absolute;
  background: rgba(79, 142, 247, 0.07);
  border: 1px solid rgba(79, 142, 247, 0.2);
  color: #79a6f9;
  font-size: 9.5px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 100px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  pointer-events: none;
  z-index: 5;
  white-space: nowrap;
}
.ip1 { top: 15px; left: 12%; animation: floatY1 8s ease-in-out infinite; }
.ip2 { top: 20%; right: 10px; animation: floatY2 9s ease-in-out infinite; }
.ip3 { bottom: 18%; left: 10px; animation: floatY3 7s ease-in-out infinite; }
.ip4 { bottom: 120px; right: 12%; animation: floatY4 10s ease-in-out infinite; }
.ip5 { top: 48%; left: 10px; animation: floatY5 8.5s ease-in-out infinite; }

/* Light Mode overrides */
body.light-mode .integrations-sec {
  background: radial-gradient(circle at right center, #f1f5f9 0%, #f8fafc 100%);
}
body.light-mode .int-card {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(0, 0, 0, 0.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.02);
}
body.light-mode .int-card .int-name {
  color: #0f172a;
}
body.light-mode .int-card:hover {
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05), 0 0 20px rgba(37, 99, 235, 0.08);
}
body.light-mode .int-pill {
  background: rgba(37, 99, 235, 0.06);
  border-color: rgba(37, 99, 235, 0.15);
  color: #1d4ed8;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

/* Animations */
@keyframes cardFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-5px); }
}
@keyframes floatY1 {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-7px) rotate(1deg); }
}
@keyframes floatY2 {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-11px) rotate(-1deg); }
}
@keyframes floatY3 {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-5px) rotate(0.5deg); }
}
@keyframes floatY4 {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-9px) rotate(-0.5deg); }
}
@keyframes floatY5 {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-6px) rotate(1deg); }
}

/* Premium Navigation Dropdown Styling */
.nav-dropdown-wrapper {
  position: relative;
  display: inline-block;
}

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.arrow-icon {
  font-size: 8px;
  margin-top: 1px;
  transition: transform 0.2s ease;
  display: inline-block;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 250px;
  background: #08111F;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 16px;
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 
              0 0 30px rgba(0, 229, 143, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
              visibility 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
  margin-top: 12px;
}

.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  height: 20px;
  background: transparent;
}

/* Hover opening on desktop (min-width: 992px) */
@media (min-width: 992px) {
  .nav-dropdown-wrapper:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }
  
  .nav-dropdown-wrapper:hover .arrow-icon {
    transform: rotate(180deg);
  }
}

/* Active open class (used for click on mobile/tablet) */
.nav-dropdown-wrapper.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-wrapper.open .arrow-icon {
  transform: rotate(180deg);
}

/* Dropdown inner contents */
.dropdown-label {
  font-size: 10px;
  font-weight: 800;
  color: #00E0A4;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.8;
  margin-bottom: 12px;
  padding: 0 8px;
}

.dropdown-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dropdown-links li a {
  display: block;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted) !important;
  text-decoration: none !important;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.dropdown-links li a:hover {
  color: #FFFFFF !important;
  background: rgba(255, 255, 255, 0.04);
}

/* Light Theme Styling Overrides */
body.light-mode .nav-dropdown-menu {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.04);
}

body.light-mode .dropdown-links li a:hover {
  color: #000000 !important;
  background: rgba(0, 0, 0, 0.04);
}

/* ==========================================
   REDESIGNED BLOG ARTICLES SHARED STYLING
   ========================================== */

/* Related Insights Section */
.related-sec {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 100px 5%;
}
.related-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.related-h {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.5vw, 36px);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 48px;
  text-align: center;
  position: relative;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 991px) {
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .related-grid {
    grid-template-columns: 1fr;
  }
}

/* Premium Recommended Cards */
.post-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none; /* Make card clickable */
}
.post-card:hover {
  transform: translateY(-6px);
  border-color: var(--border2);
  box-shadow: 0 20px 45px rgba(0, 214, 143, 0.06);
}
.post-img-box {
  width: 100%;
  height: 180px;
  overflow: hidden;
  position: relative;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.post-card:hover .post-img-box {
  transform: scale(1.03);
}
.post-img-box::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(13, 17, 23, 0.4));
}
.p-grad-1 { background-image: url('assets/blog/smart_scheduling.png'); }
.p-grad-2 { background-image: url('assets/blog/whatsapp_vs_fsm.png'); }
.p-grad-3 { background-image: url('assets/blog/multi_city_workforce.png'); }
.p-grad-4 { background-image: url('assets/blog/financial_collections.png'); }
.p-grad-5 { background-image: url('assets/blog/multi_branch_operations.png'); }
.p-grad-6 { background-image: url('assets/blog/ai_scheduling_predictions.png'); }
.p-grad-7 { background-image: url('assets/blog/operations_kpi_dashboard.png'); }
.p-grad-8 { background-image: url('assets/blog/amc_contract_revenue.png'); }
.p-grad-9 { background-image: url('assets/blog/productivity_growth.png'); }

.post-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.post-top-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.post-tag {
  font-size: 8.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--green);
  background: var(--green-dim);
  padding: 2px 8px;
  border-radius: 100px;
}
.post-read-time {
  font-size: 11px;
  color: var(--dim);
}
.post-title {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
  margin-bottom: 12px;
  transition: color 0.25s;
}
.post-card:hover .post-title {
  color: var(--green);
}
.post-desc {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 24px;
  flex: 1;
}
.btn-read-more {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
  margin-top: auto;
}
.post-card:hover .btn-read-more {
  color: var(--green);
}

/* Premium Redesigned Newsletter CTA Section */
.newsletter-sec {
  padding: 100px 5% 120px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}
.newsletter-inner {
  background: rgba(22, 29, 43, 0.45);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 80px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.newsletter-inner::before {
  content: '';
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 214, 143, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.newsletter-inner::after {
  content: '';
  position: absolute;
  bottom: -150px;
  right: -100px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(79, 142, 247, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.newsletter-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
  margin: 0 auto;
}
.newsletter-h {
  font-family: var(--font-head);
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 18px;
  line-height: 1.25;
}
.newsletter-desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 40px;
}
.newsletter-form {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  transition: all 0.3s ease;
}
.newsletter-input {
  background: rgba(13, 17, 23, 0.6);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 22px;
  font-family: var(--font-head);
  font-size: 14px;
  color: var(--text);
  width: 260px;
  box-sizing: border-box;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.newsletter-input:focus {
  outline: none;
  border-color: var(--green);
  background: rgba(13, 17, 23, 0.8);
  box-shadow: 0 0 15px rgba(0, 214, 143, 0.15);
}
.btn-subscribe {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  background: var(--green);
  border: none;
  border-radius: 10px;
  padding: 16px 36px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 214, 143, 0.3);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-subscribe:hover {
  box-shadow: 0 12px 28px rgba(0, 214, 143, 0.5);
  transform: translateY(-2px);
}
.btn-subscribe:active {
  transform: translateY(0);
}

/* Background floating elements */
.float-widget {
  position: absolute;
  background: rgba(28, 36, 54, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 10px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.12;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;
  gap: 4px;
  animation: floatWidgetAnim 8s infinite ease-in-out;
}
.fw-1 {
  top: 20%;
  left: 4%;
  width: 140px;
  animation-delay: 0s;
}
.fw-2 {
  bottom: 20%;
  right: 4%;
  width: 160px;
  animation-delay: 4s;
}
@keyframes floatWidgetAnim {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(2deg); }
}

/* Success State Styles */
.newsletter-success {
  display: none;
  position: relative;
  z-index: 2;
  text-align: center;
  animation: scaleInSuccess 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
@keyframes scaleInSuccess {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.success-checkmark {
  width: 60px;
  height: 60px;
  background: var(--green-dim);
  border: 2px solid var(--green);
  color: var(--green);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
}

/* Light Theme Styling Overrides */
body.light-mode .newsletter-inner {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.05);
}
body.light-mode .newsletter-input {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(15, 23, 42, 0.12);
  color: #0f172a;
}
body.light-mode .newsletter-input:focus {
  background: #FFFFFF;
}
body.light-mode .float-widget {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(15, 23, 42, 0.06);
  opacity: 0.25;
}
body.light-mode .post-card {
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.03);
}
body.light-mode .post-card:hover {
  box-shadow: 0 20px 45px rgba(0, 214, 143, 0.06);
}

/* ==========================================================================
   GLOBAL LIGHT MODE COMPLIANCE STYLES (Centralized for entire site)
   ========================================================================== */

/* 1. Global & Nav Overrides */
body.light-mode .btn-ghost-lg:hover,
body.light-mode .btn-sm-ghost:hover {
  color: var(--text);
  border-color: rgba(15, 23, 42, 0.25) !important;
}

body.light-mode nav {
  background: rgba(255, 255, 255, 0.9) !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
}

body.light-mode .nav-links li a {
  color: rgba(15, 23, 42, 0.7) !important;
}

body.light-mode .nav-links li a:hover {
  color: var(--text) !important;
}

body.light-mode .nav-brand {
  color: var(--text) !important;
}

/* 2. GCC Operations Maps & Case Study Maps Overrides */
body.light-mode .cs-hero-map-glow,
body.light-mode .arch-map-glow {
  background: radial-gradient(circle, rgba(2, 177, 119, 0.08) 0%, transparent 65%) !important;
}

body.light-mode .map-country,
body.light-mode .ent-country {
  fill: #F1F5F9 !important;
  stroke: #CBD5E1 !important;
}

body.light-mode .map-country.bg-country,
body.light-mode .ent-country.bg-land {
  fill: #F8FAFC !important;
  stroke: rgba(15, 23, 42, 0.04) !important;
}

body.light-mode .map-country.active-country,
body.light-mode .ent-country.active-land {
  fill: rgba(2, 177, 119, 0.04) !important;
  stroke: rgba(2, 177, 119, 0.35) !important;
}

body.light-mode .map-country.active-country:hover,
body.light-mode .ent-country.active-land:hover {
  fill: rgba(2, 177, 119, 0.08) !important;
  stroke: rgba(2, 177, 119, 0.5) !important;
}

body.light-mode .data-route,
body.light-mode .ent-route,
body.light-mode .route-path.path-base {
  stroke: rgba(148, 163, 184, 0.3) !important;
}

body.light-mode .map-direct-kpi,
body.light-mode .ent-city-lbl,
body.light-mode .kpi-city,
body.light-mode .hub-name {
  fill: #475569 !important;
  color: #475569 !important;
}

body.light-mode .kpi-val,
body.light-mode .ent-metric-val {
  fill: #0F172A !important;
  color: #0F172A !important;
}

body.light-mode .leader-line {
  stroke: #94A3B8 !important;
  stroke-dasharray: 2, 2 !important;
}

/* 3. Chaos Infographics & Connections Overrides */
body.light-mode .chaos-panel {
  background: #FFFFFF !important;
  border: 1px dashed rgba(239, 68, 68, 0.35) !important;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.05) !important;
}

body.light-mode .chaos-lbl {
  color: #0F172A !important;
}

body.light-mode .chaos-sub {
  color: #64748B !important;
}

body.light-mode .chaos-cross-path {
  stroke: rgba(239, 68, 68, 0.25) !important;
}

/* 4. Workflow Pipelines & AI Recommendation Cards */
body.light-mode .wf-pipeline-bar {
  background: #F8FAFC !important;
  border-color: var(--border) !important;
  box-shadow: inset 0 2px 4px rgba(15, 23, 42, 0.02) !important;
}

body.light-mode .wf-step-node {
  color: #475569 !important;
}

body.light-mode .wf-flow-particle {
  background: linear-gradient(90deg, transparent, rgba(2, 177, 119, 0.25), transparent) !important;
}

body.light-mode .wf-ai-card {
  background: #F0FDF4 !important;
  border-color: rgba(2, 177, 119, 0.15) !important;
}

body.light-mode .wf-ai-desc {
  color: #166534 !important;
}

/* 5. Proof Charts & Analytics */
body.light-mode .proof-chart-card {
  background: #FFFFFF !important;
  border-color: var(--border) !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.02) !important;
}

body.light-mode .proof-chart-h {
  color: #64748B !important;
}

body.light-mode .chart-grid-line {
  stroke: rgba(15, 23, 42, 0.05) !important;
}

body.light-mode .bar-chart-columns {
  border-bottom-color: rgba(15, 23, 42, 0.08) !important;
}

/* 6. Implementation Timelines & Testimonials */
body.light-mode .timeline-item-card {
  background: #FFFFFF !important;
  border-color: var(--border) !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.02) !important;
}

body.light-mode .timeline-track-v {
  background: rgba(15, 23, 42, 0.05) !important;
}

body.light-mode .testimonial-box-cs {
  background: linear-gradient(135deg, #F8FAFC, #FFFFFF) !important;
  border-color: var(--border) !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04) !important;
}

body.light-mode .quote-mark {
  color: rgba(2, 177, 119, 0.06) !important;
}

/* 7. Real-time Dispatch Visibility elements */
body.light-mode .dispatch-map-panel {
  background: #FFFFFF !important;
  border-color: var(--border) !important;
}

body.light-mode .map-grid-overlay {
  background-image: radial-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px) !important;
}

body.light-mode .map-hub-node {
  background: #FFFFFF !important;
  border-color: #CBD5E1 !important;
}

body.light-mode .map-hub-node::after {
  color: #64748B !important;
}

body.light-mode .cust-marker .cust-label {
  background: #FFFFFF !important;
  border-color: var(--border) !important;
  color: #0F172A !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08) !important;
}

/* 8. Global Form Controls (Inputs, Selects, Textareas) */
body.light-mode input:not([type=range]),
body.light-mode select,
body.light-mode textarea {
  background: #FFFFFF !important;
  color: #0F172A !important;
  border-color: rgba(15, 23, 42, 0.12) !important;
}
body.light-mode input:not([type=range]):focus,
body.light-mode select:focus,
body.light-mode textarea:focus {
  border-color: var(--blue) !important;
}

body.light-mode .lib-select {
  background-color: #FFFFFF !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%230F172A' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  background-size: 14px !important;
  color: #0F172A !important;
  border-color: rgba(15, 23, 42, 0.12) !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  padding-right: 40px !important;
}

body.light-mode .lib-select:hover,
body.light-mode .lib-search-input:hover {
  border-color: rgba(15, 23, 42, 0.28) !important;
}

body.light-mode .preview-drawer {
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: -10px 0 40px rgba(15, 23, 42, 0.08) !important;
}

body.light-mode .drawer-header {
  border-bottom-color: rgba(15, 23, 42, 0.08) !important;
}

/* 9. About Page Layered Visual Cards Overrides */
body.light-mode .visual-layer {
  background: rgba(255, 255, 255, 0.8) !important;
  border-color: rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 15px 45px rgba(15, 23, 42, 0.06) !important;
}
body.light-mode .visual-layer:hover {
  background: rgba(255, 255, 255, 0.95) !important;
  border-color: rgba(15, 23, 42, 0.15) !important;
}
body.light-mode .scene-glow-bg {
  background: radial-gradient(circle, rgba(2, 177, 119, 0.08) 0%, rgba(37, 99, 235, 0.04) 50%, transparent 75%) !important;
}
body.light-mode .layer-header {
  border-bottom-color: rgba(15, 23, 42, 0.05) !important;
}
body.light-mode .task-blue {
  background: #EFF6FF !important;
  border-color: rgba(37, 99, 235, 0.15) !important;
}
body.light-mode .task-green {
  background: #F0FDF4 !important;
  border-color: rgba(2, 177, 119, 0.15) !important;
}
body.light-mode .wv-step {
  border-bottom-color: rgba(15, 23, 42, 0.05) !important;
}
body.light-mode .wv-header {
  background: #F8FAFC !important;
  border-bottom-color: rgba(15, 23, 42, 0.05) !important;
}
body.light-mode .wv-step-num {
  background: rgba(15, 23, 42, 0.04) !important;
  color: #0F172A !important;
}

/* 10. Managing Multiple Cities Landmass Maps & Floating Panels */
body.light-mode .map-landmass {
  fill: rgba(2, 177, 119, 0.04) !important;
  stroke: rgba(2, 177, 119, 0.15) !important;
}
body.light-mode .map-landmass.blue-zone {
  fill: rgba(37, 99, 235, 0.04) !important;
  stroke: rgba(37, 99, 235, 0.15) !important;
}
body.light-mode .floating-panel {
  background: rgba(255, 255, 255, 0.95) !important;
  border-color: var(--border) !important;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06) !important;
}

/* 11. AI Scheduling Dashboard Container */
body.light-mode .ai-center-dashboard {
  background: rgba(248, 250, 252, 0.55) !important;
  border-color: var(--border) !important;
}

/* 12. Upgraded Dashboard & Floating Cards Styling */
.float-card {
  position: absolute;
  background: var(--card2);
  border: 1px solid var(--border2);
  border-radius: 12px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3);
  z-index: 5;
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.fc-badge {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

.fc-badge.fc-green {
  background: var(--green-dim);
  color: var(--green);
}

.fc-badge.fc-orange {
  background: var(--orange-dim);
  color: var(--orange);
}

.fc-badge.fc-blue {
  background: var(--blue-dim);
  color: var(--blue);
}

.fc-content {
  display: flex;
  flex-direction: column;
}

.fc-title {
  font-size: 9.5px;
  color: var(--dim);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.fc-value {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  margin-top: 1px;
}

/* Float Card Positions */
.fc-1 {
  top: -20px;
  right: -32px;
}

.fc-2 {
  top: 100px;
  left: -70px;
}

.fc-3 {
  bottom: 60px;
  left: -60px;
}

.fc-4 {
  bottom: -24px;
  right: -24px;
}

/* Animations */
@keyframes floatY1 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes floatY2 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}
@keyframes floatY3 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes floatY4 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

.fc-1 { animation: floatY1 5s ease-in-out infinite; }
.fc-2 { animation: floatY2 6s ease-in-out infinite; }
.fc-3 { animation: floatY3 5.5s ease-in-out infinite; }
.fc-4 { animation: floatY4 4.8s ease-in-out infinite; }

/* Dashboard Widgets */
.db-timeline-view {
  display: flex;
  flex-direction: column;
}

.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.timeline-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  animation: slideTimeline 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.timeline-item:last-child {
  border-bottom: none;
}

.timeline-time {
  font-size: 9px;
  font-weight: 700;
  color: var(--dim);
  width: 30px;
  flex-shrink: 0;
}

.timeline-bar {
  width: 4px;
  height: 24px;
  border-radius: 2px;
  flex-shrink: 0;
}

.tbar-completed { background: var(--green); }
.tbar-enroute { background: var(--orange); }
.tbar-onjob { background: var(--blue); }
.tbar-pending { background: rgba(255, 255, 255, 0.15); }

.timeline-details {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.timeline-job {
  font-size: 11px;
  font-weight: 600;
  color: var(--text);
}

.timeline-meta {
  font-size: 9.5px;
  color: var(--muted);
}

.db-right-panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.db-team-mini {
  background: var(--card2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
}

.team-grid-mini {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.team-dot-item {
  font-size: 10.5px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.td-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
  animation: dotPulse 2s infinite ease-in-out;
}

.dot-available { background: var(--green); }
.dot-onjob { background: var(--blue); }
.dot-enroute { background: var(--orange); }

.db-activity-feed {
  background: var(--card2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.feed-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  overflow: hidden;
}

.feed-log-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  font-size: 10.5px;
  animation: slideTimeline 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.feed-log-item:last-child {
  border-bottom: none;
}

.feed-log-ico {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  flex-shrink: 0;
}

.feed-log-txt {
  color: var(--text);
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.feed-log-time {
  font-size: 9px;
  color: var(--dim);
}

/* Keyframes */
@keyframes slideTimeline {
  from { transform: translateY(6px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes dotPulse {
  0%, 100% { opacity: 0.6; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.1); }
}

@keyframes kpiFlash {
  0%, 100% { transform: scale(1); }
  30% { transform: scale(1.03); filter: brightness(1.2); }
}

.kpi-flash-active {
  animation: kpiFlash 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light Mode Overrides */
body.light-mode .tbar-pending {
  background: rgba(15, 23, 42, 0.15) !important;
}

body.light-mode .float-card {
  background: var(--bg2) !important;
  border-color: rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.08) !important;
}

body.light-mode .db-shell {
  background: var(--bg2) !important;
  border-color: rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 32px 80px rgba(15, 23, 42, 0.08) !important, 0 0 0 1px rgba(15, 23, 42, 0.02) !important;
}

body.light-mode .db-bar {
  background: var(--bg3) !important;
  border-bottom-color: rgba(15, 23, 42, 0.06) !important;
}

body.light-mode .kpi {
  background: var(--bg3) !important;
  border-color: rgba(15, 23, 42, 0.06) !important;
}

body.light-mode .db-jobs-panel,
body.light-mode .db-team-mini,
body.light-mode .db-activity-feed {
  background: var(--bg3) !important;
  border-color: rgba(15, 23, 42, 0.06) !important;
}

/* Responsiveness overrides */
@media(max-width: 1023px) {
  .fc-1 { right: -10px; top: -20px; }
  .fc-2 { left: -20px; top: 110px; }
  .fc-3 { left: -15px; bottom: 80px; }
  .fc-4 { right: -10px; bottom: -20px; }
}

@media(max-width: 767px) {
  .mockup-wrap {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
  }
  .db-shell {
    grid-column: span 2 !important;
    order: -1 !important;
  }
  .float-card {
    position: relative !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    animation: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media(max-width: 480px) {
  .mockup-wrap {
    grid-template-columns: 1fr !important;
  }
  .db-shell {
    grid-column: span 1 !important;
  }
}

/* Mobile Navigation Toggle Button */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 22px;
  height: 16px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 210;
  margin-left: 10px;
}

.mobile-menu-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--text);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: left center;
}

.mobile-menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(2px, -1px);
}

.mobile-menu-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.mobile-menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(2px, 1px);
}

/* Mobile Navigation Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  z-index: 199;
  background: rgba(13, 17, 23, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  justify-content: flex-end;
  box-sizing: border-box;
}

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

.mobile-nav-content {
  width: 280px;
  height: 100%;
  background: var(--bg2);
  border-left: 1px solid var(--border);
  padding: 100px 32px 40px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-nav-links a {
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s ease;
  display: block;
}

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

.mobile-cta-li {
  margin-top: 16px;
}

.mobile-cta {
  display: block;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

/* Prevent body scroll when menu is active */
body.no-scroll {
  overflow: hidden !important;
  height: 100vh !important;
}

/* Light mode overrides */
body.light-mode .mobile-nav-drawer {
  background: rgba(255, 255, 255, 0.95);
}

body.light-mode .mobile-nav-content {
  background: #ffffff;
  border-left-color: rgba(15, 23, 42, 0.08);
}

/* Meeting Booking Modal Styles */
.demo-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(13, 17, 23, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: min(20px, 2vw);
  box-sizing: border-box;
}

body.light-mode .demo-modal-overlay {
  background: rgba(15, 23, 42, 0.45);
}

.demo-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.demo-modal-wrapper {
  position: relative;
  width: 82vw;
  max-width: 1400px;
  height: 88vh;
  display: flex;
  flex-direction: column;
  transform: scale(0.95);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

.demo-modal-overlay.active .demo-modal-wrapper {
  transform: scale(1);
  opacity: 1;
}

.demo-modal-container {
  background: transparent !important;
  border: none !important;
  border-radius: 24px;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4) !important;
  overflow: hidden;
  box-sizing: border-box;
  padding: 0 !important;
}

.demo-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10100;
  transition: all 0.2s ease;
  padding: 0;
  outline: none;
}

.demo-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  transform: scale(1.05);
}

.demo-modal-close:focus {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.4);
}

.demo-modal-close svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.5px;
  stroke: currentColor;
}

.demo-modal-body {
  width: 100%;
  height: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-sizing: border-box;
  margin-top: 0;
}

.demo-modal-iframe {
  width: 100%;
  height: 100%;
  border: none !important;
  flex: 1;
  background: transparent !important;
  display: block;
  border-radius: 24px;
}

body.demo-modal-open {
  overflow: hidden !important;
}

/* Responsive Overrides */
@media (max-width: 767px) {
  .demo-modal-overlay {
    padding: min(10px, 2vw);
  }
  .demo-modal-wrapper {
    width: 94vw;
    height: 88vh;
  }
  .demo-modal-container {
    border-radius: 24px;
    padding: 0;
  }
  .demo-modal-body {
    margin-top: 0;
  }
  .demo-modal-close {
    top: -36px;
    right: 0;
    width: 30px;
    height: 30px;
  }
  .demo-modal-close svg {
    width: 14px;
    height: 14px;
  }
}




