/* for the navigation */
/* =========================
   NAVBAR
========================= */
/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

/* NAVBAR CONTAINER */

.nav-container {
  width: 100%;
  padding: 0 5%; 
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;

  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;

  background: rgba(5, 11, 24, 0.8);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--color-border);
}


.nav-left {
  display: flex;
  align-items: center;
}

 .logo-wrapper {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo {
  font-family: var(--font-heading);
  font-size: 28px; 
  font-weight: 800;
  letter-spacing: 4px;
  color: var(--color-text);
}

.logo span {
  color: var(--color-primary);
}

.logo-sub {
  font-size: 9px;
  letter-spacing: 1.5px;
  color: var(--color-muted);
  font-weight: 500;
  margin-top: 4px;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  text-decoration: none;
  color: var(--color-muted);
  font-size: 14px;
  font-weight: 500;
  position: relative;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--color-primary);
}

/* Underline effect on hover */

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--color-primary);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

/* RIGHT SIDE: Button */

.nav-right {
  display: flex;
  align-items: center;
}


/* Mobile Menu Button (Hamburger) */

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 2000;
}

.mobile-menu-btn span {
  width: 30px;
  height: 2px;
  background: var(--color-primary);
  transition: var(--transition);
}

/* Mobile Drawer Background */

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%; 
  width: 80%;
  height: 100vh;
  background: var(--color-surface);
  backdrop-filter: blur(20px);
  z-index: 1500;
  padding: 100px 40px;
  transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border-left: 1px solid var(--color-border);
}

.mobile-drawer.active {
  right: 0; /* Slide in */
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.mobile-nav-links a {
  font-size: 24px;
  text-decoration: none;
  color: var(--color-text);
  font-family: var(--font-heading);
}

/* Show Hamburger & Hide Desktop Links on Mobile */

@media (max-width: 992px) {
  .nav-links, .desktop-only {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
}
/* for the hero slider*/

.revlo-hero {
  position: relative;
  height: var(--hero-height);
  width: 100%;
  overflow: hidden;
  background: var(--color-bg);
}

.slider-wrapper {
  height: 100%;
  width: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out;
  display: flex;
  align-items: center;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 10;
}

/* Background Image & Overlay */

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
}

/* Content Layout */

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 60px;
  padding: 0 5%;
  width: 100%;
  z-index: 20;
}

.tag-badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.1;
  margin-bottom: 24px;
}

.text-gradient {
  background: var(--gradient-primary);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 18px;
  color: var(--color-muted);
  max-width: 550px;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  gap: 20px;
}

/* Widgets & Visuals */

.hero-visuals {
  position: relative;
  display: flex;
  justify-content: center;
}

.data-box strong {
  display: block;
  font-size: 24px;
  color: var(--color-primary);
}

/* Navigation Dots */

.slider-nav {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 100;
}

.nav-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
}

.nav-dot.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  width: 30px;
  border-radius: 10px;
}

/* Animation for content inside the active slide */

.slide .hero-left > * {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide.active .hero-left > * {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger the timing so the title, description, and buttons pop in one by one */

.slide.active .tag-badge { transition-delay: 0.2s; }
.slide.active .hero-title { transition-delay: 0.4s; }
.slide.active .hero-description { transition-delay: 0.6s; }
.slide.active .hero-actions { transition-delay: 0.8s; }

/* The widget also needs a smooth entry */

.slide .hero-visuals {
  opacity: 0;
  transform: scale(0.8);
  transition: all 1s ease;
}

.slide.active .hero-visuals {
  opacity: 1;
  transform: scale(1);
}

/*  the p&s */
/* for the p and s */


.problem-solution {
  padding: 100px 0;
  background: #020810;
  position: relative;
  overflow: hidden;
}

/* ambient glow */
.problem-solution::before {
  content: '';
  position: absolute;
  top: -300px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(ellipse at center, rgba(0, 180, 255, 0.06) 0%, transparent 65%);
  pointer-events: none;
}

/* bottom border glow */
.problem-solution::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(0, 212, 255, 0.4) 50%, transparent 100%);
}

.problem-solution .container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ===== EYEBROW ===== */

.ps-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}

.ps-eyebrow-line {
  width: 40px;
  height: 1px;
  background: rgba(0, 212, 255, 0.5);
}

.ps-eyebrow span {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(0, 212, 255, 0.7);
}

/* ===== HEADING ===== */

.problem-solution .section-title {
  font-family: var(--font-heading);
  font-size: clamp(30px, 4.5vw, 50px);
  font-weight: 800;
  color: #f0f6ff;
  text-align: center;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.problem-solution .section-title em {
  font-style: normal;
  background: linear-gradient(90deg, #00d4ff, #0072ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.problem-solution .section-sub {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  color: #6b87a0;
  text-align: center;
  max-width: 520px;
  margin: 0 auto 72px;
  line-height: 1.8;
}

/* ===== GRID ===== */

.ps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  margin-bottom: 2px;
}

@media (max-width: 768px) {
  .ps-grid {
    grid-template-columns: 1fr;
    border-radius: 20px 20px 0 0;
  }
}

/* ===== CARDS ===== */

.ps-card {
  padding: 44px 40px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.ps-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.ps-card:hover::before {
  opacity: 1;
}

/* large background number */
.ps-bg-num {
  position: absolute;
  top: -10px;
  right: 20px;
  font-family: var(--font-heading);
  font-size: 140px;
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

/* Problem Card */
.ps-card.problem {
  background: rgba(12, 6, 6, 0.95);
  border: 1px solid rgba(255, 60, 60, 0.08);
}

.ps-card.problem::before {
  background: radial-gradient(ellipse at top left, rgba(255, 60, 60, 0.06) 0%, transparent 60%);
}

.ps-card.problem:hover {
  border-color: rgba(255, 60, 60, 0.2);
}

.ps-card.problem .ps-bg-num {
  color: rgba(255, 60, 60, 0.04);
}

/* Solution Card */
.ps-card.solution {
  background: rgba(4, 10, 20, 0.98);
  border: 1px solid rgba(0, 212, 255, 0.08);
}

.ps-card.solution::before {
  background: radial-gradient(ellipse at top right, rgba(0, 212, 255, 0.07) 0%, transparent 60%);
}

.ps-card.solution:hover {
  border-color: rgba(0, 212, 255, 0.25);
  box-shadow: inset 0 0 60px rgba(0, 212, 255, 0.03);
}

.ps-card.solution .ps-bg-num {
  color: rgba(0, 212, 255, 0.04);
}

/* ===== TAG ===== */

.ps-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 4px;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.ps-tag-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}

.ps-card.problem .ps-tag {
  background: rgba(255, 60, 60, 0.08);
  color: #ff6b6b;
  border: 1px solid rgba(255, 60, 60, 0.15);
}

.ps-card.problem .ps-tag-dot {
  background: #ff4444;
  box-shadow: 0 0 6px #ff4444;
}

.ps-card.solution .ps-tag {
  background: rgba(0, 212, 255, 0.08);
  color: #00d4ff;
  border: 1px solid rgba(0, 212, 255, 0.15);
}

.ps-card.solution .ps-tag-dot {
  background: #00d4ff;
  box-shadow: 0 0 6px #00d4ff;
  animation: ps-blink 2s infinite;
}

@keyframes ps-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ===== CARD HEADING ===== */

.ps-card h3 {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 800;
  color: #f0f6ff;
  margin-bottom: 32px;
  letter-spacing: -0.5px;
  position: relative;
  z-index: 1;
}

/* ===== LIST ===== */

.ps-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.ps-card ul li {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  transition: padding-left 0.3s ease;
}

.ps-card ul li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.ps-card ul li:hover {
  padding-left: 8px;
}

.ps-card ul li strong {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding-top: 3px;
  display: block;
}

.ps-card.problem ul li strong { color: #ff6b6b; }
.ps-card.solution ul li strong { color: #00d4ff; }

.ps-card ul li span {
  font-size: 14px;
  color: #5a7080;
  line-height: 1.7;
  font-weight: 300;
}

/* ===== IMPACT BAR ===== */

.ps-impact-container {
  background: rgba(4, 10, 20, 0.98);
  border: 1px solid rgba(0, 212, 255, 0.1);
  border-top: none;
  border-radius: 0 0 20px 20px;
  padding: 32px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* top glow line */
.ps-impact-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.6), transparent);
}

/* bottom ambient */
.ps-impact-container::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 60px;
  background: radial-gradient(ellipse at bottom, rgba(0, 212, 255, 0.08), transparent 70%);
}

.ps-impact {
  font-family: var(--font-heading);
  font-size: clamp(15px, 2vw, 19px);
  font-weight: 600;
  color: #e6f1ff;
  margin: 0;
  position: relative;
  z-index: 1;
}

.ps-impact em {
  font-style: normal;
  background: linear-gradient(90deg, #00d4ff, #0072ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===================================
   REVLO INTELLIGENCE STACK
   =================================== */

.revlo-stack {
  padding: 90px 5% 100px;
  background: var(--color-bg);
  position: relative;
  overflow: hidden;
}

/* ambient depth blobs */
.revlo-stack .rs-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
.revlo-stack .rs-b1 {
  width: 600px; height: 600px;
  top: -200px; left: -150px;
  background: rgba(0, 100, 255, 0.07);
}
.revlo-stack .rs-b2 {
  width: 500px; height: 500px;
  top: 200px; right: -100px;
  background: rgba(0, 212, 255, 0.05);
}
.revlo-stack .rs-b3 {
  width: 350px; height: 350px;
  bottom: -100px; left: 35%;
  background: rgba(100, 0, 255, 0.05);
}

/* subtle grid lines */
.revlo-stack .rs-gridbg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.025) 1px, transparent 1px);
  background-size: 70px 70px;
  pointer-events: none;
}

.revlo-stack .container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* ===== HEADER ===== */

.section-header.center {
  text-align: center;
  margin-bottom: 70px;
}

/* neumorphic badge replaces flat top-badge */
.top-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(0, 212, 255, 0.7);
  padding: 7px 18px;
  border-radius: 50px;
  background: rgba(0, 212, 255, 0.06);
  border: 1px solid rgba(0, 212, 255, 0.15);
  box-shadow:
    2px 2px 10px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(0, 220, 255, 0.08);
  margin-bottom: 24px;
}

.top-badge::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #00d4ff;
  box-shadow: 0 0 8px #00d4ff;
  animation: rs-bdot 2s infinite;
}

@keyframes rs-bdot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  color: #f0f6ff;
  margin-bottom: 18px;
}

.highlight {
  background: linear-gradient(90deg, #00d4ff, #0055ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}

.revlo-stack .section-sub {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  color: rgba(160, 190, 220, 0.65);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.85;
}

/* ===== NEUMORPHIC GRID SHELL ===== */

.stack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  background: #071020;
  border-radius: 28px;
  padding: 4px;
  box-shadow:
    8px 8px 28px rgba(0, 0, 0, 0.65),
    -4px -4px 16px rgba(255, 255, 255, 0.02),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  margin: 0 auto 4px;
  max-width: 1200px;
}

@media (max-width: 900px) {
  .stack-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 580px) {
  .stack-grid { grid-template-columns: 1fr; }
}

/* ===== GLASSMORPHISM CARDS ===== */

.stack-card {
  padding: 36px 32px;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: all 0.45s cubic-bezier(0.23, 1, 0.32, 1);
  background: linear-gradient(135deg, rgba(6,16,36,0.88) 0%, rgba(3,10,24,0.92) 100%);
  border: 1px solid rgba(0, 180, 255, 0.09);
  box-shadow:
    inset 0 1px 0 rgba(0, 212, 255, 0.06),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3);
}

/* glass shine sweep */
.stack-card::after {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 70%; height: 70%;
  background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, transparent 55%);
  border-radius: 50%;
  pointer-events: none;
  transition: all 0.6s ease;
}
.stack-card:hover::after {
  top: -20%; left: -20%;
}

/* per-card accent colors */
.stack-card.core {
  border-color: rgba(0, 212, 255, 0.1);
}
.stack-card.core:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 212, 255, 0.28);
  box-shadow: 0 24px 60px rgba(0, 212, 255, 0.1), inset 0 1px 0 rgba(0, 212, 255, 0.1);
}

.stack-card.optimizer {
  border-color: rgba(100, 80, 255, 0.1);
}
.stack-card.optimizer:hover {
  transform: translateY(-5px);
  border-color: rgba(100, 80, 255, 0.28);
  box-shadow: 0 24px 60px rgba(100, 80, 255, 0.1), inset 0 1px 0 rgba(120, 100, 255, 0.1);
}

.stack-card.recovery {
  border-color: rgba(0, 220, 120, 0.1);
}
.stack-card.recovery:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 220, 120, 0.25);
  box-shadow: 0 24px 60px rgba(0, 200, 100, 0.08), inset 0 1px 0 rgba(0, 220, 120, 0.08);
}

.stack-card.network {
  border-color: rgba(255, 160, 0, 0.1);
}
.stack-card.network:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 160, 0, 0.25);
  box-shadow: 0 24px 60px rgba(255, 140, 0, 0.08), inset 0 1px 0 rgba(255, 160, 0, 0.08);
}

/* ===== CARD CATEGORY ===== */

.card-category {
  font-family: var(--font-heading);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(140, 170, 200, 0.5);
  margin-bottom: 20px;
}

/* ===== NEUMORPHIC ICON BOX ===== */

.card-header-flex {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 0;
}

.stack-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 22px;
  flex-shrink: 0;
}

.stack-card.core .stack-icon {
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.15);
  box-shadow: 3px 3px 10px rgba(0,0,0,0.4), -1px -1px 5px rgba(0,212,255,0.06), inset 0 1px 0 rgba(0,220,255,0.1);
}
.stack-card.optimizer .stack-icon {
  background: rgba(100, 80, 255, 0.08);
  border: 1px solid rgba(100, 80, 255, 0.15);
  box-shadow: 3px 3px 10px rgba(0,0,0,0.4), -1px -1px 5px rgba(100,80,255,0.06), inset 0 1px 0 rgba(120,100,255,0.1);
}
.stack-card.recovery .stack-icon {
  background: rgba(0, 200, 100, 0.08);
  border: 1px solid rgba(0, 200, 100, 0.15);
  box-shadow: 3px 3px 10px rgba(0,0,0,0.4), -1px -1px 5px rgba(0,200,100,0.06), inset 0 1px 0 rgba(0,220,120,0.1);
}
.stack-card.network .stack-icon {
  background: rgba(255, 150, 0, 0.08);
  border: 1px solid rgba(255, 150, 0, 0.15);
  box-shadow: 3px 3px 10px rgba(0,0,0,0.4), -1px -1px 5px rgba(255,150,0,0.06), inset 0 1px 0 rgba(255,170,0,0.1);
}

/* ===== CARD TEXT ===== */

.stack-name {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: #f0f6ff;
  letter-spacing: -0.4px;
  margin-bottom: 6px;
}

.stack-tagline {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 14px;
}
.stack-card.core .stack-tagline     { color: rgba(0, 212, 255, 0.85); }
.stack-card.optimizer .stack-tagline { color: rgba(130, 110, 255, 0.9); }
.stack-card.recovery .stack-tagline  { color: rgba(0, 210, 110, 0.9); }
.stack-card.network .stack-tagline   { color: rgba(255, 170, 40, 0.9); }

.stack-desc {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 300;
  color: rgba(130, 160, 190, 0.6);
  line-height: 1.75;
  margin-bottom: 24px;
  flex-grow: 1;
}

/* ===== FEATURES LIST ===== */

.stack-features {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stack-features span {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 300;
  color: rgba(180, 210, 230, 0.6);
  display: flex;
  align-items: center;
  gap: 10px;
}

/* replace ✔ with glowing dot — add .feat-dot span inside each feature */
.feat-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-block;
}
.stack-card.core .feat-dot     { background: #00d4ff; box-shadow: 0 0 6px #00d4ff; }
.stack-card.optimizer .feat-dot { background: #7b5cff; box-shadow: 0 0 6px #7b5cff; }
.stack-card.recovery .feat-dot  { background: #00dc78; box-shadow: 0 0 6px #00dc78; }
.stack-card.network .feat-dot   { background: #ffaa00; box-shadow: 0 0 6px #ffaa00; }

/* ===== NEUMORPHIC CONNECTOR BAR ===== */

.stack-connector {
  background: #060e1e;
  border-radius: 0 0 26px 26px;
  box-shadow:
    8px 8px 24px rgba(0, 0, 0, 0.6),
    -2px -2px 8px rgba(255, 255, 255, 0.02);
  margin: 0 0 48px;
}

.stack-connector > span {
  display: block;
  padding: 22px 32px;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: rgba(0, 212, 255, 0.4);
  background: linear-gradient(135deg, rgba(4,14,30,0.9), rgba(2,8,20,0.95));
  border: 1px solid rgba(0, 212, 255, 0.07);
  border-top: none;
  border-radius: 0 0 24px 24px;
  position: relative;
}

.stack-connector > span::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 300px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.6), transparent);
}

/* ===== NEUMORPHIC CTA BUTTON ===== */

.stack-cta {
  margin-top: 0;
  text-align: center;
}

.btn.primary-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #00d4ff;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 50px;
  background: rgba(0, 212, 255, 0.06);
  border: 1px solid rgba(0, 212, 255, 0.2);
  box-shadow:
    3px 3px 12px rgba(0, 0, 0, 0.4),
    -1px -1px 6px rgba(0, 212, 255, 0.05),
    inset 0 1px 0 rgba(0, 220, 255, 0.1);
  transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}

.btn.primary-outline:hover {
  background: rgba(0, 212, 255, 0.12);
  border-color: rgba(0, 212, 255, 0.4);
  color: #00d4ff;
  box-shadow:
    0 8px 30px rgba(0, 212, 255, 0.15),
    3px 3px 12px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(0, 220, 255, 0.15);
  transform: translateY(-2px);
}

/* ============================================
   MRC SECTION — FULLY SCOPED, CONFLICT-FREE

   ============================================ */


/* Reset global input/button bleed inside MRC */
.reality-check input,
.reality-check select,
.reality-check button,
.mrc-conversion button {
  all: unset;
  box-sizing: border-box;
}

/* ===== SECTION WRAPPER ===== */

.reality-check {
  background: var(--color-bg);
  padding: 90px 5% 100px;
  position: relative;
  overflow: hidden;
  color: var(--color-text);
}

.reality-check .rc-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
.reality-check .rc-b1 {
  width: 500px; height: 500px;
  top: -150px; left: -100px;
  background: rgba(0, 100, 255, 0.07);
}
.reality-check .rc-b2 {
  width: 400px; height: 400px;
  bottom: 0; right: -80px;
  background: rgba(0, 212, 255, 0.05);
}
.reality-check .rc-b3 {
  width: 300px; height: 300px;
  top: 40%; left: 40%;
  background: rgba(120, 0, 255, 0.04);
}
.reality-check .rc-gridbg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,212,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.reality-check .container {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* ===== BRAND HEADER ===== */

.mrc-brand-header {
  text-align: center;
  margin-bottom: 56px;
}

.mrc-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -1.5px;
  color: #f0f6ff;
  display: inline-flex;
  align-items: flex-start;
  gap: 4px;
}

.mrc-title span {
  background: linear-gradient(90deg, #00d4ff, #0055ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mrc-title sup {
  font-size: 14px;
  color: rgba(0, 212, 255, 0.6);
  font-weight: 700;
  margin-top: 10px;
}

.mrc-tagline {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(0, 212, 255, 0.5);
  margin: 10px 0 16px;
}

.mrc-underline {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00d4ff, transparent);
  margin: 0 auto;
}

/* ===== NEUMORPHIC OUTER SHELL ===== */

.calc-shell {
  background: #071020;
  border-radius: 28px;
  padding: 4px;
  box-shadow:
    8px 8px 28px rgba(0,0,0,0.65),
    -4px -4px 16px rgba(255,255,255,0.02),
    inset 0 1px 0 rgba(255,255,255,0.04);
}

/* ===== CALCULATOR GRID ===== */

.calculator-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3px;
  border-radius: 24px 24px 0 0;
  overflow: hidden;
}

@media (max-width: 780px) {
  .calculator-grid { grid-template-columns: 1fr; }
}

/* ===== INPUT PANEL ===== */

.calc-input {
  padding: 40px 36px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: linear-gradient(135deg, rgba(6,16,36,0.9), rgba(3,10,24,0.94));
  border: 1px solid rgba(0,180,255,0.09);
  box-shadow: inset 0 1px 0 rgba(0,212,255,0.06);
}

/* ===== INPUT GROUP — scoped tightly ===== */

.reality-check .input-group {
  margin-bottom: 18px;
  position: relative;
}

.reality-check .input-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(0, 212, 255, 0.6);
  margin-bottom: 8px;
  /* override global label styles */
  margin-top: 0;
}

.reality-check .input-group input,
.reality-check .input-group select {
  display: block;
  width: 100%;
  padding: 12px 16px;
  margin-top: 0; /* override global input margin-top: 15px */
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(0,180,255,0.12);
  border-radius: 12px;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  outline: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
  box-shadow:
    inset 2px 2px 8px rgba(0,0,0,0.3),
    inset -1px -1px 4px rgba(255,255,255,0.02);
  /* override global input background #111318 */
  -webkit-appearance: none;
  appearance: none;
}

.reality-check .input-group input:focus,
.reality-check .input-group select:focus {
  border-color: rgba(0, 212, 255, 0.35);
  box-shadow:
    inset 2px 2px 8px rgba(0,0,0,0.3),
    0 0 0 3px rgba(0,212,255,0.06);
  outline: none;
}

.reality-check .input-group input::placeholder {
  color: rgba(120,150,180,0.4);
}

.reality-check .input-group select option {
  background: #0b1628;
  color: #e6f1ff;
}

.reality-check .suggestions-box {
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: rgba(6,16,36,0.97);
  border: 1px solid rgba(0,212,255,0.15);
  border-radius: 12px;
  z-index: 10;
  display: none;
}

.reality-check .helper-text {
  font-size: 11px;
  color: rgba(100,140,180,0.5);
  margin-top: 4px;
  font-style: italic;
}

/* ===== RESULT PANEL ===== */

.calc-result {
  padding: 40px 36px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: linear-gradient(135deg, rgba(4,14,32,0.92), rgba(2,8,22,0.96));
  border: 1px solid rgba(0,200,255,0.1);
  box-shadow: inset 0 1px 0 rgba(0,212,255,0.08);
}

.rank-alert {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,120,80,0.8);
  background: rgba(255,80,40,0.06);
  border: 1px solid rgba(255,80,40,0.12);
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 24px;
  box-shadow: inset 0 1px 0 rgba(255,120,80,0.06);
}

.result-label {
  font-family: var(--font-heading);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(140,170,200,0.5);
  margin-bottom: 6px;
  display: block;
}

#monthlyLoss {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -2px;
  background: linear-gradient(90deg, #ff6b4a, #ff3333);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 24px;
  display: block;
}

.result-extra {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 16px;
  box-shadow:
    inset 2px 2px 8px rgba(0,0,0,0.25),
    -1px -1px 4px rgba(255,255,255,0.02);
}

#costPerKm {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: #f0f6ff;
  margin-top: 4px;
  display: block;
}

#insightText {
  font-size: 13px;
  font-weight: 300;
  color: rgba(130,160,190,0.55);
  line-height: 1.7;
  margin-bottom: 20px;
  display: block;
}

/* ===== LOSS BREAKDOWN ===== */

.loss-breakdown {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}

.daily-loss,
.yearly-loss {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
  box-shadow:
    inset 2px 2px 8px rgba(0,0,0,0.25),
    -1px -1px 4px rgba(255,255,255,0.02);
}

.daily-loss span,
.yearly-loss span {
  font-family: var(--font-heading);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(140,170,200,0.45);
  display: block;
  margin-bottom: 6px;
}

#dailyLoss {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: #ff6b4a;
  display: block;
}

#yearlyLoss {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,100,60,0.8);
  margin-top: 4px;
  display: block;
}

/* ===== PROGRESS — scoped to avoid global .progress-bar conflict ===== */

.reality-check .progress-section,
.calc-result .progress-section {
  margin-bottom: 24px;
}

.reality-check .progress-label,
.calc-result .progress-label {
  font-family: var(--font-heading);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(140,170,200,0.45);
  margin-bottom: 10px;
  display: block;
}

.reality-check .progress-bar,
.calc-result .progress-bar,
.challenge-progress .progress-bar {
  height: 6px !important;
  background: rgba(255,255,255,0.05) !important;
  border-radius: 50px !important;
  overflow: hidden;
  box-shadow: inset 1px 1px 4px rgba(0,0,0,0.4);
  width: 100%;
  margin: 0;
}

.reality-check .progress-fill,
.calc-result .progress-fill {
  height: 100% !important;
  width: 60%;
  background: linear-gradient(90deg, #00d4ff, #0055ff) !important;
  border-radius: 50px !important;
  box-shadow: 0 0 10px rgba(0,212,255,0.4);
  transition: width 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.challenge-progress .progress-fill {
  width: 0% !important;
  background: linear-gradient(90deg, #7b5cff, #00d4ff) !important;
}

.progress-text {
  font-size: 12px;
  font-weight: 300;
  color: rgba(0,212,255,0.6);
  margin-top: 8px;
  display: block;
}

/* ===== BUTTONS — scoped so global button{} doesn't leak ===== */

.reality-check .primary-btn,
.calc-result .primary-btn,
.leaderboard-preview .secondary-btn,
.challenge-box .primary-btn,
.bottom-row .primary-btn {
  display: block;
  width: 100%;
  padding: 14px 24px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #00d4ff;
  background: rgba(0,212,255,0.07);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.23,1,0.32,1);
  box-shadow:
    3px 3px 12px rgba(0,0,0,0.4),
    -1px -1px 6px rgba(0,212,255,0.05),
    inset 0 1px 0 rgba(0,220,255,0.1);
  text-align: center;
  -webkit-appearance: none;
  appearance: none;
}

.reality-check .primary-btn:hover,
.calc-result .primary-btn:hover,
.challenge-box .primary-btn:hover,
.bottom-row .primary-btn:hover {
  background: rgba(0,212,255,0.13);
  border-color: rgba(0,212,255,0.4);
  box-shadow:
    0 8px 30px rgba(0,212,255,0.15),
    3px 3px 12px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(0,220,255,0.15);
  transform: translateY(-2px);
  color: #00d4ff;
}

.bottom-row .primary-btn.big {
  font-size: 14px;
  padding: 16px 24px;
}

.leaderboard-preview .secondary-btn {
  background: transparent !important;
  color: rgba(0,212,255,0.7) !important;
  border: 1px solid rgba(0,212,255,0.15) !important;
  border-radius: 50px !important;
  font-size: 12px !important;
  padding: 11px 20px !important;
}

.leaderboard-preview .secondary-btn:hover {
  border-color: rgba(0,212,255,0.35) !important;
  color: #00d4ff !important;
  background: rgba(0,212,255,0.05) !important;
  transform: translateY(-1px);
}

/* ===== CONNECTOR BAR ===== */

.calc-connector {
  text-align: center;
  padding: 18px 32px;
  background: rgba(4,14,30,0.9);
  border-left: 1px solid rgba(0,180,255,0.08);
  border-right: 1px solid rgba(0,180,255,0.08);
  position: relative;
}

.calc-connector::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 280px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,212,255,0.5), transparent);
}

.calc-connector span {
  font-family: var(--font-heading);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(0,212,255,0.35);
}

/* ===== BOTTOM ROW ===== */

.bottom-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3px;
  border-radius: 0 0 24px 24px;
  overflow: hidden;
}

@media (max-width: 780px) {
  .bottom-row { grid-template-columns: 1fr; }
}

.leaderboard-preview,
.challenge-box,
.bottom-row .conversion-box {
  padding: 32px 28px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: linear-gradient(135deg, rgba(5,14,32,0.9), rgba(2,9,22,0.94));
  border: 1px solid rgba(0,180,255,0.08);
  box-shadow: inset 0 1px 0 rgba(0,212,255,0.05);
}

.leaderboard-preview { border-radius: 0 0 0 20px; }
.bottom-row .conversion-box { border-radius: 0 0 20px 0; }

.leaderboard-preview h3,
.challenge-box h3,
.bottom-row .conversion-box h3 {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  color: #f0f6ff;
  margin-bottom: 18px;
  letter-spacing: -0.3px;
}

/* ===== LEADERBOARD ===== */

.leaderboard-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.leader-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 300;
  color: rgba(160,190,220,0.7);
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
}

.leader-item.top {
  background: rgba(0,212,255,0.06);
  border-color: rgba(0,212,255,0.15);
  color: #e6f1ff;
}

.leader-item.top span:last-child {
  color: #00d4ff;
  font-weight: 700;
  font-family: var(--font-heading);
}

.leader-item.you {
  background: rgba(255,200,0,0.05);
  border-color: rgba(255,200,0,0.15);
}

.leader-item.you span:last-child {
  color: #ffcc00;
  font-weight: 700;
  font-family: var(--font-heading);
}

.rank-position {
  font-size: 12px;
  font-weight: 300;
  color: rgba(130,160,190,0.5);
  margin-bottom: 14px;
}

.rank-position strong {
  color: rgba(0,212,255,0.8);
  font-weight: 700;
}

/* ===== CHALLENGE BOX ===== */

.challenge-box p {
  font-size: 13px;
  font-weight: 300;
  color: rgba(130,160,190,0.6);
  margin-bottom: 14px;
}

.challenge-progress span {
  font-family: var(--font-heading);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(140,170,200,0.4);
  display: block;
  margin-bottom: 8px;
}

.reward {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,200,60,0.8);
  background: rgba(255,180,0,0.06);
  border: 1px solid rgba(255,180,0,0.12);
  border-radius: 8px;
  padding: 8px 12px;
  margin-bottom: 16px;
  text-align: center;
}

/* ===== BOTTOM CONVERSION BOX ===== */

.bottom-row .conversion-box ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.bottom-row .conversion-box ul li {
  font-size: 13px;
  font-weight: 300;
  color: rgba(160,190,220,0.65);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.55;
}

.bottom-row .conversion-box ul li::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: #00d4ff;
  box-shadow: 0 0 6px #00d4ff;
  margin-top: 6px;
  flex-shrink: 0;
}

/* ============================================
   MRC CONVERSION SECTION — fully scoped
   ============================================ */

.mrc-conversion {
  background: #030810;
  padding: 80px 5%;
  position: relative;
  overflow: hidden;
}

.mrc-conversion .conversion-box {
  max-width: 800px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(6,16,36,0.95), rgba(3,10,24,0.98));
  border: 1px solid rgba(0,180,255,0.1);
  border-radius: 28px;
  padding: 52px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    8px 8px 40px rgba(0,0,0,0.5),
    -2px -2px 12px rgba(255,255,255,0.02),
    inset 0 1px 0 rgba(0,212,255,0.07);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.mrc-conversion .conversion-box::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 300px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,212,255,0.5), transparent);
}

.loss-highlight { margin-bottom: 28px; }

.loss-highlight h2 {
  font-family: var(--font-heading);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 800;
  color: #f0f6ff;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.loss-highlight h2 span {
  background: linear-gradient(90deg, #ff6b4a, #ff3333);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.loss-highlight p {
  font-size: 14px;
  font-weight: 300;
  color: rgba(130,160,190,0.55);
  margin-top: 10px;
}

.conversion-bridge {
  background: rgba(0,212,255,0.04);
  border: 1px solid rgba(0,212,255,0.1);
  border-radius: 14px;
  padding: 20px 28px;
  margin-bottom: 28px;
  box-shadow: inset 2px 2px 10px rgba(0,0,0,0.25);
}

.conversion-bridge p {
  font-size: 15px;
  font-weight: 300;
  color: rgba(180,210,230,0.75);
  line-height: 1.7;
  margin: 0;
}

.conversion-bridge span {
  color: #00d4ff;
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 18px;
}

.solution-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  text-align: left;
}

.mrc-conversion .solution-points div {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 300;
  color: rgba(160,190,220,0.7);
  padding: 12px 20px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  box-shadow: inset 1px 1px 6px rgba(0,0,0,0.2);
}

.mrc-conversion .solution-points div::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #00d4ff;
  box-shadow: 0 0 8px #00d4ff;
  flex-shrink: 0;
}

.optimize-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: #001018 !important;
  background: linear-gradient(90deg, #00d4ff, #0072ff);
  border: none !important;
  border-radius: 50px;
  padding: 16px 40px;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.23,1,0.32,1);
  box-shadow:
    0 8px 30px rgba(0,180,255,0.25),
    inset 0 1px 0 rgba(255,255,255,0.2);
  -webkit-appearance: none;
  appearance: none;
}

.optimize-btn:hover {
  transform: translateY(-3px) !important;
  box-shadow:
    0 14px 40px rgba(0,180,255,0.35),
    inset 0 1px 0 rgba(255,255,255,0.2) !important;
  filter: brightness(1.1);
  color: #001018 !important;
}




/* =========================================
   FUEL SWITCH TERMINAL - STARTUP CORE
========================================= */


/* ===== SECTION WRAPPER ===== */

.fuel-switch-terminal {
  padding: 100px 5%;
  background: #02060f;
  color: #e6f1ff;
  position: relative;
  overflow: hidden;
}

.fuel-switch-terminal .fsi-blob-1 {
  position: absolute;
  top: -200px; left: -100px;
  width: 500px; height: 500px;
  background: rgba(0,100,255,0.06);
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}

.fuel-switch-terminal .fsi-blob-2 {
  position: absolute;
  bottom: -100px; right: -80px;
  width: 400px; height: 400px;
  background: rgba(0,212,255,0.04);
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}

.fuel-switch-terminal .fsi-gridbg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,212,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* ===== TERMINAL HEADER ===== */

.fuel-switch-terminal .terminal-header.center {
  text-align: center;
  margin-bottom: 56px;
  position: relative;
  z-index: 2;
}

.fuel-switch-terminal .audit-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(0,212,255,0.7);
  padding: 7px 18px;
  border-radius: 50px;
  background: rgba(0,212,255,0.06);
  border: 1px solid rgba(0,212,255,0.15);
  box-shadow: 2px 2px 10px rgba(0,0,0,0.4), inset 0 1px 0 rgba(0,220,255,0.08);
  margin-bottom: 22px;
}

.fuel-switch-terminal .audit-badge::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #ff4444;
  box-shadow: 0 0 8px #ff4444;
  flex-shrink: 0;
  animation: fsi-dot 1s infinite;
}

@keyframes fsi-dot {
  0%,100% { opacity: 1; }
  50% { opacity: 0.2; }
}

.fuel-switch-terminal .terminal-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800;
  color: #f0f6ff;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.fuel-switch-terminal .terminal-title .text-cyan {
  background: linear-gradient(90deg, #00d4ff, #0055ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.fuel-switch-terminal .terminal-sub {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  color: rgba(160,190,220,0.6);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ===== NEUMORPHIC OUTER SHELL ===== */

.fuel-switch-terminal .terminal-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3px;
  max-width: 1200px;
  margin: 0 auto;
  background: #071020;
  border-radius: 28px;
  padding: 4px;
  box-shadow:
    8px 8px 28px rgba(0,0,0,0.65),
    -4px -4px 16px rgba(255,255,255,0.02),
    inset 0 1px 0 rgba(255,255,255,0.04);
  position: relative;
  z-index: 2;
}

@media (max-width: 900px) {
  .fuel-switch-terminal .terminal-grid { grid-template-columns: 1fr; }
}

/* ===== PANELS — GLASSMORPHISM ===== */

.fuel-switch-terminal .terminal-panel {
  padding: 40px 36px;
  position: relative;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  overflow: hidden;
}

.fuel-switch-terminal .terminal-panel::after {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 70%; height: 70%;
  background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, transparent 55%);
  border-radius: 50%;
  pointer-events: none;
}

.fuel-switch-terminal .terminal-panel.laboratory {
  background: linear-gradient(135deg, rgba(6,16,36,0.92), rgba(3,10,24,0.96));
  border: 1px solid rgba(0,180,255,0.09);
  border-radius: 24px 0 0 24px;
  box-shadow: inset 0 1px 0 rgba(0,212,255,0.06);
}

.fuel-switch-terminal .terminal-panel.intelligence {
  background: linear-gradient(135deg, rgba(4,12,28,0.94), rgba(2,8,20,0.98));
  border: 1px solid rgba(0,200,255,0.1);
  border-radius: 0 24px 24px 0;
  box-shadow: inset 0 1px 0 rgba(0,212,255,0.08);
}

@media (max-width: 900px) {
  .fuel-switch-terminal .terminal-panel.laboratory { border-radius: 24px 24px 0 0; }
  .fuel-switch-terminal .terminal-panel.intelligence { border-radius: 0 0 24px 24px; }
}

/* ===== PANEL TAG ===== */

.fuel-switch-terminal .panel-tag {
  position: absolute;
  top: 18px; right: 22px;
  font-family: monospace;
  font-size: 9px;
  letter-spacing: 2px;
  color: rgba(0,212,255,0.3);
}

/* ===== LABELS ===== */

.fuel-switch-terminal .section-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: rgba(0,212,255,0.6);
  margin-bottom: 14px;
  margin-top: 0;
}

.fuel-switch-terminal .input-section {
  margin-bottom: 26px;
}

.fuel-switch-terminal .input-full {
  margin-bottom: 10px;
}

.fuel-switch-terminal .input-dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}

.fuel-switch-terminal .input-triple {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}

/* ===== INPUTS — NO all:unset, safe override ===== */

.fuel-switch-terminal .audit-input {
  display: block;
  width: 100%;
  padding: 12px 14px;
  margin-top: 0 !important;
  background: rgba(255,255,255,0.03) !important;
  border: 1px solid rgba(0,180,255,0.14) !important;
  border-radius: 12px !important;
  color: #e6f1ff !important;
  font-family: var(--font-body) !important;
  font-size: 13px !important;
  font-weight: 300 !important;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow:
    inset 2px 2px 8px rgba(0,0,0,0.35),
    inset -1px -1px 4px rgba(255,255,255,0.02) !important;
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
}

.fuel-switch-terminal .audit-input:focus {
  border-color: rgba(0,212,255,0.38) !important;
  box-shadow:
    inset 2px 2px 8px rgba(0,0,0,0.3),
    0 0 0 3px rgba(0,212,255,0.07) !important;
  outline: none;
}

.fuel-switch-terminal .audit-input::placeholder {
  color: rgba(120,150,180,0.35) !important;
}

.fuel-switch-terminal .audit-input option {
  background: #0b1628;
  color: #e6f1ff;
}

/* ===== PRICE FIELD — neumorphic ===== */

.fuel-switch-terminal .price-field {
  background: rgba(255,255,255,0.02);
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: inset 1px 1px 6px rgba(0,0,0,0.25);
}

.fuel-switch-terminal .price-field small {
  font-family: var(--font-heading);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(0,212,255,0.5);
  display: block;
  margin-bottom: 4px;
}

.fuel-switch-terminal .price-field input {
  display: block;
  width: 100%;
  padding: 4px 0 !important;
  margin-top: 0 !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  color: #f0f6ff !important;
  font-family: var(--font-heading) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  outline: none;
  box-shadow: none !important;
  box-sizing: border-box;
}

.fuel-switch-terminal .price-field input:focus {
  box-shadow: none !important;
  border: none !important;
  outline: none;
}

.fuel-switch-terminal .hint-text {
  font-size: 10px;
  color: rgba(120,150,180,0.4);
  display: block;
  margin-top: 6px;
  font-style: italic;
}

/* ===== EXECUTE BUTTON ===== */

.fuel-switch-terminal .audit-execute-btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 24px !important;
  margin-top: 4px;
  font-family: var(--font-heading) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #001018 !important;
  background: linear-gradient(90deg, #00d4ff, #0072ff) !important;
  border: none !important;
  border-radius: 50px !important;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.23,1,0.32,1);
  box-shadow:
    0 8px 30px rgba(0,180,255,0.25),
    inset 0 1px 0 rgba(255,255,255,0.2) !important;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.fuel-switch-terminal .audit-execute-btn:hover {
  transform: translateY(-3px);
  box-shadow:
    0 14px 40px rgba(0,180,255,0.35),
    inset 0 1px 0 rgba(255,255,255,0.2) !important;
  filter: brightness(1.1);
}

.fuel-switch-terminal .btn-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
  pointer-events: none;
}

/* ===== VERDICT DISPLAY ===== */

.fuel-switch-terminal .verdict-display {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  padding: 22px 24px;
  border-radius: 18px;
  margin-bottom: 22px;
  box-shadow: inset 2px 2px 8px rgba(0,0,0,0.3);
}

.fuel-switch-terminal .verdict-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.fuel-switch-terminal .live-status {
  color: #ff4d4d;
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.fuel-switch-terminal .pulse {
  width: 7px; height: 7px;
  background: #ff4d4d;
  border-radius: 50%;
  box-shadow: 0 0 8px #ff4d4d;
  animation: fsi-dot 1s infinite;
  flex-shrink: 0;
}

.fuel-switch-terminal .logic-confidence {
  font-family: var(--font-heading);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  color: rgba(0,212,255,0.5);
  text-transform: uppercase;
}

.fuel-switch-terminal #verdictTitle {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 800;
  color: #f0f6ff;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
  display: block;
}

.fuel-switch-terminal #verdictTitle.awaiting {
  color: rgba(140,170,200,0.45);
  font-weight: 400;
  font-style: italic;
  font-size: 14px;
}

.fuel-switch-terminal .confidence-track {
  height: 4px;
  background: rgba(255,255,255,0.05);
  border-radius: 50px;
  overflow: hidden;
  box-shadow: inset 1px 1px 4px rgba(0,0,0,0.4);
}

.fuel-switch-terminal .confidence-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #00d4ff, #0055ff);
  border-radius: 50px;
  box-shadow: 0 0 8px rgba(0,212,255,0.4);
  transition: width 0.8s cubic-bezier(0.23,1,0.32,1);
}

/* ===== MAIN LEAK DISPLAY ===== */

.fuel-switch-terminal .main-leak-display {
  margin-bottom: 22px;
}

.fuel-switch-terminal .main-leak-display label {
  font-family: var(--font-heading);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(140,170,200,0.45);
  display: block;
  margin-bottom: 8px;
}

.fuel-switch-terminal .leak-value {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -2px;
  background: linear-gradient(90deg, #ff6b4a, #ff3333);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
  display: block;
}

.fuel-switch-terminal .leak-value span {
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0;
  color: rgba(140,170,200,0.4);
  -webkit-text-fill-color: rgba(140,170,200,0.4);
}

.fuel-switch-terminal .projection {
  font-size: 12px;
  font-weight: 300;
  color: rgba(120,150,180,0.45);
  line-height: 1.6;
  font-style: italic;
  display: block;
}

/* ===== STATS MATRIX — neumorphic ===== */

.fuel-switch-terminal .stats-matrix {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  margin: 20px 0;
}

.fuel-switch-terminal .stat-node {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  padding: 16px 12px;
  border-radius: 14px;
  text-align: center;
  box-shadow:
    inset 2px 2px 6px rgba(0,0,0,0.3),
    -1px -1px 4px rgba(255,255,255,0.02);
  transition: all 0.3s ease;
  /* CRITICAL: make sure content is visible */
  display: block;
  visibility: visible;
  opacity: 1;
}

.fuel-switch-terminal .stat-node:hover {
  border-color: rgba(0,212,255,0.15);
  transform: translateY(-2px);
}

.fuel-switch-terminal .stat-node small {
  font-family: var(--font-heading);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(140,170,200,0.4);
  display: block;
  margin-bottom: 8px;
}

.fuel-switch-terminal .stat-node .val {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: rgba(180,210,230,0.8);
  display: block;
  /* CRITICAL: prevent global color overrides */
  -webkit-text-fill-color: unset;
}

.fuel-switch-terminal .stat-node.success .val {
  color: #00dc78 !important;
  -webkit-text-fill-color: #00dc78;
}

.fuel-switch-terminal .stat-node.highlight .val {
  color: #00d4ff !important;
  -webkit-text-fill-color: #00d4ff;
}

/* ===== PAYBACK HORIZON ===== */

.fuel-switch-terminal .payback-horizon {
  background: rgba(0,212,255,0.04);
  border: 1px solid rgba(0,212,255,0.1);
  border-radius: 16px;
  padding: 18px 22px;
  margin-bottom: 20px;
  box-shadow: inset 2px 2px 8px rgba(0,0,0,0.2);
}

.fuel-switch-terminal .payback-horizon label {
  font-family: var(--font-heading);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(0,212,255,0.5);
  display: block;
  margin-bottom: 6px;
}

.fuel-switch-terminal .payback-horizon h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: #f0f6ff;
  letter-spacing: -0.5px;
  margin: 0;
}

/* ===== PRO LOCK GATE ===== */

.fuel-switch-terminal .pro-lock-gate {
  background: linear-gradient(135deg, rgba(212,175,55,0.05) 0%, rgba(4,14,30,0.6) 100%);
  border: 1px solid rgba(212,175,55,0.2);
  padding: 28px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(212,175,55,0.08), 3px 3px 16px rgba(0,0,0,0.4);
}

.fuel-switch-terminal .lock-blur {
  filter: blur(5px);
  opacity: 0.4;
  user-select: none;
  pointer-events: none;
}

.fuel-switch-terminal .lock-blur h4 {
  font-family: var(--font-heading);
  font-size: 15px;
  color: #f0f6ff;
  margin-bottom: 6px;
}

.fuel-switch-terminal .lock-blur p {
  font-size: 13px;
  color: rgba(140,170,200,0.6);
}

.fuel-switch-terminal .lock-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(4,10,22,0.65);
  border-radius: 20px;
  backdrop-filter: blur(4px);
  text-align: center;
  padding: 20px;
}

.fuel-switch-terminal .premium-badge {
  display: inline-block;
  background: linear-gradient(90deg, #d4af37, #f0c040);
  color: #000;
  padding: 5px 14px;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 10px;
  letter-spacing: 2px;
  box-shadow: 0 4px 12px rgba(212,175,55,0.3);
}

.fuel-switch-terminal .lock-overlay h5 {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: #f0f6ff;
  margin: 2px 0;
}

.fuel-switch-terminal .unlock-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 12px 24px !important;
  font-family: var(--font-heading) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px;
  color: #001018 !important;
  background: linear-gradient(90deg, #d4af37, #f0c040) !important;
  border: none !important;
  border-radius: 50px !important;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.23,1,0.32,1);
  box-shadow: 0 6px 20px rgba(212,175,55,0.25) !important;
  margin-top: 4px;
  box-sizing: border-box;
}

.fuel-switch-terminal .unlock-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(212,175,55,0.35) !important;
  filter: brightness(1.1);
}

/* ============================================================
   CNG ADVISOR SECTION — PRODUCTION SCOPED CSS
   ============================================================ */

.cng-advisor {
  padding: 90px 5% 100px;
  background: #02060f;
  border-top: 1px solid rgba(255,255,255,0.04);
  position: relative;
  overflow: hidden;
}

.cng-advisor::before {
  content: '';
  position: absolute;
  top: -150px; right: -100px;
  width: 500px; height: 500px;
  background: rgba(0,212,255,0.04);
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}

.cng-advisor .advisor-container {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cng-advisor .section-title {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  color: #f0f6ff;
  text-align: center;
  margin-bottom: 14px;
  letter-spacing: -0.8px;
}

.cng-advisor .section-title span {
  background: linear-gradient(90deg, #00d4ff, #0055ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cng-advisor .section-sub {
  font-size: 14px;
  font-weight: 300;
  color: rgba(140,170,200,0.55);
  text-align: center;
  max-width: 520px;
  margin: 0 auto 48px;
  line-height: 1.8;
}

/* ===== ADVISOR GRID SHELL — neumorphic ===== */

.cng-advisor .advisor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3px;
  background: #071020;
  border-radius: 24px;
  padding: 4px;
  box-shadow:
    8px 8px 24px rgba(0,0,0,0.6),
    -4px -4px 14px rgba(255,255,255,0.02),
    inset 0 1px 0 rgba(255,255,255,0.04);
}

@media (max-width: 900px) {
  .cng-advisor .advisor-grid { grid-template-columns: 1fr; }
  .cng-advisor .compare-card.highlight { transform: none !important; }
}

/* ===== COMPARE CARDS — glassmorphism ===== */

.cng-advisor .compare-card {
  padding: 32px 28px;
  border-radius: 20px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: linear-gradient(135deg, rgba(5,14,32,0.9), rgba(2,9,22,0.94));
  border: 1px solid rgba(0,180,255,0.08);
  box-shadow: inset 0 1px 0 rgba(0,212,255,0.05);
  transition: all 0.4s cubic-bezier(0.23,1,0.32,1);
  /* CRITICAL: ensure card is always visible */
  display: block;
  visibility: visible;
  opacity: 1;
  min-height: 200px;
}

.cng-advisor .compare-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,180,255,0.2);
}

.cng-advisor .compare-card.highlight {
  background: linear-gradient(135deg, rgba(0,50,70,0.6), rgba(0,30,55,0.8)) !important;
  border: 1px solid rgba(0,212,255,0.25) !important;
  box-shadow:
    0 0 40px rgba(0,212,255,0.07),
    inset 0 1px 0 rgba(0,212,255,0.12) !important;
}

.cng-advisor .compare-card.highlight:hover {
  border-color: rgba(0,212,255,0.4) !important;
  box-shadow:
    0 20px 50px rgba(0,212,255,0.12),
    inset 0 1px 0 rgba(0,212,255,0.15) !important;
}

/* ===== FUEL TYPE LABEL ===== */

.cng-advisor .fuel-type {
  font-family: var(--font-heading);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(140,170,200,0.45);
  display: block;
  margin-bottom: 12px;
}

/* ===== PRICE DISPLAY ===== */

.cng-advisor .fuel-price-display {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 800;
  color: #f0f6ff;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
  /* CRITICAL: prevent gradient text bleed */
  background: none;
  -webkit-text-fill-color: #f0f6ff;
}

.cng-advisor .compare-card.highlight .fuel-price-display {
  color: #00d4ff;
  -webkit-text-fill-color: #00d4ff;
}

.cng-advisor .fuel-price-display span {
  font-size: 13px;
  color: rgba(140,170,200,0.4);
  -webkit-text-fill-color: rgba(140,170,200,0.4);
  font-weight: 300;
  letter-spacing: 0;
}

/* ===== METRICS LIST ===== */

.cng-advisor .metrics-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cng-advisor .metric-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid rgba(255,255,255,0.04);
  font-size: 13px;
  /* override global metric-item */
  border-bottom: none;
}

.cng-advisor .metric-item:last-child {
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.cng-advisor .metric-item span {
  font-weight: 300;
  color: rgba(140,170,200,0.55);
}

.cng-advisor .metric-item strong {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: #f0f6ff;
  /* override global color: var(--color-primary) */
  -webkit-text-fill-color: #f0f6ff;
}

.cng-advisor .compare-card.highlight .metric-item strong {
  color: #00d4ff !important;
  -webkit-text-fill-color: #00d4ff;
}

/* ===== VERDICT BOX — neumorphic ===== */

.cng-advisor .verdict-box {
  padding: 32px 28px;
  border-radius: 20px;
  backdrop-filter: blur(16px);
  background: linear-gradient(135deg, rgba(4,14,30,0.95), rgba(2,8,20,0.98));
  border: 1px solid rgba(0,212,255,0.08);
  box-shadow:
    inset 2px 2px 10px rgba(0,0,0,0.3),
    inset 0 1px 0 rgba(0,212,255,0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  /* CRITICAL: ensure visible */
  visibility: visible;
  opacity: 1;
}

.cng-advisor .verdict-text h4 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 800;
  color: #f0f6ff;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.cng-advisor .verdict-text p {
  font-size: 13px;
  font-weight: 300;
  color: rgba(130,160,190,0.55);
  line-height: 1.7;
}

/* ===== CTA SWITCH BUTTON ===== */

.cng-advisor .cta-switch {
  display: block !important;
  font-family: var(--font-heading) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.3px;
  color: #001018 !important;
  background: linear-gradient(90deg, #00d4ff, #0072ff) !important;
  text-decoration: none;
  padding: 14px 24px !important;
  border-radius: 50px !important;
  text-align: center;
  transition: all 0.35s cubic-bezier(0.23,1,0.32,1);
  box-shadow:
    0 8px 24px rgba(0,180,255,0.2),
    inset 0 1px 0 rgba(255,255,255,0.15);
  border: none !important;
  box-sizing: border-box;
}

.cng-advisor .cta-switch:hover {
  transform: translateY(-2px);
  box-shadow:
    0 14px 36px rgba(0,180,255,0.3),
    inset 0 1px 0 rgba(255,255,255,0.2);
  filter: brightness(1.08);
  color: #001018 !important;
}

/* ============================================================
   PREMIUM INTELLIGENCE SECTION — SCOPED
   ============================================================ */

.premium-intelligence {
  padding: 90px 5% 100px;
  background: radial-gradient(ellipse at top center, rgba(0,40,80,0.35) 0%, #02060f 60%);
  position: relative;
  overflow: hidden;
  color: #e6f1ff;
}

.premium-intelligence::before {
  content: '';
  position: absolute;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(0,180,255,0.05) 0%, transparent 65%);
  pointer-events: none;
}

.premium-intelligence .premium-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.premium-intelligence .premium-title {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  color: #f0f6ff;
  letter-spacing: -0.8px;
  line-height: 1.1;
  margin-bottom: 16px;
  /* override kit section .premium-title which sets font-size: 3rem */
  font-size: clamp(26px, 3.5vw, 40px) !important;
}

.premium-intelligence .premium-title span {
  background: linear-gradient(90deg, #00d4ff, #0055ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.premium-intelligence .premium-sub {
  font-size: 14px;
  font-weight: 300;
  color: rgba(140,170,200,0.55);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.85;
}

/* insight preview */
.premium-intelligence .insight-preview {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.premium-intelligence .insight-item {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(0,212,255,0.1);
  border-radius: 12px;
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 300;
  color: rgba(160,190,220,0.65);
  box-shadow: inset 1px 1px 6px rgba(0,0,0,0.2);
  flex: 1;
  min-width: 180px;
  text-align: left;
}

.premium-intelligence .insight-item strong {
  color: #00d4ff;
  font-weight: 700;
  font-family: var(--font-heading);
  -webkit-text-fill-color: #00d4ff;
}

/* locked report */
.premium-intelligence .locked-report {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

.premium-intelligence .report-content {
  padding: 32px;
  background: linear-gradient(135deg, rgba(6,16,36,0.9), rgba(3,10,24,0.95));
  border: 1px solid rgba(0,180,255,0.08);
  border-radius: 20px;
}

.premium-intelligence .report-content.blur {
  filter: blur(5px);
  opacity: 0.5;
  user-select: none;
  pointer-events: none;
}

.premium-intelligence .report-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,0.04);
  font-size: 14px;
  border-bottom: none;
}

.premium-intelligence .report-row:last-child {
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.premium-intelligence .report-row span {
  font-weight: 300;
  color: rgba(140,170,200,0.6);
}

.premium-intelligence .report-row strong {
  font-family: var(--font-heading);
  font-weight: 700;
  color: #f0f6ff;
  -webkit-text-fill-color: #f0f6ff;
  font-size: 14px;
}

/* lock overlay */
.premium-intelligence .lock-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(2,6,15,0.75);
  border-radius: 20px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.premium-intelligence .lock-box {
  text-align: center;
  padding: 40px;
  background: linear-gradient(135deg, rgba(6,16,36,0.95), rgba(3,10,24,0.98));
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: 24px;
  max-width: 440px;
  box-shadow:
    8px 8px 32px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(212,175,55,0.08);
  position: relative;
  overflow: hidden;
}

.premium-intelligence .lock-box::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 200px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,0.5), transparent);
}

.premium-intelligence .premium-badge {
  display: inline-block !important;
  background: linear-gradient(90deg, #d4af37, #f0c040) !important;
  color: #000 !important;
  padding: 5px 14px !important;
  border-radius: 4px !important;
  font-family: var(--font-heading) !important;
  font-weight: 900 !important;
  font-size: 10px !important;
  letter-spacing: 2px;
  box-shadow: 0 4px 12px rgba(212,175,55,0.3);
  margin-bottom: 16px;
  /* override .premium-badge from kit section */
  font-size: 10px !important;
}

.premium-intelligence .lock-box h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: #f0f6ff;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.premium-intelligence .lock-box p {
  font-size: 13px;
  font-weight: 300;
  color: rgba(140,170,200,0.6);
  line-height: 1.7;
  margin-bottom: 20px;
}

.premium-intelligence .unlock-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 14px 32px !important;
  font-family: var(--font-heading) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px;
  color: #001018 !important;
  background: linear-gradient(90deg, #d4af37, #f0c040) !important;
  border: none !important;
  border-radius: 50px !important;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.23,1,0.32,1);
  box-shadow: 0 8px 24px rgba(212,175,55,0.25) !important;
  box-sizing: border-box;
}

.premium-intelligence .unlock-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(212,175,55,0.35) !important;
  filter: brightness(1.1);
  color: #001018 !important;
}

 /* for the how we work  */
 
.how-section {
    padding: 100px 5%;
    background: #050b18;
    position: relative;
    overflow: hidden;
}

.how-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
    position: relative;
    z-index: 2;
}

/* THE CONNECTING LINE */

.how-flow-line {
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, 
        rgba(0, 212, 255, 0) 0%, 
        rgba(0, 212, 255, 0.3) 50%, 
        rgba(0, 212, 255, 0) 100%);
    z-index: 1;
}

/* INDIVIDUAL CARDS */

.how-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    border-radius: 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.how-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(0, 212, 255, 0.3);
}

/* STEP NUMBER */

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: #00d4ff;
    color: #000;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 14px;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
}

.how-card .icon {
    font-size: 40px;
    margin-bottom: 20px;
    display: block;
}

.how-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #fff;
}

.how-card p {
    font-size: 14px;
    color: #888;
    line-height: 1.6;
}

/* HIGHLIGHT CARD (Step 04) */

.how-card.highlight {
    background: linear-gradient(145deg, rgba(0, 212, 255, 0.1), rgba(0, 0, 0, 0));
    border: 1px solid rgba(0, 212, 255, 0.4);
}

.how-card.highlight .step-number {
    background: #00ff88; /* Success Green for Earning */
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.4);
}

.how-footer {
    text-align: center;
    margin-top: 60px;
    font-size: 16px;
    color: #555;
    font-style: italic;
}

/* RESPONSIVE FIX */

@media (max-width: 992px) {
    .how-grid {
        grid-template-columns: 1fr 1fr;
    }
    .how-flow-line {
        display: none; 
    }
}

@media (max-width: 600px) {
    .how-grid {
        grid-template-columns: 1fr;
    }
}

/* for the about us */

.revlo-about {
    padding: 120px 5%;
    background: #02060f;
    position: relative;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
}

/* LEFT CONTENT STYLING */

.badge-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
}

.live-indicator {
    width: 8px;
    height: 8px;
    background: #00ff88;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ff88;
    animation: pulse 2s infinite;
}

.section-tag {
    font-size: 12px;
    letter-spacing: 3px;
    color: var(--color-primary);
    font-weight: 700;
}

.hero-title {
    font-size: 54px;
    line-height: 1.1;
    margin-bottom: 30px;
    font-weight: 800;
}

.gradient-text {
    background: linear-gradient(90deg, #00d4ff, #00ff88);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-highlight {
    font-size: 18px;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* FEATURE TILES */
.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 40px 0;
}

.feature-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 15px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    transition: 0.3s;
}

.feature-card:hover {
    background: rgba(0, 212, 255, 0.05);
    border-color: rgba(0, 212, 255, 0.2);
}

/* RIGHT VISUAL - THE ENGINE CORE */

.about-visual {
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.engine-core {
    position: relative;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, #00d4ff 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(20px);
    animation: glow-pulse 4s infinite ease-in-out;
}

.orbit-1, .orbit-2 {
    position: absolute;
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 50%;
    animation: rotate 10s linear infinite;
}

.orbit-1 { width: 350px; height: 350px; }
.orbit-2 { width: 450px; height: 450px; animation-duration: 15s; animation-direction: reverse; }

/* FLOATING STATS */

.stat-float {
    position: absolute;
    background: rgba(10, 20, 40, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 700;
    color: #00ff88;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    animation: float 6s infinite ease-in-out;
}

.card-1 { top: 20%; right: 10%; }
.card-2 { bottom: 20%; left: 10%; color: #00d4ff; animation-delay: 2s; }

/* ANIMATIONS */

@keyframes rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes float { 
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}
@keyframes glow-pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.2); }
}

/* RESPONSIVE */

@media (max-width: 992px) {
    .about-grid { grid-template-columns: 1fr; text-align: center; }
    .badge-wrapper { justify-content: center; }
    .feature-grid { grid-template-columns: 1fr; }
    .about-visual { height: 300px; order: -1; }
}

/* footer */

.footer {
    background: #02060f;
    padding: 80px 5% 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #fff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 50px;
    max-width: 1300px;
    margin: 0 auto;
}

.footer-brand h2 {
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-weight: 900;
}

.tagline {
    color: #888;
    font-size: 14px;
    margin-bottom: 20px;
}

/* SYSTEM STATUS PULSE */

.system-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 255, 136, 0.05);
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 12px;
    color: #00ff88;
    border: 1px solid rgba(0, 255, 136, 0.2);
    margin-bottom: 30px;
}

.system-status .dot {
    width: 6px;
    height: 6px;
    background: #00ff88;
    border-radius: 50%;
    animation: blink 1.5s infinite;
}

/* NEWSLETTER */

.newsletter p { font-size: 13px; margin-bottom: 10px; color: #ccc; }
.newsletter-box {
    display: flex;
    gap: 5px;
    background: rgba(255,255,255,0.05);
    padding: 5px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.1);
}

.newsletter-box input {
    background: transparent;
    border: none;
    padding: 10px;
    color: #fff;
    width: 100%;
    outline: none;
}

.newsletter-box button {
    background: #00d4ff;
    border: none;
    padding: 8px 15px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
}

/* COLUMNS */

.footer-col h4 {
    margin-bottom: 25px;
    font-size: 16px;
    color: #fff;
}

.footer-col a, .footer-col p {
    display: block;
    text-decoration: none;
    color: #888;
    font-size: 14px;
    margin-bottom: 12px;
    transition: 0.3s;
}

.footer-col a:hover { color: #00d4ff; }

.footer-bottom {
    text-align: center;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 13px;
    color: #555;
}

@media (max-width: 992px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* =========================================
   AI WIDGET - THE CONCIERGE
========================================= */

.ai-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    font-family: inherit;
}

.ai-toggle {
    width: 60px;
    height: 60px;
    background: #00d4ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ai-toggle:hover { transform: scale(1.1) rotate(10deg); }

.ai-box {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    background: #0a1428;
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    display: none; /* Hidden by default */
    flex-direction: column;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.ai-box.active { display: flex; animation: slideUp 0.4s ease; }

.ai-header {
    background: #00d4ff;
    color: #000;
    padding: 15px 20px;
    font-weight: 800;
    display: flex;
    justify-content: space-between;
}

.ai-messages {
    height: 300px;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ai-msg {
    background: rgba(255,255,255,0.05);
    padding: 10px 15px;
    border-radius: 15px 15px 15px 0;
    font-size: 14px;
    max-width: 80%;
    line-height: 1.4;
}

.ai-input {
    padding: 15px;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    gap: 10px;
}

.ai-input input {
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    padding: 10px;
    border-radius: 8px;
    flex: 1;
}

.ai-input button {
    background: #00d4ff;
    border: none;
    color: #000;
    width: 40px;
    border-radius: 8px;
    cursor: pointer;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* for the premuim in the fsi part */

/* .premium-intelligence {
  padding: 100px 0;
  background: radial-gradient(circle at top, #061524, #020b14);
  color: #fff;
}

.premium-container {
  max-width: 1100px;
  margin: auto;
  text-align: center;
}

.premium-title {
  font-size: 36px;
}

.premium-title span {
  color: #00f0ff;
}

.premium-sub {
  opacity: 0.7;
  margin-bottom: 40px;
} */

/*  teaser */

/* .insight-preview {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}

.insight-item {
  flex: 1;
  background: rgba(255,255,255,0.05);
  padding: 15px;
  margin: 5px;
  border-radius: 8px;
} */

/* 🌫 locked */
/* .locked-report {
  position: relative;
}

.report-content {
  padding: 30px;
  background: rgba(255,255,255,0.04);
  border-radius: 12px;
}

.report-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
} */

/* blur effect */

/* .blur {
  filter: blur(6px);
  opacity: 0.6;
} */

/* 🔒 overlay */

/* .lock-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.6);
  border-radius: 12px;
}

.lock-box {
  text-align: center;
}

.premium-badge {
  background: #00f0ff;
  color: #000;
  padding: 5px 12px;
  font-size: 12px;
  display: inline-block;
  margin-bottom: 10px;
}

.unlock-btn {
  margin-top: 15px;
  padding: 12px 25px;
  background: linear-gradient(90deg, #00f0ff, #00ffa3);
  border: none;
  cursor: pointer;
  font-weight: bold;
} */


/* --- AI Assistant Prompt (Refined Glass) --- */
.ai-assistant {
  background: linear-gradient(110deg, rgba(0, 212, 255, 0.08) 0%, rgba(0, 114, 255, 0.02) 100%);
  border: 1px solid var(--color-primary-glow);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border-left: 4px solid var(--color-primary); /* Modern Accent */
}

/* --- The Grid System (No Congestion) --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
  align-items: stretch;
}

/* --- Card Architecture --- */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-lg);
  padding: 32px; /* Increased breathing room */
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card:hover {
  border-color: var(--color-primary);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.card.highlight {
  background: radial-gradient(circle at top right, rgba(0, 212, 255, 0.05), transparent);
  border: 1px solid var(--color-primary-glow);
}

/* --- Dynamic Components (Fuel & EV) --- */
.fuel-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0;
}

.fuel-item {
  display: flex;
  justify-content: space-between; /* Fixes the "No Space" issue */
  align-items: center;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.fuel-item .label {
  color: var(--color-muted);
  font-size: 0.9rem;
}

.fuel-item .value {
  color: var(--color-text);
  font-weight: 700;
  font-family: var(--font-heading);
}

/* --- Tank Visualization --- */
.tank-container {
  margin: 20px 0;
}

.tank {
  height: 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

.tank-fill {
  height: 100%;
  background: var(--gradient-primary);
  box-shadow: 0 0 15px var(--color-primary-glow);
  border-radius: 10px;
}

/* --- Utility Typography --- */
.insight {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--color-muted);
  margin-bottom: 8px;
}

.insight.success { color: #00ff88; font-weight: 500; }
.insight.warning { color: #ffab00; }

.card .btn {
  margin-top: auto; /* Forces button to the bottom */
  padding: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* for the gasolenr */

.savings-banner {
  background: rgba(0, 212, 255, 0.1);
  padding: 12px;
  border-radius: var(--radius-md);
  text-align: center;
  margin: 1rem 0;
  border: 1px solid var(--color-primary-glow);
}

.save-text {
  color: var(--color-primary);
  font-weight: 800;
  margin: 0;
  font-size: 1.1rem;
}

.header-main {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 10px;
}

.ev-pricing, .stats-grid {
  display: flex;
  justify-content: space-between;
  margin: 20px 0;
}

.stat-box {
  background: rgba(255,255,255,0.03);
  padding: 15px;
  border-radius: 12px;
  width: 48%;
}

.quality-badge {
  margin-top: 15px;
  padding: 8px;
  border: 1px dashed var(--color-border);
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 1px;
  color: var(--color-muted);
}

/* --- Performance Section Layout --- */
.section.performance-section {
  padding: 100px 0;
  background-color: var(--color-bg);
  overflow: hidden;
}

.container.performance {
  display: grid;
  grid-template-columns: 1.5fr 1fr; /* Left side takes more space */
  gap: 60px;
  align-items: center;
}

/* --- Left Side: Metrics --- */
.performance-left .section-title {
  margin-bottom: 10px;
  text-align: left;
}

.performance-left .subtitle {
  color: var(--color-muted);
  margin-bottom: 40px;
  max-width: 600px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.metric-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border);
  padding: 24px;
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.metric-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--color-primary-glow);
}

.metric-card .label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--color-muted);
  margin-bottom: 12px;
}

.metric-card h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 8px;
  color: var(--color-text);
}

.metric-card h3 span {
  font-size: 0.9rem;
  color: var(--color-primary);
  font-weight: 400;
}

.metric-card .positive {
  font-size: 13px;
  color: #00ff88;
  margin: 0;
}

/* --- Expert Recommendation Card --- */
.optimizer-card {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(11, 18, 36, 0.5) 100%);
  border: 1px solid var(--color-primary-glow);
  padding: 30px;
  border-radius: var(--radius-lg);
  position: relative;
}

.opt-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.opt-header h4 {
  color: var(--color-primary);
  margin: 0;
  font-family: var(--font-heading);
}

.optimizer-card p {
  color: var(--color-muted);
  line-height: 1.6;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.optimizer-card .link {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
}

/* --- Right Side: Score Circle --- */
.performance-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.score-circle {
  width: 320px;
  height: 320px;
  background: conic-gradient(var(--color-primary) 88%, rgba(255,255,255,0.1) 0%);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  box-shadow: 0 0 50px rgba(0, 212, 255, 0.2);
}

/* Create the hollow effect */
.score-circle .inner {
  width: 280px;
  height: 280px;
  background: var(--color-bg);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.score-circle .inner p {
  font-size: 12px;
  letter-spacing: 2px;
  margin: 0;
  color: var(--color-muted);
}

.score-circle .inner h2 {
  font-size: 6rem;
  font-family: var(--font-heading);
  color: var(--color-text);
  margin: 5px 0;
}

.score-circle .inner .status {
  background: #00ff88;
  color: #001018;
  padding: 4px 15px;
  border-radius: 20px;
  font-weight: 900;
  font-size: 11px;
}

/* --- Responsive --- */
@media (max-width: 992px) {
  .container.performance {
    grid-template-columns: 1fr;
  }
  
  .performance-right {
    order: -1; /* Score shows on top on mobile */
    margin-bottom: 40px;
  }
}

/* for the asset value  */
/* ===========================
   Valuation Section Premium CSS
   =========================== */

.section.dark {
  background: var(--color-bg);
  color: var(--color-text);
  position: relative;
  padding: 60px 0;
}

.valuation-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr; /* desktop split */
  gap: 40px;
  align-items: stretch;
}

/* LEFT BIG CARD */
.valuation-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-surface);
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

.valuation-card .overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
  z-index: 1;
}

.bg-car {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  z-index: 0;
  filter: brightness(0.75);
}

.valuation-content {
  position: relative;
  z-index: 2;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: var(--color-text);
}

/* Badge */
.badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.08);
  color: var(--color-text);
}

.badge.live {
  color: #00ff88;
  text-shadow: 0 0 8px #00ff88;
}

/* Labels & Value */
.label {
  font-size: 14px;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.valuation-content h1 {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  background: var(--gradient-primary);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* AI Tag */
.ai-tag {
  font-size: 12px;
  font-weight: 500;
  color: var(--color-primary);
  background: rgba(0,212,255,0.1);
  border: 1px solid var(--color-primary-glow);
  padding: 6px 12px;
  border-radius: var(--radius-md);
  display: inline-block;
}

/* Tags */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--color-muted);
}

.value-boost {
  font-size: 14px;
  font-weight: 500;
  color: #00ff88;
  background: rgba(0,255,136,0.08);
  border: 1px solid rgba(0,255,136,0.3);
  padding: 10px 14px;
  border-radius: var(--radius-md);
}

/* CTA Buttons */
.cta-group {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

.btn {
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn.light {
  background: rgba(255,255,255,0.1);
  color: var(--color-text);
  font-weight: 500;
}

.btn.light:hover {
  background: rgba(255,255,255,0.2);
}

.btn.premium {
  background: var(--gradient-primary);
  color: #001018;
  font-weight: 600;
  box-shadow: 0 0 15px var(--color-primary-glow);
}

.btn.premium:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px var(--color-primary-glow);
}

/* RIGHT SIDE */
.valuation-right {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Health & Cost Cards */
.health-card, .cost-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.health-card h3, .cost-card h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  margin-bottom: 8px;
}

.small {
  font-size: 12px;
  color: var(--color-muted);
}

/* Progress Bar */
.progress {
  width: 100%;
  height: 8px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 10px 0;
}

.progress-fill {
  height: 100%;
  background: var(--gradient-primary);
  width: 70%; /* dynamic */
  transition: width 0.4s ease;
}

/* Health Grid */
.health-grid {
  display: flex;
  gap: 20px;
  margin-top: 15px;
}

.health-box {
  flex: 1;
  background: rgba(255,255,255,0.05);
  padding: 12px;
  border-radius: var(--radius-md);
  text-align: center;
}

.health-box h4.green {
  color: #00ff88;
  font-weight: 600;
}

/* Certificate Note */
.certificate-note {
  font-size: 12px;
  color: var(--color-muted);
  margin-top: 15px;
}

.link {
  font-size: 13px;
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
}

.link:hover {
  text-decoration: underline;
}

/* Cost Card */
.cost-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cost-card h1 {
  font-size: 28px;
  font-weight: 700;
  margin: 15px 0;
}

.cost-card h1 span {
  font-size: 16px;
  color: var(--color-muted);
}

.badge.green {
  background: rgba(0,255,136,0.1);
  color: #00ff88;
  border: 1px solid rgba(0,255,136,0.3);
}

/* Cost Bars */
.cost-bar {
  display: flex;
  gap: 6px;
  margin: 15px 0;
}

.cost-bar .bar {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
}

.cost-bar .bar.active {
  background: var(--gradient-primary);
}

/* ===========================
   Responsive Breakpoints
   =========================== */

/* Tablet */
@media (max-width: 992px) {
  .valuation-grid {
    grid-template-columns: 1fr; /* stack cards */
    gap: 30px;
  }

  .valuation-content {
    padding: 30px;
  }

  .valuation-content h1 {
    font-size: 28px;
  }

  .cost-card h1 {
    font-size: 24px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .section.dark {
    padding: 40px 0;
  }

  .valuation-content {
    padding: 20px;
    gap: 15px;
  }

  .valuation-content h1 {
    font-size: 22px;
  }

  .cta-group {
    flex-direction: column;
    gap: 12px;
  }

  .health-grid {
    flex-direction: column;
    gap: 12px;
  }

  .cost-card h1 {
    font-size: 20px;
  }
}

/* ===========================
   Revlo Kit Section
   =========================== */
   /* --- GLOBAL SECTION STYLES --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- ENGINE VAULT STYLES --- */
.vault-section {
    background: var(--color-bg);
    padding: 80px 0;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--color-text);
    margin: 10px 0;
}

.pulse-badge {
    background: rgba(0, 212, 255, 0.1);
    color: var(--color-primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    border: 1px solid var(--color-primary-glow);
    animation: pulse 2s infinite;
}

.vault-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.vault-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: all 0.4s ease;
}

.vault-card:hover {
    border-color: var(--color-primary);
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-5px);
}

.card-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.status { font-size: 12px; font-weight: 600; }
.status.success { color: #00ff88; }
.status.warning { color: #ffab00; }

.balance { font-size: 2rem; color: var(--color-primary); margin: 15px 0; }

.btn-renew, .btn-action {
    background: var(--color-primary);
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
}

/* --- REVLO KIT STYLES --- */
.revlo-kit {
    background: var(--color-surface);
    padding: 100px 0;
    border-top: 1px solid var(--color-border);
}

.kit-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.kit-visual {
    position: relative;
    padding: 40px;
}

.kit-box {
    height: 350px;
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.glow-effect {
    position: absolute;
    width: 200px;
    height: 200px;
    background: var(--color-primary);
    filter: blur(100px);
    opacity: 0.15;
}

.kit-label h3 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    letter-spacing: 5px;
    color: var(--color-text);
}

.membership-tag {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: #ffab00;
    color: #000;
    padding: 12px 20px;
    font-weight: 800;
    font-size: 12px;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.premium-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.feature-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.feat-icon {
    background: rgba(255,255,255,0.05);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.btn-main {
    display: inline-block;
    padding: 20px 40px;
    background: var(--gradient-primary);
    color: #000;
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 10px 30px var(--color-primary-glow);
}

.annual-note {
    font-size: 12px;
    color: var(--color-muted);
    margin-top: 15px;
}

/* Responsive Mobile View */
@media (max-width: 900px) {
    .kit-layout { grid-template-columns: 1fr; text-align: center; }
    .feature-list li { justify-content: center; }
}


/* =========================
   ENGINE VAULT
========================= */

.engine-vault .section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.engine-vault h2 {
  font-size: 26px;
}

.engine-vault .badge {
  font-size: 11px;
  padding: 5px 12px;
  border-radius: 20px;
  background: rgba(0,212,255,0.08);
  color: var(--color-primary);
}

/* GRID */

.engine-vault .card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* CARD */

.engine-vault .vault-card {
  background: linear-gradient(145deg, #061a2b, #02101c);
  border-radius: var(--radius-lg);
  padding: 18px;
  border: 1px solid var(--color-border);
  position: relative;
  transition: var(--transition);
}

.engine-vault .vault-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary);
}

/* STATUS */

.engine-vault .status {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 10px;
  padding: 4px 8px;
  border-radius: 20px;
}

.engine-vault .status.success {
  background: rgba(0,255,136,0.15);
  color: #00ffa3;
}

.engine-vault .status.warning {
  background: rgba(255,77,77,0.15);
  color: #ff4d4d;
}

.engine-vault .status.active {
  background: rgba(0,212,255,0.15);
  color: var(--color-primary);
}

/* TEXT */

.engine-vault h4 {
  margin-top: 14px;
  margin-bottom: 6px;
}

.engine-vault p {
  font-size: 13px;
  color: var(--color-muted);
}

.engine-vault .insight {
  margin-top: 8px;
  font-size: 12px;
}

.engine-vault .insight.success {
  color: #00ffa3;
}

.engine-vault .insight.warning {
  color: #ff4d4d;
}

/* BUTTON */

.engine-vault .btn.small {
  margin-top: 12px;
  padding: 8px 14px;
  font-size: 12px;
}

/* FASTAG */

.engine-vault #fastag-balance {
  font-size: 22px;
  color: #00ffa3;
}

/* HIGHLIGHT */

.engine-vault .highlight-card {
  border: 1px solid rgba(0,212,255,0.25);
  box-shadow: 0 0 15px rgba(0,212,255,0.08);
}

/* WARNING PULSE */

.engine-vault .status.warning {
  animation: pulseWarning 1.5s infinite;
}

@keyframes pulseWarning {
  0% { box-shadow: 0 0 0 rgba(255,77,77,0.4); }
  50% { box-shadow: 0 0 10px rgba(255,77,77,0.6); }
  100% { box-shadow: 0 0 0 rgba(255,77,77,0.4); }
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .engine-vault .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .engine-vault .card-grid {
    grid-template-columns: 1fr;
  }
}
/* for the automotive advisory */
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", sans-serif;
}


.dream-container::before {
  content: "";
  position: relative;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(79,140,255,0.2), transparent);
  filter: blur(80px);
  z-index: -1;
}


/* HERO */
.dream-hero {
  text-align: center;
  margin-bottom: 40px;
}

.hero-title {
  font-size: 32px;
  font-weight: 700;
}

.hero-subtitle {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.6;
}
/* for the hooks  */
.hook-line {
  margin-top: 15px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

/* Progress */
.progress-wrapper {
  margin-bottom: 20px;
}

.progress-bar {
  width: 100%;
  height: 6px;
  background: #2a2f3a;
  border-radius: 10px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: var(--primary);
  transition: var(--transition);
}

/* for the suggestioautoserch */
.autocomplete-box {
  position: relative;
  width: 100%;
}

.suggestions-box {
  position: absolute;
  width: 100%;
  background: #111;
  border: 1px solid #333;
  border-radius: 10px;
  margin-top: 5px;
  max-height: 200px;
  overflow-y: auto;
  z-index: 999;
}

.suggestion-item {
  padding: 10px;
  cursor: pointer;
  border-bottom: 1px solid #222;
}

.suggestion-item:hover {
  background: #222;
}

/* Steps */
.steps-container {
  margin-top: 20px;
}



.step {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
}

.step.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.step:hover {
  transform: translateY(-2px);
}
/* Result */
.result-title {
  text-align: center;
  margin-bottom: 20px;
}
.result-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  gap: 10px;
}


/* Affordability */
.affordability-box {
  text-align: center;
  padding: 20px;
  border-radius: var(--radius);
  margin-bottom: 20px;
}

.affordability-box h3 {
  font-size: 24px;
}


/* Cost */
.cost-breakdown ul {
  list-style: none;
  padding: 0;
}

.cost-breakdown li {
  display: flex;
  justify-content: space-between;
  margin: 8px 0;
}

.total-cost {
  margin-top: 10px;
  font-weight: bold;
}


/* Insight */
.insight-box {
  margin-top: 20px;
  padding: 20px;
  background: #12141a;
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  font-style: italic;
}


/* Actions */
.result-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}
.dream-hero {
  animation: fadeUp 0.8s ease;
}
.hidden {
  display: none !important;
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* for the ui of configuration */
.config-box {
  margin-top: 20px;
  padding: 20px;
  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: 12px;
}

.config-box h3 {
  margin-bottom: 10px;
}

.config-box label {
  display: block;
  margin-bottom: 10px;
  color: #9ca3af;
}

.config-box select {
  width: 100%;
  padding: 8px;
  border-radius: 6px;
  background: #111827;
  color: white;
  border: 1px solid #374151;
}
/* for the smart insights */
.smart-savings-box {
  margin-top: 15px;
  padding: 12px;
  border-radius: 10px;
  background: #052e16;
  border: 1px solid #14532d;
  color: #22c55e;
  font-size: 14px;
}
/* for the fuel suggestion */
.fuel-advice-box {
  margin-top: 10px;
  padding: 12px;
  border-radius: 10px;
  background: #0c1b2a;
  border: 1px solid #1e40af;
  color: #60a5fa;
  font-size: 14px;
}
/* for the best card decision */
.decision-box {
  background: linear-gradient(135deg, #0f172a, #020617);
  border: 1px solid #1d4ed8;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 20px;
}
/* for the upgrade */
