:root {
  --blue: #0066FF;
  --blue-light: #3385FF;
  --blue-glow: rgba(0, 102, 255, 0.35);
  --green: #00E87A;
  --green-glow: rgba(0, 232, 122, 0.2);
  --dark: #0A0A0F;
  --dark2: #11111A;
  --dark3: #1A1A28;
  --charcoal: #1C1C28;
  --page-bg: #0A0A0F;
  --surface: #11111A;
  --surface-2: #1A1A28;
  --text: #F0F2F8;
  --muted: #9CA3AF;
  --border: rgba(255, 255, 255, 0.08);
  --glass: rgba(17, 17, 26, 0.85);
  --toggle-bg: rgba(255, 255, 255, 0.08);
  --toggle-active-bg: #1A1A28;
  --nav-link: #9CA3AF;
  --nav-link-hover: #F9FAFB;
  --loader-track: rgba(255, 255, 255, 0.12);
}

[data-theme="light"] {
  --blue-glow: rgba(0, 102, 255, 0.25);
  --page-bg: #F8F9FC;
  --surface: #ffffff;
  --surface-2: #F8FAFF;
  --text: #0D0D1A;
  --muted: #6B7280;
  --border: rgba(0, 0, 0, 0.08);
  --glass: rgba(255, 255, 255, 0.7);
  --toggle-bg: rgba(0, 0, 0, 0.05);
  --toggle-active-bg: #fff;
  --nav-link: #4B5563;
  --nav-link-hover: #111827;
  --loader-track: #E5E7EB;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  background-color: var(--page-bg);
}

html[data-theme="light"] {
  color-scheme: light;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--page-bg);
  color: var(--text);
  overflow-x: hidden;
  transition: background 0.35s ease, color 0.35s ease;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: 'Inter', sans-serif;
}

.mono {
  font-family: 'IBM Plex Mono', monospace;
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: all 0.4s;
}

nav.scrolled {
  background: var(--glass);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.08);
}

.nav-desktop-links a {
  color: var(--nav-link);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  line-height: 0;
  flex-shrink: 0;
}

.nav-logo .elyvolt-logo-light,
.nav-logo .elyvolt-logo-dark {
  width: 88px;
  height: auto;
  display: block;
}

.footer-logo {
  display: block;
  width: 100px;
  height: auto;
  margin-bottom: 1rem;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: all 0.25s;
  flex-shrink: 0;
}

.nav-menu-btn:hover {
  border-color: rgba(0, 102, 255, 0.3);
  color: var(--blue);
}

.nav-menu-btn .nav-icon-close {
  display: none;
}

nav.nav-open .nav-menu-btn .nav-icon-menu {
  display: none;
}

nav.nav-open .nav-menu-btn .nav-icon-close {
  display: block;
}

nav.nav-open {
  background: var(--glass);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.08);
}

.nav-mobile-panel {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.3s ease, padding 0.35s ease;
  padding: 0 0;
}

nav.nav-open .nav-mobile-panel {
  max-height: 520px;
  opacity: 1;
  padding: 1.25rem 0 0.5rem;
}

.nav-mobile-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
}

.nav-mobile-links a {
  display: block;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  border-radius: 10px;
  transition: background 0.2s, color 0.2s;
}

.nav-mobile-links a:hover {
  background: rgba(0, 102, 255, 0.06);
  color: var(--blue);
}

.nav-mobile-footer {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.nav-mobile-footer .lang-toggle,
.nav-mobile-footer .theme-toggle {
  align-self: flex-start;
}

.nav-mobile-toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.nav-mobile-footer .btn-primary,
.nav-mobile-footer .btn-ghost {
  width: 100%;
  justify-content: center;
}

.nav-desktop-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

@media (max-width: 767px) {
  .nav-menu-btn {
    display: inline-flex;
  }

  .nav-desktop-links,
  .nav-desktop-cta {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .nav-mobile-panel {
    display: none !important;
  }
}

body.nav-menu-open {
  overflow: hidden;
}

/* ADVICE MODAL */
.advice-modal {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.advice-modal.is-open {
  opacity: 1;
  visibility: visible;
}

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

.advice-modal-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  max-height: calc(100vh - 2.5rem);
  overflow-y: auto;
  background: var(--surface);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(0, 102, 255, 0.1);
  transform: scale(0.9) translateY(24px);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.23, 0.86, 0.39, 0.96), opacity 0.35s ease;
}

.advice-modal.is-open .advice-modal-dialog {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.advice-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.advice-modal-title {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.2;
}

.advice-modal-sub {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 0.35rem;
  line-height: 1.5;
}

.advice-modal-close {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.advice-modal-close:hover {
  border-color: rgba(0, 102, 255, 0.3);
  color: var(--blue);
  background: #F8FAFF;
}

.advice-modal-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.advice-modal-form .cta-form-field input,
.advice-modal-form .cta-form-field textarea {
  width: 100%;
}

/* BUTTONS */
.btn-primary {
  background: var(--blue);
  color: #fff;
  padding: 0.75rem 1.75rem;
  border-radius: 10px;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.25s;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 20px var(--blue-glow);
}

.btn-primary:hover {
  background: var(--blue-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 32px var(--blue-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  padding: 0.75rem 1.75rem;
  border-radius: 10px;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.25s;
  border: 1.5px solid var(--border);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-ghost:hover {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
}

/* HERO */
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: orb-float 8s ease-in-out infinite;
}

.orb1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.3) 0%, transparent 70%);
  top: -100px;
  right: 0;
  animation-delay: 0s;
}

.orb2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 232, 122, 0.25) 0%, transparent 70%);
  bottom: 100px;
  right: 200px;
  animation-delay: -4s;
}

@keyframes orb-float {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-30px) scale(1.05);
  }
}

/* DARK CARD (dashboard) */
.dark-card {
  background: var(--dark2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  color: #fff;
}

.dark-card-inner {
  background: var(--dark3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
}

/* HUB SHOWCASE (desktop + mobile) */
.hub-showcase {
  position: relative;
  max-width: 1020px;
  margin: 4rem auto 0;
  min-height: 520px;
  padding: 0 1rem 2rem;
}

.hub-desktop {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  text-align: left;
  animation: hub-desktop-in 0.9s cubic-bezier(0.23, 0.86, 0.39, 0.96) both;
}

.hub-desktop-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  background: #f5f6f8;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.hub-desktop-chrome span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.hub-desktop-chrome-title {
  flex: 1;
  text-align: center;
  font-size: 0.72rem;
  color: #9ca3af;
  font-family: 'IBM Plex Mono', monospace;
}

.hub-desktop-grid {
  display: grid;
  grid-template-columns: 188px 1fr;
  min-height: 380px;
}

.hub-sidebar {
  background: #f8f9fb;
  border-right: 1px solid rgba(0, 0, 0, 0.06);
  padding: 1.25rem 0.85rem;
}

.hub-sidebar-logo {
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 1.25rem;
  padding: 0 0.5rem;
}

.hub-sidebar-logo img {
  width: 80px;
  height: auto;
}

.hub-sidebar-logo span {
  color: var(--blue);
}

.hub-nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.78rem;
  color: #6b7280;
  margin-bottom: 2px;
}

.hub-nav-item.active {
  background: rgba(0, 102, 255, 0.08);
  color: var(--blue);
  font-weight: 600;
}

.hub-main {
  padding: 1.25rem 1.5rem 1.5rem;
  background: #fff;
}

.hub-breadcrumb {
  font-size: 0.72rem;
  color: #9ca3af;
  margin-bottom: 0.35rem;
}

.hub-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #111827;
  margin-bottom: 1rem;
}

.hub-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  margin-bottom: 1.25rem;
  padding-bottom: 0;
}

.hub-tab {
  font-size: 0.78rem;
  color: #9ca3af;
  padding-bottom: 0.65rem;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.hub-tab.active {
  color: var(--blue);
  font-weight: 600;
  border-bottom-color: var(--blue);
}

.hub-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 1.25rem;
}

.hub-stat-card {
  background: #f9fafb;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 10px;
  padding: 12px 14px;
}

.hub-stat-label {
  font-size: 0.65rem;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.hub-stat-value {
  font-size: 1.15rem;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.02em;
}

.hub-chart-block {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: end;
}

.hub-chart-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: #374151;
  margin-bottom: 1rem;
}

.hub-bars {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  height: 140px;
}

.hub-bar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 36px;
}

.hub-bar-stack {
  width: 100%;
  max-width: 44px;
  height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 6px 6px 2px 2px;
  overflow: hidden;
  background: #f3f4f6;
}

.hub-bar-charge {
  background: linear-gradient(180deg, var(--blue), #3385ff);
  transform-origin: bottom;
  animation: hub-bar-rise 1.2s cubic-bezier(0.23, 0.86, 0.39, 0.96) both;
}

.hub-bar-available {
  background: linear-gradient(180deg, var(--green), #00c268);
  transform-origin: bottom;
  animation: hub-bar-rise 1.2s cubic-bezier(0.23, 0.86, 0.39, 0.96) both;
}

.hub-bar-col:nth-child(1) .hub-bar-charge,
.hub-bar-col:nth-child(1) .hub-bar-available {
  animation-delay: 0.1s;
}

.hub-bar-col:nth-child(2) .hub-bar-charge,
.hub-bar-col:nth-child(2) .hub-bar-available {
  animation-delay: 0.2s;
}

.hub-bar-col:nth-child(3) .hub-bar-charge,
.hub-bar-col:nth-child(3) .hub-bar-available {
  animation-delay: 0.3s;
}

.hub-bar-col:nth-child(4) .hub-bar-charge,
.hub-bar-col:nth-child(4) .hub-bar-available {
  animation-delay: 0.4s;
}

.hub-bar-col:nth-child(5) .hub-bar-charge,
.hub-bar-col:nth-child(5) .hub-bar-available {
  animation-delay: 0.5s;
}

.hub-bar-day {
  font-size: 0.68rem;
  color: #9ca3af;
  font-weight: 500;
}

.hub-legend {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 120px;
}

.hub-legend-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.75rem;
  color: #6b7280;
}

.hub-legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.hub-mobile {
  position: absolute;
  left: 0%;
  bottom: -170px;
  width: min(280px, 42vw);
  background: #fff;
  border-radius: 28px;
  padding: 1.5rem 1.35rem 1.35rem;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.06);
  z-index: 3;
  animation: hub-mobile-in 1s cubic-bezier(0.23, 0.86, 0.39, 0.96) 0.25s both,
    hub-mobile-float 5s ease-in-out 1.2s infinite;
}

.hub-progress-wrap {
  position: relative;
  width: 168px;
  height: 168px;
  margin: 0 auto 1.25rem;
  overflow: visible;
}

.hub-charge-ripples {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
  overflow: visible;
  border-radius: 50%;
}

.hub-ripple {
  position: absolute;
  width: 88%;
  height: 88%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid rgba(0, 102, 255, 0.45);
  background: transparent;
  box-shadow: none;
  animation: hub-charge-ripple 2.6s cubic-bezier(0.22, 0.61, 0.36, 1) infinite;
  opacity: 0;
  will-change: transform, opacity, filter;
}

.hub-ripple::before {
  content: '';
  position: absolute;
  inset: -18%;
  border-radius: 50%;
  background: radial-gradient(circle,
      rgba(0, 102, 255, 0.32) 0%,
      rgba(0, 102, 255, 0.12) 38%,
      transparent 68%);
  opacity: 0;
  animation: hub-charge-ripple-glow 2.6s cubic-bezier(0.22, 0.61, 0.36, 1) infinite;
  pointer-events: none;
}

.hub-ripple:nth-of-type(2),
.hub-ripple:nth-of-type(2)::before {
  animation-delay: 0s;
}

.hub-ripple:nth-of-type(3),
.hub-ripple:nth-of-type(3)::before {
  animation-delay: 0.85s;
}

.hub-ripple:nth-of-type(4),
.hub-ripple:nth-of-type(4)::before {
  animation-delay: 1.7s;
}

.hub-charge-glow {
  position: absolute;
  width: 72%;
  height: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle,
      rgba(0, 102, 255, 0.16) 0%,
      rgba(0, 232, 122, 0.06) 42%,
      transparent 72%);
  animation: hub-charge-glow-pulse 2s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.hub-progress-ring {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  border-radius: 100%;
}

.hub-progress-bg {
  fill: none;
  stroke: #e8ecf4;
  stroke-width: 10;
}

.hub-progress-fill {
  fill: none;
  stroke: url(#hubProgressGrad);
  stroke-width: 10;
  stroke-linecap: round;
  stroke-dasharray: 339;
  stroke-dashoffset: 339;
  animation: hub-progress-fill 2s cubic-bezier(0.23, 0.86, 0.39, 0.96) 0.6s forwards,
    hub-charge-ring-pulse 2.2s ease-in-out 2.6s infinite;
}

.hub-progress-text {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hub-progress-pct {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #111827;
  line-height: 1;
  animation: hub-pct-charge 2.2s ease-in-out 2.6s infinite;
}

.hub-progress-sub {
  font-size: 0.72rem;
  color: #9ca3af;
  margin-top: 4px;
}

.hub-charge-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 1rem;
  font-size: 0.72rem;
}

.hub-charge-meta span {
  display: block;
  color: #9ca3af;
  margin-bottom: 2px;
}

.hub-charge-meta strong {
  color: #111827;
  font-weight: 600;
}

.hub-charge-rows {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.hub-charge-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 0.78rem;
}

.hub-charge-row-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue);
}

.hub-charge-row-label {
  flex: 1;
  color: #6b7280;
}

.hub-charge-row-value {
  font-weight: 600;
  color: #111827;
}

.hub-stop-btn {
  width: 100%;
  padding: 0.85rem;
  border-radius: 12px;
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  font-weight: 600;
  font-size: 0.88rem;
  color: #111827;
  cursor: pointer;
  transition: all 0.25s;
  animation: hub-btn-pulse 2.5s ease-in-out infinite;
}

.hub-stop-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(0, 102, 255, 0.04);
}

@keyframes hub-desktop-in {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes hub-mobile-in {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.92);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes hub-mobile-float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

@keyframes hub-progress-fill {
  to {
    stroke-dashoffset: 132;
  }
}

@keyframes hub-bar-rise {
  from {
    transform: scaleY(0);
  }

  to {
    transform: scaleY(1);
  }
}

@keyframes hub-charge-ripple {
  0% {
    transform: scale(0.52);
    opacity: 0.85;
    border-color: rgba(0, 102, 255, 0.55);
    filter: drop-shadow(0 0 4px rgba(0, 102, 255, 0.5)) drop-shadow(0 0 14px rgba(0, 102, 255, 0.25));
  }

  55% {
    opacity: 0.35;
    border-color: rgba(0, 102, 255, 0.28);
    filter: drop-shadow(0 0 10px rgba(0, 102, 255, 0.4)) drop-shadow(0 0 22px rgba(0, 102, 255, 0.15));
  }

  100% {
    transform: scale(1.18);
    opacity: 0;
    border-color: rgba(0, 232, 122, 0.12);
    filter: drop-shadow(0 0 16px rgba(0, 232, 122, 0.2)) drop-shadow(0 0 28px rgba(0, 232, 122, 0.06));
  }
}

@keyframes hub-charge-ripple-glow {
  0% {
    transform: scale(0.5);
    opacity: 0.75;
  }

  55% {
    opacity: 0.3;
  }

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

@keyframes hub-charge-glow-pulse {

  0%,
  100% {
    transform: scale(0.92);
    opacity: 0.5;
  }

  50% {
    transform: scale(1.05);
    opacity: 1;
  }
}

@keyframes hub-charge-ring-pulse {

  0%,
  100% {
    filter: drop-shadow(0 0 2px rgba(0, 102, 255, 0.35));
  }

  50% {
    filter: drop-shadow(0 0 10px rgba(0, 102, 255, 0.75));
  }
}

@keyframes hub-pct-charge {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.88;
  }
}

@keyframes hub-btn-pulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(0, 102, 255, 0);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(0, 102, 255, 0.08);
  }
}

@media (max-width: 900px) {
  .hub-showcase {
    min-height: auto;
    padding-bottom: 320px;
  }

  .hub-desktop-grid {
    grid-template-columns: 1fr;
  }

  .hub-sidebar {
    display: none;
  }

  .hub-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .hub-mobile {
    left: 50%;
    transform: translateX(-50%);
    bottom: -20px;
    width: min(260px, 88vw);
  }

  .hub-mobile {
    animation: hub-mobile-in 1s cubic-bezier(0.23, 0.86, 0.39, 0.96) 0.25s both,
      hub-mobile-float-mobile 5s ease-in-out 1.2s infinite;
  }
}

@keyframes hub-mobile-float-mobile {

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

  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}

/* Team app mock — overlaps revenue card */
.team-mock-stack {
  position: relative;
  max-width: 440px;
  width: 100%;
  min-height: 540px;
}

.team-app {
  position: absolute;
  top: 100px;
  left: -40px;
  width: min(340px, 100%);
  z-index: 10;
  border-radius: 32px;
  overflow: hidden;
  background: #f3f4f6;
  box-shadow: 0 28px 70px rgba(51, 51, 238, 0.22), 0 12px 40px rgba(0, 0, 0, 0.12);
  animation: team-app-in 0.85s cubic-bezier(0.23, 0.86, 0.39, 0.96) both,
    team-app-float 6s ease-in-out 1s infinite;
}

.team-app-hero {
  background: linear-gradient(165deg, #3333ee 0%, #2a2ad4 55%, #2525c8 100%);
  padding: 1.1rem 1.25rem 2.25rem;
}

.team-app-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.1rem;
}

.team-app-nav-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
  opacity: 0.95;
}

.team-app-brand {
  margin-bottom: 1.15rem;
  line-height: 1.1;
}

.team-app-logo {
  display: inline-flex;
  align-items: baseline;
  font-family: 'Inter', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

/* White logo — on blue hero (light site theme) */
.team-app-logo--light {
  color: #fff;
}

.team-app-logo--light span {
  color: #c5d9ff;
}

/* Light logo variant — dark site theme, deeper hero */
.team-app-logo--dark-theme {
  display: none;
  color: #fff;
}

.team-app-logo--dark-theme span {
  color: #7eb8ff;
}

html:not([data-theme="light"]) .team-app-logo--light,
[data-theme="dark"] .team-app-logo--light {
  display: none;
}

html:not([data-theme="light"]) .team-app-logo--dark-theme,
[data-theme="dark"] .team-app-logo--dark-theme {
  display: inline-flex;
}

.team-wallet-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background 0.25s, transform 0.25s;
  animation: team-wallet-in 0.7s cubic-bezier(0.23, 0.86, 0.39, 0.96) 0.2s both;
}

.team-wallet-card:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.team-wallet-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.35rem;
}

.team-wallet-balance-label {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0.15rem;
}

.team-wallet-balance {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.1;
}

.team-wallet-chevron {
  color: rgba(255, 255, 255, 0.85);
  flex-shrink: 0;
}

.team-app-id {
  margin-top: 0.85rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
}

.team-app-panel {
  position: relative;
  z-index: 2;
  margin-top: -1.35rem;
  padding: 1.35rem 1rem 1.25rem;
  background: #f3f4f6;
  border-radius: 24px 24px 0 0;
  animation: team-panel-in 0.75s cubic-bezier(0.23, 0.86, 0.39, 0.96) 0.35s both;
}

.team-panel-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #111827;
  margin-bottom: 1rem;
}

.team-menu-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.team-menu-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 14px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  cursor: default;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
  animation: team-menu-in 0.55s cubic-bezier(0.23, 0.86, 0.39, 0.96) both;
}

.team-menu-card:nth-child(1) {
  animation-delay: 0.45s;
}

.team-menu-card:nth-child(2) {
  animation-delay: 0.55s;
}

.team-menu-card:nth-child(3) {
  animation-delay: 0.65s;
}

.team-menu-card:nth-child(4) {
  animation-delay: 0.75s;
}

.team-menu-card:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  background: #fafbfc;
}

.team-menu-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #374151;
}

.team-menu-body {
  flex: 1;
  min-width: 0;
}

.team-menu-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.25;
}

.team-menu-sub {
  font-size: 0.78rem;
  color: #6b7280;
  margin-top: 2px;
}

.team-menu-chevron {
  color: #9ca3af;
  flex-shrink: 0;
}

.team-revenue-layer {
  position: relative;
  z-index: 1;
  margin-top: 148px;
  width: 100%;
}

/* Team revenue card — theme-aware */
#platform .team-revenue-card {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 22px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.08);
}

#platform .team-revenue-label {
  color: var(--muted);
  letter-spacing: 0.06em;
}

#platform .team-revenue-amount {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 2.2rem;
  color: var(--text);
  letter-spacing: -0.04em;
  margin-top: 2px;
}

#platform .team-revenue-bars {
  height: 80px;
}

#platform .team-revenue-bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

#platform .team-revenue-bar {
  width: 100%;
  border-radius: 4px 4px 0 0;
}

#platform .team-revenue-bar--green {
  box-shadow: 0 0 8px rgba(0, 232, 122, 0.35);
}

#platform .team-revenue-bar--peak {
  box-shadow: 0 0 12px var(--blue-glow);
}

#platform .team-revenue-bar-label {
  font-size: 0.6rem;
  color: var(--muted);
}

#platform .team-revenue-inner {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
}

#platform .team-revenue-card .tx-item {
  border-bottom-color: var(--border);
}

#platform .team-revenue-tx-text {
  font-size: 0.82rem;
  color: var(--text);
}

#platform .team-revenue-tx-amount {
  color: var(--green);
  font-size: 0.85rem;
  font-weight: 600;
}

[data-theme="dark"] #platform .team-revenue-card {
  background: var(--dark2);
  border-color: rgba(255, 255, 255, 0.08);
  color: #fff;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] #platform .team-revenue-label {
  color: rgba(255, 255, 255, 0.35);
}

[data-theme="dark"] #platform .team-revenue-amount {
  color: #fff;
}

[data-theme="dark"] #platform .team-revenue-bar-label {
  color: rgba(255, 255, 255, 0.3);
}

[data-theme="dark"] #platform .team-revenue-inner {
  background: var(--dark3);
  border-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] #platform .team-revenue-card .tx-item {
  border-bottom-color: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] #platform .team-revenue-tx-text {
  color: rgba(255, 255, 255, 0.8);
}

@keyframes team-app-in {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes team-app-float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes team-wallet-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes team-panel-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes team-menu-in {
  from {
    opacity: 0;
    transform: translateX(-12px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 640px) {
  .team-mock-stack {
    min-height: 500px;
  }

  .team-app {
    position: relative;
    width: 100%;
    max-width: 340px;
    margin: 0 auto 0;
    top: -50px;
    left: 0;
  }

  .team-revenue-layer {
    margin-top: -32px;
  }
}

/* Map on top, full-size wallet underneath (original hero layout) */
.hero-mock-stack {
  position: relative;
  max-width: 500px;
  min-height: 660px;
  width: 100%;
  margin: 0 auto;
  z-index: 2;
}

.map-app {
  position: absolute;
  top: 32px;
  left: 50px;
  width: min(400px, 94%);
  height: 720px;
  min-height: 520px;
  max-height: min(90vh, 720px);
  z-index: 5;
  display: grid;
  grid-template-rows: 1.15fr 0.85fr;
  grid-template-columns: 1fr;
  border-radius: 28px;
  overflow: hidden;
  background: #d4dde8;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(0, 0, 0, 0.06);
  animation: map-app-in 0.9s cubic-bezier(0.23, 0.86, 0.39, 0.96) both,
    map-app-float 6s ease-in-out 1.1s infinite;
}

.map-view {
  position: relative;
  min-height: 0;
  height: 100%;
  background: #e8e4dc;
  overflow: hidden;
  z-index: 1;
}

.map-roads-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

.map-traffic {
  pointer-events: none;
}

.map-car-body {
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.35));
}


.map-search {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.04);
  font-size: 0.8rem;
  font-weight: 500;
  color: #5f6368;
}

.map-search svg {
  flex-shrink: 0;
  color: #80868b;
}

.map-user-dot {
  position: absolute;
  left: 52%;
  top: 58%;
  z-index: 5;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #1a73e8;
  border: 2.5px solid #fff;
  box-shadow: 0 0 0 6px rgba(26, 115, 232, 0.25), 0 2px 8px rgba(0, 0, 0, 0.2);
  animation: map-user-pulse 2.5s ease-in-out infinite;
}

@keyframes map-user-pulse {

  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(26, 115, 232, 0.2), 0 2px 8px rgba(0, 0, 0, 0.2);
  }

  50% {
    box-shadow: 0 0 0 10px rgba(26, 115, 232, 0.12), 0 2px 8px rgba(0, 0, 0, 0.2);
  }
}

.map-street-label {
  position: absolute;
  font-size: 0.62rem;
  font-weight: 700;
  color: rgba(60, 64, 67, 0.75);
  letter-spacing: 0.01em;
  white-space: nowrap;
  z-index: 4;
  text-shadow: 0 0 4px rgba(255, 255, 255, 0.9), 0 1px 2px rgba(255, 255, 255, 0.8);
  transform: rotate(-8deg);
}

.map-pin {
  position: absolute;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: map-pin-pop 0.5s cubic-bezier(0.23, 0.86, 0.39, 0.96) both;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.22));
  overflow: visible;
}

.map-pin-ripples {
  position: absolute;
  top: 2px;
  left: 50%;
  width: 36px;
  height: 36px;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
}

.map-pin-ripple {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(0, 102, 255, 0.45);
  background: transparent;
  animation: map-pin-ripple 2.4s cubic-bezier(0.22, 0.61, 0.36, 1) infinite;
  opacity: 0;
  will-change: transform, opacity;
}

.map-pin-ripple::before {
  content: '';
  position: absolute;
  inset: -25%;
  border-radius: 50%;
  background: radial-gradient(circle,
      rgba(0, 102, 255, 0.28) 0%,
      rgba(0, 102, 255, 0.1) 40%,
      transparent 70%);
  animation: map-pin-ripple-glow 2.4s cubic-bezier(0.22, 0.61, 0.36, 1) infinite;
  pointer-events: none;
}

.map-pin-ripple:nth-child(1),
.map-pin-ripple:nth-child(1)::before {
  animation-delay: 0s;
}

.map-pin-ripple:nth-child(2),
.map-pin-ripple:nth-child(2)::before {
  animation-delay: 0.8s;
}

.map-pin-ripple:nth-child(3),
.map-pin-ripple:nth-child(3)::before {
  animation-delay: 1.6s;
}

.map-pin.active .map-pin-ripple {
  border-color: rgba(59, 130, 246, 0.6);
}

.map-pin.active .map-pin-ripple::before {
  background: radial-gradient(circle,
      rgba(59, 130, 246, 0.35) 0%,
      rgba(59, 130, 246, 0.12) 40%,
      transparent 70%);
}

.map-pin-marker {
  position: relative;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: #fff;
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}

.map-pin-marker svg {
  transform: rotate(45deg);
  color: #5f6368;
}

.map-pin-label {
  position: relative;
  z-index: 2;
  margin-top: 2px;
  padding: 3px 8px;
  border-radius: 8px;
  background: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  color: #1a1c1e;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.06);
  white-space: nowrap;
}

.map-pin.active .map-pin-marker {
  background: #1a2744;
  border-color: #1a2744;
}

.map-pin.active .map-pin-marker svg {
  color: #7eb8ff;
}

.map-pin.active .map-pin-label {
  background: #1a2744;
  color: #fff;
  border-color: #1a2744;
}

.map-fab-rail {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 3;
}

.map-fab {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a2744;
  font-size: 0.7rem;
  font-weight: 700;
}

.map-sheet {
  position: relative;
  z-index: 2;
  min-height: 0;
  margin-top: 0;
  background: #f8f9ff;
  border-radius: 0;
  padding: 0.65rem 1.1rem 0.75rem;
  box-shadow: none;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  overflow-x: hidden;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  animation: map-sheet-in 0.8s cubic-bezier(0.23, 0.86, 0.39, 0.96) 0.25s both;
}

.map-sheet-handle {
  width: 36px;
  height: 4px;
  border-radius: 4px;
  background: #c5cad4;
  margin: 0 auto 0.85rem;
}

.map-sheet-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 0.75rem;
}

.map-sheet-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #1a2744;
  line-height: 1.15;
}

.map-sheet-operator {
  font-size: 0.8rem;
  color: #74777f;
  margin-top: 3px;
  font-weight: 500;
}

.map-sheet-status {
  font-size: 0.8rem;
  color: #74777f;
  margin-top: 4px;
}

.map-sheet-status .open {
  color: #198754;
  font-weight: 600;
}

.map-sheet-actions {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
  padding-top: 4px;
}

.map-sheet-action-btn {
  color: #1a2744;
  background: none;
  border: none;
  padding: 0;
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-sheet-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.map-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #d3e4ff;
  color: #001c38;
  font-size: 0.72rem;
  font-weight: 600;
}

.map-charger-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.map-charger-row {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  animation: map-charger-in 0.5s cubic-bezier(0.23, 0.86, 0.39, 0.96) both;
}

.map-charger-row:nth-child(1) {
  animation-delay: 0.4s;
}

.map-charger-row:nth-child(2) {
  animation-delay: 0.5s;
}

.map-charger-row:nth-child(3) {
  animation-delay: 0.6s;
  border-bottom: none;
}

.map-avail-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.map-avail-badge.available {
  background: #d8f5e4;
  color: #198754;
}

.map-avail-badge.unavailable {
  background: #eceef2;
  color: #74777f;
}

.map-charger-kw {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a1c1e;
}

.map-charger-price {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #1a1c1e;
  white-space: nowrap;
}

.map-signal-icon {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}

.map-signal-icon span {
  width: 3px;
  background: #74777f;
  border-radius: 1px;
}

.map-signal-icon span:nth-child(1) {
  height: 4px;
}

.map-signal-icon span:nth-child(2) {
  height: 8px;
}

.map-signal-icon span:nth-child(3) {
  height: 12px;
}

.map-sheet-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 0.5rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.map-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 8px;
  border: none;
  background: transparent;
  font-size: 0.88rem;
  font-weight: 600;
  color: #74777f;
  cursor: default;
  border-radius: 10px;
  transition: background 0.2s;
}

.map-tab.active {
  color: #1a1c1e;
  font-weight: 700;
}

.map-tab.active svg {
  color: #1a1c1e;
}

.map-home-indicator {
  width: 100px;
  height: 4px;
  border-radius: 4px;
  background: #1a1c1e;
  margin: 0.45rem auto 0;
  opacity: 0.85;
}

.hero-wallet-layer {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
}

@keyframes map-app-in {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes map-app-float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes map-sheet-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes map-pin-pop {
  from {
    opacity: 0;
    transform: scale(0.85);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes map-pin-ripple {
  0% {
    transform: scale(0.35);
    opacity: 0.75;
    border-color: rgba(0, 102, 255, 0.55);
  }

  60% {
    opacity: 0.3;
    border-color: rgba(0, 102, 255, 0.25);
  }

  100% {
    transform: scale(3.2);
    opacity: 0;
    border-color: rgba(0, 102, 255, 0.05);
  }
}

@keyframes map-pin-ripple-glow {
  0% {
    transform: scale(0.4);
    opacity: 0.65;
  }

  60% {
    opacity: 0.25;
  }

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

@keyframes map-charger-in {
  from {
    opacity: 0;
    transform: translateX(-8px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 640px) {
  .hero-mock-stack {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: auto;
  }

  .map-app {
    position: relative;
    top: auto;
    left: 0;
    width: 100%;
    max-width: 360px;
    height: min(70vh, 560px);
    min-height: 480px;
    max-height: 80dvh;
    margin: 0 auto;
    order: 1;
    z-index: 10;
  }

  .hero-wallet-layer {
    order: 2;
    padding-top: 0;
    margin-top: -56px;
    max-width: 100%;
    z-index: 1;
  }
}

/* Operations Hub dashboard (fleet section) — Monta-style layout */
.ops-hub {
  max-width: 1180px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 24px 60px rgba(15, 23, 42, 0.12);
  animation: ops-hub-in 0.9s cubic-bezier(0.23, 0.86, 0.39, 0.96) both;
  text-align: left;
  font-size: 14px;
}

.ops-hub-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 580px;
}

.ops-hub-sidebar {
  background: #121212;
  color: #a3a3a3;
  padding: 1rem 0.6rem 0.85rem;
  display: flex;
  flex-direction: column;
}

.ops-hub-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 0.35rem 1rem;
  margin-bottom: 0.35rem;
}

.ops-hub-logo img {
  width: 80px;
  height: auto;
}

.ops-hub-logo-icon {
  flex-shrink: 0;
}

.ops-hub-logo-text {
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.ops-hub-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
  padding-top: 2px;
  position: relative;
}

.ops-hub-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 6px;
  font-size: 0.8125rem;
  color: #a3a3a3;
  line-height: 1.25;
  transition: background 0.2s, color 0.2s;
}

.ops-hub-nav-item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #e5e5e5;
}

.ops-hub-nav-item.active {
  background: #2a2a2a;
  color: #fff;
  font-weight: 500;
}

.ops-hub-nav-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ef4444;
  margin-left: auto;
  flex-shrink: 0;
}

.ops-hub-nav-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: 0.85;
  color: currentColor;
}

.ops-hub-nav-item.active .ops-hub-nav-icon {
  opacity: 1;
}

.ops-hub-sidebar-foot {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ops-hub-account-block {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.75rem;
  margin-bottom: 6px;
  color: #a3a3a3;
}

.ops-hub-account-badge {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  letter-spacing: -0.02em;
}

.ops-hub-account-text strong {
  display: block;
  color: #fff;
  font-weight: 600;
  font-size: 0.75rem;
  line-height: 1.2;
}

.ops-hub-account-text span {
  font-size: 0.7rem;
  opacity: 0.75;
}

.ops-hub-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
}

.ops-hub-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.ops-hub-user-name {
  font-size: 0.78rem;
  color: #e5e7eb;
  font-weight: 600;
}

.ops-hub-main {
  background: #f8f9fb;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ops-hub-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  overflow-x: auto;
  padding: 0 1.5rem;
  background: #fff;
  border-bottom: 1px solid #e8eaed;
  scrollbar-width: none;
}

.ops-hub-tabs::-webkit-scrollbar {
  display: none;
}

.ops-hub-tab {
  flex-shrink: 0;
  padding: 0.9rem 0.75rem;
  font-size: 0.8125rem;
  color: #6b7280;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
}

.ops-hub-tab.active {
  color: #4f46e5;
  font-weight: 600;
  border-bottom-color: #4f46e5;
}

.ops-hub-content {
  padding: 1.35rem 1.5rem 1.5rem;
  flex: 1;
}

.ops-hub-header {
  margin-bottom: 1.15rem;
  animation: ops-fade-up 0.6s ease 0.15s both;
}

.ops-hub-header h3 {
  font-size: 1.625rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #111827;
  line-height: 1.2;
}

.ops-hub-header p {
  font-size: 0.8125rem;
  color: #6b7280;
  margin-top: 2px;
}

.ops-hub-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 1.25rem;
}

.ops-hub-stat-card {
  background: #fff;
  border: 1px solid #e8eaed;
  border-radius: 10px;
  padding: 16px 18px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  animation: ops-fade-up 0.55s cubic-bezier(0.23, 0.86, 0.39, 0.96) both;
}

.ops-hub-stat-card:nth-child(1) {
  animation-delay: 0.2s;
}

.ops-hub-stat-card:nth-child(2) {
  animation-delay: 0.3s;
}

.ops-hub-stat-card:nth-child(3) {
  animation-delay: 0.4s;
}

.ops-hub-stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.ops-hub-stat-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #eef2ff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #4f46e5;
}

.ops-hub-stat-icon.down-trend {
  color: #4f46e5;
}

.ops-hub-stat-body {
  flex: 1;
  min-width: 0;
}

.ops-hub-stat-label {
  font-size: 0.8125rem;
  color: #6b7280;
  margin-bottom: 6px;
  line-height: 1.3;
}

.ops-hub-stat-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
}

.ops-hub-stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #111827;
  line-height: 1;
}

.ops-hub-stat-trend {
  font-size: 0.8125rem;
  font-weight: 600;
}

.ops-hub-stat-trend.up {
  color: #4f46e5;
}

.ops-hub-stat-trend.down {
  color: #dc2626;
}

.ops-hub-body {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 16px;
  align-items: stretch;
}

.ops-hub-chart-card,
.ops-hub-alerts {
  min-height: 380px;
}

.ops-hub-chart-card {
  background: #fff;
  border: 1px solid #e8eaed;
  border-radius: 10px;
  padding: 1.1rem 1.25rem 0.75rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  animation: ops-fade-up 0.65s ease 0.45s both;
  display: flex;
  flex-direction: column;
}

.ops-hub-chart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 1rem;
}

.ops-hub-chart-head h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #111827;
  line-height: 1.35;
  max-width: 70%;
}

.ops-view-toggle {
  display: inline-flex;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  flex-shrink: 0;
}

.ops-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: none;
  background: transparent;
  color: #9ca3af;
  font-size: 0.75rem;
  font-weight: 500;
  cursor: default;
  line-height: 1;
}

.ops-view-btn svg {
  flex-shrink: 0;
}

.ops-view-btn.active {
  background: #4f46e5;
  color: #fff;
}

.ops-hub-chart-wrap {
  position: relative;
  flex: 1;
  min-height: 220px;
  height: 220px;
}

.ops-hub-chart-wrap svg {
  width: 100%;
  height: 100%;
}

.ops-chart-grid line {
  stroke: rgba(0, 0, 0, 0.06);
  stroke-width: 1;
}

.ops-chart-area {
  opacity: 0;
  animation: ops-chart-fill-in 1.1s ease 1s forwards;
}

.ops-chart-line {
  fill: none;
  stroke: #4f46e5;
  stroke-width: 2.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: ops-chart-draw 2s cubic-bezier(0.23, 0.86, 0.39, 0.96) 0.6s forwards;
}

.ops-hub-chart-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.65rem;
  color: #9ca3af;
  margin-top: 6px;
  padding: 0 2px 8px;
}

.ops-hub-alerts {
  background: #fff;
  border: 1px solid #e8eaed;
  border-radius: 10px;
  padding: 1.1rem 1rem 0.85rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  animation: ops-fade-up 0.65s ease 0.55s both;
  display: flex;
  flex-direction: column;
}

.ops-hub-alerts h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
}

.ops-hub-alerts-list {
  flex: 1;
  position: relative;
  padding-left: 30px;
}

.ops-hub-alerts-list::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: #e5e7eb;
}

.ops-alert-item {
  position: relative;
  padding-bottom: 14px;
  animation: ops-alert-in 0.45s ease both;
}

.ops-alert-item:nth-child(1) {
  animation-delay: 0.65s;
}

.ops-alert-item:nth-child(2) {
  animation-delay: 0.75s;
}

.ops-alert-item:nth-child(3) {
  animation-delay: 0.85s;
}

.ops-alert-item:nth-child(4) {
  animation-delay: 0.95s;
}

.ops-alert-item:nth-child(5) {
  animation-delay: 1.05s;
}

.ops-alert-item:nth-child(6) {
  animation-delay: 1.15s;
}

.ops-alert-icon {
  position: absolute;
  left: -30px;
  top: 1px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fef9c3;
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ca8a04;
  z-index: 1;
  box-shadow: 0 0 0 1px #fde68a;
}

.ops-alert-title {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #111827;
  line-height: 1.35;
  padding-right: 58px;
}

.ops-alert-meta {
  color: #9ca3af;
  font-weight: 400;
}

.ops-alert-time {
  position: absolute;
  right: 0;
  top: 1px;
  font-size: 0.75rem;
  color: #9ca3af;
  white-space: nowrap;
}

@keyframes ops-hub-in {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes ops-fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ops-chart-draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes ops-chart-fill-in {
  to {
    opacity: 1;
  }
}

@keyframes ops-alert-in {
  from {
    opacity: 0;
    transform: translateX(-8px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 900px) {
  .ops-hub-layout {
    grid-template-columns: 1fr;
  }

  .ops-hub-sidebar {
    display: none;
  }

  .ops-hub-stats {
    grid-template-columns: 1fr;
  }

  .ops-hub-body {
    grid-template-columns: 1fr;
  }
}

.glow-border {
  box-shadow: 0 0 0 1px rgba(0, 102, 255, 0.4), 0 0 40px rgba(0, 102, 255, 0.15);
}

.glow-green {
  box-shadow: 0 0 0 1px rgba(0, 232, 122, 0.4), 0 0 30px rgba(0, 232, 122, 0.15);
}

/* ANIMATIONS */
@keyframes float-up {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-10px)
  }
}

@keyframes float-down {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(10px)
  }
}

@keyframes slide-in-r {
  from {
    opacity: 0;
    transform: translateX(30px)
  }

  to {
    opacity: 1;
    transform: translateX(0)
  }
}

@keyframes slide-in-l {
  from {
    opacity: 0;
    transform: translateX(-30px)
  }

  to {
    opacity: 1;
    transform: translateX(0)
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(24px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 102, 255, 0.4)
  }

  100% {
    box-shadow: 0 0 0 20px rgba(0, 102, 255, 0)
  }
}

@keyframes dash {
  0% {
    stroke-dashoffset: 200
  }

  100% {
    stroke-dashoffset: 0
  }
}

@keyframes counter-tick {
  from {
    opacity: 0;
    transform: translateY(10px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

@keyframes tx-new {
  from {
    opacity: 0;
    transform: translateY(-8px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

@keyframes money-flow {
  0% {
    transform: translateX(-20px);
    opacity: 0
  }

  20% {
    opacity: 1
  }

  80% {
    opacity: 1
  }

  100% {
    transform: translateX(20px);
    opacity: 0
  }
}

@keyframes bar-grow {
  from {
    height: 0
  }

  to {
    height: var(--h)
  }
}

@keyframes spin-slow {
  from {
    transform: rotate(0)
  }

  to {
    transform: rotate(360deg)
  }
}

@keyframes power-pulse {

  0%,
  100% {
    opacity: 0.3;
    r: 4
  }

  50% {
    opacity: 1;
    r: 6
  }
}

@keyframes glow-pulse {

  0%,
  100% {
    box-shadow: 0 0 20px var(--blue-glow)
  }

  50% {
    box-shadow: 0 0 40px rgba(0, 102, 255, 0.4)
  }
}

.float-a {
  animation: float-up 5s ease-in-out infinite;
}

.float-b {
  animation: float-down 6s ease-in-out infinite;
}

.float-c {
  animation: float-up 7s ease-in-out infinite;
  animation-delay: -2s;
}

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.35s;
}

.reveal-delay-4 {
  transition-delay: 0.5s;
}

/* BADGE */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-blue {
  background: rgba(0, 102, 255, 0.08);
  color: var(--blue);
  border: 1px solid rgba(0, 102, 255, 0.2);
}

.badge-green {
  background: rgba(0, 232, 122, 0.08);
  color: #00C268;
  border: 1px solid rgba(0, 232, 122, 0.25);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  animation: power-pulse 2s ease-in-out infinite;
}

.badge-dot-blue {
  background: var(--blue);
}

.badge-dot-green {
  background: var(--green);
}

/* SECTION TITLE */
.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 520px;
}

/* GRADIENT TEXT */
.grad-blue {
  background: linear-gradient(135deg, var(--blue) 0%, #00A8FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.grad-green {
  background: linear-gradient(135deg, #00C268 0%, var(--green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* COMPARISON TABLE */
.comp-table-wrap {
  border-radius: 20px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.08);
}

.comp-table {
  display: grid;
  grid-template-columns: minmax(148px, 1.15fr) minmax(128px, 1fr) minmax(128px, 1fr);
  width: 100%;
  min-width: min(100%, 520px);
}

.comp-cell {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.1rem 1.25rem;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  min-height: 4.25rem;
  box-sizing: border-box;
}

.comp-cell:nth-last-child(-n+3) {
  border-bottom: none;
}

.comp-cell--label {
  font-weight: 500;
  text-align: left;
  align-items: flex-start;
}

.comp-cell--other,
.comp-cell--ely {
  text-align: center;
  align-items: center;
  border-left: 1px solid rgba(0, 0, 0, 0.05);
}

.comp-cell--ely {
  background: rgba(0, 102, 255, 0.02);
  border-left-color: rgba(0, 102, 255, 0.1);
}

.comp-cell--head {
  min-height: auto;
  padding: 1.25rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #6b7280;
  background: #f8f9fc;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.comp-cell--head.comp-cell--ely {
  position: relative;
  background: rgba(0, 102, 255, 0.04);
  border-left-color: rgba(0, 102, 255, 0.2);
}

.comp-cell--head-ely-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--blue);
}

.comp-cell--head-ely-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--green));
}

.comp-cell-detail {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.35;
}

.comp-cell-detail--green {
  color: var(--green);
}

@media (hover: hover) {
  .comp-cell:not(.comp-cell--head):hover {
    background: rgba(0, 102, 255, 0.04);
  }

  .comp-cell--ely:not(.comp-cell--head):hover {
    background: rgba(0, 102, 255, 0.07);
  }
}

@media (max-width: 640px) {
  .comp-table {
    min-width: 520px;
  }

  .comp-cell {
    padding: 0.9rem 1rem;
    min-height: 3.75rem;
    font-size: 0.82rem;
  }

  .comp-cell--head {
    padding: 1rem;
    font-size: 0.78rem;
  }
}

.check-yes {
  color: var(--green);
  font-size: 1.1rem;
}

.check-no {
  color: #D1D5DB;
  font-size: 1.1rem;
}

/* TIMELINE */
.timeline-line {
  height: 2px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--green) 100%);
  position: relative;
}

.timeline-dot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
  box-shadow: 0 0 0 6px rgba(0, 102, 255, 0.12), 0 0 20px rgba(0, 102, 255, 0.3);
}

/* TRANSACTION ITEM */
.tx-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

/* POWER NODE */
.power-node {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(0, 102, 255, 0.12);
  border: 1.5px solid rgba(0, 102, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.power-node::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 18px;
  border: 1px solid rgba(0, 102, 255, 0.15);
}

/* CARD HOVER */
.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
}

/* SCROLL INDICATOR */
@keyframes scroll-bounce {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(6px)
  }
}

.scroll-ind {
  animation: scroll-bounce 2s ease-in-out infinite;
}

/* MOBILE */
@media (max-width: 768px) {
  .section-title {
    font-size: 1.8rem;
  }

  .hero-title {
    font-size: 2.2rem !important;
  }
}

/* CTA BG */
.cta-bg {
  background: var(--surface);
  position: relative;
  overflow: hidden;
}

.cta-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(0, 102, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 102, 255, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
}

.cta-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(0, 102, 255, 0.1);
  box-shadow: 0 8px 48px rgba(0, 102, 255, 0.08);
}

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

.cta-panel {
  padding: 3rem 2.5rem;
}

.cta-panel-left {
  text-align: left;
  border-right: 1px solid rgba(0, 102, 255, 0.08);
  background: var(--surface);
}

.cta-panel-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(135deg, #F0F4FF 0%, #F8FAFF 100%);
}

[data-theme="dark"] .cta-panel-right {
  background: linear-gradient(135deg, #111827 0%, #1A1A28 100%);
}

@media (max-width: 900px) {
  .cta-panel-left {
    border-right: none;
    border-bottom: 1px solid rgba(0, 102, 255, 0.08);
  }
}

.cta-heading {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--text);
}

.cta-desc {
  color: var(--muted);
  font-size: 1.05rem;
  margin-top: 1.25rem;
  line-height: 1.7;
  max-width: 480px;
}

.cta-btn-secondary {
  background: #fff;
  color: var(--text);
  border: 1px solid rgba(0, 0, 0, 0.12);
  padding: 0.9rem 2.25rem;
  border-radius: 10px;
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.cta-btn-secondary:hover {
  background: #F8FAFF;
  border-color: rgba(0, 102, 255, 0.25);
  color: var(--blue);
}

.cta-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.82rem;
}

.cta-trust-item svg path {
  stroke: var(--green);
}

.cta-demo-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cta-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 520px) {
  .cta-form-row {
    grid-template-columns: 1fr;
  }
}

.cta-form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.cta-form-field label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.cta-form-field input,
.cta-form-field textarea,
.cta-form-field select {
  width: 100%;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  color: var(--text);
  font-size: 0.9rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.cta-form-field input::placeholder,
.cta-form-field textarea::placeholder {
  color: rgba(0, 0, 0, 0.35);
}

.cta-form-field input:focus,
.cta-form-field textarea:focus,
.cta-form-field select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.12);
}

.cta-form-field select option {
  background: #fff;
  color: var(--text);
}

.cta-form-field textarea {
  resize: vertical;
  min-height: 88px;
}

.cta-form-title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.cta-form-sub {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.cta-form-submit {
  width: 100%;
  margin-top: 0.25rem;
  justify-content: center;
  font-size: 1rem;
  padding: 0.9rem 2rem;
  box-shadow: 0 8px 32px rgba(0, 102, 255, 0.25);
}

.cta-form-tabs {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.cta-tab-btn {
  flex: 1;
  padding: 0.9rem 1.25rem;
  border-radius: 10px;
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  color: var(--text);
  font-family: inherit;
}

.cta-tab-btn.active {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  box-shadow: 0 4px 20px rgba(0, 102, 255, 0.25);
}

.cta-tab-btn:not(.active):hover {
  border-color: rgba(0, 102, 255, 0.25);
  color: var(--blue);
}

.cta-form-stage {
  perspective: 1200px;
}

.cta-form-flip-inner {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
  transform: rotateY(0deg);
}

.cta-form-flip-inner.is-contact {
  transform: rotateY(180deg);
}

.cta-form-flip-inner.is-flipping {
  pointer-events: none;
}

.cta-form-face {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.cta-form-face-front {
  position: relative;
}

.cta-form-face-back {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  transform: rotateY(180deg);
}

/* NUMBER COUNTER */
.stat-num {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 2.8rem;
  line-height: 1;
  letter-spacing: -0.03em;
}

/* LOADING */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--page-bg);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, background 0.35s ease, color 0.35s ease;
}

.elyvolt-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  line-height: 0;
}

.elyvolt-logo-light,
.elyvolt-logo-dark {
  height: auto;
  display: block;
}

.elyvolt-logo--loader .elyvolt-logo-light,
.elyvolt-logo--loader .elyvolt-logo-dark {
  width: 120px;
}

/* Dark theme → light logo (for dark backgrounds) */
.elyvolt-logo-light {
  display: block;
}

.elyvolt-logo-dark {
  display: none;
}

html[data-theme="light"] .elyvolt-logo-light,
[data-theme="light"] .elyvolt-logo-light {
  display: none;
}

html[data-theme="light"] .elyvolt-logo-dark,
[data-theme="light"] .elyvolt-logo-dark {
  display: block;
}

html:not([data-theme="light"]) .elyvolt-logo-dark,
[data-theme="dark"] .elyvolt-logo-dark {
  display: none;
}

.page-loader-track {
  margin-top: 16px;
  width: 160px;
  height: 3px;
  background: var(--loader-track);
  border-radius: 2px;
  overflow: hidden;
  transition: background 0.35s ease;
}

.page-loader.done {
  opacity: 0;
  pointer-events: none;
}

/* FLOWING ARROW */
@keyframes flow-arrow {
  0% {
    opacity: 0;
    transform: translateX(-10px)
  }

  50% {
    opacity: 1
  }

  100% {
    opacity: 0;
    transform: translateX(10px)
  }
}

.flow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  animation: flow-arrow 1.8s ease-in-out infinite;
}

/* VEHICLE CARD */
.battery-bar {
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
  position: relative;
}

.battery-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 1s ease;
}

/* Fleet vehicle dashboard */
.fleet-dashboard {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 24px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.25);
}

.fleet-dashboard-eyebrow {
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.fleet-dashboard-title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
}

.fleet-vehicle-name {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}

.fleet-vehicle-meta {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.35);
}

.fleet-vehicle-meta--spaced {
  margin-top: 8px;
}

.fleet-stat-label {
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.fleet-stat-value {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 1.8rem;
  color: #fff;
  letter-spacing: -0.04em;
}

.fleet-stat-unit {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 400;
}

[data-theme="light"] #fleet .fleet-dashboard,
html[data-theme="light"] #fleet .fleet-dashboard {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] #fleet .fleet-dashboard .dark-card-inner,
html[data-theme="light"] #fleet .fleet-dashboard .dark-card-inner {
  background: var(--surface-2);
  border-color: var(--border);
}

[data-theme="light"] #fleet .fleet-dashboard-eyebrow,
[data-theme="light"] #fleet .fleet-vehicle-meta,
[data-theme="light"] #fleet .fleet-stat-label,
html[data-theme="light"] #fleet .fleet-dashboard-eyebrow,
html[data-theme="light"] #fleet .fleet-vehicle-meta,
html[data-theme="light"] #fleet .fleet-stat-label {
  color: var(--muted);
}

[data-theme="light"] #fleet .fleet-dashboard-title,
[data-theme="light"] #fleet .fleet-vehicle-name,
[data-theme="light"] #fleet .fleet-stat-value,
html[data-theme="light"] #fleet .fleet-dashboard-title,
html[data-theme="light"] #fleet .fleet-vehicle-name,
html[data-theme="light"] #fleet .fleet-stat-value {
  color: var(--text);
}

[data-theme="light"] #fleet .fleet-stat-unit,
html[data-theme="light"] #fleet .fleet-stat-unit {
  color: var(--muted);
}

[data-theme="light"] #fleet .fleet-dashboard .battery-bar,
html[data-theme="light"] #fleet .fleet-dashboard .battery-bar {
  background: rgba(0, 0, 0, 0.08);
}

/* LANGUAGE & THEME TOGGLE */
.lang-toggle,
.theme-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--toggle-bg);
  border-radius: 8px;
  padding: 3px;
}

.lang-btn {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--muted);
  transition: all 0.2s;
}

.lang-btn.active {
  background: var(--toggle-active-bg);
  color: var(--text);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
}

.theme-btn {
  padding: 6px 9px;
  border-radius: 6px;
  border: none;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  line-height: 0;
}

.theme-btn svg {
  width: 16px;
  height: 16px;
}

.theme-btn.active {
  background: var(--toggle-active-bg);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.12);
}

.theme-btn[data-theme-set="light"].active {
  color: #FBBF24;
}

.theme-btn[data-theme-set="dark"].active {
  color: #818CF8;
}

/* DARK THEME — section overrides */
html:not([data-theme="light"]) .bg-white,
[data-theme="dark"] .bg-white {
  background-color: var(--surface) !important;
}

[data-theme="dark"] .text-gray-600 {
  color: var(--nav-link) !important;
}

[data-theme="dark"] .text-gray-900,
[data-theme="dark"] a.text-gray-600:hover {
  color: var(--nav-link-hover) !important;
}

[data-theme="dark"] #hero-section {
  background: linear-gradient(165deg, #0f1218 0%, #0A0A0F 42%, #0a1410 100%) !important;
}

[data-theme="dark"] #pricing {
  background: linear-gradient(180deg, #0f1118 0%, #0A0A0F 100%) !important;
}

[data-theme="dark"] #fleet {
  background: linear-gradient(180deg, #0f1118 0%, #0A0A0F 100%) !important;
}

[data-theme="dark"] #all-in-one {
  background: linear-gradient(180deg, #0f1118 0%, #0A0A0F 100%) !important;
}

[data-theme="dark"] .comp-table-wrap,
html:not([data-theme="light"]) .comp-table-wrap {
  border-color: var(--border) !important;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.35) !important;
}

[data-theme="dark"] .comp-cell,
html:not([data-theme="light"]) .comp-cell {
  border-bottom-color: var(--border);
}

[data-theme="dark"] .comp-cell--other,
[data-theme="dark"] .comp-cell--ely,
html:not([data-theme="light"]) .comp-cell--other,
html:not([data-theme="light"]) .comp-cell--ely {
  border-left-color: var(--border);
}

[data-theme="dark"] .comp-cell--ely,
html:not([data-theme="light"]) .comp-cell--ely {
  background: rgba(0, 102, 255, 0.08);
  border-left-color: rgba(0, 102, 255, 0.25);
}

[data-theme="dark"] .comp-cell--head,
html:not([data-theme="light"]) .comp-cell--head {
  background: var(--surface-2) !important;
  border-bottom-color: var(--border) !important;
  color: var(--muted) !important;
}

[data-theme="dark"] .comp-cell--head.comp-cell--ely,
html:not([data-theme="light"]) .comp-cell--head.comp-cell--ely {
  background: rgba(0, 102, 255, 0.12) !important;
  border-left-color: rgba(0, 102, 255, 0.35) !important;
}

[data-theme="dark"] .comp-cell--head-ely-title,
html:not([data-theme="light"]) .comp-cell--head-ely-title {
  color: var(--blue-light) !important;
}

[data-theme="dark"] .comp-cell--label,
html:not([data-theme="light"]) .comp-cell--label {
  color: var(--text);
}

/* Hub showcase — dark mode */
[data-theme="dark"] .hub-desktop,
html:not([data-theme="light"]) .hub-desktop {
  background: var(--surface);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.45), 0 0 0 1px var(--border);
}

[data-theme="dark"] .hub-desktop-chrome,
html:not([data-theme="light"]) .hub-desktop-chrome {
  background: rgba(255, 255, 255, 0.04);
  border-bottom-color: var(--border);
}

[data-theme="dark"] .hub-desktop-chrome-title,
html:not([data-theme="light"]) .hub-desktop-chrome-title {
  color: var(--muted);
}

[data-theme="dark"] .hub-sidebar,
html:not([data-theme="light"]) .hub-sidebar {
  background: var(--dark);
  border-right-color: var(--border);
}

[data-theme="dark"] .hub-nav-item,
html:not([data-theme="light"]) .hub-nav-item {
  color: var(--muted);
}

[data-theme="dark"] .hub-nav-item.active,
html:not([data-theme="light"]) .hub-nav-item.active {
  background: rgba(0, 102, 255, 0.15);
  color: var(--blue-light);
}

[data-theme="dark"] .hub-main,
html:not([data-theme="light"]) .hub-main {
  background: var(--surface);
}

[data-theme="dark"] .hub-breadcrumb,
[data-theme="dark"] .hub-tab,
[data-theme="dark"] .hub-stat-label,
[data-theme="dark"] .hub-bar-day,
[data-theme="dark"] .hub-legend-item,
html:not([data-theme="light"]) .hub-breadcrumb,
html:not([data-theme="light"]) .hub-tab,
html:not([data-theme="light"]) .hub-stat-label,
html:not([data-theme="light"]) .hub-bar-day,
html:not([data-theme="light"]) .hub-legend-item {
  color: var(--muted);
}

[data-theme="dark"] .hub-title,
[data-theme="dark"] .hub-stat-value,
[data-theme="dark"] .hub-chart-title,
[data-theme="dark"] .hub-legend-item strong,
html:not([data-theme="light"]) .hub-title,
html:not([data-theme="light"]) .hub-stat-value,
html:not([data-theme="light"]) .hub-chart-title,
html:not([data-theme="light"]) .hub-legend-item strong {
  color: var(--text);
}

[data-theme="dark"] .hub-tabs,
html:not([data-theme="light"]) .hub-tabs {
  border-bottom-color: var(--border);
}

[data-theme="dark"] .hub-stat-card,
html:not([data-theme="light"]) .hub-stat-card {
  background: var(--surface-2);
  border-color: var(--border);
}

[data-theme="dark"] .hub-bar-stack,
html:not([data-theme="light"]) .hub-bar-stack {
  background: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .hub-mobile,
html:not([data-theme="light"]) .hub-mobile {
  background: var(--surface);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--border);
}

[data-theme="dark"] .hub-progress-bg,
html:not([data-theme="light"]) .hub-progress-bg {
  stroke: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .hub-progress-pct,
[data-theme="dark"] .hub-charge-meta strong,
[data-theme="dark"] .hub-charge-row-value,
html:not([data-theme="light"]) .hub-progress-pct,
html:not([data-theme="light"]) .hub-charge-meta strong,
html:not([data-theme="light"]) .hub-charge-row-value {
  color: var(--text);
}

[data-theme="dark"] .hub-progress-sub,
[data-theme="dark"] .hub-charge-meta span,
[data-theme="dark"] .hub-charge-row-label,
html:not([data-theme="light"]) .hub-progress-sub,
html:not([data-theme="light"]) .hub-charge-meta span,
html:not([data-theme="light"]) .hub-charge-row-label {
  color: var(--muted);
}

[data-theme="dark"] .hub-charge-rows,
[data-theme="dark"] .hub-charge-row,
html:not([data-theme="light"]) .hub-charge-rows,
html:not([data-theme="light"]) .hub-charge-row {
  border-color: var(--border);
}

[data-theme="dark"] .hub-charge-row-icon,
html:not([data-theme="light"]) .hub-charge-row-icon {
  background: var(--surface-2);
}

[data-theme="dark"] .hub-stop-btn,
html:not([data-theme="light"]) .hub-stop-btn {
  background: var(--surface-2);
  border-color: var(--border);
  color: var(--text);
}

[data-theme="dark"] .hub-stop-btn:hover,
html:not([data-theme="light"]) .hub-stop-btn:hover {
  border-color: var(--blue);
  color: var(--blue-light);
  background: rgba(0, 102, 255, 0.1);
}

/* Team app — dark mode */
[data-theme="dark"] #platform,
html:not([data-theme="light"]) #platform {
  background: linear-gradient(180deg, #0f1118 0%, #0A0A0F 100%) !important;
  position: relative;
  z-index: 1;
}

[data-theme="dark"] .team-app,
html:not([data-theme="light"]) .team-app {
  background: var(--dark2);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55), 0 0 0 1px var(--border);
}

[data-theme="dark"] .team-app-hero,
html:not([data-theme="light"]) .team-app-hero {
  background: linear-gradient(165deg, #1a1f6e 0%, #141852 50%, #0f1238 100%);
}

[data-theme="dark"] .team-wallet-card,
html:not([data-theme="light"]) .team-wallet-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

[data-theme="dark"] .team-wallet-card:hover,
html:not([data-theme="light"]) .team-wallet-card:hover {
  background: rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] .team-app-panel,
html:not([data-theme="light"]) .team-app-panel {
  background: var(--surface);
}

[data-theme="dark"] .team-panel-title,
html:not([data-theme="light"]) .team-panel-title {
  color: var(--text);
}

[data-theme="dark"] .team-menu-card,
html:not([data-theme="light"]) .team-menu-card {
  background: var(--surface-2);
  border-color: var(--border);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

[data-theme="dark"] .team-menu-card:hover,
html:not([data-theme="light"]) .team-menu-card:hover {
  background: var(--charcoal);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] .team-menu-icon,
html:not([data-theme="light"]) .team-menu-icon {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

[data-theme="dark"] .team-menu-title,
html:not([data-theme="light"]) .team-menu-title {
  color: var(--text);
}

[data-theme="dark"] .team-menu-sub,
[data-theme="dark"] .team-menu-chevron,
html:not([data-theme="light"]) .team-menu-sub,
html:not([data-theme="light"]) .team-menu-chevron {
  color: var(--muted);
}

/* Map app — dark mode */
[data-theme="dark"] .map-app,
html:not([data-theme="light"]) .map-app {
  background: var(--surface);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px var(--border);
}

[data-theme="dark"] .map-view,
html:not([data-theme="light"]) .map-view {
  background: #1a1d24;
}

[data-theme="dark"] .map-roads-svg,
html:not([data-theme="light"]) .map-roads-svg {
  filter: brightness(0.7) saturate(0.75) contrast(1.08);
}

[data-theme="dark"] .map-search,
html:not([data-theme="light"]) .map-search {
  background: var(--surface-2);
  color: var(--muted);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35), 0 0 0 1px var(--border);
}

[data-theme="dark"] .map-street-label,
html:not([data-theme="light"]) .map-street-label {
  color: rgba(255, 255, 255, 0.45);
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.8);
}

[data-theme="dark"] .map-pin-marker,
html:not([data-theme="light"]) .map-pin-marker {
  background: var(--surface-2);
  border-color: rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] .map-pin-marker svg,
html:not([data-theme="light"]) .map-pin-marker svg {
  color: var(--muted);
}

[data-theme="dark"] .map-pin-label,
html:not([data-theme="light"]) .map-pin-label {
  background: var(--surface-2);
  color: var(--text);
  border-color: var(--border);
}

[data-theme="dark"] .map-pin.active .map-pin-marker,
html:not([data-theme="light"]) .map-pin.active .map-pin-marker {
  background: #00C268;
  border-color: #00C268;
}

[data-theme="dark"] .map-pin.active .map-pin-marker svg,
html:not([data-theme="light"]) .map-pin.active .map-pin-marker svg {
  color: #d9ffed;
}

[data-theme="dark"] .map-pin.active .map-pin-label,
html:not([data-theme="light"]) .map-pin.active .map-pin-label {
  background: #00C268;
  color: #fff;
  border-color: #00C268;
}

[data-theme="dark"] .map-pin-ripple,
html:not([data-theme="light"]) .map-pin-ripple {
  border-color: rgba(96, 165, 250, 0.4);
}

[data-theme="dark"] .map-pin-ripple::before,
html:not([data-theme="light"]) .map-pin-ripple::before {
  background: radial-gradient(circle,
      rgba(96, 165, 250, 0.3) 0%,
      rgba(96, 165, 250, 0.08) 40%,
      transparent 70%);
}

[data-theme="dark"] .map-fab,
html:not([data-theme="light"]) .map-fab {
  background: var(--surface-2);
  border-color: var(--border);
  color: var(--text);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .map-sheet,
html:not([data-theme="light"]) .map-sheet {
  background: var(--surface);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] .map-sheet-handle,
html:not([data-theme="light"]) .map-sheet-handle {
  background: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .map-sheet-title,
[data-theme="dark"] .map-charger-kw,
[data-theme="dark"] .map-charger-price,
html:not([data-theme="light"]) .map-sheet-title,
html:not([data-theme="light"]) .map-charger-kw,
html:not([data-theme="light"]) .map-charger-price {
  color: var(--text);
}

[data-theme="dark"] .map-sheet-operator,
[data-theme="dark"] .map-sheet-status,
[data-theme="dark"] .map-tab,
html:not([data-theme="light"]) .map-sheet-operator,
html:not([data-theme="light"]) .map-sheet-status,
html:not([data-theme="light"]) .map-tab {
  color: var(--muted);
}

[data-theme="dark"] .map-sheet-status .open,
html:not([data-theme="light"]) .map-sheet-status .open {
  color: var(--green);
}

[data-theme="dark"] .map-sheet-action-btn,
html:not([data-theme="light"]) .map-sheet-action-btn {
  color: var(--text);
}

[data-theme="dark"] .map-sheet-tags,
[data-theme="dark"] .map-charger-row,
[data-theme="dark"] .map-sheet-tabs,
html:not([data-theme="light"]) .map-sheet-tags,
html:not([data-theme="light"]) .map-charger-row,
html:not([data-theme="light"]) .map-sheet-tabs {
  border-color: var(--border);
}

[data-theme="dark"] .map-tag,
html:not([data-theme="light"]) .map-tag {
  background: rgba(0, 102, 255, 0.18);
  color: var(--blue-light);
}

[data-theme="dark"] .map-avail-badge.available,
html:not([data-theme="light"]) .map-avail-badge.available {
  background: rgba(0, 232, 122, 0.15);
  color: var(--green);
}

[data-theme="dark"] .map-avail-badge.unavailable,
html:not([data-theme="light"]) .map-avail-badge.unavailable {
  background: var(--surface-2);
  color: var(--muted);
}

[data-theme="dark"] .map-signal-icon span,
html:not([data-theme="light"]) .map-signal-icon span {
  background: var(--muted);
}

[data-theme="dark"] .map-tab.active,
[data-theme="dark"] .map-tab.active svg,
html:not([data-theme="light"]) .map-tab.active,
html:not([data-theme="light"]) .map-tab.active svg {
  color: var(--text);
}

[data-theme="dark"] .map-home-indicator,
html:not([data-theme="light"]) .map-home-indicator {
  background: rgba(255, 255, 255, 0.55);
}

/* Operations Hub — dark mode */
[data-theme="dark"] .ops-hub,
html:not([data-theme="light"]) .ops-hub {
  background: var(--surface);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.45), 0 0 0 1px var(--border);
}

[data-theme="dark"] .ops-hub-main,
html:not([data-theme="light"]) .ops-hub-main {
  background: var(--dark2);
}

[data-theme="dark"] .ops-hub-tabs,
html:not([data-theme="light"]) .ops-hub-tabs {
  background: var(--surface);
  border-bottom-color: var(--border);
}

[data-theme="dark"] .ops-hub-tab,
html:not([data-theme="light"]) .ops-hub-tab {
  color: var(--muted);
}

[data-theme="dark"] .ops-hub-tab.active,
html:not([data-theme="light"]) .ops-hub-tab.active {
  color: var(--blue-light);
}

[data-theme="dark"] .ops-hub-header h3,
[data-theme="dark"] .ops-hub-chart-head h4,
[data-theme="dark"] .ops-hub-alerts h4,
[data-theme="dark"] .ops-hub-stat-value,
[data-theme="dark"] .ops-alert-title,
html:not([data-theme="light"]) .ops-hub-header h3,
html:not([data-theme="light"]) .ops-hub-chart-head h4,
html:not([data-theme="light"]) .ops-hub-alerts h4,
html:not([data-theme="light"]) .ops-hub-stat-value,
html:not([data-theme="light"]) .ops-alert-title {
  color: var(--text);
}

[data-theme="dark"] .ops-hub-header p,
[data-theme="dark"] .ops-hub-stat-label,
[data-theme="dark"] .ops-view-btn,
[data-theme="dark"] .ops-hub-chart-labels,
[data-theme="dark"] .ops-alert-time,
[data-theme="dark"] .ops-alert-meta,
html:not([data-theme="light"]) .ops-hub-header p,
html:not([data-theme="light"]) .ops-hub-stat-label,
html:not([data-theme="light"]) .ops-view-btn,
html:not([data-theme="light"]) .ops-hub-chart-labels,
html:not([data-theme="light"]) .ops-alert-time,
html:not([data-theme="light"]) .ops-alert-meta {
  color: var(--muted);
}

[data-theme="dark"] .ops-hub-stat-card,
[data-theme="dark"] .ops-hub-chart-card,
[data-theme="dark"] .ops-hub-alerts,
html:not([data-theme="light"]) .ops-hub-stat-card,
html:not([data-theme="light"]) .ops-hub-chart-card,
html:not([data-theme="light"]) .ops-hub-alerts {
  background: var(--surface-2);
  border-color: var(--border);
}

[data-theme="dark"] .ops-hub-stat-icon,
html:not([data-theme="light"]) .ops-hub-stat-icon {
  background: rgba(0, 102, 255, 0.15);
}

[data-theme="dark"] .ops-view-toggle,
html:not([data-theme="light"]) .ops-view-toggle {
  background: var(--surface);
  border-color: var(--border);
}

[data-theme="dark"] .ops-view-btn.active,
html:not([data-theme="light"]) .ops-view-btn.active {
  background: #4f46e5;
  color: #fff;
}

[data-theme="dark"] .ops-chart-grid line,
html:not([data-theme="light"]) .ops-chart-grid line {
  stroke: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .ops-hub-alerts-list::before,
html:not([data-theme="light"]) .ops-hub-alerts-list::before {
  background: var(--border);
}

[data-theme="dark"] .ops-alert-icon,
html:not([data-theme="light"]) .ops-alert-icon {
  border-color: var(--surface-2);
  background: rgba(251, 191, 36, 0.2);
}

[data-theme="dark"] #audience {
  background: linear-gradient(180deg, #0f1118 0%, #0A0A0F 100%) !important;
}

[data-theme="dark"] #audience .solution-card.sol-realestate {
  border-left-color: var(--border) !important;
  border-right-color: var(--border) !important;
}

[data-theme="dark"] #audience .solution-card h3 {
  color: var(--text);
}

[data-theme="dark"] .glass {
  background: rgba(17, 17, 26, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] #pricing .customer-pays-section {
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.12), rgba(0, 232, 122, 0.08)) !important;
}

#split .flow-card-automation {
  background: linear-gradient(135deg, #E8EFFF, #F0F4FF);
  border: 1.5px solid rgba(0, 102, 255, 0.2);
}

#split .flow-card-automation-icon {
  background: rgba(0, 102, 255, 0.1);
  box-shadow: 0 0 20px rgba(0, 102, 255, 0.15);
}

[data-theme="dark"] #split .flow-card-automation {
  background: var(--dark2) !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
}

[data-theme="dark"] #split .flow-card-automation-icon {
  background: rgba(0, 102, 255, 0.15) !important;
  box-shadow: 0 0 20px rgba(0, 102, 255, 0.3) !important;
}

/* Load balancing — power distribution card */
#load-balance .power-dist-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 2rem;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.08);
}

#load-balance .power-dist-label {
  color: var(--muted);
  letter-spacing: 0.06em;
}

#load-balance .power-dist-viz {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#load-balance .power-dist-source {
  background: rgba(0, 102, 255, 0.06);
  border: 1px solid rgba(0, 102, 255, 0.2);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

#load-balance .power-dist-source-icon {
  width: 40px;
  height: 40px;
  background: var(--blue);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(0, 102, 255, 0.25);
  flex-shrink: 0;
}

#load-balance .power-dist-source-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
}

#load-balance .power-dist-source-meta {
  font-size: 0.75rem;
  color: var(--muted);
}

#load-balance .power-dist-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

#load-balance .power-dist-point {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
}

#load-balance .power-dist-point--idle {
  border-color: rgba(0, 102, 255, 0.2);
}

#load-balance .power-dist-point-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

#load-balance .power-dist-point-label {
  font-size: 0.78rem;
  color: var(--muted);
}

#load-balance .power-dist-point-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

#load-balance .power-dist-point-dot--green {
  background: var(--green);
}

#load-balance .power-dist-point-dot--blue {
  background: var(--blue);
}

#load-balance .power-dist-point-dot--idle {
  background: rgba(0, 0, 0, 0.2);
}

#load-balance .power-dist-point-bar {
  height: 4px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 2px;
  overflow: hidden;
}

#load-balance .power-dist-point-fill {
  height: 100%;
  border-radius: 2px;
}

#load-balance .power-dist-point-fill--green {
  background: linear-gradient(90deg, var(--green), #00C268);
}

#load-balance .power-dist-point-fill--blue {
  background: linear-gradient(90deg, var(--blue), #3385FF);
}

#load-balance .power-dist-point-fill--idle {
  background: rgba(0, 0, 0, 0.12);
}

#load-balance .power-dist-point-value {
  font-size: 0.72rem;
  margin-top: 4px;
}

#load-balance .power-dist-point-value--green {
  color: var(--green);
}

#load-balance .power-dist-point-value--blue {
  color: var(--blue);
}

#load-balance .power-dist-point-value--idle {
  color: var(--muted);
}

#load-balance .power-dist-status {
  background: rgba(0, 232, 122, 0.08);
  border: 1px solid rgba(0, 232, 122, 0.2);
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

#load-balance .power-dist-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: power-pulse 2s infinite;
  flex-shrink: 0;
}

#load-balance .power-dist-status-text {
  font-size: 0.82rem;
  color: var(--text);
}

[data-theme="dark"] #load-balance .power-dist-card {
  background: var(--dark2);
  border-color: transparent;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] #load-balance .power-dist-label {
  color: rgba(255, 255, 255, 0.35);
}

[data-theme="dark"] #load-balance .power-dist-source {
  background: rgba(0, 102, 255, 0.1);
  border-color: rgba(0, 102, 255, 0.3);
}

[data-theme="dark"] #load-balance .power-dist-source-icon {
  box-shadow: 0 0 20px rgba(0, 102, 255, 0.5);
}

[data-theme="dark"] #load-balance .power-dist-source-title {
  color: #fff;
}

[data-theme="dark"] #load-balance .power-dist-source-meta {
  color: rgba(255, 255, 255, 0.4);
}

[data-theme="dark"] #load-balance .power-dist-point {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.07);
}

[data-theme="dark"] #load-balance .power-dist-point--idle {
  border-color: rgba(0, 102, 255, 0.2);
}

[data-theme="dark"] #load-balance .power-dist-point-label {
  color: rgba(255, 255, 255, 0.6);
}

[data-theme="dark"] #load-balance .power-dist-point-dot--idle {
  background: rgba(255, 255, 255, 0.3);
}

[data-theme="dark"] #load-balance .power-dist-point-bar {
  background: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] #load-balance .power-dist-point-fill--idle {
  background: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] #load-balance .power-dist-point-value--idle {
  color: rgba(255, 255, 255, 0.3);
}

[data-theme="dark"] #load-balance .power-dist-status {
  background: rgba(0, 232, 122, 0.07);
}

[data-theme="dark"] #load-balance .power-dist-status-text {
  color: rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] #split .flow-card-light {
  background: linear-gradient(135deg, #111827, #1A1A28) !important;
  border-color: rgba(0, 102, 255, 0.22) !important;
}

[data-theme="dark"] #split .flow-card-stat {
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.1), rgba(17, 17, 26, 0.95)) !important;
  border-color: rgba(0, 102, 255, 0.2) !important;
}

[data-theme="dark"] #split .flow-card-stat.flow-card-green {
  background: linear-gradient(135deg, rgba(0, 232, 122, 0.1), rgba(17, 17, 26, 0.95)) !important;
  border-color: rgba(0, 232, 122, 0.25) !important;
}

[data-theme="dark"] #split .flow-card-title {
  color: var(--text) !important;
}

[data-theme="dark"] #split .flow-card-desc {
  color: var(--muted) !important;
}

[data-theme="dark"] .solution-card {
  background: var(--surface);
}

[data-theme="dark"] .solution-card:hover {
  background: var(--surface-2);
}

[data-theme="dark"] .solutions-grid {
  background: var(--border);
}

[data-theme="dark"] .cta-form-field input,
[data-theme="dark"] .cta-form-field textarea,
[data-theme="dark"] .cta-form-field select {
  background: var(--surface-2);
  border-color: var(--border);
  color: var(--text);
}

[data-theme="dark"] .cta-form-field input::placeholder,
[data-theme="dark"] .cta-form-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

[data-theme="dark"] .cta-btn-secondary,
[data-theme="dark"] .cta-tab-btn:not(.active) {
  background: var(--surface-2);
  color: var(--text);
  border-color: var(--border);
}

[data-theme="dark"] .cta-tab-btn:not(.active):hover {
  border-color: rgba(0, 102, 255, 0.35);
  color: var(--blue-light);
}

[data-theme="dark"] .advice-modal-close {
  background: var(--surface-2);
  border-color: var(--border);
  color: var(--muted);
}

[data-theme="dark"] .advice-modal-close:hover {
  background: var(--surface);
  color: var(--blue-light);
}

[data-theme="dark"] .section-sub,
[data-theme="dark"] .feature-card p {
  color: var(--muted);
}

[data-lang="en"] .nl {
  display: none !important;
}

[data-lang="nl"] .en {
  display: none !important;
}

/* SOLUTIONS — new style */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(0, 0, 0, 0.07);
  border-radius: 20px;
  overflow: hidden;
}

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

.solution-card {
  background: #fff;
  padding: 2.5rem 2rem;
  transition: background 0.3s;
  position: relative;
  overflow: hidden;
}

.solution-card:hover {
  background: #F7F9FF;
}

.solution-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  opacity: 0;
  transition: opacity 0.3s;
}

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

.sol-company::before {
  background: linear-gradient(90deg, var(--blue), #3385FF);
}

.sol-realestate::before {
  background: linear-gradient(90deg, #00C268, var(--green));
}

.sol-fleet::before {
  background: linear-gradient(90deg, var(--blue), var(--green));
}

/* PROCESS — new style */
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
  background-image: url(../images/wave-img-1.png);
  background-repeat: no-repeat;
  background-position: center;
}

@media(max-width:768px) {
  .process-steps {
    grid-template-columns: 1fr;
    gap: 1px;
  }
}

.process-step {
  padding: 2.5rem 2rem;
  position: relative;
}

.process-step.second-step {
  top: 110px;
}

.process-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 2.7rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  opacity: 0.7;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
}

.process-step-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.process-step-inner .process-img-holder {
  width: 120px;
  height: 120px;
  margin-bottom: 50px;
  background: linear-gradient(135deg, #111827 0%, #1A1A28 100%);
  border-radius: 100%;
  margin: 0 auto 50px;
  position: relative;
}

.process-connector {
  display: none;
}

.process-step-inner:hover .process-img-holder img {
  transform: rotate(90deg);
  transition: 0.9s;
}

section#how {
  position: relative;
  overflow: hidden;
  background: #030303;
}

section#how .section-title {
  color: #fff;
}

section#how .process-step-inner h3 {
  color: #fff;
}

section#how .process-step-inner p {
  color: rgba(255, 255, 255, 0.5);
}

.how-geo-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.how-geo-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, transparent 50%, rgba(244, 63, 94, 0.06) 100%);
  filter: blur(48px);
}

.how-geo-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #030303 0%, transparent 30%, transparent 70%, rgba(3, 3, 3, 0.8) 100%);
}

.how-geo-shapes {
  position: absolute;
  inset: 0;
}

.how-elegant-shape {
  position: absolute;
  opacity: 0;
  transform: translateY(-150px);
  animation: how-shape-enter 1.2s cubic-bezier(0.23, 0.86, 0.39, 0.96) forwards;
}

.how-elegant-shape-float {
  animation: how-shape-float 5s ease-in-out infinite;
}

.how-elegant-shape-inner {
  border-radius: 9999px;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border: 2px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.how-elegant-shape-inner::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.2), transparent 70%);
  pointer-events: none;
}

.how-shape-blue .how-elegant-shape-inner {
  background: linear-gradient(to right, rgba(99, 102, 241, 0.15), transparent);
}

.how-shape-rose .how-elegant-shape-inner {
  background: linear-gradient(to right, rgba(244, 63, 94, 0.15), transparent);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 32px rgba(244, 63, 94, 0.1);
}

.how-shape-rose .how-elegant-shape-inner::after {
  background: radial-gradient(circle at 50% 50%, rgba(244, 63, 94, 0.15), transparent 70%);
}

.how-shape-violet .how-elegant-shape-inner {
  background: linear-gradient(to right, rgba(139, 92, 246, 0.15), transparent);
}

.how-shape-violet .how-elegant-shape-inner::after {
  background: radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.15), transparent 70%);
}

.how-shape-amber .how-elegant-shape-inner {
  background: linear-gradient(to right, rgba(245, 158, 11, 0.15), transparent);
}

.how-shape-amber .how-elegant-shape-inner::after {
  background: radial-gradient(circle at 50% 50%, rgba(245, 158, 11, 0.15), transparent 70%);
}

.how-shape-cyan .how-elegant-shape-inner {
  background: linear-gradient(to right, rgba(34, 211, 238, 0.15), transparent);
  box-shadow: 0 8px 32px rgba(34, 211, 238, 0.08);
}

.how-shape-cyan .how-elegant-shape-inner::after {
  background: radial-gradient(circle at 50% 50%, rgba(34, 211, 238, 0.15), transparent 70%);
}

@keyframes how-shape-enter {
  0% {
    opacity: 0;
    transform: translateY(-150px) rotate(var(--rotate-start, -15deg));
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 1;
    transform: translateY(0) rotate(var(--rotate, 0deg));
  }
}

@keyframes how-shape-float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(22px);
  }
}

section#how .max-w-7xl {
  position: relative;
  z-index: 1;
}



@media(min-width:768px) {
  /* .process-step:not(:last-child)::after {
        content: '→';
        position: absolute;
        right: -10px;
        top: 50%;
        transform: translateY(-50%);
        color: rgba(0, 102, 255, 0.25);
        font-size: 1.4rem;
        z-index: 2;
      } */
}

.glass {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
}

@media (max-width: 767px) {
  .customer-pays-section {
    width: 100%;
    margin-top: 2rem;
  }

  .glass.float-a {
    right: 0 !important;
  }

  .process-step.second-step {
    top: 0;
  }

  .process-steps {
    background-image: none;
  }

  body {
    overflow-x: hidden;
  }
}

/* ══════════════════════════════════════════════════════════════════
   COOKIE CONSENT
══════════════════════════════════════════════════════════════════ */
.ev-cookie-banner {
  position: fixed;
  bottom: clamp(1rem, 2.5vw, 1.5rem);
  right: clamp(1rem, 3vw, 2rem);
  width: min(360px, calc(100vw - 2rem));
  z-index: 95;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.4rem 1.5rem;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
  transform: translateY(calc(100% + 2.5rem));
  transition: transform 0.5s cubic-bezier(0.23, 0.86, 0.39, 0.96);
}

[data-theme="light"] .ev-cookie-banner {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.14);
}

.ev-cookie-banner.is-visible { transform: translateY(0); }
.ev-cookie-banner[hidden] { display: none; }

.ev-cookie-banner__title {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text);
  margin-bottom: 0.45rem;
}

.ev-cookie-banner__body {
  font-size: 0.775rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.ev-cookie-banner__btns {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
}

.ev-cookie-btn {
  display: block;
  width: 100%;
  padding: 0.58rem 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.775rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 10px;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s, box-shadow 0.2s;
}

.ev-cookie-btn--primary {
  background: var(--blue);
  color: #fff;
  border: 1px solid var(--blue);
  box-shadow: 0 4px 16px var(--blue-glow);
}

.ev-cookie-btn--primary:hover {
  background: var(--blue-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px var(--blue-glow);
}

.ev-cookie-btn--secondary {
  background: var(--toggle-bg);
  color: var(--text);
  border: 1px solid var(--border);
}

.ev-cookie-btn--secondary:hover {
  background: var(--toggle-active-bg);
}

.ev-cookie-btn--ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid transparent;
}

.ev-cookie-btn--ghost:hover { color: var(--text); }

.ev-cookie-banner__links {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.ev-cookie-link {
  font-size: 0.72rem;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.ev-cookie-link:hover { color: var(--blue); }

/* ── Cookie Modal */
.ev-cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.ev-cookie-modal[hidden] { display: none; }

.ev-cookie-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ev-cookie-modal.is-visible .ev-cookie-modal__backdrop { opacity: 1; }

.ev-cookie-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 600px;
  max-height: 88dvh;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: clamp(1.5rem, 4vw, 2rem);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.45);
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.23, 0.86, 0.39, 0.96), opacity 0.35s ease;
}

.ev-cookie-modal.is-visible .ev-cookie-modal__dialog { transform: translateY(0); opacity: 1; }

.ev-cookie-modal__close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--toggle-bg);
  color: var(--muted);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.ev-cookie-modal__close:hover { color: var(--text); background: var(--toggle-active-bg); }

.ev-cookie-modal__title {
  font-weight: 700;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text);
  margin-bottom: 0.7rem;
  padding-right: 2.5rem;
  line-height: 1.3;
}

.ev-cookie-modal__intro {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 1.2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--border);
}

.ev-cookie-cat {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.ev-cookie-cat__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.4rem;
}

.ev-cookie-cat__name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

.ev-cookie-cat__desc {
  font-size: 0.775rem;
  color: var(--muted);
  line-height: 1.6;
}

.ev-cookie-cat__badge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(0, 232, 122, 0.1);
  padding: 3px 9px;
  border-radius: 100px;
}

/* iOS-style toggle switch */
.ev-cookie-toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
  cursor: pointer;
}

.ev-cookie-toggle input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.ev-cookie-toggle__track {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.12);
  border-radius: 100px;
  transition: background 0.3s ease;
}

[data-theme="dark"] .ev-cookie-toggle__track { background: rgba(255, 255, 255, 0.12); }

.ev-cookie-toggle__track::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.ev-cookie-toggle input:checked + .ev-cookie-toggle__track { background: var(--blue); }
.ev-cookie-toggle input:checked + .ev-cookie-toggle__track::after { transform: translateX(20px); }

/* Modal footer buttons */
.ev-cookie-modal__footer {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 1.3rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
}

.ev-cookie-modal__footer .ev-cookie-btn { flex: 1 1 110px; width: auto; }

.ev-cookie-modal__policy {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 0.9rem;
}

@media (max-width: 480px) {
  .ev-cookie-modal__footer { flex-direction: column; }
  .ev-cookie-modal__footer .ev-cookie-btn { flex: none; width: 100%; }
}

/* ── Policy pages */
.ev-policy-wrap {
  min-height: 100vh;
  padding: clamp(7rem, 14vw, 10rem) 1.5rem clamp(4rem, 8vw, 5rem);
}

.ev-policy-inner {
  max-width: 760px;
  margin: 0 auto;
}

.ev-policy-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75rem;
  background: rgba(0, 102, 255, 0.08);
  padding: 4px 10px;
  border-radius: 100px;
}

.ev-policy-inner h1 {
  font-size: clamp(1.9rem, 4.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--text);
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}

.ev-policy-date {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.ev-policy-inner p {
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.78;
}

.ev-policy-inner h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin: 2.2rem 0 0.6rem;
  letter-spacing: -0.01em;
}

.ev-policy-inner ul {
  margin: 0 0 1rem 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.78;
}

.ev-policy-inner ul li { margin-bottom: 0.3rem; }

.ev-policy-inner strong { color: var(--text); font-weight: 600; }

.ev-policy-inner a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.ev-policy-inner a:hover { color: var(--blue-light); }

.ev-policy-inner table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2rem 0 1.6rem;
  font-size: 0.85rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.ev-policy-inner th {
  background: var(--surface-2);
  color: var(--text);
  text-align: left;
  padding: 0.65rem 1rem;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
}

.ev-policy-inner td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  vertical-align: top;
  line-height: 1.6;
}

.ev-policy-inner tr:last-child td { border-bottom: none; }

.ev-policy-inner code {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.82em;
  background: var(--toggle-bg);
  padding: 2px 6px;
  border-radius: 5px;
  color: var(--blue);
}