/* ========================================
   GLOBAL SECTION POLISH
   ======================================== */

/* Ensure sections clip their glow orbs */
section {
  overflow: hidden;
}

/* Subtle gradient dividers between major verticals */
.anomaly + .how-it-works::before,
.industries + .dat-media::before,
.dat-media + .dat-terra::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-subtle), transparent);
  z-index: 1;
}

/* ========================================
   HERO
   ======================================== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 40px;
  position: relative;
  overflow: hidden;
}

/* Grid pattern background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--bg-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--bg-grid-line) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero > .container {
  position: relative;
  z-index: 1;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.hero__content {
  max-width: 600px;
}

.hero__pre-headline {
  margin-bottom: 24px;
}

.hero__headline {
  margin-bottom: 24px;
}

.hero__subheadline {
  margin-bottom: 36px;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
}

.hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.hero__stat {
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
}

.hero__stat-value {
  font-family: var(--font-mono);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 700;
  color: var(--accent-green);
  line-height: 1.2;
  transition: color var(--duration-medium);
}

.hero__stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Hero visual — layered phone + laptop */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
}

.hero__visual .laptop-frame {
  position: absolute;
  top: 10%;
  left: -5%;
  width: 85%;
  max-width: 480px;
  z-index: 1;
  opacity: 0.6;
}

.hero__visual .phone-frame {
  position: relative;
  z-index: 2;
}

/* Floating badge elements around hero */
.hero__floating-badge {
  position: absolute;
  padding: 8px 14px;
  border-radius: 10px;
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-secondary);
  white-space: nowrap;
  z-index: 3;
}

.hero__floating-badge--amber {
  border-color: var(--border-amber-hover);
  color: var(--accent-amber);
}

@media (min-width: 768px) {
  .hero__stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero__visual {
    min-height: 500px;
  }
}

/* ========================================
   TRUST BAR
   ======================================== */

.trust-bar {
  padding: 40px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
  background: var(--bg-secondary);
}

.trust-bar__label {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 24px;
}

.trust-bar__track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: scroll-logos 30s linear infinite;
}

.trust-bar__track:hover {
  animation-play-state: paused;
}

.trust-bar__logo {
  flex-shrink: 0;
  width: 120px;
  height: 40px;
  background: var(--bg-tertiary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: var(--text-muted);
  opacity: 0.4;
  transition: opacity var(--duration-medium);
  border: 1px solid var(--border-subtle);
}

.trust-bar__logo:hover {
  opacity: 1;
}

@keyframes scroll-logos {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 24px)); }
}

/* ========================================
   SOLUTIONS SECTION
   ======================================== */

.solutions {
  position: relative;
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--solutions-bg-mid) 50%, var(--bg-primary) 100%);
}

.solutions__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 48px;
}

@media (min-width: 768px) {
  .solutions__grid {
    grid-template-columns: 1fr 1fr;
  }

  .solutions__grid > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: calc(50% - 10px);
    justify-self: center;
  }
}

.solutions__card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px;
  background: var(--bg-card);
  backdrop-filter: blur(var(--card-blur));
  -webkit-backdrop-filter: blur(var(--card-blur));
  border: 1px solid var(--border-subtle);
  border-radius: var(--card-radius);
  transition: all var(--duration-medium) var(--ease-out);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.solutions__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-medium) var(--ease-out);
}

.solutions__card:hover::before {
  transform: scaleX(1);
}

.solutions__card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-active);
  transform: translateY(-4px);
}

.solutions__card--workforce:hover {
  box-shadow: 0 8px 40px var(--accent-green-glow);
}

.solutions__card--id:hover {
  box-shadow: 0 8px 40px var(--brand-terra-glow);
}

.solutions__card--id:hover::before {
  background: var(--brand-terra);
}

.solutions__card--report:hover {
  box-shadow: 0 8px 40px var(--accent-amber-glow);
}

.solutions__card--report:hover::before {
  background: var(--accent-amber);
}

.solutions__card--know:hover {
  box-shadow: 0 8px 40px var(--brand-terra-glow);
}

.solutions__card--know:hover::before {
  background: var(--brand-terra);
}

.solutions__card--services:hover {
  box-shadow: 0 8px 40px var(--brand-media-glow);
}

.solutions__card--services:hover::before {
  background: var(--brand-media);
}

.solutions__card-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  font-size: 1.3rem;
  position: relative;
}

.solutions__icon-pulse {
  position: absolute;
  inset: -2px;
  border-radius: 14px;
  animation: pulse-green 3s ease-in-out infinite;
  pointer-events: none;
}

.solutions__icon-pulse--amber {
  animation: pulse-amber 3s ease-in-out infinite;
  animation-delay: 0.5s;
}

.solutions__icon-pulse--teal {
  animation-name: pulse-teal;
  animation-duration: 3s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-delay: 1s;
}

.solutions__icon-pulse--orange {
  animation-name: pulse-orange;
  animation-duration: 3s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-delay: 1.5s;
}

@keyframes pulse-teal {
  0%, 100% { box-shadow: 0 0 0 0 var(--brand-terra-glow); }
  50% { box-shadow: 0 0 0 10px transparent; }
}

@keyframes pulse-orange {
  0%, 100% { box-shadow: 0 0 0 0 var(--brand-media-glow); }
  50% { box-shadow: 0 0 0 10px transparent; }
}

.solutions__card-content {
  flex: 1;
  min-width: 0;
}

.solutions__card-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.solutions__card-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 14px;
}

.solutions__card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.solutions__tag {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  padding: 3px 10px;
  border-radius: 100px;
  background: var(--bg-translucent);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

.solutions__card:hover .solutions__tag {
  border-color: var(--border-ghost);
  color: var(--text-secondary);
}

.solutions__card-arrow {
  flex-shrink: 0;
  font-size: 1.2rem;
  color: var(--text-muted);
  transition: all var(--duration-fast) var(--ease-out);
  align-self: center;
}

.solutions__card:hover .solutions__card-arrow {
  color: var(--accent-green);
  transform: translateX(4px);
}

.solutions__card--id:hover .solutions__card-arrow {
  color: var(--brand-terra);
}

.solutions__card--report:hover .solutions__card-arrow {
  color: var(--accent-amber);
}

.solutions__card--know:hover .solutions__card-arrow {
  color: var(--brand-terra);
}

.solutions__card--services:hover .solutions__card-arrow {
  color: var(--brand-media);
}

/* ========================================
   PROBLEM SECTION
   ======================================== */

.problem {
  position: relative;
}

/* Subtle red tint background */
.problem::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 50% 0%, var(--tint-red) 0%, transparent 60%);
  pointer-events: none;
}

/* Transition gradient to green for next section */
.problem::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to bottom, transparent, var(--tint-green-subtle));
  pointer-events: none;
}

/* ========================================
   SOLUTION SECTION
   ======================================== */

.solution {
  position: relative;
}

/* Green tint background */
.solution::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 50% 30%, var(--tint-green) 0%, transparent 60%);
  pointer-events: none;
}

.solution__flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 48px 0 64px;
  position: relative;
}

.solution__flow-col {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.solution__node {
  width: 64px;
  height: 64px;
  min-width: 64px;
  min-height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--border-subtle);
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: relative;
  transition: all var(--duration-fast) var(--ease-out);
}

.solution__node:hover {
  border-color: var(--accent-green);
  background: var(--bg-card-hover);
  transform: scale(1.08);
}

.solution__node-icon {
  width: 28px;
  height: 28px;
  max-width: 28px;
  max-height: 28px;
  object-fit: contain;
  border-radius: 6px;
  flex-shrink: 0;
}

.solution__node-label {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.6rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  white-space: nowrap;
}

.solution__node--center {
  width: 100px;
  height: 100px;
  border-color: var(--accent-green);
  box-shadow: 0 0 40px var(--accent-green-glow), 0 0 80px var(--accent-green-glow);
  background: var(--bg-secondary);
}

.solution__connector {
  flex-shrink: 0;
  overflow: visible;
}

@media (max-width: 767px) {
  .solution__flow {
    flex-direction: column;
    gap: 24px;
  }

  .solution__flow-col {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .solution__connector {
    transform: rotate(90deg);
  }
}

@media (min-width: 768px) {
  .solution__node {
    width: 72px;
    height: 72px;
  }

  .solution__node--center {
    width: 120px;
    height: 120px;
  }

  .solution__flow {
    gap: 24px;
  }
}

.solution__subnav {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

/* ========================================
   ANOMALY SECTION
   ======================================== */

.anomaly {
  position: relative;
  background: linear-gradient(180deg,
    var(--bg-primary) 0%,
    var(--anomaly-bg-mid) 20%,
    var(--anomaly-bg-deep) 50%,
    var(--anomaly-bg-mid) 80%,
    var(--bg-primary) 100%
  );
}

.anomaly__map {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--card-radius);
  overflow: hidden;
  margin-bottom: 48px;
}

/* Grid overlay on anomaly map */
.anomaly__map::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--bg-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--bg-grid-line) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 1;
  pointer-events: none;
}

.anomaly__dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  z-index: 2;
  margin-left: -5px;
  margin-top: -5px;
}

.anomaly__dot--green {
  background: var(--accent-green);
  box-shadow: 0 0 6px var(--accent-green-glow);
}

.anomaly__dot--amber {
  background: var(--accent-amber);
  animation: pulse-amber 2s ease-in-out infinite;
}

.anomaly__dot--red {
  background: var(--accent-red);
  animation: pulse-red 2s ease-in-out infinite;
}

/* GPS drift line visualization */
.anomaly__drift-line {
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.anomaly__drift-line line {
  stroke: var(--accent-red);
  stroke-width: 1.5;
  stroke-dasharray: 4 4;
  opacity: 0.5;
}

.anomaly__sidebar {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 260px;
  background: var(--bg-navbar-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-left: 1px solid var(--border-subtle);
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-secondary);
  display: none;
  z-index: 5;
  line-height: 1.6;
}

.anomaly__sidebar-title {
  color: var(--text-primary);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
}

.anomaly__sidebar-entry {
  padding: 12px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.anomaly__sidebar-entry:last-child {
  border-bottom: none;
}

.anomaly__score-bar {
  display: inline-block;
  height: 4px;
  border-radius: 2px;
  margin: 6px 0;
}

.anomaly__case-study {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--card-radius);
  padding: clamp(32px, 5vw, 64px);
  text-align: center;
  margin-top: 48px;
  position: relative;
  overflow: hidden;
}

/* Subtle gradient behind case study */
.anomaly__case-study::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at center, var(--tint-green-case), transparent 50%);
  pointer-events: none;
}

.anomaly__counter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 4vw, 48px);
  margin: 32px 0;
  position: relative;
  z-index: 1;
}

.anomaly__counter-value {
  font-family: var(--font-mono);
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1;
  transition: color var(--duration-medium), text-shadow var(--duration-medium), transform 0.3s var(--ease-out);
}

.anomaly__counter-value--red {
  color: var(--accent-red);
  text-shadow: 0 0 40px var(--accent-red-glow);
}

.anomaly__counter-value--green {
  color: var(--accent-green);
  text-shadow: 0 0 40px var(--accent-green-glow);
}

.anomaly__counter-arrow {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--text-muted);
}

@media (min-width: 768px) {
  .anomaly__sidebar {
    display: block;
  }
}

/* ========================================
   HOW IT WORKS
   ======================================== */

.how-it-works {
  position: relative;
}

.how-it-works__steps {
  position: relative;
}

/* Vertical connecting line */
.how-it-works__steps::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom,
    var(--accent-green) 0%,
    var(--border-subtle) 20%,
    var(--border-subtle) 80%,
    var(--accent-green) 100%
  );
  display: none;
}

.how-it-works__step {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  padding: 48px 0;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.how-it-works__step:last-child {
  border-bottom: none;
}

.how-it-works__step-number {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-green);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.how-it-works__step-number::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 8px var(--accent-green-glow);
}

.how-it-works__step-visual {
  display: flex;
  justify-content: center;
}

.how-it-works__shortcodes {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 2.2;
}

.how-it-works__shortcodes code {
  color: var(--accent-green);
}

@media (min-width: 1024px) {
  .how-it-works__step {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    padding-left: 48px;
  }

  .how-it-works__steps::before {
    display: block;
  }

  .how-it-works__step:nth-child(even) .how-it-works__step-visual {
    order: -1;
  }
}

/* ========================================
   FEATURES
   ======================================== */

.features {
  position: relative;
}

.feature-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  padding: 48px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.feature-block:last-of-type {
  border-bottom: none;
}

.feature-block__content h3 {
  margin-bottom: 12px;
}

.feature-block__points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.feature-block__point {
  font-size: 0.82rem;
  color: var(--text-secondary);
  padding: 5px 14px;
  background: var(--bg-card);
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  transition: border-color var(--duration-fast);
}

.feature-block__point:hover {
  border-color: var(--border-active);
}

.feature-block__visual {
  display: flex;
  justify-content: center;
}

@media (min-width: 1024px) {
  .feature-block {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }

  .feature-block:nth-child(even) .feature-block__visual {
    order: -1;
  }
}

/* ========================================
   INDUSTRIES
   ======================================== */

.industries {
  position: relative;
}

.industry-card--featured {
  border-color: var(--border-green-featured);
  position: relative;
  background: var(--bg-featured);
}

.industry-card--featured::before {
  content: 'Case Study Available';
  display: inline-block;
  font-size: 0.65rem;
  font-family: var(--font-mono);
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--accent-green);
  color: var(--bg-primary);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}

/* ========================================
   DAT MEDIA
   ======================================== */

.dat-media {
  position: relative;
}

/* Warm orange-tinted background */
.dat-media::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 20%, var(--tint-orange) 0%, transparent 60%);
  pointer-events: none;
}

.dat-media__logo {
  height: 36px;
  margin-bottom: 16px;
}

.dat-media__featured {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 64px;
}

.dat-media__poster {
  aspect-ratio: 16 / 9;
  border-radius: var(--card-radius);
  overflow: hidden;
  border: 1px solid var(--border-media-poster);
  transition: border-color var(--duration-medium);
}

.dat-media__poster:hover {
  border-color: var(--border-media-poster-hover);
  box-shadow: 0 10px 40px var(--shadow-media-poster);
}

.dat-media__featured-info h3 {
  margin-top: 16px;
  margin-bottom: 12px;
}

.dat-media__featured-ctas {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

@media (min-width: 1024px) {
  .dat-media__featured {
    grid-template-columns: 3fr 2fr;
  }
}

/* ========================================
   DAT TERRA
   ======================================== */

.dat-terra {
  position: relative;
}

/* Cool teal-tinted background */
.dat-terra::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 30%, var(--tint-teal) 0%, transparent 60%);
  pointer-events: none;
}

.dat-terra__logo {
  height: 36px;
  margin-bottom: 16px;
}

.dat-terra__intro {
  max-width: 700px;
  margin: 0 auto 48px;
  text-align: center;
}

.dat-terra__note {
  margin-top: 48px;
  padding: 32px;
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--card-radius);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.dat-terra__cta {
  text-align: center;
  margin-top: 32px;
}

/* ========================================
   COMPARISON TABLE
   ======================================== */

.comparison {
  position: relative;
}

.comparison__table {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--card-radius);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
}

.comparison__table table {
  width: 100%;
  min-width: 600px;
}

.comparison__table thead {
  background: var(--bg-tertiary);
}

.comparison__table th {
  padding: 16px 24px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-subtle);
}

.comparison__table th:nth-child(2) {
  color: var(--accent-green);
}

.comparison__table td {
  padding: 14px 24px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.9rem;
}

.comparison__table tbody tr:last-child td {
  border-bottom: none;
}

.comparison__table td:first-child {
  font-weight: 500;
  color: var(--text-primary);
}

.comparison__table .old-way {
  color: var(--accent-red);
  opacity: 0.7;
}

.comparison__table .dat-way {
  color: var(--accent-green);
  font-weight: 500;
}

.comparison__table .dat-way::after,
.comparison__table .old-way::after {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-left: 8px;
  vertical-align: middle;
}

.comparison__table .dat-way::after {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='12' cy='12' r='10' stroke='%2300B85E' stroke-width='2'/%3E%3Cpath d='M8 12.5l2.5 2.5 5.5-5.5' stroke='%2300B85E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

.comparison__table .old-way::after {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='12' cy='12' r='10' stroke='%23E02040' stroke-width='2'/%3E%3Cpath d='M15 9l-6 6M9 9l6 6' stroke='%23E02040' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

html[data-theme="dark"] .comparison__table .dat-way::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='12' cy='12' r='10' stroke='%2300FF88' stroke-width='2'/%3E%3Cpath d='M8 12.5l2.5 2.5 5.5-5.5' stroke='%2300FF88' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

html[data-theme="dark"] .comparison__table .old-way::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='12' cy='12' r='10' stroke='%23FF3344' stroke-width='2'/%3E%3Cpath d='M15 9l-6 6M9 9l6 6' stroke='%23FF3344' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

.comparison__table tbody tr {
  transition: background var(--duration-fast);
}

.comparison__table tbody tr:hover {
  background: var(--bg-table-row-hover);
}

/* Stagger rows on reveal */
.comparison__table tbody tr {
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity var(--duration-medium) var(--ease-out-expo),
              transform var(--duration-medium) var(--ease-out-expo);
}

.comparison__table.active tbody tr {
  opacity: 1;
  transform: translateX(0);
}

.comparison__table.active tbody tr:nth-child(1) { transition-delay: 0ms; }
.comparison__table.active tbody tr:nth-child(2) { transition-delay: 80ms; }
.comparison__table.active tbody tr:nth-child(3) { transition-delay: 160ms; }
.comparison__table.active tbody tr:nth-child(4) { transition-delay: 240ms; }
.comparison__table.active tbody tr:nth-child(5) { transition-delay: 320ms; }
.comparison__table.active tbody tr:nth-child(6) { transition-delay: 400ms; }
.comparison__table.active tbody tr:nth-child(7) { transition-delay: 480ms; }
.comparison__table.active tbody tr:nth-child(8) { transition-delay: 560ms; }
.comparison__table.active tbody tr:nth-child(9) { transition-delay: 640ms; }
.comparison__table.active tbody tr:nth-child(10) { transition-delay: 720ms; }

.comparison__bottom-stat {
  text-align: center;
  margin-top: 40px;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 600;
  color: var(--text-primary);
}

/* ========================================
   TESTIMONIALS
   ======================================== */

.testimonials {
  position: relative;
  overflow: hidden;
}

.testimonials__track {
  display: flex;
  gap: 24px;
  overflow: visible;
  cursor: grab;
}

.testimonial-card {
  flex-shrink: 0;
  width: calc(100vw - 80px);
  max-width: 400px;
  padding: 32px;
  position: relative;
}

.testimonial-card__quote {
  position: absolute;
  top: 12px;
  left: 16px;
  font-size: 4.5rem;
  font-family: var(--font-display);
  color: var(--accent-green);
  opacity: 0.08;
  line-height: 1;
  pointer-events: none;
}

.testimonial-card__stars {
  color: var(--accent-amber);
  margin-bottom: 16px;
  font-size: 0.9rem;
  letter-spacing: 2px;
}

.testimonial-card__text {
  font-size: 0.93rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.testimonial-card__author {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.testimonial-card__role {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ========================================
   PRESS
   ======================================== */

.press {
  position: relative;
}

.press__carousel {
  overflow: hidden;
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.press__track {
  display: flex;
  gap: 24px;
  overflow: visible;
  cursor: grab;
}

.press-card {
  flex-shrink: 0;
  width: calc(100vw - 80px);
  max-width: 340px;
  padding: 32px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.press-card__pub-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px;
  background: var(--bg-tertiary);
  border-radius: 6px;
  margin-bottom: 20px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  opacity: 0.7;
  transition: opacity var(--duration-fast);
  width: fit-content;
}

.press-card__pub-logo img {
  border-radius: 2px;
}

.press-card:hover .press-card__pub-logo {
  opacity: 1;
}

.press-card__headline {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.5;
  font-style: italic;
  flex: 1;
}

.press-card__meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  font-family: var(--font-mono);
}

.press-card__link {
  font-size: 0.85rem;
  color: var(--accent-green);
  font-weight: 500;
  transition: all var(--duration-fast);
  display: inline-block;
}

.press-card:hover .press-card__link {
  transform: translateX(4px);
}

/* ========================================
   PRICING
   ======================================== */

.pricing__features {
  text-align: left;
  margin: 16px 0;
}

.pricing__feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.93rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
}

.pricing__feature:last-child {
  border-bottom: none;
}

.pricing__feature-check {
  color: var(--accent-green);
  font-size: 0.9rem;
  flex-shrink: 0;
}


/* ========================================
   ABOUT
   ======================================== */

.about {
  position: relative;
}

/* Slightly lighter background */
.about::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--bg-primary), var(--bg-secondary), var(--bg-primary));
  pointer-events: none;
  z-index: -1;
}

.about__photo {
  width: 100%;
  aspect-ratio: 16 / 7;
  border-radius: var(--card-radius);
  overflow: hidden;
  position: relative;
  margin-bottom: 48px;
}

.about__photo::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, var(--bg-primary), transparent);
  pointer-events: none;
}

.about__text {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.about__text p {
  margin-bottom: 24px;
  max-width: none;
}

.about__verticals {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 32px 0;
}

.about__details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 500px;
  margin: 40px auto 0;
}

.about__detail {
  text-align: center;
  padding: 16px;
  background: var(--bg-card);
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
}

.about__detail-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.about__detail-value {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 600;
}

@media (min-width: 768px) {
  .about__details {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ========================================
   REBRAND
   ======================================== */

.rebrand {
  position: relative;
  padding: var(--section-padding) 0;
  padding-top: 0;
}

.rebrand__flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.rebrand__logo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.rebrand__logo-card--old .rebrand__logo-img {
  width: auto;
  height: 60px;
  max-width: calc(100vw - 80px);
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 8px 30px var(--shadow-medium), 0 0 0 1px var(--border-subtle);
}

.rebrand__logo-card--new .rebrand__logo-img {
  width: 80px;
  height: 80px;
  border-radius: 22% / 22%;
  object-fit: contain;
  box-shadow: 0 8px 30px var(--accent-green-glow), 0 0 0 1px var(--border-active);
}

/* Logo theme visibility handled globally in components.css */

.rebrand__logo-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
}

.rebrand__arrow {
  flex-shrink: 0;
  opacity: 0.6;
  transform: rotate(90deg);
}

.rebrand__text {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.rebrand__text p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: none;
}

@media (min-width: 768px) {
  .rebrand__flow {
    flex-direction: row;
    gap: 48px;
  }

  .rebrand__arrow {
    transform: none;
  }

  .rebrand__logo-card--old .rebrand__logo-img {
    height: 100px;
    max-width: 280px;
    border-radius: 16px;
  }

  .rebrand__logo-card--new .rebrand__logo-img {
    width: 120px;
    height: 120px;
  }
}

/* ========================================
   CONTACT
   ======================================== */

.contact {
  position: relative;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.contact__info-item {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.contact__info-item span:first-child {
  font-size: 1.2rem;
  width: 20px;
  text-align: center;
}

.contact__socials {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

.contact__social-link {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--duration-fast);
}

.contact__social-link:hover {
  border-color: var(--accent-green);
  background: var(--bg-card-hover);
  color: var(--text-primary);
}

.contact__response-time {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact__response-time::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-green);
}

.contact__form-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--card-radius);
  padding: 32px;
}

.contact__success {
  display: none;
  text-align: center;
  padding: 48px;
}

.contact__success.active {
  display: block;
}

.contact__success-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .contact__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
  }
}

.contact__pricing {
  background: var(--bg-card);
  border: 1px solid var(--border-green-pricing);
  border-radius: var(--card-radius);
  padding: clamp(24px, 4vw, 40px);
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 60px var(--accent-green-glow), 0 20px 60px var(--shadow-medium);
}

.contact__pricing::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--tint-green-pricing) 0%, transparent 60%);
  pointer-events: none;
}

.contact__pricing-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.contact__pricing-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.contact__pricing-info {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
  padding: 40px 0 32px;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
}

.footer__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
}

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

.footer__logo {
  height: 28px;
  width: auto;
}

.footer__tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
}

.footer__link {
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: color var(--duration-fast);
}

.footer__link:hover {
  color: var(--accent-green);
}

.footer__divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-green), transparent);
  opacity: 0.2;
  margin-bottom: 24px;
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer__bottom-left {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 16px;
}

.footer__copyright {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer__legal-link {
  font-size: 0.78rem;
  color: var(--text-muted);
  transition: color var(--duration-fast);
}

.footer__legal-link:hover {
  color: var(--accent-green);
}

.footer__social {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: color var(--duration-fast);
}

.footer__social:hover {
  color: var(--accent-green);
}

@media (min-width: 768px) {
  .footer__top {
    flex-direction: row;
    justify-content: space-between;
  }

  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ========================================
   ANIMATED VISUALIZATION: CHAT SIM
   (Step 01 — Send, Feature — Leave)
   ======================================== */

.chat-sim {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 40px 10px 10px;
}

.chat-sim__header {
  background: var(--bg-chat-out);
  padding: 8px 12px;
  border-radius: 8px 8px 0 0;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent-green);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.chat-sim__status {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-green);
}

.chat-sim__messages {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px 4px;
  scrollbar-width: none;
}

.chat-sim__messages::-webkit-scrollbar {
  display: none;
}

.chat-sim__msg {
  max-width: 88%;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 0.68rem;
  line-height: 1.5;
}

.chat-sim__msg--out {
  align-self: flex-end;
  background: var(--bg-chat-out);
  border: 1px solid var(--border-chat-out);
  color: var(--text-secondary);
  border-bottom-right-radius: 3px;
}

.chat-sim__msg--in {
  align-self: flex-start;
  background: var(--bg-chat-in);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  border-bottom-left-radius: 3px;
}

.chat-sim__meta {
  font-size: 0.5rem;
  color: var(--text-muted);
  text-align: right;
  margin-top: 3px;
}

.chat-sim__typing {
  display: none;
  align-items: center;
  gap: 3px;
  padding: 8px 12px;
  align-self: flex-start;
  background: var(--bg-chat-in);
  border-radius: 10px;
  margin-top: 4px;
}

.chat-sim__typing.active {
  display: flex;
}

.chat-sim__typing span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text-muted);
  animation: chat-dot-bounce 1.2s ease-in-out infinite;
}

.chat-sim__typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-sim__typing span:nth-child(3) { animation-delay: 0.3s; }

/* ========================================
   ANIMATED VISUALIZATION: ROUTE VIZ
   (Step 02 — Route)
   ======================================== */

.route-viz {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--card-radius);
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 16px;
  overflow: hidden;
}

.route-viz::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--bg-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--bg-grid-line) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}

.route-viz__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.route-viz__path {
  fill: none;
  stroke: var(--accent-green);
  stroke-width: 1.5;
  stroke-opacity: 0.4;
}

.route-viz__inputs,
.route-viz__outputs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1;
}

.route-viz__pill {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 5px 10px;
  border-radius: 6px;
  background: var(--bg-route-pill);
  border: 1px solid var(--border-route-pill);
  color: var(--accent-green);
  white-space: nowrap;
}

.route-viz__engine {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 2px solid var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  font-weight: 700;
  color: var(--accent-green);
  z-index: 2;
  box-shadow: 0 0 30px var(--accent-green-glow);
  flex-shrink: 0;
}

.route-viz__dest {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  padding: 5px 10px;
  border-radius: 6px;
  background: var(--bg-translucent);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  white-space: nowrap;
}

/* ========================================
   ANIMATED VISUALIZATION: SCORE TERMINAL
   (Step 03 — Detect)
   ======================================== */

.score-terminal {
  border-radius: var(--card-radius);
  background: var(--bg-terminal);
  border: 1px solid var(--border-subtle);
  padding: 16px;
  position: relative;
  overflow: hidden;
  font-family: var(--font-mono);
  display: flex;
  flex-direction: column;
}

.score-terminal::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    transparent,
    transparent 2px,
    var(--scanline-stripe) 2px,
    var(--scanline-stripe) 4px
  );
  pointer-events: none;
  z-index: 1;
}

.score-terminal__header {
  font-size: 0.6rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 8px;
  flex-shrink: 0;
}

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

.score-terminal__card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 6px;
  background: var(--bg-translucent);
}

.score-terminal__id {
  font-size: 0.55rem;
  color: var(--text-secondary);
  min-width: 50px;
}

.score-terminal__bar {
  flex: 1;
  height: 6px;
  background: var(--bg-bar-empty);
  border-radius: 3px;
  overflow: hidden;
}

.score-terminal__bar-fill {
  height: 100%;
  border-radius: 3px;
}

.score-terminal__score {
  font-size: 0.55rem;
  min-width: 22px;
  text-align: right;
}

.score-terminal__verdict {
  font-size: 0.5rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.score-terminal__verdict--green {
  background: var(--bg-badge-green);
  color: var(--accent-green);
}

.score-terminal__verdict--amber {
  background: var(--bg-badge-amber);
  color: var(--accent-amber);
}

.score-terminal__verdict--red {
  background: var(--bg-alert-red);
  color: var(--accent-red);
}

/* ========================================
   ANIMATED VISUALIZATION: CMD DASHBOARD
   (Step 04 — Act)
   ======================================== */

.cmd-dash {
  aspect-ratio: 16 / 11;
  border-radius: var(--card-radius);
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  padding: 12px;
  position: relative;
  overflow: hidden;
}

.cmd-dash__widget {
  background: var(--bg-translucent);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 10px;
  position: relative;
  overflow: hidden;
}

.cmd-dash__widget-title {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

/* Mini map widget */
.cmd-dash__minimap {
  position: relative;
  flex: 1;
  height: calc(100% - 20px);
}

.cmd-dash__minimap::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--bg-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--bg-grid-line) 1px, transparent 1px);
  background-size: 16px 16px;
  border-radius: 4px;
}

.cmd-dash__map-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 6px var(--accent-green-glow);
}

.cmd-dash__map-dot::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid var(--accent-green);
  animation: radar-ping 2s ease-out infinite;
}

.cmd-dash__map-dot--amber {
  background: var(--accent-amber);
  box-shadow: 0 0 6px var(--accent-amber-glow);
}

.cmd-dash__map-dot--amber::after {
  border-color: var(--accent-amber);
}

/* Mini bar chart widget */
.cmd-dash__bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: calc(100% - 20px);
  padding-top: 4px;
}

.cmd-dash__bar {
  flex: 1;
  border-radius: 2px 2px 0 0;
  min-height: 2px;
}

.cmd-dash__bar--green { background: var(--accent-green); }
.cmd-dash__bar--amber { background: var(--accent-amber); }
.cmd-dash__bar--dim { background: var(--bg-bar-dim); }

/* Mini feed widget */
.cmd-dash__feed {
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow: hidden;
}

.cmd-dash__feed-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.5rem;
  color: var(--text-secondary);
  padding: 3px 6px;
  border-radius: 4px;
  background: var(--bg-translucent);
}

.cmd-dash__feed-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Mini gauge widget */
.cmd-dash__gauge-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  height: calc(100% - 20px);
}

.cmd-dash__gauge {
  width: 70px;
  height: 70px;
}

.cmd-dash__gauge-bg {
  fill: none;
  stroke: var(--bg-bar-empty);
  stroke-width: 3;
}

.cmd-dash__gauge-fill {
  fill: none;
  stroke: var(--accent-green);
  stroke-width: 3;
  stroke-linecap: round;
  transition: stroke-dasharray 1.2s ease-out;
}

.cmd-dash__gauge-text {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  fill: var(--accent-green);
  text-anchor: middle;
  dominant-baseline: central;
}

.cmd-dash__alert {
  position: absolute;
  top: 8px;
  right: 8px;
  font-family: var(--font-mono);
  font-size: 0.5rem;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--bg-alert-red);
  border: 1px solid var(--border-alert-red);
  color: var(--accent-red);
  z-index: 2;
}

/* ========================================
   ANIMATED VISUALIZATION: PLATFORM ORBIT
   (Feature — Multi-Platform)
   ======================================== */

.platform-orbit {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--card-radius);
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}

.platform-orbit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, var(--tint-orbit) 0%, transparent 60%);
  pointer-events: none;
}

.platform-orbit__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.platform-orbit__line {
  fill: none;
  stroke: var(--accent-green);
  stroke-width: 1;
  stroke-opacity: 0.3;
  stroke-dasharray: 4 4;
}

.platform-orbit__center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 2px solid var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--accent-green);
  z-index: 2;
  box-shadow: 0 0 30px var(--accent-green-glow);
}

.platform-orbit__icon {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  font-size: 0.65rem;
  color: var(--text-secondary);
  z-index: 1;
  white-space: nowrap;
}

.platform-orbit__icon-emoji {
  font-size: 1rem;
}

.platform-orbit__icon-img {
  width: 18px !important;
  height: 18px !important;
  max-width: 18px;
  max-height: 18px;
  object-fit: contain;
  flex-shrink: 0;
}

.platform-orbit__particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.platform-orbit__particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--accent-green);
  opacity: 0;
}

/* ========================================
   ANIMATED VISUALIZATION: LIVE MAP
   (Feature — Real-Time Monitoring)
   ======================================== */

.live-map {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.live-map::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--bg-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--bg-grid-line) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.live-map__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.live-map__route {
  fill: none;
  stroke: var(--accent-green);
  stroke-width: 2;
  stroke-opacity: 0.5;
  stroke-linecap: round;
}

.live-map__dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 6px var(--accent-green-glow);
}

.live-map__dot::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid var(--accent-green);
  animation: radar-ping 2.5s ease-out infinite;
}

.live-map__tracker {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-amber);
  box-shadow: 0 0 10px var(--accent-amber-glow);
  z-index: 2;
}

.live-map__geofence {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 1.5px dashed var(--border-red-hover);
  z-index: 1;
}

.live-map__alert {
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--bg-alert-red);
  border: 1px solid var(--border-alert-red);
  color: var(--accent-red);
  z-index: 3;
}

/* ========================================
   ANIMATED VISUALIZATION: ANALYTICS CONSOLE
   (Feature — Smart Reporting)
   ======================================== */

.analytics-console {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 6px;
  padding: 8px;
  border-radius: 8px;
}

.analytics__widget {
  background: var(--bg-translucent);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 8px;
  position: relative;
  overflow: hidden;
}

.analytics__widget-title {
  font-family: var(--font-mono);
  font-size: 0.45rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.analytics__chart-svg {
  width: 100%;
  height: calc(100% - 16px);
}

.analytics__line-path {
  fill: none;
  stroke: var(--accent-green);
  stroke-width: 2;
  stroke-linecap: round;
}

.analytics__area-path {
  fill: url(#analytics-gradient);
  opacity: 0.3;
}

.analytics__kpi-value {
  font-family: var(--font-mono);
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 700;
  color: var(--accent-green);
  line-height: 1;
}

.analytics__kpi-label {
  font-size: 0.45rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.analytics__hbar-wrap {
  display: flex;
  flex-direction: column;
  gap: 5px;
  height: calc(100% - 16px);
  justify-content: center;
}

.analytics__hbar {
  height: 8px;
  background: var(--bg-bar-empty);
  border-radius: 4px;
  overflow: hidden;
}

.analytics__hbar-fill {
  height: 100%;
  border-radius: 4px;
}

.analytics__sparkline {
  width: 100%;
  height: calc(100% - 16px);
}

.analytics__spark-path {
  fill: none;
  stroke: var(--accent-amber);
  stroke-width: 1.5;
  stroke-linecap: round;
}

.analytics__spark-dot {
  fill: var(--accent-amber);
}

.analytics__badge {
  position: absolute;
  bottom: 6px;
  right: 6px;
  font-family: var(--font-mono);
  font-size: 0.45rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  background: var(--bg-badge-green);
  border: 1px solid var(--border-badge-green);
  color: var(--accent-green);
}

/* ========================================
   ANIMATED VISUALIZATION: API TERMINAL
   (Feature — Open API)
   ======================================== */

.api-terminal {
  aspect-ratio: 16 / 10;
  border-radius: var(--card-radius);
  background: var(--bg-terminal-alt);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.api-terminal__titlebar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--bg-translucent);
  border-bottom: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

.api-terminal__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.api-terminal__dot--red { background: #ff5f57; }
.api-terminal__dot--yellow { background: #febc2e; }
.api-terminal__dot--green { background: #28c840; }

.api-terminal__title {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-muted);
  margin-left: 8px;
}

.api-terminal__body {
  flex: 1;
  padding: 12px 14px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  line-height: 1.7;
  overflow: hidden;
}

.api-terminal__line {
  white-space: pre-wrap;
  word-break: break-all;
}

.api-terminal__prompt {
  color: var(--accent-green);
}

.api-terminal__method {
  color: var(--accent-amber);
  font-weight: 700;
}

.api-terminal__url {
  color: var(--text-secondary);
}

.api-terminal__key {
  color: var(--syntax-keyword);
}

.api-terminal__string {
  color: var(--syntax-string);
}

.api-terminal__number {
  color: var(--accent-amber);
}

.api-terminal__bracket {
  color: var(--text-muted);
}

.api-terminal__status {
  color: var(--accent-green);
  font-weight: 700;
}

.api-terminal__comment {
  color: var(--text-muted);
  font-style: italic;
}

.api-terminal__latency {
  display: inline-block;
  font-size: 0.55rem;
  padding: 2px 6px;
  border-radius: 3px;
  background: var(--bg-latency);
  color: var(--accent-green);
  margin-top: 4px;
}

.api-terminal__cursor {
  display: inline-block;
  width: 6px;
  height: 12px;
  background: var(--accent-green);
  animation: blink-cursor 1s step-end infinite;
  vertical-align: middle;
  margin-left: 2px;
}
