/* ============================================================
   Vega Command — Homepage Styles
   Bright, futuristic SaaS — white/light gray bg, red/intelligence/orange/blue accents
   ============================================================ */

/* ── Vega Command supplied-asset hero ──────────────────────── */
.hero { background: #071d49; min-height: auto; color: #ffffff; }
.hero::before, .hero::after { display: none; }
.hero__canvas, .hero__grid, .hero__orb, .hero__preview-wrapper--legacy { display: none; }
.hero__inner { grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: clamp(2rem, 5vw, 5rem); padding-block: clamp(7rem, 12vw, 10rem) clamp(5rem, 9vw, 8rem); }
.hero__copy { max-width: 610px; }
.hero__eyebrow { color: #59a9ff; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.18em; margin-bottom: 1.5rem; }
.hero__h1 { color: #ffffff; font-size: clamp(2.45rem, 4.7vw, 4.7rem); line-height: 1.04; letter-spacing: -0.045em; }
.hero__h1-accent { color: #ff1b1b; }
.hero__sub { color: rgba(255,255,255,0.78); max-width: 58ch; }
.hero__supporting-line { color: rgba(255,255,255,0.6); font-size: 0.88rem; margin-top: 0.25rem; }
.hero__preview-wrapper--supplied { display: block; width: 100%; max-width: 760px; }
.hero__product-image { display: block; width: 100%; height: auto; border: 1px solid rgba(255,255,255,0.22); border-radius: 14px; box-shadow: 0 26px 70px rgba(0,0,0,0.35); }

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; padding-top: 6rem; }
  .hero__copy { max-width: 680px; }
  .hero__preview { justify-content: flex-start; }
  .hero__preview-wrapper--supplied { max-width: 760px; }
}
@media (max-width: 520px) {
  .hero__inner { padding-block: 6rem 4rem; }
  .hero__h1 { font-size: clamp(2.25rem, 11vw, 3.5rem); }
  .hero__ctas { align-items: stretch; flex-direction: column; }
  .hero__ctas .btn { justify-content: center; width: 100%; }
  .hero__product-image { border-radius: 9px; }
}

/* ── Utility Buttons ────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all var(--trans-base);
  white-space: nowrap;
}
.btn--red {
  background: var(--red);
  color: #fff;
  box-shadow: 0 4px 16px rgba(217,48,37,0.3);
}
.btn--red:hover { background: #b82820; box-shadow: 0 6px 20px rgba(217,48,37,0.4); transform: translateY(-1px); }
.btn--intelligence {
  background: var(--intelligence);
  color: #fff;
}
.btn--intelligence:hover { background: var(--primary-hover); }
.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-strong);
}
.btn--ghost:hover { background: var(--bg-2); }
.btn--ghost-dark {
  background: rgba(0,0,0,0.05);
  color: var(--text);
  border: 1.5px solid var(--border-strong);
}
.btn--ghost-dark:hover { background: rgba(0,0,0,0.09); }
.btn--white {
  background: #fff;
  color: var(--red);
  border: 2px solid rgba(255,255,255,0.3);
}
.btn--white:hover { background: rgba(255,255,255,0.9); }
.btn--lg { padding: 0.875rem 1.75rem; font-size: 1rem; border-radius: var(--radius-lg); }
.btn--xl { padding: 1rem 2rem; font-size: 1.0625rem; border-radius: var(--radius-lg); }

/* ── Container ──────────────────────────────────────────────── */
.container--wide {
  max-width: var(--w-full);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 3rem);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: #ffffff;
  overflow: hidden;
  padding-top: 72px; /* nav height */
  display: flex;
  align-items: flex-start;
}

/* Hero image background — bottom-left corner only, clearly behind content */
.hero::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 55%;
  height: 55%;
  background: url('../assets/hero-bg.jpg') center / cover no-repeat;
  z-index: 0;
  pointer-events: none;
  /* Fade right edge and top edge so it blends seamlessly into white */
  -webkit-mask-image: linear-gradient(
    to top,
    black 0%,
    black 35%,
    transparent 80%
  );
  mask-image: linear-gradient(
    to top,
    black 0%,
    black 35%,
    transparent 80%
  );
  opacity: 0.9;
}

/* White protection layer: covers left-side content area fully,
   fades only at very bottom to reveal wave image below content. */
.hero::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 50%;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    #ffffff 0%,
    #ffffff 80%,
    rgba(255,255,255,0.7) 92%,
    transparent 100%
  );
  z-index: 1;
  pointer-events: none;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;  /* canvas disabled — image provides the background */
  z-index: 2;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37,99,235,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 2;
  opacity: 0.5;
}

.hero__inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(1.5rem, 3vw, 4rem);
  align-items: center;
  padding-top: clamp(1rem, 2vw, 1.75rem);
  padding-bottom: clamp(5rem, 10vw, 9rem);
  width: 100%;
}

/* ── Hero Copy ────────────────────────── */
.hero__copy {
  position: relative;
  /* Clean white area for copy — no frosted glass; just natural white surface */
  padding: 0;
  margin-left: 0;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, rgba(26,115,232,0.1), rgba(37,99,235,0.1));
  border: 1px solid rgba(26,115,232,0.2);
  color: #1a73e8;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
}

.hero__h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--text);
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
}

.hero__h1-accent {
  color: var(--red);
  display: block;
}

.hero__sub {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 480px;
  margin: 0 0 1.5rem;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--intelligence);
}
.hero__trust-item svg { color: var(--intelligence); flex-shrink: 0; }

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-bottom: 2.5rem;
}

.hero__trusted {
  padding-top: 1.5rem;
  border-top: 1px solid var(--divider);
}

.hero__trusted-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  display: block;
  margin-bottom: 1rem;
}

.hero__trusted-icons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hero__trusted-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-align: center;
}
.hero__trusted-icon svg { color: var(--text-muted); }
.hero__trusted-icon span {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.3;
}

/* ── Hero Preview ─────────────────────── */
.hero__preview {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__preview-wrapper {
  position: relative;
  width: 100%;
  max-width: 720px;
}

.hero__orb {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 85%;
  height: 85%;
  background: radial-gradient(ellipse,
    rgba(232,114,30,0.12) 0%,
    rgba(37,99,235,0.08) 35%,
    rgba(26,115,232,0.06) 65%,
    transparent 100%);
  filter: blur(40px);
  pointer-events: none;
  animation: orbPulse 6s ease-in-out infinite;
  border-radius: 50%;
}

@keyframes orbPulse {
  0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
}

/* Floating pills */
.hero__float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 0.45rem 0.875rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-2);
  box-shadow: var(--shadow-md);
  z-index: 5;
  white-space: nowrap;
}

.hero__float--1 {
  top: -16px;
  left: -20px;
  animation: floatA 4s ease-in-out infinite;
}
.hero__float--2 {
  bottom: 60px;
  left: -30px;
  animation: floatB 4.5s ease-in-out infinite 0.5s;
}
.hero__float--3 {
  top: 30px;
  right: -20px;
  animation: floatA 5s ease-in-out infinite 1s;
}

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

/* ============================================================
   DASHBOARD PREVIEW
   ============================================================ */
.dashboard {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.09);
  box-shadow:
    0 2px 4px rgba(0,0,0,0.04),
    0 8px 32px rgba(0,0,0,0.08),
    0 32px 80px rgba(0,0,0,0.10);
  overflow: hidden;
  font-family: var(--font-body);
  position: relative;
  z-index: 2;
}

/* Top chrome bar */
.dash__topbar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 8px 12px;
  background: #f8f9fa;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}

.dash__brand {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}
.dash__brand-name {
  font-size: 0.75rem;
  font-weight: 800;
  color: #111;
  letter-spacing: -0.01em;
}
.dash__brand-sub {
  font-size: 0.5rem;
  font-weight: 600;
  color: #888;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dash__greeting {
  flex: 1;
  min-width: 0;
  padding: 0 0.5rem;
}
.dash__greeting-text {
  font-size: 0.72rem;
  font-weight: 700;
  color: #111;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dash__greeting-sub {
  font-size: 0.62rem;
  color: #888;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dash__topbar-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.dash__date-pill {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  padding: 0.2rem 0.5rem;
  font-size: 0.6rem;
  color: #555;
  font-weight: 600;
}
.dash__notif {
  position: relative;
  width: 22px;
  height: 22px;
  background: white;
  border-radius: 50%;
  border: 1px solid #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
}
.dash__notif-dot {
  position: absolute;
  top: 2px; right: 2px;
  width: 6px; height: 6px;
  background: var(--red);
  border-radius: 50%;
  border: 1.5px solid white;
}
.dash__avatar {
  width: 24px; height: 24px;
  background: var(--red);
  color: white;
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Dashboard body layout */
.dash__body {
  display: grid;
  grid-template-columns: 130px 1fr;
  min-height: 420px;
}

/* Sidebar */
.dash__sidebar {
  background: #fafafa;
  border-right: 1px solid rgba(0,0,0,0.06);
  padding: 6px 0;
  overflow: hidden;
}

.dash__nav {
  display: flex;
  flex-direction: column;
}
.dash__nav-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 5px 10px;
  font-size: 0.62rem;
  font-weight: 500;
  color: #666;
  cursor: pointer;
  border-radius: 0;
  transition: background 0.15s;
  white-space: nowrap;
}
.dash__nav-item:hover { background: #f0f0f0; color: #333; }
.dash__nav-item--active {
  background: var(--intelligence-subtle) !important;
  color: var(--intelligence) !important;
  font-weight: 700;
  border-left: 2.5px solid var(--intelligence);
}
.dash__nav-item svg { flex-shrink: 0; }

/* Main dashboard */
.dash__main {
  padding: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* KPI row */
.dash__kpis {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 5px;
}

.dash__kpi {
  background: white;
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 6px;
  padding: 6px 7px;
}
.dash__kpi-label {
  font-size: 0.55rem;
  font-weight: 600;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}
.dash__kpi-value {
  font-size: 0.95rem;
  font-weight: 800;
  color: #111;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.dash__kpi-delta {
  font-size: 0.55rem;
  color: #888;
  margin-top: 2px;
}
.dash__kpi-delta--up { color: #2563EB; font-weight: 600; }
.dash__kpi-delta--warn { color: #C22222; font-weight: 600; }

/* Score ring KPI */
.dash__kpi--score {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4px 6px;
}
.dash__score-ring {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dash__score-val {
  position: absolute;
  font-size: 0.78rem;
  font-weight: 800;
  color: #111;
}
.dash__score-label {
  font-size: 0.5rem;
  color: #2563EB;
  font-weight: 700;
  margin-top: 1px;
}
.dash__score-arc {
  transition: stroke-dashoffset 1.5s cubic-bezier(0.4,0,0.2,1);
}

/* Mid row */
.dash__mid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.dash__ai-panel,
.dash__revenue-panel {
  background: white;
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 6px;
  padding: 7px 8px;
}

.dash__panel-title {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.62rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 6px;
}
.dash__panel-badge {
  margin-left: auto;
  font-size: 0.55rem;
  color: #888;
  font-weight: 500;
}

/* AI donut */
.dash__ai-score-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.dash__ai-donut-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.dash__ai-donut-val {
  position: absolute;
  font-size: 0.72rem;
  font-weight: 800;
  color: #111;
  text-align: center;
  line-height: 1;
}
.dash__ai-donut-val span { font-size: 0.45rem; color: #888; }
.dash__ai-label {
  font-size: 0.58rem;
  color: #888;
  line-height: 1.4;
}
.dash__ai-label span { font-weight: 700; color: #2563EB; font-size: 0.65rem; }

/* AI recs */
.dash__ai-recs {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dash__ai-rec {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 3px 0;
}
.dash__ai-rec-icon {
  width: 18px; height: 18px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.dash__ai-rec-text {
  font-size: 0.58rem;
  color: #333;
  flex: 1;
  line-height: 1.3;
}
.dash__ai-rec-text span {
  display: block;
  font-size: 0.52rem;
  color: #888;
}
.dash__ai-action {
  font-size: 0.52rem;
  font-weight: 700;
  color: #1a73e8;
  white-space: nowrap;
  cursor: pointer;
}
.dash__ai-action:hover { text-decoration: underline; }

.dash__view-all {
  font-size: 0.56rem;
  color: #1a73e8;
  font-weight: 600;
  cursor: pointer;
  margin-top: 5px;
}
.dash__view-all:hover { text-decoration: underline; }

/* Revenue panel */
.dash__revenue-big {
  font-size: 1.2rem;
  font-weight: 900;
  color: #111;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 2px;
}
.dash__revenue-delta {
  font-size: 0.58rem;
  color: #2563EB;
  font-weight: 700;
  margin-bottom: 6px;
}
.dash__chart-wrap {
  height: 72px;
  position: relative;
}

/* Bottom row */
.dash__bottom {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
}

.dash__appt-panel,
.dash__facility-panel,
.dash__perf-panel,
.dash__insights-panel {
  background: white;
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 6px;
  padding: 7px 8px;
}

/* Appointments */
.dash__appt-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dash__appt {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px 0;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.dash__appt:last-child { border-bottom: none; }
.dash__appt-time {
  font-size: 0.55rem;
  color: #888;
  font-weight: 600;
  flex-shrink: 0;
  width: 34px;
}
.dash__appt-name {
  font-size: 0.6rem;
  font-weight: 700;
  color: #111;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dash__appt-type {
  font-size: 0.52rem;
  color: #888;
}
.dash__appt-badge {
  font-size: 0.48rem;
  font-weight: 700;
  padding: 1.5px 4px;
  border-radius: 3px;
  flex-shrink: 0;
}
.dash__appt-badge--confirmed { background: #EFF6FF; color: #2563EB; }
.dash__appt-badge--showed { background: #e8f1fd; color: #1a73e8; }

/* Facility */
.dash__facility-stats {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.dash__fac-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 0;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.dash__fac-row:last-child { border-bottom: none; }
.dash__fac-num {
  font-size: 0.72rem;
  font-weight: 800;
  color: #111;
}
.dash__fac-label {
  font-size: 0.55rem;
  color: #888;
}

/* Performance */
.dash__perf-stats {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.dash__perf-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dash__perf-label {
  font-size: 0.55rem;
  color: #888;
}
.dash__perf-val {
  font-size: 0.78rem;
  font-weight: 800;
  color: #111;
}
.dash__perf-delta {
  font-size: 0.52rem;
  font-weight: 700;
}

/* AI Insights */
.dash__insight-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.dash__insight {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  padding: 3px 0;
}
.dash__insight svg { flex-shrink: 0; margin-top: 1px; }
.dash__insight-title {
  font-size: 0.58rem;
  font-weight: 700;
  color: #333;
}
.dash__insight-sub {
  font-size: 0.52rem;
  color: #888;
}
.dash__donut-arc {
  transition: stroke-dashoffset 1.5s cubic-bezier(0.4,0,0.2,1);
}

/* ============================================================
   VERTICALS STRIP
   ============================================================ */
.verticals-strip {
  background: white;
  border-top: 1px solid rgba(0,0,0,0.06);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  overflow: hidden;
  padding: 0;
}

.verticals-strip__inner {
  overflow: hidden;
  position: relative;
}
.verticals-strip__inner::before,
.verticals-strip__inner::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.verticals-strip__inner::before {
  left: 0;
  background: linear-gradient(90deg, white, transparent);
}
.verticals-strip__inner::after {
  right: 0;
  background: linear-gradient(-90deg, white, transparent);
}

.verticals-strip__track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: stripScroll 28s linear infinite;
  padding: 0.875rem 0;
}

.verticals-strip__track span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1.75rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  border-right: 1px solid var(--divider);
  white-space: nowrap;
}
.verticals-strip__track span svg {
  color: var(--text-faint);
  flex-shrink: 0;
}
.verticals-strip__track span:last-child { border-right: none; }

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

/* ============================================================
   EVERYTHING / MODULES SECTION
   ============================================================ */
.everything {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--bg-2);
}

.everything__header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.everything__h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

.everything__powered {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #1a73e8;
  background: rgba(26,115,232,0.06);
  padding: 0.4rem 0.875rem;
  border-radius: var(--radius-full);
}

/* Modules grid */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.module-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--trans-base), box-shadow var(--trans-base);
  position: relative;
  overflow: hidden;
}
.module-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
.module-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.module-card--intelligence::before { background: linear-gradient(90deg, var(--intelligence), var(--intelligence-light)); }
.module-card--blue::before { background: linear-gradient(90deg, var(--blue), #4a9eff); }
.module-card--orange::before { background: linear-gradient(90deg, var(--orange), var(--orange-light)); }
.module-card--red::before { background: linear-gradient(90deg, var(--red), #f2665c); }
.module-card--purple::before { background: linear-gradient(90deg, #7c3aed, #a78bfa); }
.module-card--teal::before { background: linear-gradient(90deg, #0891b2, #38bdf8); }

.module-card__icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.module-card--intelligence .module-card__icon { background: var(--intelligence-subtle); color: var(--intelligence); }
.module-card--blue .module-card__icon { background: var(--blue-subtle); color: var(--blue); }
.module-card--orange .module-card__icon { background: var(--orange-subtle); color: var(--orange); }
.module-card--red .module-card__icon { background: var(--red-subtle); color: var(--red); }
.module-card--purple .module-card__icon { background: #f3e8ff; color: #7c3aed; }
.module-card--teal .module-card__icon { background: #ecfeff; color: #0891b2; }

.module-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.5rem;
}
.module-card p {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 1.25rem;
}

.module-card__stat {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.625rem 0.875rem;
  background: var(--bg-2);
  border-radius: var(--radius-md);
}
.module-card__stat-val {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
}
.module-card__stat-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ============================================================
   AI SPOTLIGHT
   ============================================================ */
.ai-spotlight {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: white;
}

.ai-spotlight__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.ai-spotlight__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(26,115,232,0.08);
  border: 1px solid rgba(26,115,232,0.15);
  color: #1a73e8;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.ai-spotlight__copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.75rem);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 1rem;
}

.ai-spotlight__copy p {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0 0 1.5rem;
  max-width: 480px;
}

.ai-spotlight__list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.ai-spotlight__list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-2);
}

/* AI panel card */
.ai-spotlight__panel {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.ai-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  background: #fafafa;
}

.ai-panel-title {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text);
}

.ai-panel-score {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}
.ai-panel-score-ring {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ai-panel-score-ring span {
  position: absolute;
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--text);
}
.ai-panel-score-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}
.ai-panel-score-sub {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--intelligence);
}

.ai-panel-recs {
  padding: 0.75rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ai-panel-rec {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--divider);
}
.ai-panel-rec:last-child { border-bottom: none; }

.ai-panel-rec-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.ai-panel-rec-title {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
  flex: 1;
}
.ai-panel-rec-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 1px;
}
.ai-panel-rec-btn {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--blue);
  background: var(--blue-subtle);
  border: none;
  padding: 0.3rem 0.625rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--trans-fast);
}
.ai-panel-rec-btn:hover { background: rgba(26,115,232,0.15); }

.ai-panel-footer {
  padding: 0.75rem 1.25rem;
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--blue);
  cursor: pointer;
  border-top: 1px solid var(--divider);
  background: #fafafa;
}
.ai-panel-footer:hover { background: var(--blue-subtle); }

/* ============================================================
   METRICS SECTION
   ============================================================ */
.metrics {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: var(--charcoal);
}

.metrics__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.metrics__item {
  text-align: center;
  padding: 2rem 1rem;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.metrics__item:last-child { border-right: none; }

.metrics__val {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 900;
  color: white;
  letter-spacing: -0.03em;
  margin-bottom: 0.375rem;
}

.metrics__label {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--bg-2);
}

.testimonials__header {
  text-align: center;
  margin-bottom: 3rem;
}
.testimonials__header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}
.testimonials__header p {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0;
}

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

.testimonial-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--trans-base), box-shadow var(--trans-base);
}
.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.testimonial-card__stars {
  font-size: 0.9rem;
  color: #f59e0b;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.testimonial-card blockquote {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text-2);
  line-height: 1.65;
  margin: 0 0 1.25rem;
  font-style: normal;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-card__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  color: white;
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonial-card__name {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text);
}
.testimonial-card__role {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: linear-gradient(135deg, #192e66 0%, #0b173a 100%);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(66,133,244,0.12) 0%, transparent 100%);
  pointer-events: none;
}

.cta-section__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.cta-section__badge {
  display: inline-flex;
  align-items: center;
  background: rgba(232,114,30,0.15);
  border: 1px solid rgba(232,114,30,0.3);
  color: var(--orange-light);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
}

.cta-section__h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  color: white;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 1rem;
}

.cta-section__sub {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
  max-width: 640px;
  margin: 0 auto 2rem;
}

.cta-section__btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.cta-section__note {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.6);
  margin: 0;
}

.cta-section__note strong {
  color: var(--red-light);
  font-weight: 700;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #192e66;
  padding: 3.5rem 0 1.5rem;
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 1.5rem;
}

.footer__brand .nav__brand { color: white; }
.footer__brand .nav__brand-crm { color: var(--intelligence-light); }
.footer__brand .nav__sub { color: rgba(255,255,255,0.4); }

.footer__tagline {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  margin: 0.875rem 0 0.75rem;
  max-width: 300px;
}

.footer__contact {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.45);
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.footer__col h4 {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 1rem;
}
.footer__col a {
  display: block;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: color var(--trans-fast);
}
.footer__col a:hover { color: rgba(255,255,255,0.85); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.footer__bottom p {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.3);
  margin: 0;
}
.footer__bottom-links {
  display: flex;
  gap: 1.25rem;
}
.footer__bottom-links a {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  transition: color var(--trans-fast);
}
.footer__bottom-links a:hover { color: rgba(255,255,255,0.7); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero__preview {
    order: -1;
  }
  .hero__preview-wrapper {
    max-width: 640px;
    margin: 0 auto;
  }
  .dash__body {
    grid-template-columns: 100px 1fr;
  }
  .dash__kpis {
    grid-template-columns: repeat(3, 1fr);
  }
  .dash__bottom {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: 70px;
  }
  .hero__float { display: none; }
  .hero__orb { display: none; }

  .dash__topbar { flex-wrap: wrap; gap: 0.4rem; }
  .dash__body { grid-template-columns: 1fr; }
  .dash__sidebar { display: none; }
  .dash__kpis { grid-template-columns: repeat(2, 1fr); }
  .dash__mid { grid-template-columns: 1fr; }
  .dash__bottom { grid-template-columns: 1fr 1fr; }

  .modules-grid { grid-template-columns: 1fr 1fr; }
  .ai-spotlight__inner { grid-template-columns: 1fr; }
  .metrics__grid { grid-template-columns: repeat(2, 1fr); }
  .metrics__item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .testimonials__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__links { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { width: 100%; justify-content: center; }
  .modules-grid { grid-template-columns: 1fr; }
  .dash__bottom { grid-template-columns: 1fr; }
  .cta-section__btns { flex-direction: column; }
  .cta-section__btns .btn { width: 100%; justify-content: center; }
  .footer__links { grid-template-columns: 1fr; }
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Vega Command hero hierarchy */
.hero__inner { grid-template-areas: "copy preview" "capabilities preview"; align-items: center; }
.hero__copy { grid-area: copy; }
.hero__preview { grid-area: preview; }
.hero__capabilities { grid-area: capabilities; max-width: 58ch; margin: 1.25rem 0 0; color: rgba(255,255,255,0.72); font-size: 0.82rem; font-weight: 600; line-height: 1.7; }
.hero__capabilities span { color: #59a9ff; padding-inline: 0.1rem; }
.hero__preview-wrapper--supplied { max-width: 850px; }
.hero__supporting-line { margin-top: 1rem; }
@media (max-width: 900px) {
  .hero__inner { grid-template-areas: "copy" "preview" "capabilities"; gap: 2.5rem; }
  .hero__preview { order: initial; }
  .hero__capabilities { margin-top: -1.25rem; }
}
@media (max-width: 520px) {
  .hero__capabilities { font-size: 0.76rem; }
}

/* Remove all retired hero decoration layers. The supplied product image is the only hero visual. */
.hero::before,
.hero::after,
.hero__grid,
.hero__canvas,
.hero__orb,
.hero__preview-wrapper--legacy { display: none !important; background: none !important; }
