:root{
  --bg: #0b0f14;
  --panel: #0f1620;
  --panel-2: #111b27;
  --text: #e8eef6;
  --muted: #a9b7c7;
  --line: rgba(255,255,255,0.08);
  --accent: #6ee7ff;
  --accent-2: #8b5cff;
  --shadow: 0 12px 40px rgba(0,0,0,0.45);
  --radius: 18px;
  --radius-sm: 14px;
  --font-sans: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: var(--font-sans);
  font-optical-sizing: auto;
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
text-rendering: optimizeLegibility;
  background:
    radial-gradient(900px 600px at 50% -12%, rgba(110,231,255,0.18), transparent 60%),
    radial-gradient(900px 600px at 55% 110%, rgba(139,92,255,0.10), transparent 62%),
    linear-gradient(180deg, #070a0e 0%, var(--bg) 55%, #070a0e 100%);
  background-attachment: fixed;
}

a{ color: inherit; text-decoration:none; }

/*=================================
STOPS IMAGE DRAGGING AND COPYING
==================================*/

img {
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}


/*--------------------------------*/

/* =========================
NAV LOGO LEFT ALIGNMENT FIX
========================= */

.nav .container.nav-inner{
  width:100%;
  max-width:none;

  margin:0;

  padding-left:24px;
  padding-right:300px;
}

/* ========================= =========
NAV LOGO LEFT RESPONSIVE ALIGNMENT FIX
========================= ===========*/


@media (max-width:1400px){

  .nav .container.nav-inner{
    padding-left:24px;
    padding-right:280px;
  }
}

@media (max-width:1200px){

  .nav .container.nav-inner{
    padding-left:20px;
    padding-right:20px;
  }
}

/* Nav */

.nav-inner > .badge{
  border: 1px solid rgba(110,231,255,0.18);
  background: rgba(110,231,255,0.06);
  color: rgba(232,238,246,0.92);

}
/* End Inner nav*/


/*-- HELPS PAGE LOAD SMOOTHLY --*/

main{
  transition: opacity .18s ease;
}

main.loading{
  opacity:.35;
}

/* =========================
DROPDOWN NAV
========================= */

.dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

/* clickable label */
.tab-link {
  cursor: pointer;
}

/* dropdown menu */
.dropdown-menu {
  position: absolute;
  top: 120%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);

  min-width: 200px;
  padding: 10px;

  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);

  background: rgba(12,18,28,0.96);
  backdrop-filter: blur(12px);

  box-shadow: 0 20px 50px rgba(0,0,0,0.6);

  opacity: 0;
  pointer-events: none;

  transition: all 0.2s ease;
  z-index: 300;
}

/* dropdown items */
.dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;

  font-size: 13px;
  color: var(--muted);

  transition: all 0.2s ease;
}

.dropdown-menu a:hover {
  background: rgba(110,231,255,0.08);
  color: var(--text);
}

/* show on hover */
.dropdown:hover .dropdown-menu {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.tab-link::after {
  content: "";
  margin-left: 6px;
  font-size: 10px;
  opacity: 0.6;
}

/*========================
DROP DOWN
==========================*/

/* FIX: dropdown should NOT behave like a tab */
.dropdown{
  position: relative;
  display: inline-flex;
}

/* Ensure only the visible trigger gets tab styling */
.tab-link{
  display:inline-flex;
  align-items:center;
  gap:6px;
}

/* base active state */
.dropdown.is-active .tab-link{
  position: relative; /* REQUIRED for ::after */
  color: var(--text);
  border-color: rgba(110,231,255,0.32);
  background: rgba(110,231,255,0.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

/* enhancement */
.dropdown.is-active .tab-link::after{
  content:"";
  position:absolute;
  bottom:4px;
  left:50%;
  transform:translateX(-50%);
  width:3px;
  height:3px;
  border-radius:50%;
  background:var(--accent);
  box-shadow:0 0 6px var(--accent);
  opacity:.8;
}

/*========================
COMPLIANCE CTA
=========================*/

/* ACTIVE STATE for CTA badge */
.badge-cta.is-active{
  border-color: rgba(110,231,255,0.6);

  background: linear-gradient(
    135deg,
    rgba(110,231,255,0.22),
    rgba(139,92,255,0.16)
  );

  box-shadow:
    0 0 18px rgba(110,231,255,0.25),
    0 10px 26px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.10);
}

.badge-cta.is-active::after{
  content:"";
  position:absolute;
  bottom:4px;
  left:50%;
  transform:translateX(-50%);
  width:3px;
  height:3px;
  border-radius:50%;
  background:var(--accent);
  box-shadow:0 0 6px var(--accent);
}

/* =========================
ARROW PULSE EFFECT
========================= */

.tab:hover .arrow {
  animation-duration: 1.2s;
  opacity: 1;
}

.arrow {
  display: inline-block;
  margin-left: 6px;

  opacity: 0.7;

  animation: arrowPulse 2.4s ease-in-out infinite;
}

/* subtle glow pulse */
@keyframes arrowPulse {
  0% {
    transform: translateY(0);
    opacity: 0.5;
  }

  50% {
    transform: translateY(3px);
    opacity: 1;
  }

  100% {
    transform: translateY(0);
    opacity: 0.5;
  }
}

/*=================================
SIGNAL DOT  PULSE - STATUM SIGNAL VEHICLE
==================================*/

.signal-live{
  position:relative;

  display:inline-flex;
  align-items:center;
  justify-content:center;

  width:10px;
  height:10px;

  margin-right:10px;
  vertical-align:middle;
}

.signal-live-dot{
  position:relative;

  width:8px;
  height:8px;

  border-radius:50%;

  background:linear-gradient(
    180deg,
    #6ee7ff,
    #38bdf8
  );

  box-shadow:
    0 0 10px rgba(110,231,255,0.85),
    0 0 20px rgba(56,189,248,0.55);
}

.signal-live-dot::before{
  content:"";

  position:absolute;
  inset:-6px;

  border-radius:50%;

  border:1px solid rgba(110,231,255,0.45);

  animation:stratumPulse 2.4s ease-out infinite;
}

@keyframes stratumPulse{

  0%{
    transform:scale(0.6);
    opacity:0.9;
  }

  70%{
    transform:scale(1.8);
    opacity:0;
  }

  100%{
    transform:scale(1.8);
    opacity:0;
  }
}

/*=================================
DISABLES DROP HOVER - MOBILE RESPONSIVENESS
===================================*/

@media (max-width: 980px){
  .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
  }

  .dropdown-menu a {
    padding-left: 28px;
    font-size: 14px;
  }
}

/*------------------------*/

/* Badge CTA */

.badge-cta{
  position:absolute;
  right:24px;
  top:50%;
  transform:translateY(-50%);

  display:inline-flex;
  align-items:center;
  justify-content:center;

  padding:8px 14px;
  border-radius:999px;

  font-size:11px;
  letter-spacing:.08em;
  text-transform:uppercase;

  border:1px solid rgba(110,231,255,0.30);
  background:rgba(110,231,255,0.10);
  color:rgba(232,238,246,0.96);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 0 18px rgba(110,231,255,0.15),
    0 10px 26px rgba(0,0,0,0.28);

  transition:
    transform 140ms ease,
    filter 140ms ease,
    border-color 140ms ease;
}

.badge-cta:hover{
  border-color: rgba(110,231,255,0.45);
  filter: brightness(1.05);
}

.badge-cta:active{
  transform:translateY(-50%) scale(.98);
}

@media (max-width:980px){
  .badge-cta{
    display:none;
  }
}

/* Market Intelligence */

.mi-actions { margin-top: 10px; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }

.mi-btn {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.12);
  text-decoration: none;
  background: rgba(0,0,0,0.06);
  color: inherit;
  font-weight: 600;
}
.mi-btn:hover { background: rgba(0,0,0,0.10); }



/* End Market Intelligence*/

/* Model-only status chip */
.badge-status{
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  color: rgba(232,238,246,0.92);
  font-variant-numeric: tabular-nums;
}

/* If lastChecked is empty, don’t show a blank pill */
.badge-status:empty{
  display:none;
}

/* On mobile, hide it to keep header clean */
@media (max-width: 980px){
  .badge-status{ display:none; }
}

.nav.scrolled .tabs{
  background:rgba(255,255,255,0.03);
}

/* End badge CTA*/

.nav{
  position: sticky;
  top: 0;
  z-index: 50;

  /* slightly lighter graphite + subtle depth */
  background: rgba(18, 26, 36, 0.92);
  backdrop-filter: blur(12px);

  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);

  transition:
    background 200ms ease,
    box-shadow 200ms ease,
    border-color 200ms ease;
}

/* subtle highlight strip + left spotlight for logo readability */
.nav::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(600px 220px at 140px 50%, rgba(255,255,255,0.08), transparent 60%),
    linear-gradient(
      180deg,
      rgba(255,255,255,0.06) 0%,
      rgba(255,255,255,0.02) 35%,
      rgba(0,0,0,0.00) 100%
    );
}

/*====================================
MARKET PULSE
===================================*/

.market-pulse{
  padding:40px 0 8px;
}

.pulse-grid{

  display:grid;

  grid-template-columns:
  1.2fr
  1fr
  1fr
  1fr
  1.35fr;

  gap:16px;

  align-items:stretch;

  margin-bottom:24px;
}

.pulse-card{

  position:relative;

  display:flex;
  flex-direction:column;
  justify-content:space-between;

  min-height:160px;

  padding:22px 22px 20px;

  border-radius:28px;

  background:
  linear-gradient(
    180deg,
    rgba(10,18,35,0.96),
    rgba(4,8,18,0.98)
  );

  border:
  1px solid rgba(0,212,255,0.12);

  overflow:hidden;

  transition:
  transform .25s ease,
  border-color .25s ease,
  box-shadow .25s ease;
}

.pulse-card::before{

  content:"";

  position:absolute;

  top:0;
  left:0;

  width:100%;
  height:2px;

  background:
  linear-gradient(
    90deg,
    #00d4ff,
    transparent
  );

  opacity:.8;
}

.pulse-card:hover{
  transform:translateY(-3px);

  border-color:
  rgba(0,212,255,0.30);

  box-shadow:
  0 12px 40px rgba(0,212,255,0.08);
}

.pulse-meta,
.pulse-trend{

  font-size:13px;

  line-height:1.5;

  color:
  rgba(255,255,255,0.70);

  margin-top:auto;
}

.signal-score-card strong{

  display:block;

  margin-top:10px;

  font-size:42px;
  font-weight:900;

  line-height:.95;

  letter-spacing:-1px;

  color:#00d4ff;

  text-shadow:
    0 0 24px rgba(0,212,255,.20);

}

.signal-score-card{
  position:relative;
  min-width:220px;

  background:
  linear-gradient(
    180deg,
    rgba(0,212,255,0.08),
    rgba(0,212,255,0.03)
  );

  border-color:
  rgba(0,212,255,0.28);

  box-shadow:
  0 0 40px rgba(0,212,255,0.08);
}

.signal-score-card::before{

  content:"";

  position:absolute;

  top:0;
  left:0;
  right:0;

  height:1px;

  background:
  linear-gradient(
    90deg,
    transparent,
    rgba(0,212,255,.65),
    transparent
  );

}

.pulse-card{

    display:flex;

    flex-direction:column;

    justify-content:space-between;

    min-height:170px;

    padding:18px;

}


.pulse-card > span{
  display:block;

  font-size:11px;
  font-weight:700;

  text-transform:uppercase;
  letter-spacing:2px;

  color:rgba(255,255,255,0.55);
}

.pulse-card strong{
    flex:1;

    display:flex;
    align-items:center;
    justify-content:center;

    margin-top:0;

    text-align:center;

    font-size:42px;
    line-height:0.95;
    font-weight:800;
    letter-spacing:-0.03em;
}

.signal-positive{
  color:#22c55e;
  text-shadow:
  0 0 18px rgba(34,197,94,.25);
}

.signal-rising{
  color:#00d4ff;
  text-shadow:
  0 0 18px rgba(0,212,255,.25);
}

.signal-expanding{
  color:#38bdf8;
  text-shadow:
  0 0 18px rgba(56,189,248,.25);
}

.signal-accelerating{
  color:#a855f7;
  text-shadow:
  0 0 18px rgba(168,85,247,.25);
}

.pulse-insight{
  margin-top:32px;

  padding:24px;

  border-radius:20px;

  background:
  rgba(0,212,255,.05);

  border:
  1px solid rgba(0,212,255,.12);
}



#pulse-oem{
  color:#00d4ff;
}

#pulse-readiness{
  color:#ffffff;
}

#pulse-adoption{
  color:#b86cff;
  font-size:2.8rem;
  line-height:0.95;

}

#pulse-tone{
  color:#ffffff;
}

#pulse-hero-score{

  font-size:35px;
  font-weight:900;

  color:#00d4ff;
}

#pulse-leading-oem{
  display:inline-flex;
  align-items:center;

  max-width:100%;

  padding:8px 14px;

  margin-top:8px;

  border-radius:999px;

  background:rgba(0,212,255,0.08);
  border:1px solid rgba(0,212,255,0.25);

  color:#00d4ff;

  font-size:16px;
  font-weight:700;
  line-height:1;
  letter-spacing:.08em;
  text-transform:uppercase;

  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

#pulse-oem,
#pulse-readiness,
#pulse-adoption,
#pulse-tone{

  display:flex;
  justify-content:center;
  align-items:center;

  width:100%;
  max-width:none;

  font-size:32px;
  line-height:1.05;
  font-weight:800;

  text-align:center;
}

/*==================================
RESPONSIVENESS
===================================*/

@media (max-width:1400px){

  .pulse-grid{

    grid-template-columns:
    repeat(2,minmax(280px,1fr));
  }
}

@media (max-width:768px){

  .pulse-grid{

    grid-template-columns:1fr;
  }

  .pulse-card{

    min-height:220px;
  }
}

/*====================================
STRATUMEV MARKET PULSE
====================================*/

.pulse-header{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:24px;
}

.pulse-updated{
  margin-left:auto;

  display:flex;
  align-items:center;
  gap:8px;

  font-size:13px;
  font-weight:600;

  color:rgba(255,255,255,0.55);
}

#pulse-updated{
  color:#00d4ff;
  font-weight:700;
}

.pulse-title-wrap{
  display:flex;
  align-items:center;
  gap:14px;

  width:100%;
}

.pulse-title{
  margin:0;

  font-size:30px;
  font-weight:800;

  letter-spacing:.08em;
  text-transform:uppercase;

  color:#ffffff;
}


/* LIVE SIGNAL */

.pulse-live-summary{

  display:flex;
  flex-direction:column;

  gap:18px;

  margin-top:24px;
}

.pulse-live-item{

  padding-bottom:14px;

  border-bottom:
  1px solid rgba(
    255,
    255,
    255,
    .06
  );
}

.pulse-live-item span{

  display:block;

  font-size:11px;

  text-transform:uppercase;

  letter-spacing:.12em;

  color:
  rgba(255,255,255,.45);
}

.pulse-live-item strong{

  display:block;

  margin-top:6px;

  font-size:22px;

  font-weight:700;

  color:#fff;
}

.pulse-live-dot{
  position:relative;

  width:12px;
  height:12px;

  border-radius:50%;

  background:#00d4ff;

  box-shadow:
    0 0 16px rgba(0,212,255,.8);
}

.pulse-live-dot::before{
  content:"";

  position:absolute;
  inset:-8px;

  border-radius:50%;

  border:2px solid rgba(0,212,255,.4);

  animation:
    pulse-ring 2.5s infinite;
}

@keyframes pulse-ring{

  0%{
    transform:scale(.7);
    opacity:1;
  }

  100%{
    transform:scale(2);
    opacity:0;
  }
}

/*=============================
PULSE STATUS
============================*/

.pulse-status{
  padding:6px 10px;

  border-radius:999px;

  font-size:10px;
  font-weight:700;

  letter-spacing:.14em;
  text-transform:uppercase;

  color:#00d4ff;

  border:1px solid rgba(0,212,255,.25);

  background:
  rgba(0,212,255,.08);
}

/*===========================
PULSE TREND
============================*/

.pulse-trend{

  align-items:center;
  justify-content:center;

  white-space:nowrap;

  gap:6px;

  margin-top:14px;
  padding:8px 14px;

  min-width:140px;

  border-radius:999px;

  background:
  rgba(255,255,255,0.03);

  border:
  1px solid rgba(255,255,255,0.06);

  backdrop-filter:blur(10px);

  font-size:10px;
  font-weight:400;

  letter-spacing:.01em;
  text-transform:uppercase;

  white-space:nowrap;

  overflow:hidden;

  text-overflow:ellipsis;

  transition:
  all .25s ease;
}

.pulse-trend.up{

  color:#22c55e;

  border-color:
  rgba(34,197,94,0.25);

  box-shadow:
  0 0 12px rgba(34,197,94,0.15);
}

.pulse-trend.down{

  color:#ef4444;

  border-color:
  rgba(239,68,68,0.25);

  box-shadow:
  0 0 12px rgba(239,68,68,0.15);
}

.pulse-trend.flat{

  color:#94a3b8;

  border-color:
  rgba(148,163,184,0.25);
}


/*==========================*/

/* =========================
STRATUM EV NAV FINAL SYSTEM
========================= */

.nav{
  min-height:78px;
  position:sticky;
  top:0;
  z-index:50;

  background:rgba(18,26,36,0.94);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);

  border-bottom:1px solid rgba(255,255,255,0.08);

  box-shadow:
    0 10px 30px rgba(0,0,0,0.35);
}

.nav-inner{
  min-height:78px;

  display:grid;
  grid-template-columns: 320px minmax(0, 1fr) auto;
  align-items:center;
  gap:20px;

  width:100%;
}

.brand{
  display:flex;
  align-items:center;
  justify-content:flex-start;

  min-width:0;
  flex:0 0 auto;
}

.brand-logo{
  display:block;

  width:auto;
  height:52px;
  max-width:300px;

  object-fit:contain;

  filter:
    drop-shadow(0 0 10px rgba(0,212,255,0.16))
    drop-shadow(0 4px 14px rgba(0,0,0,0.50));
}

.tabs{
  display:flex;
  align-items:center;
  justify-content:center;

  width:fit-content;
  max-width:100%;

  margin:0 auto;
  padding:6px;

  gap:4px;

  border-radius:999px;
  border:1px solid rgba(255,255,255,0.06);

  background:rgba(255,255,255,0.025);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 8px 24px rgba(0,0,0,0.30);
}

.tabs .tab{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  min-height:34px;

  padding:8px 12px;

  border-radius:999px;
  border:1px solid transparent;

  background:transparent;

  color:rgba(169,183,199,0.92);

  font-size:13px;
  line-height:1;
  white-space:nowrap;

  transition:
    background .18s ease,
    border-color .18s ease,
    color .18s ease;
}

.tabs .tab:hover{
  color:var(--text);
  border-color:rgba(110,231,255,0.25);
  background:rgba(110,231,255,0.07);
}

.tabs .tab.is-active{
  color:var(--text);
  border-color:rgba(110,231,255,0.34);
  background:rgba(110,231,255,0.12);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.07);
}

.dropdown{
  position:relative;
}

.tab-link{
  display:inline-flex;
  align-items:center;
  gap:6px;
}

.badge-cta{
  position:static;

  display:inline-flex;
  align-items:center;
  justify-content:center;

  min-height:42px;

  margin:0;
  padding:0 18px;

  border-radius:999px;
  border:1px solid rgba(110,231,255,0.28);

  background:
    linear-gradient(
      135deg,
      rgba(110,231,255,0.14),
      rgba(139,92,255,0.08)
    );

  color:rgba(232,238,246,0.96);

  font-size:11px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  white-space:nowrap;

  transform:none;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 0 18px rgba(110,231,255,0.12),
    0 10px 26px rgba(0,0,0,0.24);
}

.badge-cta:hover{
  border-color:rgba(110,231,255,0.45);
  filter:brightness(1.05);
}

.badge-cta:active{
  transform:scale(.98);
}

.nav-toggle{
  display:none;
}

/* =========================
NAV ALIGNMENT FINAL FIX
========================= */

.tab-cta{
  display:none !important;
}

.nav{
  min-height:76px;
  position:sticky;
  top:0;
}

.nav-inner{
  min-height:76px;

  display:grid;
  grid-template-columns: 260px 1fr;
  align-items:center;
  gap:24px;

  padding-right:300px;
}

.brand{
  display:flex;
  align-items:center;
  min-width:0;
  overflow:hidden;
}

.brand-logo{
  height:46px;
  width:auto;
  max-width:245px;
  object-fit:contain;
}

.tabs{
  display:flex;
  align-items:center;
  justify-content:center;

  width:100%;
  max-width:1040px;

  margin:0 auto;
  padding:6px;

  gap:4px;

  border-radius:999px;
  border:1px solid rgba(255,255,255,0.06);

  background:rgba(255,255,255,0.025);
  backdrop-filter:blur(18px);
}

.tabs .tab{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  min-height:34px;

  padding:8px 12px;

  border-radius:999px;
  border:1px solid transparent;

  font-size:13px;
  line-height:1;
  white-space:nowrap;
}

.nav > .badge-cta{
  position:absolute;
  right:24px;
  top:50%;

  transform:translateY(-50%);

  min-height:42px;
  padding:0 18px;

  display:inline-flex;
  align-items:center;
  justify-content:center;

  margin:0;
  white-space:nowrap;
}

.nav > .badge-cta:active{
  transform:translateY(-50%) scale(.98);
}

/*=========================
TAB CTA RESPONSIVE
==========================*/

@media (max-width:1400px){

  .nav-inner{
    grid-template-columns: 230px 1fr;
    padding-right:280px;
    gap:18px;
  }

  .brand-logo{
    height:42px;
    max-width:220px;
  }

  .tabs{
    max-width:960px;
  }

  .tabs .tab{
    font-size:12px;
    padding:8px 9px;
  }

  .nav > .badge-cta{
    right:16px;
    padding:0 14px;
    font-size:10px;
  }
}

@media (max-width:1200px){

  .nav-inner{
    grid-template-columns:auto 1fr auto;
    padding-right:0;
  }

  .tabs{
    display:none;
  }

  .nav-toggle{
    display:inline-flex;
    justify-self:end;
  }

  .nav > .badge-cta{
    display:none;
  }

  .tab-cta{
    display:flex !important;
  }
}

/* =========================
STRATUM EV NAV RESPONSIVE
========================= */

@media (max-width:1400px){

  .nav-inner{
    grid-template-columns: 290px minmax(0, 1fr) auto;
    gap:16px;
  }

  .brand-logo{
    height:48px;
    max-width:270px;
  }

  .tabs .tab{
    padding:8px 10px;
    font-size:12px;
  }

  .badge-cta{
    padding:0 14px;
    font-size:10px;
  }
}

@media (max-width:1200px){

  .tabs{
    gap:3px;
    padding:5px;
  }

  .tabs .tab{
    padding:8px 9px;
    font-size:12px;
  }

  .brand-logo{
    height:44px;
    max-width:250px;
  }
}

@media (max-width:980px){

  .nav{
    min-height:68px;
  }

  .nav-inner{
    min-height:68px;

    grid-template-columns:auto 1fr auto;
    gap:12px;
  }

  .brand-logo{
    height:42px;
    max-width:240px;
  }

  .nav-toggle{
    display:inline-flex;
    justify-self:end;

    width:44px;
    height:44px;

    border-radius:14px;
    border:1px solid rgba(255,255,255,0.10);

    background:rgba(255,255,255,0.035);

    align-items:center;
    justify-content:center;
  }

  .badge-cta{
    display:none;
  }

  .tabs{
    position:absolute;
    top:68px;
    left:12px;
    right:12px;

    display:none;
    flex-direction:column;

    width:auto;
    padding:12px;

    border-radius:18px;

    background:#0c121c;
    border:1px solid rgba(255,255,255,0.08);

    box-shadow:
      0 25px 70px rgba(0,0,0,0.65),
      inset 0 1px 0 rgba(255,255,255,0.05);

    backdrop-filter:none;
    -webkit-backdrop-filter:none;
  }

  .tabs.is-open{
    display:flex;
  }

  .tabs .tab{
    width:100%;
    justify-content:flex-start;

    padding:14px 18px;

    border-radius:12px;

    font-size:14px;
  }

  .tab-cta{
    display:flex;
    justify-content:center;

    border-color:rgba(110,231,255,0.35);
    background:rgba(110,231,255,0.08);

    font-weight:700;
    text-align:center;
  }
}

@media (max-width:640px){

  .brand-logo{
    height:38px;
    max-width:220px;
  }

  .nav-inner{
    padding-left:0;
    padding-right:0;
  }
}

/*--------------------------------*/


/* Google fonts attribute updates */

.h-title {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.h2 {
  font-weight: 600;
}

.kicker, .badge {
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.btn {
  font-weight: 600;
}

/* hamburger styling */

.nav-toggle{
  width:36px;
  height:36px;

  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;

  gap:5px;

  background:none;
  border:none;
  cursor:pointer;
}

/* hamburger bars */

.nav-toggle span{
  width:22px;
  height:2px;

  background:rgba(255,255,255,0.85);

  border-radius:2px;

  transition:
    transform .25s ease,
    opacity .25s ease,
    background .25s ease;
}

.nav-toggle.is-open span:nth-child(1){
  transform:translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2){
  opacity:0;
}

.nav-toggle.is-open span:nth-child(3){
  transform:translateY(-7px) rotate(-45deg);
}

.nav-toggle:hover span{
  background:var(--accent);
}




/* tabs */

.tab{
  font-size: 13px;
  color: var(--muted);
  border: 1px solid transparent;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.02);
  transition: border-color 140ms ease, background 140ms ease, color 140ms ease;
  white-space: nowrap;
}
.tab:hover{
  color: var(--text);
  border-color: rgba(110,231,255,0.22);
  background: rgba(255,255,255,0.03);
}
.tab.is-active{
  color: var(--text);
  border-color: rgba(110,231,255,0.35);
  background: rgba(110,231,255,0.10);
}
/* Make nav-inner a positioning context for the dropdown */

.brand{
  flex: 0 0 auto;
}

/* EV History Timeline update */

.timeline strong{
  display:block;
  font-weight: 650;
  margin-bottom: 4px;
  color: var(--text);
}

/*==========================
Featured EV 
============================*/

.featured-ev{
  display:grid;
  margin-top: 0;
  grid-template-columns:1.4fr 1fr;
  gap:40px;
  margin:24px 0 0 0;
  background:rgba(255,255,255,0.02);
  border:1px solid rgba(255,255,255,0.06);
  border-radius:16px;
  overflow:hidden;

}

.featured-media img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.card-image::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(to top, rgba(0,0,0,0.55), rgba(0,0,0,0));
  pointer-events:none;
}

.featured-content{
  padding:32px;
  display:flex;
  flex-direction:column;
  justify-content:center;

}

.featured-kicker{
  font-size:11px;
  letter-spacing:.12em;
  text-transform:uppercase;
  opacity:.6;

}

.featured-title{
  font-size:28px;
  margin:10px 0;
}

.featured-tagline{
  opacity:.75;
  margin-bottom:16px;

}

.featured-meta{
  display:flex;
  gap:12px;
  margin-bottom:20px;

}

/*=========================*/
LIVE METRICS PANEL
/*=========================*/

.featured-metrics{

    display:grid;

    grid-template-columns:repeat(
        auto-fit,
        minmax(110px,1fr)
    );

    gap:1rem;

}

.market-stat{

    width:100%;

    min-width:0;

    box-sizing:border-box;

}

.market-stat-value{

    font-size:2rem;

    font-weight:700;

    line-height:1.1;

}

.market-stat span{

    display:block;

    margin-top:.6rem;

    font-size:.78rem;

    line-height:1.35;

    letter-spacing:.08em;

}

/*==========================
ARTICLE PAGE UPDATE
============================*/

.panel.feature {
  background: linear-gradient(180deg, rgba(110,231,255,0.08), rgba(0,0,0,0.2));
}

/*=============================
THUMBNAILS
===============================*/

.article-thumb {
  width: 100%;
  height: 160px;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 14px;
}

.article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.article-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.35);
}

.article-card:hover img {
  transform: scale(1.05);
}

.article-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

/*=========================
RELATED ARTICLES
=========================*/
.section.cards-3 .h3 {
  font-size: 16px;
}

.section.cards-3 {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
}

/*================================
READ NEXT
==================================*/
#read-next .article-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#read-next .article-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

/*=================================
FEATURED ARTICLE SECTION
==================================*/

/* FEATURED GRID */
.featured-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  align-items: center;
}

/* IMAGE */
.featured-image img {
  width: 100%;
  height: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 16px;
  opacity: 0.9;
  transition: 0.3s;
}

.featured-image img:hover {
  transform: scale(1.02);
  opacity: 1;
}

/* EXTRA INFO */
.featured-extra {
  display: flex;
  gap: 10px;
  margin: 14px 0;
  flex-wrap: wrap;
}

.mini-pill {
  padding: 6px 10px;
  font-size: 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  color: #9fb3c8;
}

/* MOBILE */
@media (max-width: 768px) {
  .featured-grid {
    grid-template-columns: 1fr;
  }

  .featured-image img {
    max-height: 180px;
  }
}

/*==============================
GRADIENT OVERLAY
================================*/
.featured-image {
  position: relative;
}

.featured-image::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(
    to left,
    rgba(0,0,0,0.6),
    transparent
  );
}

/*==============================
BACK LINK - FEATURED ARTICLES
===============================*/

.back-link {
  display:inline-block;
  margin-bottom:16px;
  color:#7dd3fc;
  text-decoration:none;
  font-weight:500;
}

.back-link:hover {
  opacity:0.8;
}

/*================================
FEATURED PAGE FURTHER STYLING
=================================*/

.article-nav-grid {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.nav-card {
  flex: 1;
  padding: 16px;
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
  text-decoration: none;
  transition: 0.3s;
}

.nav-card:hover {
  background: rgba(255,255,255,0.06);
}

.nav-card.right {
  text-align: right;
}

.nav-label {
  font-size: 12px;
  color: #7dd3fc;
  margin-bottom: 6px;
}

.nav-title {
  font-size: 14px;
  color: #e2e8f0;
}

/*====================================
ARTICLE - PANEL SECTION - MID SECTION STYLED
================================= */
.perf-panel {
  margin: 32px 0;
  padding: 28px;
}

.perf-grid {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.perf-row {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  align-items: center;

  padding: 14px 16px;
  border-radius: 12px;

  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);

  transition: all 0.25s ease;
}

.perf-row:hover {
  background: rgba(0, 200, 255, 0.05);
  border-color: rgba(0, 200, 255, 0.2);
  transform: translateY(-1px);
}

.perf-label {
  font-weight: 600;
  font-size: 14px;
  color: #d6e2f0;
}

.perf-value {
  font-size: 14px;
  color: #8fa3b8;
  text-align: right;
}

.perf-label::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: #00d4ff;
}

/* ================================
PREMIUM SELECT DROPDOWNS
================================ */

/* Wrapper */
.select-wrap{
  position:relative;
  width:100%;
}

/* Custom arrow */
.select-wrap::after{
  content:"";
  position:absolute;
  right:14px;
  top:50%;
  width:8px;
  height:8px;
  border-right:2px solid rgba(232,238,246,0.6);
  border-bottom:2px solid rgba(232,238,246,0.6);
  transform:translateY(-60%) rotate(45deg);
  pointer-events:none;
  transition:all .2s ease;
}

/* Base select */
.select{
  width:100%;
  padding:12px 40px 12px 14px;

  border-radius:14px;
  border:1px solid rgba(255,255,255,0.08);

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.05),
      rgba(255,255,255,0.02)
    );

  color:var(--text);

  appearance:none;
  -webkit-appearance:none;
  -moz-appearance:none;

  font-size:13px;
  letter-spacing:.02em;

  backdrop-filter:blur(10px);

  transition:
    border-color .2s ease,
    background .2s ease,
    box-shadow .2s ease;
}

/* Hover */
.select:hover{
  border-color:rgba(110,231,255,0.25);
  background:rgba(255,255,255,0.05);
}

/* Focus */
.select:focus{
  outline:none;

  border-color:rgba(110,231,255,0.45);

  box-shadow:
    0 0 0 2px rgba(110,231,255,0.12),
    0 8px 30px rgba(0,0,0,0.35);
}

/* Arrow animation */
.select-wrap:focus-within::after{
  transform:translateY(-40%) rotate(225deg);
}

/* Dropdown list styling (limited but helps) */
select option{
  background:#0f1620;
  color:#e8eef6;
}

/*==========================
Vehicle Signal Badge Profile
===========================*/

.signal-badge{
  font-size:10px;
  font-weight:600;
  letter-spacing:.12em;

  padding:5px 10px;
  border-radius:999px;

  text-transform:uppercase;

  border:1px solid rgba(255,255,255,0.12);
  background:rgba(255,255,255,0.04);

  backdrop-filter:blur(6px);

  display:inline-flex;
  align-items:center;
}

/* signal types */

.signal-strong{
  color:#4ade80;
  border-color:rgba(74,222,128,.35);
  background:rgba(74,222,128,.08);
}

.signal-growth{
  color:#60a5fa;
  border-color:rgba(96,165,250,.35);
  background:rgba(96,165,250,.08);
}

.signal-stable{
  color:#fbbf24;
  border-color:rgba(251,191,36,.35);
  background:rgba(251,191,36,.08);
}

.signal-emerging{
  color:#a78bfa;
  border-color:rgba(167,139,250,.35);
  background:rgba(167,139,250,.08);
}

.signal-badge::before{
  content:"";
  width:6px;
  height:6px;
  border-radius:50%;
  margin-right:6px;
  background:currentColor;
  opacity:.8;
}

/*-- signal score --*/

.signal-score{
  opacity:1;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  font-size:10px;
  line-height:1.1;
}

.signal-score{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  font-size:10px;
  line-height:1.1;
}

.signal-score .score{
  font-size:16px;
  font-weight:600;
}

.signal-score .signal-text{
  font-size:9px;
  opacity:.7;
  letter-spacing:.5px;
}

.signal-score .label{
  font-size:8px;
  opacity:.5;
}



.signal-score{
  opacity:.85;
  transition:opacity .2s ease, transform .2s ease;
}

.card:hover .signal-score{
  opacity:1;
  transform:translateY(-1px);
}

/*-- card row --*/

.card-toprow{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
}

/*=========================*/

/* =========================
   UK Compliance-led page
   ========================= */

.subnav{
  position: sticky;
  top: 72px; /* below your main nav */
  z-index: 20;
  margin-top: 14px;

  display:flex;
  gap: 8px;
  flex-wrap: wrap;

  padding: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(10px);
}

.subnav-link{
  display:inline-flex;
  align-items:center;
  padding: 8px 12px;
  border-radius: 999px;
  color: rgba(169,183,199,0.92);
  border: 1px solid transparent;
  background: transparent;
  font-size: 13px;
  line-height: 1;
}

.subnav-link:hover{
  color: var(--text);
  border-color: rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
}

.compliance-hero{ margin-top: 6px; }

/* === Readiness footer layout refinement === */


.readiness-summary{
  max-width: 360px;
}

.readiness-hint{
  margin-top: 6px;
  font-size: 12px;
}

.readiness-actions{
  margin-top: 0;
}

/* Mobile refinement */
@media (max-width: 980px){
  .readiness-footer{
    flex-direction: column;
    align-items: stretch;
  }

  .readiness-actions{
    margin-top: 18px;
  }

  .readiness-summary{
    max-width: 100%;
  }
}


.readiness{
  margin-top: 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
  overflow: hidden;
}


.compliance-hero .hero-overlay{
  background:
    linear-gradient(
      90deg,
      rgba(0,0,0,0.45) 0%,
      rgba(0,0,0,0.30) 45%,
      rgba(0,0,0,0.05) 75%,
      rgba(0,0,0,0.00) 100%
    );
}

.compliance-hero .media{
  filter: saturate(0.88) contrast(1.05) brightness(0.95);
}



.readiness-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 14px;
}

.readiness-item{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
  color: rgba(232,238,246,0.92);
  font-size: 13px;
  line-height: 1.35;
}

.readiness-item input{
  margin-top: 2px;
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
}


.readiness-score{
  font-weight: 900;
  font-size: 28px;
  line-height: 1;
  margin-top: 4px;
}

.readiness-score .muted{
  font-size: 14px;
  color: var(--muted);
  margin-left: 6px;
  font-weight: 700;
}

.readiness-label{
  margin-top: 6px;
  font-size: 13px;
  color: rgba(169,183,199,0.92);
}

/* Readiness: subtle selected state */
.readiness-item{
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.readiness-item:has(input:checked){
  border-color: rgba(110,231,255,0.32);
  background: rgba(110,231,255,0.06);
}

.readiness-item:has(input:checked) span{
  color: rgba(232,238,246,0.98);
}

/* === Readiness Component Final === */

.readiness-footer{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 24px;
  padding: 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.14);
}

.readiness-summary{
  max-width: 360px;
}

.readiness-score{
  font-weight: 900;
  font-size: 28px;
  line-height: 1;
  margin-top: 4px;
}

.readiness-score .muted{
  font-size: 14px;
  color: var(--muted);
  margin-left: 6px;
  font-weight: 700;
}

.readiness-label{
  margin-top: 6px;
  font-size: 13px;
  color: rgba(169,183,199,0.92);
}

.readiness-hint{
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
}

.readiness-meter{
  margin-top: 14px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.05);
  overflow: hidden;
}


@media (max-width: 980px){
  .readiness-footer{
    flex-direction: column;
    align-items: stretch;
  }

  .readiness-summary{
    max-width: 100%;
  }

  .readiness-actions{
    margin-top: 18px;
  }
}

.readiness-meter-bar{
  display:block;
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(110,231,255,0.85),
    rgba(139,92,255,0.75)
  );
  box-shadow: 0 10px 28px rgba(110,231,255,0.12);
  transition: width 220ms ease;
}


/* Make CTA badge stand out more, but still premium */
.badge-cta{
  background: linear-gradient(
    135deg,
    rgba(110,231,255,0.16),
    rgba(139,92,255,0.10)
  );
  border-color: rgba(110,231,255,0.34);
}

.badge-cta.is-current{
  border-color: rgba(110,231,255,0.55);
  box-shadow:
    0 12px 30px rgba(110,231,255,0.10),
    inset 0 1px 0 rgba(255,255,255,0.08);
}

/* Mobile */
@media (max-width: 980px){
  .subnav{ top: 64px; }
  .readiness-grid{ grid-template-columns: 1fr; }
  .readiness-footer{ flex-direction: column; align-items: stretch; }
}


/* Responsive: swap tabs for menu */

.brand{
  display:flex; gap:10px; align-items:center;
  font-weight:700; letter-spacing:0.2px;
}
.badge{
  font-size:12px; color: var(--muted);
  border:1px solid var(--line);
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
}

.hero{ 
  padding: 72px 0 22px; 
  padding-bottom:42px;
}

.h-title{
  font-size: clamp(30px, 4vw, 44px);
  line-height:1.06;
  margin: 0 0 10px;
  letter-spacing: -0.4px;
}
.h-sub{
  margin:0 0 14px;
  color:var(--muted);
  max-width:980px;
  font-size:17px;
  line-height:1.85;
  letter-spacing:0.01em;
  color:rgba(214,224,238,0.82);

  text-align: justify;
}

/* About us Dividers */

.section + .section{
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 18px;
}

.toolbar{
  margin-top: 22px;
  display:grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr;
  gap: 12px;
}
.input, .select{
  width:100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  color: var(--text);
  outline:none;
}
.input::placeholder{ color: rgba(169,183,199,0.75); }
.select{ appearance:none; }


/*======================================
GRID - UPDATED GRID
=======================================*/

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  padding: 10px 0 60px;
}

.models-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

/*====================================*/



.card{
  background:rgba(255,255,255,0.02);
  border:1px solid rgba(255,255,255,0.06);
  border-radius:14px;
  overflow:hidden;
  transition:
    transform .35s ease,
    box-shadow .35s ease,
    border-color .35s ease;
}

.card:hover{

  transform:translateY(-6px);

  border-color:rgba(110,231,255,0.35);

  box-shadow:

    0 10px 30px rgba(0,0,0,0.35),

    0 0 0 1px rgba(110,231,255,0.08),

    0 0 40px rgba(110,231,255,0.08);

}
.card-media{
  height: 180px; /* match visual standard */

  overflow:hidden; /* ✅ prevents overflow bleed */

  border-bottom:1px solid var(--line);

  background: radial-gradient(420px 200px at 20% 20%, rgba(110,231,255,0.20), transparent 55%),
              radial-gradient(420px 200px at 80% 30%, rgba(139,92,255,0.16), transparent 55%),
              rgba(255,255,255,0.02);

  display:flex;
  align-items:center;
  justify-content:center;
}

.card-media img{
  width:100%;
  height:100%; /* ✅ match container */

  object-fit:cover;

  border-radius:10px;
  display:block;

  transition:transform .6s ease;
}

.card:hover .card-media img{

  transform:scale(1.05);

}
.card-media{
  position: relative;
}

.card-media::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,0.10), rgba(0,0,0,0.22));
  pointer-events:none;
}

.card-body{ padding: 14px 14px 16px; }
.kicker{ font-size:12px; color: var(--muted); margin-bottom:6px; }
.title{ font-size:16px; font-weight:700; margin:0 0 6px; }
.tagline{ margin:0; color: var(--muted); font-size: 13px; line-height:1.45; min-height: 36px; }

.meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top: 12px;
}
.pill{
  font-size:12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  color: var(--text);
}
.pill strong{ font-weight:700; }

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--accent);
  color: #051018;
  font-weight: 800;
  cursor: pointer;
}
.btn:hover{ filter: brightness(0.96); }
.btn:active{ filter: brightness(0.94); }


.btn-ghost{
  background: rgba(255,255,255,0.03);
  color: var(--text);
}

.btn-small{
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 13px;
}

/* -- FOOTER ---*/
.footer{
  border-top: 1px solid var(--line);
  padding: 14px 0 16px;
  color: var(--muted);
  font-size: 12px;
  opacity: 0.7;
}

/* =========================
FOOTER SOCIALS - PREMIUM
========================= */

.footer-social{
  margin-top:22px;

  display:flex;
  flex-wrap:wrap;
  gap:10px;

  align-items:center;
}

.social-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;

  min-width:132px;
  height:44px;

  padding:0 16px;

  border-radius:14px;

  background:
  linear-gradient(
    180deg,
    rgba(255,255,255,0.04),
    rgba(255,255,255,0.02)
  );

  border:1px solid rgba(255,255,255,0.06);

  color:rgba(232,238,246,0.82);

  font-size:13px;
  font-weight:500;
  letter-spacing:.01em;

  text-decoration:none;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 8px 20px rgba(0,0,0,0.18);

  transition:
    transform .25s ease,
    border-color .25s ease,
    background .25s ease,
    box-shadow .25s ease,
    color .25s ease;
}

.social-link:hover{
  transform:translateY(-2px);

  color:#ffffff;

  border-color:rgba(110,231,255,0.28);

  background:
  linear-gradient(
    180deg,
    rgba(110,231,255,0.08),
    rgba(255,255,255,0.03)
  );

  box-shadow:
    0 12px 28px rgba(0,0,0,0.28),
    0 0 20px rgba(110,231,255,0.08);
}

.social-icon{
  display:flex;
  align-items:center;
  justify-content:center;

  width:18px;
  height:18px;

  opacity:.9;
}

/* =========================
TABLET
========================= */

@media (max-width:1100px){

  .footer-social{
    gap:8px;
  }

  .social-link{
    min-width:124px;
  }

}

/* =========================
MOBILE
========================= */

@media (max-width:700px){

  .footer-social{
    width:100%;

    display:grid;
    grid-template-columns:1fr;
  }

  .social-link{
    width:100%;
    min-width:100%;

    justify-content:flex-start;
  }

}



/*---------------------*/

.footer-status {
  margin-top: 10px;
  font-size: 12px;
  color: #00e676;
  opacity: 0.9;

  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-market-status{
  margin-bottom:18px;

  font-size:11px;
  letter-spacing:0.08em;

  text-transform:uppercase;
}

/* DOT */
.status-dot {
  width: 6px;
  height: 6px;
  background: #00e676;
  border-radius: 50%;
  position: relative;
}

.footer-status {
  letter-spacing: 0.3px;
  text-transform: uppercase;
  font-size: 11px;
}

/* GLOW RING */
.status-dot::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: rgba(0,230,118,0.4);
  opacity: 0;
  animation: pulseGlow 2s infinite;
}

/* ANIMATION */
@keyframes pulseGlow {
  0% {
    transform: scale(0.6);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.8);
    opacity: 0.15;
  }
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

.page{
  padding: 28px 0 64px;
}
.back{
  display:inline-flex;
  gap:8px;
  align-items:center;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
  margin-bottom: 22px;
}
.header{
  margin-top: 16px;
  display:grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
  align-items: start;
}
/* Base hero image */
.heroimg{
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: rgba(255,255,255,0.02);
  aspect-ratio: 16 / 9;
  max-height: 340px;
}

.heroimg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;

  border-radius: 16px;

  transition: transform 0.4s ease, opacity 0.3s ease;
}

.heroimg img:hover {
  transform: scale(1.02);
}

/* Porsche Taycan Turbo GT – match Zeekr composition */
#heroWrap[data-slug="porsche-taycan-turbo-gt"] img{
  object-position: 36% 30%;
}

.panel{
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  box-shadow: var(--shadow);
  padding: 16px;
}
.h2{ margin:0 0 8px; font-size:18px; }
.p{ margin:0; color: var(--muted); line-height:1.6; }

.spec-grid{
  margin-top: 14px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.spec{
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  padding: 12px;
}
.spec .label{ color: var(--muted); font-size: 12px; }
.spec .val{ font-size: 16px; font-weight: 800; margin-top: 6px; }

.list{
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.6;
}
.note{
  margin-top: 10px;
  padding: 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(110,231,255,0.20);
  background: rgba(110,231,255,0.06);
  color: var(--text);
  font-size: 13px;
}

/* --- Compare UI --- */
.card-toprow{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.compare-toggle{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:12px;
  color: var(--muted);
  user-select:none;
}

.compare-toggle input{
  width:16px;
  height:16px;
  accent-color: #6ee7ff;
}

.comparebar{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  border-top: 1px solid var(--line);
  background: rgba(11,13,18,0.78);
  backdrop-filter: blur(10px);
  z-index: 100;
  padding: 10px 0;
}

.compare-stack{
  display: flex;
  flex-direction: column;
  gap: 22px;
}


.comparebar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.comparebar-left{
  display:flex;
  align-items:center;
  gap:10px;
  min-width: 0;
}

.comparebar-title{
  font-weight: 800;
}

.comparebar-count{
  color: var(--muted);
  font-size: 13px;
}

.comparebar-chips{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  overflow:hidden;
}

.comparechip{
  display:inline-flex;
  gap:8px;
  align-items:center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  font-size: 12px;
  color: var(--text);
}

.comparechip button{
  border: none;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  padding: 0;
  font-size: 14px;
  line-height: 1;
}

.comparechip button:hover{
  color: var(--text);
}

/* Compare page layout */
.comparegrid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.comparecard{
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  overflow:hidden;
  box-shadow: 0 14px 40px rgba(0,0,0,0.42);
}

.compareimg{
  height: 160px;
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--line);
  background-color: rgba(255,255,255,0.02);
}

.comparebody{
  padding: 14px;
}


/* Compare table */
.compare-table-wrap{
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,0.03);
  box-shadow: 0 14px 40px rgba(0,0,0,0.42);
}

/* enable horizontal scroll if you ever compare 3 models on smaller screens */
.compare-table-wrap{ overflow-x: auto; }

.compare-table{
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.compare-table thead th{
  text-align: left;
  font-size: 12px;
  color: var(--muted);
  padding: 12px 14px;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid var(--line);
}

.compare-table tbody td{
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

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

.compare-table tbody tr:nth-child(even) td{
  background: rgba(255,255,255,0.015);
}

.compare-table .spec-col{
  width: 220px;
  color: var(--muted);
}

.compare-grid{
  margin-top: 14px;
}

.compare-hero .h-title{
  margin-bottom: 10px;
}

.compare-hero .h-sub{
  margin-top: 0;
}

.compare-disclaimer{
  margin-top: clamp(32px, 5vw, 56px);
}


.compare-page-end{
  padding-bottom: 72px;
}

/* --- Modal --- */
.modal{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 200; /* above nav (50) and comparebar (100) */
}

.modal.is-open{
  display: block;
}

.modal-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
}

.modal-card{
  position: relative;
  width: min(720px, calc(100% - 28px));
  margin: 80px auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(15,22,32,0.92);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.modal-card:focus {
  outline: none;
}


.modal-head{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.modal-body{
  padding: 14px 16px 16px;
}

.modal-actions{
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 12px;
}

.iconbtn{
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  color: var(--text);
  font-size: 18px;
  cursor: pointer;
}

body.modal-open{
  overflow: hidden;
}

/* optional: nicer 2-col row in the modal form */
.form-row.two{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-label{
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
}

.form-actions{ justify-content:flex-start; }
.form-note{ margin: 10px 0 0; }

textarea.input{
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.grid-2, .cards-3, .bullets { min-width: 0; }

/* --- Page content helpers (append at end of app.css) --- */

.page-hero{
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  box-shadow: var(--shadow);
}

.section{ margin-top: 16px; }

.grid-2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  min-width: 0;
}

.cards-3{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  min-width: 0;
}

.feature .h2{ margin-top: 6px; }

.mini-cta{
  margin-top: 14px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.mini-cta-card{
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  box-shadow: var(--shadow);
  padding: 14px;
}

.cta-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top: 14px;
}

.faq details{
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.02);
  padding: 10px 12px;
  margin-top: 10px;
}

.faq summary{
  cursor: pointer;
  font-weight: 800;
  color: var(--text);
}

.faq summary::-webkit-details-marker{ display:none; }
.faq details p{ margin: 10px 0 0; }


/*==== UPDATED FAQ =========*/

/* FAQ Upgrade */
.faq-section {
  margin-top: 40px;
}

.faq-subtitle {
  color: #9aa4b2;
  margin-bottom: 18px;
  font-size: 14px;
}

/* Accordion */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: rgba(20, 28, 40, 0.65);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.25s ease;
}

/* Question */
.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: #e6edf3;
  font-size: 15px;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

/* Icon */
.faq-icon {
  font-size: 16px;
  color: #6ea8ff;
  transition: transform 0.25s ease;
}

/* Answer */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 16px;
}

.faq-answer .p {
  color: #b8c1cc;
  padding-bottom: 14px;
}

/* Active */
.faq-item.active .faq-answer {
  max-height: 220px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/*========================*/

.bullets{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  min-width: 0;
}

.bullet{
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  padding: 14px;
  box-shadow: var(--shadow);
}

.timeline{
  display:flex;
  flex-direction:column;
  gap: 12px;
  margin-top: 10px;
}

.t-item{
  display:flex;
  gap: 12px;
  align-items:flex-start;
}

.t-dot{
  width: 10px;
  height: 10px;
  margin-top: 6px;
  border-radius: 999px;
  background: rgba(110,231,255,0.75);
  box-shadow: 0 0 0 4px rgba(110,231,255,0.10);
}

/* Further styling to pages*/

/* ===== Premium media hero (image/video) ===== */
.hero-media{
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  background: rgba(255,255,255,0.02);
  box-shadow: var(--shadow);
}

/* keep hero height consistent */
.hero-media.hero-tall{ height: clamp(260px, 34vw, 420px); }
.hero-media.hero-mid{ height: clamp(220px, 28vw, 340px); }

.hero-media .media{
  width: 100%;
  height: 100%;
  display:block;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.95) contrast(1.02) brightness(1.02);
  transform: scale(1.02);
}

/* one single overlay tint, lighter and premium */
.hero-media::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(900px 480px at 30% 20%, rgba(110,231,255,0.10), transparent 55%),
    radial-gradient(900px 480px at 80% 30%, rgba(139,92,255,0.08), transparent 58%),
    linear-gradient(180deg, rgba(0,0,0,0.10), rgba(0,0,0,0.28));
}

/* overlay content inside hero-media */
.hero-overlay{
  position: absolute;
  inset: 0;
  display: flex;
  align-items:flex-end;
  justify-content: flex-start;
  padding: clamp(20px, 5vw, 60px);
  padding-bottom:40px;
  background:
    linear-gradient(
      90deg,
      rgba(0,0,0,0.20) 0%,
      rgba(0,0,0,0.12) 40%,
      rgba(0,0,0,0.04) 60%,
      rgba(0,0,0,0.00) 74%
    );
}

.hero-overlay .panel{
  max-width: 520px;
  padding: 22px 24px;
}


/*============================================
METRIC BADGES
==============================================*/
.metric-badges{
  margin-top:4px;
  display:flex;
  gap:6px;
  flex-wrap:wrap;
}

.metric-badge{
  font-size:10px;
  padding:2px 8px;
  border-radius:999px;
  background:rgba(0,200,255,0.15);
  border:1px solid rgba(0,200,255,0.35);
  color:#00c8ff;
}
.metric-badges{
  margin:6px 0 4px 0;
  display:flex;
  gap:6px;
  flex-wrap:wrap;
}

/*---------------------------------------------*/

/* THIS is the glass panel, lighter than your current */
.hero-overlay .panel.soft{
  background: rgba(20, 30, 44, 0.34);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow:
    0 18px 60px rgba(0,0,0,0.30),
    inset 0 1px 0 rgba(255,255,255,0.07);
  backdrop-filter: blur(16px);
}

.hero-overlay .kicker{
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
  color: rgba(169,183,199,0.95);
  opacity: 1;
}
.hero-overlay .h-title{
  margin: 6px 0 10px;
}

.hero-overlay .h-sub{
  margin-top: 0;
}

.hero-overlay .h-title{
  font-size: clamp(32px, 4vw, 44px);
  color: rgba(232,238,246,0.98);
}

.hero-overlay .h-sub{
  max-width: 46ch;
  color: rgba(169,183,199,0.92);
}

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

.site-footer::before{
  content:"";
  display:block;
  height:1px;
  background:linear-gradient(
    90deg,
    transparent,
    rgba(110,231,255,.35),
    transparent
  );
  margin-bottom:40px;
}

.site-footer{
  padding:60px 0 30px;

  background:
    linear-gradient(
      180deg,
      rgba(6,12,20,0.6),
      rgba(2,6,12,0.95)
    );

  border-top:1px solid rgba(255,255,255,0.06);
}

.footer-logo{
  font-weight:700;
  letter-spacing:.08em;
  font-size:18px;
  margin-bottom:10px;
}

.footer-tagline{
  opacity:.7;
  font-size:13px;
  line-height:1.5;
  max-width:280px;   /* prevents stretching */
}

.footer-title{
  font-size:11px;
  letter-spacing:.12em;
  text-transform:uppercase;
  opacity:.55;
  margin-bottom:16px;
}

.footer-col a{
  display:block;
  font-size:13px;
  color:#cfd8e3;
  text-decoration:none;
  line-height:1.9;
  margin-bottom:8px;
  opacity:.8;
}

.footer-col a{
  transition:all .25s ease;
}

.footer-col a:hover{
  color:#6ee7ff;
  transform:translateX(3px);
}

.footer-meta{
  font-size:12px;
  opacity:.6;
  margin-top:10px;
}

.footer-bottom{
  display:flex;
  justify-content:space-between;
  align-items:center;

  max-width:1200px;
  margin:60px auto 0 auto;
  padding-top:28px;

  border-top:1px solid rgba(255,255,255,0.06);

  font-size:12px;
  opacity:.6;

  gap:40px;
}

/* -- newsletter (footer) -- */

.footer-newsletter{
  margin-top:60px;
  padding:32px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  background:rgba(255,255,255,.02);
}

.newsletter-content{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
}

.newsletter-copy{
  max-width:600px;
}

.newsletter-copy p{
  margin-top:10px;
  color:var(--text-muted);
  line-height:1.6;
}

.newsletter-form{
  display:flex;
  gap:12px;
}

.newsletter-form input{
  width:320px;
  height:50px;
  padding:0 16px;
  border:none;
  border-radius:12px;
}

.newsletter-form button{
  height:50px;
  padding:0 24px;
  border:none;
  border-radius:12px;
  cursor:pointer;
}

.newsletter-success{
  margin-top:12px;
  color:#39ff88;
  font-size:14px;
  font-weight:500;
  opacity:0;
  transition:opacity .4s ease;
}

.newsletter-success.show{
  opacity:1;
}

.newsletter-success.fade-out{
  opacity:0;
}

/* ==========================================
   ADMIN LINK
========================================== */

.admin-link{

  display:inline-flex;

  align-items:center;

  gap:8px;

  margin-top:8px;

  padding:8px 14px;

  border-radius:10px;

  font-size:13px;

  font-weight:600;

  text-decoration:none;

  color:#29d3ff;

  background:
  rgba(41,211,255,.08);

  border:
  1px solid
  rgba(41,211,255,.15);

  transition:
  all .25s ease;

}

.admin-link:hover{

  transform:
  translateY(-2px);

  background:
  rgba(41,211,255,.15);

  border-color:
  rgba(41,211,255,.3);

  box-shadow:
  0 8px 24px
  rgba(41,211,255,.15);

}

/*-- -  RESPONSIVE -- */

@media(max-width:768px){

  .newsletter-content{
    flex-direction:column;
    align-items:flex-start;
  }

  .newsletter-form{
    width:100%;
    flex-direction:column;
  }

  .newsletter-form input{
    width:100%;
  }

}

/* prevent long copyright lines breaking layout */

.footer-copy,
.footer-legal{
  max-width:460px;
}

@media (max-width:900px){
  .footer-main{
    grid-template-columns:1fr;
  }

  .footer-links{
    grid-template-columns:1fr 1fr;
  }

  .footer-bottom{
    flex-direction:column;
    gap:8px;
    text-align:center;
  }

}

@media (min-width:1600px){

  .footer-inner{
    max-width:1600px;
  }

  .footer-main{
    gap:120px;
  }

}

@media (min-width:2000px){

  .footer-inner{
    max-width:1800px;
  }

}

/*==========================================
EXTENDED FOOTER
==========================================*/
.footer-col{
  position:relative;
}

.footer-col:not(:first-child)::before{
  content:"";
  position:absolute;
  left:-20px;
  top:0;
  bottom:0;
  width:1px;
  background:rgba(255,255,255,0.04);
}

.footer-col a{
  position:relative;
}

.footer-col a::after{
  content:"";
  position:absolute;
  bottom:-2px;
  left:0;
  width:0;
  height:1px;
  background:#6ee7ff;
  transition:width .25s ease;
}

.footer-col a:hover::after{
  width:100%;
}

.footer-copy{
  padding-left:2px;
}

.footer-legal{
  text-align:right;
}

/* ==============================
EV BRAND SCROLL STRIP
============================== */

.brand-strip{
  width:100%;
  overflow:hidden;
  opacity: .45;
  border-bottom:1px solid rgba(255,255,255,0.06);
  margin-bottom:50px;
  padding:18px 0;
  opacity:.65;

  mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
}


.brand-track{
  display:flex;
  gap:clamp(60px,6vw,120px);
  width:max-content;
  animation:brandScroll 28s linear infinite;
  font-size:14px;
  white-space:nowrap;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#a8b3c2;
}

.brand-track span{

  white-space:nowrap;

  opacity:.7;
  transition:opacity .25s ease;
}

.brand-track span:hover{
  text-shadow:0 0 8px rgba(110,231,255,.4);
  opacity:1;
  color:#6ee7ff;
}

@keyframes brandScroll{

  0%{
    transform:translateX(0);
  }

  100%{
    transform:translateX(-50%);
  }

}

/* ============================
NEW FOOTER STRUCTURE
============================ */


.footer-main{
  display:grid;
  grid-template-columns:
    minmax(260px, 1.4fr)
    repeat(4, minmax(160px, 1fr));
  gap:clamp(28px, 4vw, 64px);
  align-items:start;
  max-width:1400px;
  margin:0 auto;
}


/* responsive */

@media (max-width:1100px){

  .footer-main{
    grid-template-columns:
      repeat(2, minmax(220px, 1fr));

    gap:42px;
  }

}

@media (max-width:700px){

  .footer-main{
    grid-template-columns:1fr;

    gap:34px;
  }

  .footer-col{
    padding-top:0;
  }

  .footer-col:not(:first-child)::before{
    display:none;
  }

  .footer-bottom{
    flex-direction:column;
    align-items:flex-start;

    gap:10px;

    text-align:left;
  }

  .footer-legal{
    text-align:left;
  }

}

@media (min-width:1500px){

  .footer-inner{
    max-width:1400px;
  }

  .footer-main{
    grid-template-columns:
      minmax(300px, 1.7fr)
      repeat(4, minmax(180px, 1fr));
  }

}

@media (min-width:1800px){
  .footer-inner{
    max-width:1600px;
  }
}




/*=======================================*/

/* background fix */
@media (max-width: 980px){
  body{ background-attachment: scroll; }
}

/* mobile: bottom card treatment */
@media (max-width: 980px){
  .hero-overlay{
    align-items: flex-end;
    justify-content: center;
    padding: 14px;
    background:
      linear-gradient(
        180deg,
        rgba(0,0,0,0.00) 0%,
        rgba(0,0,0,0.28) 45%,
        rgba(0,0,0,0.55) 100%
      );
  }
  .hero-overlay .panel{ max-width: 100%; }
  .hero-media .media{ transform: scale(1.01); }
}

@media (max-width: 980px){
  .hero-overlay .panel.soft{ padding: 16px 16px; }
}



/* ===== Premium section cards ===== */
.section{
  margin-top: 14px;
}

.panel.soft{
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
}

.kicker{
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
  color: rgba(169,183,199,0.95);
}

.kicker {
  color: #6ee7ff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}


/* nicer long-form text rhythm */
.prose p{
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}
.prose ul{
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

/* two-column “content + visual” */
.split{
  display:grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 14px;
  align-items: start;
}

/* small visual cards grid */
.cards-3{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

/* image cards */
.media-card{
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow:hidden;
  background: rgba(255,255,255,0.02);
  box-shadow: var(--shadow);
}
.media-card img{
  width:100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
  display:block;
  filter: saturate(0.92) contrast(1.02) brightness(1.02);
}

/* reveal on scroll */
.reveal{
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 420ms ease, transform 420ms ease;
  will-change: opacity, transform;
}
.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce){
  .reveal{ transition: none; transform: none; opacity: 1; }
}

/* =========================
   Desktop nav polish
   ========================= */


/* Brand: tighter spacing, better vertical rhythm */
.brand{
  flex:0 0 auto;
  align-items:center;
  gap:10px;
  min-width: 160px; /* helps nav spacing */
}

@media (max-width: 980px){
  .brand{ min-width: auto; }
  .brand-logo{ height: 26px; } /* mobile size */
}

.brand{
  gap: 12px;
  align-items: center;
}
.brand span:first-child{
  font-size: 16px;
  letter-spacing: 0.2px;
}

/* Tabs: group them into a subtle pill tray */
.tabs{
  display:flex;

  align-items:center;

  justify-content:center;

  gap:4px;

  width:fit-content;

  margin:0 auto;

  padding:6px;

  border-radius:999px;

  border:
  1px solid rgba(255,255,255,0.06);

  background:
  rgba(255,255,255,0.02);

  backdrop-filter:blur(20px);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 8px 24px rgba(0,0,0,0.34);

  z-index:200;
}

/* Tabs: more consistent sizing, less “text-link” feel */
.tab{
  padding: 8px 12px;
  font-size: 13px;
  line-height: 1;
  border-radius: 999px;
  background: transparent;
  border: 1px solid transparent;
  color: rgba(169,183,199,0.92);
}

.tabs .tab{
  white-space:nowrap;
  flex:0 0 auto;
}

/* Hover: subtle, premium */
.tab:hover{
  color: var(--text);
  border-color: rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
}

/* Active: more refined highlight */
.tab.is-active{
  color: var(--text);
  border-color: rgba(110,231,255,0.28);
  background: rgba(110,231,255,0.10);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

/* Right-side badge: smaller, aligned, less dominant */
.nav-inner > .badge{
  font-size: 11px;
  padding: 6px 10px;
  opacity: 0.9;
  white-space: nowrap;
}

/* If you keep a page badge inside brand, keep it subtle on desktop */
.brand .badge{
  font-size: 10px;
  padding: 5px 10px;
  opacity: 0.9;
}


/* =========================
NEW UPDATED = NAV LAYOUT
========================= */

.nav-inner{
  display:grid;
  grid-template-columns:
    auto
    minmax(0,1fr)
    auto;
  align-items:center;
  gap:28px;
  width:100%;
}

.nav.scrolled{
  background:rgba(18,26,36,0.96);
  backdrop-filter:blur(16px);

  box-shadow:
    0 16px 40px rgba(0,0,0,0.45),
    0 1px 0 rgba(255,255,255,0.05);

  border-bottom:1px solid rgba(255,255,255,0.10);
}

.nav.scrolled .nav-inner{
  min-height:76px;
}

.nav.scrolled .brand-logo{
  transform:none;
}

/* =========================
NAV SCROLL POSITION LOCK
========================= */

.nav.scrolled .container.nav-inner{
  width:100%;
  max-width:none;

  margin:0;

  padding-left:32px;
  padding-right:300px;
}

@media (max-width:1400px){

  .nav.scrolled .container.nav-inner{
    padding-left:24px;
    padding-right:280px;
  }
}

@media (max-width:1200px){

  .nav.scrolled .container.nav-inner{
    padding-left:20px;
    padding-right:20px;
  }
}

/* brand */

.brand{
  flex:0 0 auto;
  display:flex;
  align-items:center;
}

.brand-logo{
  transition:transform 200ms ease;
}

/* nav tray */

.tabs{
  display:flex;

  align-items:center;

  justify-content:center;

  gap:4px;

  width:fit-content;

  margin:0 auto;

  padding:6px;

  border-radius:999px;

  border:
  1px solid rgba(255,255,255,0.06);

  background:
  rgba(255,255,255,0.02);

  backdrop-filter:blur(20px);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 8px 24px rgba(0,0,0,0.34);

  z-index:200;
}

/* tab items */

.tabs .tab{
  flex:0 0 auto;
  white-space:nowrap;

  padding:8px 12px;
  font-size:13px;
  line-height:1;

  border-radius:999px;
  border:1px solid transparent;

  color:rgba(169,183,199,0.92);
}

/* hover */

.tabs .tab:hover{
  background:rgba(110,231,255,0.08);
  border-color:rgba(110,231,255,0.35);
  color:var(--text);
}

/* active */

.tabs .tab.is-active{
  color:var(--text);
  border-color:rgba(110,231,255,0.32);
  background:rgba(110,231,255,0.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

/* CTA */

.badge-cta{
  flex:0 0 auto;
  white-space:nowrap;
  justify-self:end;
  margin-right:12px;
}

/* hamburger */

.nav-toggle{
  display:none;
}

/* =========================
MOBILE NAV
========================= */

@media (max-width:980px){

  .nav-toggle{
    display:inline-flex;
  }

  .tabs.is-open{
    transform:translateY(0);
    opacity:1;
    pointer-events:auto;
  }

  .tabs .tab{
    padding:12px 14px;
    border-radius:10px;
    font-size:14px;
    border:1px solid rgba(255,255,255,0.06);
    background:rgba(255,255,255,0.02);
    transition:all .18s ease;
  }

  .tabs .tab:first-child{
    border-top:0;
  }

  .badge-cta{
    display:none;
  }
}



/* mobile */
@media (max-width: 980px){
  .split{ grid-template-columns: 1fr; }
  .cards-3{ grid-template-columns: 1fr; }
  .hero-overlay{ padding: 14px; }
  .hero-media .media{ transform: scale(1.01); }
}

/* End Further styling to pages */

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

/* =========================
FORCE FOOTER SOCIAL LAYOUT
========================= */

.site-footer .footer-social{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;

  margin-top:22px;
}

.site-footer .social-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;

  min-width:132px;
  height:44px;

  padding:0 16px;

  border-radius:14px;

  background:
  linear-gradient(
    180deg,
    rgba(255,255,255,0.04),
    rgba(255,255,255,0.02)
  );

  border:1px solid rgba(255,255,255,0.06);

  color:rgba(232,238,246,0.82);

  font-size:13px;
  font-weight:500;

  text-decoration:none;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 8px 20px rgba(0,0,0,0.18);

  transition:all .25s ease;
}

.site-footer .social-link:hover{
  transform:translateY(-2px);

  color:#ffffff;

  border-color:rgba(110,231,255,0.28);

  background:
  linear-gradient(
    180deg,
    rgba(110,231,255,0.08),
    rgba(255,255,255,0.03)
  );

  box-shadow:
    0 12px 28px rgba(0,0,0,0.28),
    0 0 20px rgba(110,231,255,0.08);
}

.site-footer .social-icon{
  display:flex;
  align-items:center;
  justify-content:center;

  width:18px;
  height:18px;
}

/* =========================
TABLET
========================= */

@media (max-width:1100px){

  .site-footer .social-link{
    min-width:124px;
  }

}

/* =========================
MOBILE
========================= */

@media (max-width:700px){

  .site-footer .footer-social{
    display:grid;
    grid-template-columns:1fr;
  }

  .site-footer .social-link{
    width:100%;
    min-width:100%;

    justify-content:flex-start;
  }

}

.footer-links a{
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(255,255,255,0.02);
}

.footer-links a:hover{
  color: var(--text);
  border-color: rgba(110,231,255,0.22);
}

@media (max-width: 980px){
  .grid-2{ grid-template-columns: 1fr; }
  .cards-3{ grid-template-columns: 1fr; }
  .mini-cta{ grid-template-columns: 1fr; }
  .bullets{ grid-template-columns: 1fr; }
  .footer-inner{ flex-direction: column; align-items:flex-start; }
}

@media (max-width: 560px){
  .modal-card{ margin: 56px auto; }
  .form-row.two{ grid-template-columns: 1fr; }
}

.iconbtn:hover{ filter: brightness(0.98); }

@media (max-width: 980px){
  .comparegrid{ grid-template-columns: 1fr; }
}

/* Give space so bottom bar never covers content */
body.has-comparebar{ padding-bottom: 64px; }

@media (max-width: 980px){
  .comparebar-inner{ flex-direction: column; align-items: stretch; }
  .comparebar-right{ display:flex; gap:10px; justify-content:flex-end; }
}

@media (max-width: 980px){
  .grid{ grid-template-columns: repeat(2, 1fr); }
  .toolbar{ grid-template-columns: 1fr; }
  .header{ grid-template-columns: 1fr; }
  .spec-grid{ grid-template-columns: 1fr; }

  /* Keep hero responsive without overriding Porsche */
  .heroimg{ max-height: 260px; height: auto; }
}

/* Porsche stays in control even on mobile */
@media (max-width: 980px){
  #heroWrap[data-slug="porsche-taycan-turbo-gt"]{
    max-height: 260px; /* or keep 300px if you prefer */
  }
}

@media (max-width: 980px){
  .hero-overlay{
    align-items: flex-end;
    justify-content: center;
    background:
      linear-gradient(
        180deg,
        rgba(0,0,0,0.00) 0%,
        rgba(0,0,0,0.45) 45%,
        rgba(0,0,0,0.75) 100%
      );
  }

  .hero-overlay .panel{
    max-width: 100%;
  }
}

/* mobile  adjustments */

@media (max-width: 560px){
  .hero{ padding: 42px 0 18px; }
  .h-title{ line-height: 1.08; }
  .h-sub{ font-size: 14px; line-height: 1.65; }
  .panel{ padding: 14px; }
  .btn{ width: 100%; }
  .cta-row{ flex-direction: column; align-items: stretch; }
}

/* Further Mobile cleanup */

/* Mobile header cleanup: keep brand + hamburger only */
@media (max-width: 980px){
  /* Hide the right-side badge in the header */
  .nav-inner > .badge{
    display: none;
  }

  /* Hide the page badge inside the brand (e.g. "Contact", "EV History") */
  .brand .badge{
    display: none;
  }

  /* Make brand tighter */
  .brand{
    gap: 0;
  }
  .brand span:first-child{
    font-size: 16px;
    letter-spacing: 0.2px;
  }

  /* Keep hamburger aligned right */
  .nav-inner{
    justify-content: space-between;
  }
}

@media (max-width: 980px){
  .tabs{
    padding: 10px;
  }

  .tabs .tab{
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.08);
  }

  .tabs .tab + .tab{
    margin-top: 6px;
  }
}

/* Fix mobile nav background bleed */
/* Mobile dropdown: fully opaque sheet, prevents glow bleed-through */
@media (max-width: 880px){
  .nav .tabs{
    background: transparent !important; /* the sheet is drawn by ::before */
    backdrop-filter: none !important;
  }

  .nav .tabs{
    position:absolute;
    top:64px;
    right:12px;
    left:12px;

    display:none;
    flex-direction:column;

    padding:14px 0;

    background:rgba(10,14,20,.94);
    backdrop-filter:blur(16px);
    -webkit-backdrop-filter:blur(16px);

    border-radius:18px;
    border:1px solid rgba(255,255,255,.08);

    box-shadow:
      0 25px 70px rgba(0,0,0,.65),
      inset 0 1px 0 rgba(255,255,255,.05);

    z-index:200;
  }

  .nav .tabs.is-open{
    display:flex;
  }

  .nav .tabs{
    position: absolute;           /* ensure ::before positions correctly */
    overflow: hidden;             /* clean edges */
    border-radius: 0 0 18px 18px; /* optional: premium finish */
  }
}

/* Further Mobile fix up dates */

/* Mobile dropdown: fully opaque sheet, prevents glow bleed-through */
@media (max-width: 880px){
  /* menu container */
  .nav .tabs{
    position: absolute;
    top: 64px;
    right: 12px;
    left: 12px;

    display: none;              /* default closed */
    flex-direction: column;
    gap: 0;
    padding: 12px 0;

    border-radius: 18px;
    overflow: hidden;

    z-index: 200;               /* above hero overlays */
  }

  .nav .tabs.is-open{
    display: flex;
  }

  /* ensure links sit above the sheet */
  .nav .tabs .tab{
    position: relative;
    z-index: 1;

    background:linear-gradient(
      180deg,
      rgba(20,28,40,.75),
      rgba(10,14,20,.85)
    );

    padding: 14px 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
    border-radius: 0;
  }

  .nav .tabs .tab:first-child{
    border-top: 0;
  }
}

/*====================================
EV HOMEPAGE GRID UPDATE
======================================*/

#grid {
  display: block;
}

.ev-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.ev-category {
  margin-top: 56px;
  margin-bottom: 16px;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 20px;
}

.ev-section {
  margin-top: 48px;
}

.ev-section:first-child {
  margin-top: 24px;
}

.card{
  height:100%;
  display:flex;
  flex-direction:column;

  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.card:hover{
  transform:translateY(-8px);

  box-shadow:
    0 18px 40px rgba(0,0,0,0.45),
    0 0 30px rgba(0,212,255,0.08);
}

.container{
  max-width:1280px;
  margin:0 auto;
  padding:0 24px;
}

.ev-section-title{
  font-size:12px;
  letter-spacing:.18em;
  text-transform:uppercase;
  opacity:.6;
  margin-bottom:10px;
}

.ev-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

@media (max-width: 1024px) {
  .ev-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .ev-grid {
    grid-template-columns: 1fr;
  }
}


/*==============================
FURTHER MOBILE == UPDATED == 
================================*/

/* Mobile nav background blur layer */

.nav-open-overlay{
  position:fixed;
  inset:0;

  background:rgba(6,10,18,.35);

  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);

  opacity:0;
  pointer-events:none;

  transition:opacity .25s ease;

  z-index:150;
}

.nav-open-overlay.is-visible{
  opacity:1;
  pointer-events:auto;
}





@media (max-width: 768px){
  .hero h1{
    font-size:34px;
    line-height:1.15;
  }
  .hero p{
    font-size:15px;
  }

}

@media (max-width:768px){
  .hero-controls{
    display:flex;
    flex-direction:column;
    gap:10px;
  }
  .hero-controls input,
  .hero-controls select{
    width:100%;
  }
}

@media (max-width:768px){
  .featured-ev{
    grid-template-columns:1fr;
    gap:18px;
    margin:20px 0;
  }
}

@media (max-width:768px){
  .featured-ev img{
    width:100%;
    height:auto;
    object-fit:cover;
  }
}

@media (max-width:768px){
  .section{
    margin-top:30px;
  }
  .container{
    padding:0 18px;
  }
}

/* -- Grid Layout --*/

/* Tablet */
@media (max-width: 1024px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 640px) {
  .grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width:768px){

  .tabs.is-open{
    transform:translateY(0);
    opacity:1;
    pointer-events:auto;
  }
}

@media (max-width:980px){

  .nav-inner{
    grid-template-columns: auto 1fr auto;
  }

  .nav-toggle{
    justify-self: end;
    margin-right: 4px;
    padding:10px;
  }

}

/*==========================
FURTHER NAV UPDATE - MOBILE
===========================*/

.ev-card{
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.ev-card:active{
  transform:scale(.98);
  box-shadow:0 8px 20px rgba(0,0,0,.45);
  border-color:rgba(110,231,255,.25);
}

.tabs{
  transition:transform 260ms ease, opacity 200ms ease;
}

@media (max-width:768px){
  .tabs{
    transform:translateY(-10px);
    opacity:0;
    pointer-events:none;
  }
}

.btn-primary, .badge-cta{
  position:relative;
  overflow:hidden;
  margin-top: clamp(16px, 2vw, 25px);
}

.btn-primary::after,
.badge-cta::after{

  content:"";
  position:absolute;
  inset:0;

  background:
  radial-gradient(
    circle at 50% 50%,
    rgba(110,231,255,.35),
    transparent 60%
  );

  opacity:0;
  transition:opacity .25s ease;

}

.btn-primary:hover::after,
.badge-cta:hover::after{
  opacity:.6;
}

.tab-cta{
  display:none;
  text-align: center;
}

/* =========================
STRATUM TREND PANEL
========================= */


.pulse-volume-header h3{

  margin:0;

  font-size:36px;
  font-weight:800;

  color:#fff;
}

.pulse-chart-subtitle{

  margin:10px 0 0;

  color:rgba(255,255,255,.72);
}

.pulse-chart-summary{

  margin-top:12px;

  font-size:18px;
  font-weight:700;

  color:#fff;
}

.pulse-callout{

  margin-top:18px;

  padding:18px 20px;

  border-radius:18px;

  border:1px solid rgba(255,255,255,.08);

  background:
  linear-gradient(
    90deg,
    rgba(255,255,255,.05),
    rgba(255,255,255,.02)
  );
}

.pulse-chart-panel{

  position:relative;

  padding:42px;

  border-radius:28px;

  background:
  linear-gradient(
    180deg,
    rgba(10,18,30,.96),
    rgba(5,10,18,.98)
  );

  overflow:hidden;
}

.pulse-chart-panel::before{

  content:"";

  position:absolute;
  inset:0;

  background:
  radial-gradient(
    circle at 30% 0%,
    rgba(0,212,255,.08),
    transparent 55%
  );

  pointer-events:none;
}



.pulse-callout span{

  font-size:18px;
  font-weight:700;

  color:#fff;
}


.pulse-narrative-dot{

  width:12px;
  height:12px;

  border-radius:50%;

  background:#f4c542;

  margin-top:6px;
}

.pulse-chart-controls{

  display:flex;
  gap:10px;

  margin-top:18px;
  margin-bottom:18px;
}

.pulse-range-btn{

  width:48px;
  height:36px;

  border:none;

  border-radius:8px;

  cursor:pointer;

  font-weight:700;
}

.pulse-range-btn.active{

  background:#ffffff;
  color:#111;
}

.pulse-trend-header{

  display:flex;
  justify-content:space-between;
  align-items:center;

  margin-bottom:18px;

  font-size:11px;
  font-weight:700;

  letter-spacing:.14em;
  text-transform:uppercase;

  color:rgba(255,255,255,.55);
}

.pulse-signal-hero{

    display:grid;

    grid-template-columns:
    280px
    minmax(0,1fr);

    gap:40px;

    align-items:stretch;

}

.pulse-signal-left{
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.pulse-signal-left strong{
  font-size:72px;
  line-height:1;
}

.pulse-score-summary{
  margin-top:16px;
  color:rgba(255,255,255,.68);
}

.pulse-signal-right{

    position:relative;

    min-width:0;

    width:100%;

    overflow:hidden;

}

.pulse-insight-panel{
  margin-top:24px;

  padding:24px;

  border-radius:20px;

  background:
  rgba(255,255,255,.03);

  border:
  1px solid rgba(255,255,255,.06);
}

.pulse-insight-label{
  margin-bottom:12px;

  font-size:12px;
  letter-spacing:.14em;

  color:#00d4ff;
}

#pulseTrendChart{

    display:block;

    width:100% !important;

    height:420px !important;

}

#pulse-market-status{
  color:#2ef58b;
  font-size:medium;
}

#pulse-momentum{
  font-size: 28px;
  font-weight: 700;
  color:#ffffff;
}

#pulse-risk-profile{

  display:inline-flex;

  padding:8px 14px;
  font-size:13px;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;

  border-radius:999px;

  background:
  rgba(46,245,139,.12);

  color:#2ef58b;
}

#pulse-score{
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
}

/* - Pulse Score Description - */

.pulse-score-desc{

  margin-top:8px;

  font-size:12px;

  letter-spacing:.12em;

  text-transform:uppercase;

  color:rgba(255,255,255,.45);

}

/*----------------------*/

#pulse-signal-score{

  display:block;

  font-size:medium;

  line-height:.9;

  font-weight:900;

  color:#ffffff;

  letter-spacing:-3px;

  text-shadow:
  0 0 30px rgba(0,212,255,.15);
}


.pulse-score-label{

  font-size:12px;

  letter-spacing:2px;

  text-transform:uppercase;

  color:rgba(255,255,255,.55);

  font-weight:700;
}

/*=================================
BARCHART - HOMEPAGE - 
=================================*/


.pulse-bullish{
  color:#1ee57b;
  text-shadow:
  0 0 20px rgba(30,229,123,.3);
}

.pulse-chart-wrap{
  position:relative;
}

.pulse-chart-wrap::before{

  content:"";

  position:absolute;

  inset:0;

  pointer-events:none;

  background:

  radial-gradient(
    circle at center,
    rgba(0,212,255,.12),
    transparent 65%
  );

  filter:blur(40px);
}




/*==================================
MARKET PULSE 
==================================*/

.pulse-top-signal{

  margin-top:16px;

  display:flex;
  flex-direction:column;
  gap:8px;

}

.pulse-top-signal span{

  font-size:10px;
  font-weight:700;

  letter-spacing:.16em;

  text-transform:uppercase;

  color:rgba(255,255,255,.45);

}

.pulse-top-signal-pill{

  display:inline-flex;

  align-items:center;
  justify-content:center;

  white-space:nowrap;

  padding:9px 9px;

  border-radius:999px;

  background:
  linear-gradient(
    180deg,
    rgba(46,245,139,.10),
    rgba(46,245,139,.04)
  );

  border:
  1px solid rgba(46,245,139,.25);

  color:#2ef58b;

  font-size:10px;
  font-weight:600;

  letter-spacing:.06em;

  text-transform:uppercase;
}

.pulse-top-signal-pill::before{

  content:"";

  width:8px;
  height:8px;

  border-radius:50%;

  background:#2ef58b;

  margin-right:8px;

  box-shadow:
  0 0 12px rgba(46,245,139,.7);

}

/*===================================
RESPONSIVENESS - MARKET PULSE
====================================*/

@media (max-width:1100px){

  .pulse-grid{
    grid-template-columns:
    repeat(2,1fr);
  }

}

@media (max-width:700px){

  .pulse-grid{
    grid-template-columns:1fr;
  }

}


/*====================================
PULSE ANALYTICS
====================================*/

.pulse-analytics{
  display:grid;
  grid-template-columns:repeat(4,1fr);

  gap:14px;

  margin-top:18px;
  margin-bottom:18px;
}

.pulse-analytic{

  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;

  text-align:center;

  padding:16px;

  border-radius:16px;

  border:1px solid rgba(255,255,255,.06);

  background:
  linear-gradient(
    180deg,
    rgba(255,255,255,.03),
    rgba(255,255,255,.015)
  );

  backdrop-filter:blur(12px);

  min-height:110px;
}

.pulse-analytic span{

  display:block;

  font-size:11px;

  letter-spacing:.12em;
  text-transform:uppercase;

  color:rgba(255,255,255,.45);

  text-align:center;
}

.pulse-analytic strong{

  display:block;
  margin-top:12px;

  font-size:34px;
  font-weight:800;

  line-height:1;
  text-align:center;

  text-shadow:
  0 0 20px rgba(0,212,255,.12);

  color:#ffffff;
}

#pulse-risk{
  color:#22c55e;
}

/*=============================
PULSE ANALYSTICS - RESPONSIVENESS
===============================*/

@media (max-width:980px){

  .pulse-analytics{
    grid-template-columns:repeat(2,1fr);
  }

}

@media (max-width:560px){

  .pulse-analytics{
    grid-template-columns:1fr;
  }

}

/*===========================
TAB STYLING - CHINESE INTELLIGENCE ::
=============================*/

/* =========================
DATA VIEW TABS
========================= */

.data-tabs{
  display:flex;
  gap:8px;
  margin-bottom:20px;
  padding:6px;

  border-radius:999px;
  border:1px solid rgba(255,255,255,0.06);
  background:rgba(255,255,255,0.02);
  backdrop-filter:blur(8px);

  width:fit-content;
}

.data-tab{
  padding:8px 14px;
  border-radius:999px;
  border:1px solid transparent;

  font-size:13px;
  color:var(--muted);

  cursor:pointer;
  transition:all 0.2s ease;
}

.data-tab:hover{
  color:var(--text);
  border-color:rgba(255,255,255,0.10);
  background:rgba(255,255,255,0.03);
}

.data-tab.is-active{
  color:var(--text);
  border-color:rgba(110,231,255,0.35);
  background:rgba(110,231,255,0.12);

  box-shadow:inset 0 1px 0 rgba(255,255,255,0.06);
}

/* =========================
   CHINA TAB GLOW EFFECT
========================= */

.data-tab[data-view="china"] {
  position: relative;
  overflow: hidden;
}

/* Base glow */
.data-tab[data-view="china"]::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 999px;

  background: linear-gradient(
    120deg,
    rgba(110,231,255,0.0),
    rgba(110,231,255,0.6),
    rgba(139,92,255,0.6),
    rgba(110,231,255,0.0)
  );

  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

/* Animated glow */
.data-tab[data-view="china"].is-active::before {
  opacity: 1;
  animation: chinaGlow 2.5s linear infinite;
}

/* Glow animation */
@keyframes chinaGlow {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* Ensure text sits above glow */
.data-tab[data-view="china"] span,
.data-tab[data-view="china"] {
  position: relative;
  z-index: 1;
}

/*--- PREMIUM EFFECT ---*/

.data-tab[data-view="china"].is-active {
  box-shadow:
    0 0 12px rgba(110,231,255,0.35),
    0 0 24px rgba(139,92,255,0.25);
}

/*-----------------------*/

/* =========================
   CHINA INTELLIGENCE TAB (PREMIUM)
========================= */

.data-tab[data-view="china"] {
  background: linear-gradient(
    135deg,
    rgba(15,23,42,0.9),
    rgba(30,41,59,0.9)
  );

  border: 1px solid rgba(110,231,255,0.25);
  color: #cbd5f5;

  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.04),
    0 0 12px rgba(110,231,255,0.08);

  transition: all 0.3s ease;
}

.data-tab[data-view="china"].is-active {
  background: linear-gradient(
    135deg,
    rgba(14,165,233,0.18),
    rgba(139,92,246,0.18)
  );

  border: 1px solid rgba(110,231,255,0.6);
  color: #e0f2fe;

  box-shadow:
    0 0 16px rgba(110,231,255,0.25),
    0 0 30px rgba(139,92,246,0.15);
}

.data-tab[data-view="china"].is-active::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;

  background: linear-gradient(
    120deg,
    transparent,
    rgba(110,231,255,0.25),
    transparent
  );

  opacity: 0.6;
  pointer-events: none;
}

/*=================================*/

.ev-section {
  margin-top: 28px;
}

.ev-section:first-of-type {
  margin-top: 8px;
}

/*=================================*/


.data-tab[data-view="china"]::after {
  content: "";
  position: absolute;
  top: 6px;
  right: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6ee7ff;
  box-shadow: 0 0 8px #6ee7ff;
}


/*===============================
CHINA SIGNAL SCORE PANEL
================================*/


.china-panel{
  margin-bottom:20px;
}

.china-panel-inner{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;

  padding:14px;
  border-radius:16px;

  border:1px solid rgba(255,255,255,0.08);
  background:rgba(255,255,255,0.02);
}

.china-metric{
  padding:12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,0.06);
  background:rgba(255,255,255,0.02);
}

.china-metric .label{
  font-size:10px;
  opacity:.6;
  text-transform:uppercase;
}

.china-metric .value{
  font-size:18px;
  font-weight:700;
  margin-top:4px;
}

.china-metric.highlight{
  border-color:rgba(110,231,255,0.35);
  background:rgba(110,231,255,0.08);
}


/*===========================
MOBILE - NAV STYLING
==============================*/

/* Mobile menu background blur */

@media (max-width:980px){
  .tab-cta{
    display:block;
    margin-top:8px;

    border:1px solid rgba(110,231,255,.35);
    background:rgba(110,231,255,.08);
    font-weight:600;
  }
}

@media (max-width:980px){
    .nav .tabs{
    position:absolute;
    top:64px;
    right:12px;
    left:12px;

    display:none;
    flex-direction:column;
    gap:0;

    padding:12px 0;

    border-radius:18px;
    overflow:hidden;

    background:#0c121c !important;

    border:1px solid rgba(255,255,255,.08);

    box-shadow:
      0 25px 70px rgba(0,0,0,.65),
      inset 0 1px 0 rgba(255,255,255,.05);

    z-index:200;

    backdrop-filter:none !important;
    -webkit-backdrop-filter:none !important;
  }

  .nav .tabs.is-open{
    display:flex;
  }

  .nav .tabs .tab{
    position:relative;
    z-index:1;

    background:linear-gradient(
      180deg,
      rgba(20,28,40,.75),
      rgba(10,14,20,.85)
    );

    padding:14px 20px;

    border-top:1px solid rgba(255,255,255,0.08);
    border-radius:0;
  }

  .nav .tabs .tab:first-child{
    border-top:0;
  }

}

/*================================
STRATUM EV PULSE - RESPONSE
================================*/
@media (max-width:1200px){
  .pulse-grid{
    grid-template-columns:repeat(3,1fr);
  }
}

@media (max-width:768px){
  .pulse-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media (max-width:640px){

  .pulse-grid{
    grid-template-columns:1fr;
    gap:14px;
  }

  .pulse-card{
    min-height:120px;
    padding:22px;
  }

  .pulse-card strong{
    font-size:22px;
  }

  .pulse-trend{
    min-width:auto;
    width:fit-content;
  }

}

/*====================================
MARKET PULSE
TABLET
====================================*/

@media (max-width:980px){

  .pulse-header{
    align-items:flex-start;
    gap:20px;
  }

  .pulse-title{
    font-size:26px;
    line-height:1.15;
  }

  .pulse-updated{
    text-align:right;
    font-size:11px;
    line-height:1.5;
  }

}

/*====================================
MARKET PULSE
MOBILE
====================================*/

@media (max-width:640px){

  .pulse-header{

    display:flex;

    flex-direction:column;

    align-items:flex-start;

    gap:10px;

    margin-bottom:14px;
  }

  .market-pulse{
    padding:24px 0 40px;
  }

  .pulse-grid{
    margin-top:12px;
  }

  .pulse-title-wrap{

    flex-wrap:wrap;

    gap:10px;

    width:100%;
  }

  .pulse-title{

    font-size:34px;

    line-height:.95;

    letter-spacing:.02em;

    max-width:260px;
  }

  .pulse-live-dot{
    width:10px;
    height:10px;
  }

  .pulse-status{

    align-self:flex-start;

    order:3;

    margin-top:2px;

    font-size:9px;

    letter-spacing:.12em;

    padding:7px 12px;
  }

  .pulse-updated{

  width:100%;

  margin-top:0;

  font-size:12px;

  color:rgba(255,255,255,.60);

  line-height:1.4;
}

}
/*==============================*/

/*====================================
LIVE MARKET METRICS
====================================*/

.pulse-live-metrics{

    margin-top:28px;

    padding-top:24px;

    border-top:
    1px solid rgba(255,255,255,.08);

}

.pulse-live-heading{

    margin-bottom:20px;

    color:#63B3FF;

    font-size:.78rem;

    font-weight:700;

    letter-spacing:.16em;

    text-transform:uppercase;

}

.pulse-live-grid{

    display:grid;

    grid-template-columns:
    repeat(5,1fr);

    gap:18px;

}

.pulse-live-card{

    padding:18px;

    border-radius:14px;

    background:
    rgba(255,255,255,.03);

    border:
    1px solid rgba(99,179,255,.08);

    transition:.25s;

}

.pulse-live-card:hover{

    transform:translateY(-3px);

    border-color:
    rgba(99,179,255,.25);

}

.pulse-live-value{

    color:#63B3FF;

    font-size:1.5rem;

    font-weight:700;

    margin-bottom:6px;

}

.pulse-live-label{

    color:#A8B8CC;

    font-size:.78rem;

    line-height:1.45;

    text-transform:uppercase;

    letter-spacing:.08em;

}

/*====================================
RESPONSIVE FOR LIVE MARKET METRICS
=====================================*/

/*====================================
LIVE MARKET METRICS RESPONSIVE
====================================*/

@media (max-width:1024px){

    .pulse-live-grid{

        grid-template-columns:repeat(3,1fr);

    }

}

@media (max-width:768px){

    .pulse-live-grid{

        grid-template-columns:repeat(2,1fr);

        gap:14px;

    }

    .pulse-live-card{

        padding:16px;

    }

    .pulse-live-value{

        font-size:1.35rem;

    }

}

@media (max-width:480px){

    .pulse-live-grid{

        grid-template-columns:1fr;

    }

}

/*======================================
FEATURED MARKET INTELLIGENCE
======================================*/

.featured-intelligence{

    position:relative;

    overflow:hidden;

}

.featured-intelligence::before{

    content:"";

    position:absolute;

    top:0;
    left:0;

    width:100%;
    height:4px;

    background:linear-gradient(
        90deg,
        #24D8FF,
        #5F8BFF
    );

}

.featured-intelligence{

    margin-top:32px;
    padding:32px;

    background:
    linear-gradient(
        180deg,
        rgba(17,26,45,.96),
        rgba(11,15,26,.96)
    );

    border:1px solid rgba(74,144,226,.18);

    border-radius:22px;

    box-shadow:
        0 18px 48px rgba(0,0,0,.28);

}

.featured-intelligence-label{

    display:inline-flex;
    align-items:center;

    gap:10px;

    padding:7px 14px;

    border-radius:999px;

    background:
    rgba(74,144,226,.12);

    border:
    1px solid rgba(74,144,226,.25);

    color:#63B3FF;

    font-size:.72rem;

    font-weight:700;

    letter-spacing:.14em;

    text-transform:uppercase;

    margin-bottom:22px;

}

.featured-intelligence-label::before{

    content:"";

    width:8px;
    height:8px;

    border-radius:50%;

    background:#2ED573;

    box-shadow:
        0 0 10px #2ED573;

}

.featured-intelligence h3{

    margin:0 0 18px;

    color:#ffffff;

    font-size:1.7rem;

    line-height:1.35;

    font-weight:700;

}

#featured-market-event{

    margin:0;

    color:#D7E3F4;

    line-height:1.9;

    font-size:1rem;

}

.featured-intelligence-divider{

    margin:28px 0;

    height:1px;

    background:
    linear-gradient(
        to right,
        rgba(74,144,226,.35),
        transparent
    );

}

.featured-intelligence h4{

    margin:0 0 10px;

    color:#63B3FF;

    font-size:.82rem;

    letter-spacing:.16em;

    text-transform:uppercase;

    font-weight:700;

}

.featured-intelligence h5{

    margin:22px 0 10px;

    color:#9CCBFF;

    font-size:.8rem;

    letter-spacing:.14em;

    text-transform:uppercase;

    font-weight:700;

}

#featured-analysis{

    margin:0;

    color:#FFFFFF;

    font-size:1rem;

    font-weight:500;

    line-height:1.9;

}

#featured-implication{

    margin:0;

    color:#C9D4E2;

    line-height:1.9;

    font-size:.98rem;

}

.featured-source{

    display:flex;

    justify-content:flex-end;

    align-items:center;

    gap:8px;

    margin-top:28px;

    padding-top:18px;

    border-top:
    1px solid rgba(255,255,255,.08);

    color:#8EA4BF;

    font-size:.82rem;

}

#featured-source{

    color:#63B3FF;

    font-weight:600;

}

/* ====================================
PULSE CHART RESPONSIVENESS
==================================== */

@media (max-width:1200px){

  .pulse-signal-hero{

    grid-template-columns:
    220px 1fr;

    gap:24px;

    padding:28px;
  }

}

@media (max-width:980px){

  .pulse-signal-hero{

    grid-template-columns:1fr;

    gap:28px;
  }

  .pulse-signal-left{

    flex-direction:row;

    justify-content:space-between;

    align-items:flex-start;

    flex-wrap:wrap;

    gap:24px;
  }

  .pulse-signal-right{
    min-height:340px;
  }

  #pulseTrendChart{
    height:340px !important;
  }

}

@media (max-width:768px){

  .pulse-signal-hero{

    padding:22px;

    border-radius:20px;
  }

  .pulse-signal-left{

    display:grid;

    grid-template-columns:
    repeat(2,1fr);

    gap:18px;
  }

  .pulse-signal-left strong{
    font-size:42px;
  }

  #pulse-score{
    font-size:22px;
  }

  #pulse-momentum{
    font-size:22px;
  }

  .pulse-score-desc{
    font-size:11px;
  }

  #pulseTrendChart{
    height:300px !important;
  }

}

@media (max-width:640px){

  .pulse-signal-hero{

    padding:18px;

    gap:18px;
  }

  .pulse-signal-left{

    grid-template-columns:1fr;
  }

  .pulse-signal-right{
    min-height:260px;
  }

  #pulseTrendChart{
    height:260px !important;
  }

}


/* =========================
COMPLIANCE CTA
========================= */

/* Hide mobile CTA from desktop nav */
.tab-cta{
  display:none !important;
}

/* Keep external compliance CTA positioned cleanly */
.nav{
  position:sticky;
  top:0;
  min-height:76px;
}

.nav-inner{
  min-height:76px;

  display:grid;
  grid-template-columns: 300px minmax(0, 1fr);
  align-items:center;
  gap:22px;

  padding-right:300px;
}

.brand{
  min-width:0;
}

.brand-logo{
  height:50px;
  max-width:280px;
  width:auto;
  object-fit:contain;
}

.tabs{
  justify-self:center;
  margin:0;
}

.tabs .tab{
  font-size:13px;
  padding:8px 11px;
}

/* External CTA outside nav-inner */
.nav > .badge-cta{
  position:absolute;
  right:24px;
  top:50%;
  transform:translateY(-50%);

  min-height:42px;
  margin:0;
  padding:0 18px;

  display:inline-flex;
  align-items:center;
  justify-content:center;

  white-space:nowrap;
}

.nav > .badge-cta:active{
  transform:translateY(-50%) scale(.98);
}

@media (max-width:1200px){

  .nav-inner{
    grid-template-columns: 250px minmax(0, 1fr);
    padding-right:260px;
    gap:16px;
  }

  .brand-logo{
    height:44px;
    max-width:240px;
  }

  /*================================
  RESEARCH -NAV - SCOUT MOTORS
  =================================*/
  /* ACTIVE DROPDOWN SECTION */

  .tabs .dropdown.is-active{
    position:relative;
  }

  /* Active pill around Explore */
  .tabs .dropdown.is-active > .tab-link{
    color:#ffffff;

    border:1px solid rgba(64,196,255,0.55);
    background:rgba(64,196,255,0.08);

    box-shadow:
      inset 0 0 0 1px rgba(64,196,255,0.08),
      0 0 18px rgba(64,196,255,0.08);
  }

  /* Small blue active dot */
  .tabs .dropdown.is-active::after{
    content:"";
    position:absolute;

    left:50%;
    bottom:7px;

    width:4px;
    height:4px;

    border-radius:50%;

    background:#3fd7ff;

    transform:translateX(-50%);

    box-shadow:0 0 8px rgba(63,215,255,0.95);

    pointer-events:none;
  }

  /* Active page inside dropdown menu */
  .dropdown-menu a.dropdown-active{
    color:#3fd7ff;
  }

  /*======================================================
  SCOUT MOTORS RESEARCH - ABOVE THE FAQ SECTION ON THE HOMEPAGE
  =======================================================*/

  /* HOMEPAGE FEATURED RESEARCH */

  .homepage-research-feature{
    position:relative !important;
    overflow:hidden !important;
    width:min(1180px, calc(100% - 48px)) !important;
    margin:72px auto 96px !important;
    padding:64px 56px !important;
    border:1px solid rgba(0,212,255,0.16) !important;
    border-radius:20px !important;
    background:
      radial-gradient(circle at 88% 18%, rgba(0,212,255,0.14), transparent 34%),
      linear-gradient(135deg, rgba(12,18,28,0.98), rgba(5,11,19,0.99)) !important;
    box-shadow:0 28px 70px rgba(0,0,0,0.30) !important;
    isolation:isolate !important;
  }

  .homepage-research-feature .research-label{
    margin-bottom:18px;
    font-size:10px;
    font-weight:700;
    letter-spacing:0.22em;
    text-transform:uppercase;
    color:#00d4ff;
  }

  .homepage-research-feature h2{
    max-width:760px;
    margin:0 0 20px;
    font-size:clamp(32px, 4vw, 54px);
    line-height:1.04;
    font-weight:700;
    letter-spacing:-0.035em;
    color:#ffffff;
  }

  .homepage-research-feature p{
    max-width:700px;
    margin:0;
    font-size:15px;
    line-height:1.75;
    color:rgba(255,255,255,0.68);
  }

  .research-feature-signals{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin:28px 0 32px;
  }

  .research-feature-signals span{
    display:inline-flex;
    align-items:center;
    padding:8px 14px;
    border:1px solid rgba(0,212,255,0.18);
    border-radius:999px;
    background:rgba(0,212,255,0.06);
    color:rgba(220,246,255,0.86);
    font-size:11px;
    font-weight:600;
  }

  .homepage-research-feature .primary-research-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:44px;
    padding:12px 20px;
    border:1px solid rgba(0,212,255,0.35);
    border-radius:9px;
    background:#00d4ff;
    color:#031019;
    font-size:12px;
    font-weight:700;
    text-decoration:none;
  }

  /*==========================   ==============================
  SCOUT MOTORS RESEARCH - PAGE DROPDOWN MENU EXPLORE ACTIVATION
  ===========================    =============================*/

  /* ACTIVE DROPDOWN NAV STATE */

  .dropdown.is-active .tab-link{
    position:relative;
    color:var(--text);
    border-color:rgba(110, 231, 255, 0.32);
    background:rgba(110, 231, 255, 0.12);
    box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.06);
  }

  /* Active dot under dropdown label */
  .dropdown.is-active .tab-link::after{
    content:"";
    position:absolute;
    left:50%;
    bottom:-6px;
    width:4px;
    height:4px;
    border-radius:50%;
    background:#3fd7ff;
    transform:translateX(-50%);
    box-shadow:0 0 8px rgba(63, 215, 255, 0.95);
  }

  /* Active item inside dropdown */
  .dropdown-menu a.dropdown-active{
    color:#3fd7ff;
  }

  /*=======================*/

  .tabs .tab{
    font-size:12px;
    padding:8px 9px;
  }

  .nav > .badge-cta{
    right:16px;
    padding:0 14px;
    font-size:10px;
  }
}

@media (max-width:980px){

  .nav-inner{
    grid-template-columns:auto 1fr auto;
    padding-right:0;
  }

  .nav > .badge-cta{
    display:none;
  }

  .tab-cta{
    display:flex !important;
  }
}

/*==================================
ADDITIONAL RESPONSIVENESS
===================================*/
@media (max-width:1024px){

    .pulse-signal-hero{

        grid-template-columns:1fr;

        gap:32px;

    }

    #pulseTrendChart{

        height:360px !important;

    }

}

@media (max-width:991px){

    .pulse-signal-right{

        min-height:340px;

    }

}

@media (max-width:576px){

    .pulse-signal-right{

        min-height:260px;

    }

}


@media (max-width:768px){

    .pulse-signal-hero{

        gap:24px;

    }

    #pulseTrendChart{

        height:280px !important;

    }

}

@media (max-width:480px){

    #pulseTrendChart{

        height:240px !important;

    }

}

@media (max-width:900px){

    .featured-intelligence{

        padding:26px;

    }

    .featured-intelligence h3{

        font-size:1.45rem;

    }

}

@media (max-width:640px){

    .featured-intelligence{

        padding:22px;

        border-radius:18px;

    }

    .featured-intelligence h3{

        font-size:1.25rem;

    }

    #featured-market-event,
    #featured-analysis,
    #featured-implication{

        font-size:.94rem;

        line-height:1.75;

    }

    .featured-source{

        justify-content:flex-start;

    }

}

/** UPDATED METRICS**/

/* ==========================================
   TABLET
========================================== */

@media (max-width:992px){

    .featured-metrics{

        grid-template-columns:repeat(3,1fr);

        gap:0.9rem;

        margin-top:1.5rem;

    }

    .market-stat{

        padding:1rem;

        min-height:115px;

    }

    .market-stat{

        font-size:1.6rem;

    }

    .market-stat span{

        font-size:0.85rem;

    }

}

/* ==========================================
   LARGE MOBILE
========================================== */

@media (max-width:768px){

      .featured-metrics{

        grid-template-columns:repeat(
            2,
            minmax(0,1fr)
        );

        gap:.75rem;

    }

    .market-stat{

        padding:1rem;

        min-height:105px;

        border-radius:16px;

    }

    .market-stat{

        font-size:1.45rem;

    }

    .market-stat span{

        margin-top:0.45rem;

        font-size:0.8rem;

        line-height:1.4;

    }

}

/* ==========================================
   MOBILE
========================================== */

@media (max-width:480px){

    .featured-metrics{

        grid-template-columns:1fr;

        gap:0.75rem;

    }

    .market-stat{

        min-height:90px;

        padding:1rem 1.15rem;

        text-align:left;

        display:flex;

        flex-direction:column;

        justify-content:center;

        align-items:flex-start;

    }

    .market-stat{

        font-size:1.3rem;

    }

    .market-stat span{

        font-size:0.75rem;

        margin-top:0.35rem;

        opacity:0.8;

    }

}

/* ==========================================
   SMALL DEVICES
========================================== */

@media (max-width:360px){

    .market-stat{

        padding:0.9rem;

        min-height:82px;

    }

    .market-stat{

        font-size:1.15rem;

    }

    .market-stat span{

        font-size:0.72rem;

    }

}