:root {
  --font-text:
    "SF Pro Text", "SF Pro", -apple-system, BlinkMacSystemFont,
    "Helvetica Neue", Arial, sans-serif;
  --font-display:
    "SF Pro Display", "SF Pro Text", "SF Pro", -apple-system,
    BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-sans: var(--font-text);
  --text: #111318;
  --text-soft: rgba(17, 19, 24, 0.78);
  --white: #ffffff;
  --overlay-light: rgba(255, 255, 255, 0.2);
  --overlay-dark: rgba(8, 10, 14, 0.38);
  --btn-light: rgba(244, 244, 244, 0.94);
  --btn-dark: rgba(23, 26, 32, 0.88);
  --sub-main-max: 1040px;
  --space-xl: 44px;
  --space-lg: 28px;
  --space-md: 20px;
  --space-sm: 14px;
  --card-radius: 16px;
  --card-padding: 24px;
  --card-border: 1px solid rgba(255, 255, 255, 0.08);
  --card-bg: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.02)
  );
  --card-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  --card-shadow-hover: 0 14px 36px rgba(0, 0, 0, 0.3);
  --card-title-size: clamp(1.05rem, 1.2vw, 1.25rem);
  --card-body-size: 0.95rem;
  --card-line-height: 1.6;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
h6,
.section-title,
.feature-title,
.headline {
  font-family: var(--font-display);
}

body {
  color: var(--text);
  background: #fff;
  line-height: 1.55;
  overflow-x: hidden;
}

main {
  scroll-snap-type: y proximity;
}

.subpage main {
  scroll-snap-type: none;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: 56px;
  z-index: 120;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 24px;
  --scroll-progress: 0;
  transition:
    transform 260ms ease,
    background-color 220ms ease,
    backdrop-filter 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
  will-change: transform;
}

body:not(.subpage) .site-header {
  inset: 12px 16px auto 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(8, 12, 20, 0.08);
}

body:not(.subpage) .site-header::before,
body:not(.subpage) .site-header::after {
  display: none;
}

.site-header.is-hidden,
.site-header.is-header-hidden {
  transform: translateY(calc(-100% + 4px));
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
  border-color: rgba(16, 22, 32, 0.1);
  box-shadow: 0 10px 28px rgba(8, 12, 20, 0.12);
}

.logo {
  justify-self: start;
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 4px 0;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
  transition:
    transform 220ms ease,
    opacity 220ms ease;
}

.logo-img {
  height: clamp(10px, 1.1vw, 13px);
  width: auto;
  display: block;
  filter: var(--logo-filter, brightness(0) invert(1));
  transition: filter 260ms ease;
}

.logo:hover {
  transform: translateY(-1px);
}

.site-header.is-scrolled .logo-img {
  filter: var(--logo-filter, brightness(0) invert(0));
}

.main-nav {
  display: inline-flex;
  gap: 18px;
}

.main-nav a,
.header-actions a,
.menu-btn {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 520;
  white-space: nowrap;
  transition:
    color 220ms ease,
    opacity 220ms ease;
}

.main-nav a,
.header-actions a {
  padding: 6px 0;
}

.main-nav a:hover,
.header-actions a:hover {
  opacity: 0.7;
}

.site-header.is-scrolled .main-nav a,
.site-header.is-scrolled .header-actions a,
.site-header.is-scrolled .menu-btn {
  color: #151922;
}

/* ── Subpage theme-light: dark text/logo by default (light hero bg) ── */
.subpage.theme-light .main-nav a,
.subpage.theme-light .header-actions a,
.subpage.theme-light .menu-btn {
  color: #151922;
}

.subpage.theme-light .logo-img {
  filter: brightness(0) invert(0);
}

/* ── hero-dark override: white text/logo for dark hero sections ── */
.subpage.hero-dark .site-header:not(.is-scrolled) {
  background: rgba(8, 12, 20, 0.54);
  backdrop-filter: blur(10px);
}

.subpage.hero-dark .site-header:not(.is-scrolled) .main-nav a,
.subpage.hero-dark .site-header:not(.is-scrolled) .header-actions a,
.subpage.hero-dark .site-header:not(.is-scrolled) .menu-btn {
  color: #ffffff;
}

.subpage.hero-dark .site-header:not(.is-scrolled) .logo-img {
  filter: brightness(0) invert(1);
}

.header-actions {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.menu-btn {
  border: 0;
  background: transparent;
  padding: 6px 0;
  cursor: pointer;
}

/* lang-switch styles moved to lang/lang.css */

.menu-drawer {
  position: fixed;
  inset: 0;
  z-index: 160;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 72px 24px 24px;
  background: transparent;
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease;
}

.menu-drawer.is-open {
  opacity: 1;
  pointer-events: auto;
}

.menu-drawer__panel {
  width: min(332px, calc(100vw - 32px));
  max-height: calc(100svh - 96px);
  background: rgba(255, 255, 255, 0.985);
  color: #151922;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 16px;
  box-shadow:
    0 10px 28px rgba(15, 23, 37, 0.08),
    0 1px 3px rgba(15, 23, 37, 0.04);
  overflow-y: auto;
  transform: translateY(-4px);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.menu-drawer.is-open .menu-drawer__panel {
  transform: translateY(0);
}

.drawer-close {
  width: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-left: auto;
  padding: 14px 16px 0 16px;
  border: 0;
  background: transparent;
  color: rgba(21, 25, 34, 0.78);
  font-size: 0.84rem;
  font-weight: 430;
  letter-spacing: -0.01em;
  opacity: 0.82;
  cursor: pointer;
  transition: opacity 160ms ease, color 160ms ease;
}

.drawer-close:hover {
  opacity: 1;
  color: rgba(21, 25, 34, 0.96);
}

.menu-drawer__close-label {
  display: none;
}

.menu-drawer__close-text {
  font-size: 0.84rem;
  letter-spacing: -0.01em;
}

.menu-drawer__content {
  display: block;
  max-width: none;
  padding: 10px 18px 18px;
}

.menu-drawer__nav-block {
  min-width: 0;
}

.menu-drawer__eyebrow {
  display: none;
}

.menu-drawer__nav {
  display: grid;
  gap: 0;
}

.menu-drawer__nav a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0;
  border-bottom: 1px solid rgba(19, 26, 41, 0.05);
  text-decoration: none;
  color: #171c24;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    opacity 180ms ease;
}

.menu-drawer__nav a::after {
  content: none;
}

.menu-drawer__nav a::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #11151c;
  transform: translateY(-50%) scale(0);
  opacity: 0;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-drawer__nav a:hover {
  opacity: 0.66;
}

.menu-drawer__nav a.is-current {
  color: #171c24;
  padding-left: 0;
}

.menu-drawer__nav a.is-current::before {
  opacity: 0;
  transform: translateY(-50%) scale(0);
}

.menu-drawer__brand {
  display: none;
}

.menu-drawer__brand-kicker {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(21, 25, 34, 0.45);
}

.menu-drawer__brand-title {
  margin: 0;
  font-size: clamp(1.45rem, 2.5vw, 2.15rem);
  font-weight: 560;
  letter-spacing: -0.055em;
  line-height: 1.02;
  text-wrap: balance;
}

.menu-drawer__brand-copy {
  margin: 0;
  max-width: 30ch;
  color: rgba(21, 25, 34, 0.7);
  font-size: 0.98rem;
  line-height: 1.65;
}

.menu-drawer__brand-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.menu-drawer__brand-tags li {
  padding: 7px 11px;
  border: 1px solid rgba(19, 26, 41, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
  color: rgba(21, 25, 34, 0.76);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.panel {
  position: relative;
  min-height: 100svh;
  padding: 84px 24px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  scroll-snap-align: start;
  overflow: hidden;
  --parallax: 0px;
  --panel-scale: 1;
  --panel-tone: 1;
  --panel-brightness: 1;
  --content-lag: 0px;
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: translateY(var(--parallax)) scale(calc(1.06 * var(--panel-scale)));
  filter: saturate(var(--panel-tone)) brightness(var(--panel-brightness));
  transition:
    transform 680ms cubic-bezier(0.22, 0.72, 0.14, 1),
    filter 680ms cubic-bezier(0.22, 0.72, 0.14, 1);
}

.panel-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transform: scale(calc(1 * var(--panel-scale)));
  filter: saturate(var(--panel-tone)) brightness(var(--panel-brightness));
  transition:
    transform 700ms cubic-bezier(0.22, 0.72, 0.14, 1),
    filter 700ms cubic-bezier(0.22, 0.72, 0.14, 1);
}

.panel-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    var(--overlay-light) 0%,
    rgba(255, 255, 255, 0.02) 45%,
    var(--overlay-dark) 100%
  );
}

.panel-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(6, 10, 16, 0.16) 0%,
    rgba(6, 10, 16, 0) 20%,
    rgba(6, 10, 16, 0) 78%,
    rgba(6, 10, 16, 0.2) 100%
  );
  pointer-events: none;
}

.panel::after {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(255, 255, 255, 0.08),
    transparent 55%
  );
  animation: drift 12s ease-in-out infinite;
}

.panel-content,
.panel-actions,
.panel-footer {
  position: relative;
  z-index: 2;
  transform: translateY(var(--content-lag));
  transition:
    transform 560ms cubic-bezier(0.22, 0.72, 0.14, 1),
    filter 560ms ease,
    opacity 560ms ease;
}

.panel-content {
  margin-top: 8vh;
  max-width: 860px;
}

.panel-animate {
  opacity: 0;
  transform: translateY(calc(24px + var(--content-lag)));
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

.panel.is-active .panel-animate {
  opacity: 1;
  transform: translateY(var(--content-lag));
}

.panel.is-active {
  --panel-scale: 1.02;
  --panel-tone: 1.05;
  --panel-brightness: 1.02;
}

.panel.is-neighbor {
  --panel-scale: 1;
  --panel-tone: 0.9;
  --panel-brightness: 0.92;
}

.panel.is-far {
  --panel-scale: 0.985;
  --panel-tone: 0.84;
  --panel-brightness: 0.88;
}

.panel.is-neighbor .panel-content,
.panel.is-neighbor .panel-actions,
.panel.is-neighbor .panel-footer {
  transform: translateY(calc(10px + var(--content-lag))) scale(0.992);
  filter: blur(0.4px);
}

.panel.is-far .panel-content,
.panel.is-far .panel-actions,
.panel.is-far .panel-footer {
  transform: translateY(calc(18px + var(--content-lag))) scale(0.985);
  filter: blur(0.8px);
  opacity: 0.82;
}

.eyebrow {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  letter-spacing: -0.03em;
  line-height: 1.04;
}

h1 {
  margin-top: 8px;
  font-size: clamp(2.35rem, 6.3vw, 4.9rem);
  font-weight: 600;
}

h2 {
  font-size: clamp(2rem, 5.6vw, 4rem);
  font-weight: 600;
}

.sub {
  margin: 10px auto 0;
  max-width: 50ch;
  font-size: clamp(1rem, 2.1vw, 1.26rem);
  color: var(--text-soft);
}

.panel-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 265px));
  gap: 14px;
  margin-bottom: 28px;
}

.panel-aio::before {
  background-image: none;
}

.panel-aio .panel-overlay {
  background:
    linear-gradient(180deg, rgba(8, 12, 20, 0.16) 0%, rgba(8, 12, 20, 0.34) 54%, rgba(8, 12, 20, 0.54) 100%),
    radial-gradient(90% 50% at 50% 94%, rgba(10, 16, 30, 0.48) 0%, rgba(10, 16, 30, 0) 78%);
}

.panel-aio .panel-content {
  margin-top: 12vh;
  max-width: 880px;
}

.panel-aio .aio-shell {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: clamp(16px, 1.8vw, 24px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(180deg, rgba(8, 12, 20, 0.3), rgba(8, 12, 20, 0.2));
  backdrop-filter: blur(10px);
  box-shadow: 0 24px 48px rgba(2, 6, 16, 0.34);
}

.aio-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.aio-status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(220, 237, 255, 0.08);
  font-size: 0.68rem;
  font-weight: 620;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(238, 247, 255, 0.9);
}

.panel-aio .eyebrow {
  color: rgba(243, 248, 255, 0.9);
  letter-spacing: 0.11em;
}

.panel-aio h2 {
  margin-top: 14px;
  color: #ffffff;
  font-size: clamp(2.1rem, 5.5vw, 4.4rem);
  text-wrap: balance;
  text-shadow: 0 12px 32px rgba(0, 0, 0, 0.42);
}

.panel-aio .sub {
  margin-top: 14px;
  max-width: 50ch;
  color: rgba(241, 247, 255, 0.9);
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.32);
}

.aio-signal-row {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.aio-signal {
  min-height: 66px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(180deg, rgba(8, 12, 20, 0.34), rgba(8, 12, 20, 0.22));
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 2px;
}

.aio-signal-value {
  font-size: clamp(1rem, 1.45vw, 1.2rem);
  font-weight: 620;
  letter-spacing: -0.015em;
  color: #ffffff;
}

.aio-signal-label {
  font-size: 0.68rem;
  font-weight: 560;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(235, 242, 255, 0.78);
}

.panel-aio .panel-actions {
  margin-bottom: 34px;
  grid-template-columns: repeat(2, minmax(0, 230px));
  gap: 12px;
}

.panel-aio .panel-actions .btn {
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(4px);
}

.panel-aio .panel-actions .btn-light {
  color: #f7fbff;
  background: rgba(244, 248, 255, 0.14);
}

.panel-aio .panel-actions .btn-dark {
  color: #0f1624;
  background: rgba(248, 252, 255, 0.92);
  border-color: rgba(248, 252, 255, 0.92);
}

/* ── WattDesk panel ── */

.panel-desk.panel-contact::before {
  background-image:
    radial-gradient(ellipse 60% 50% at 50% 38%, rgba(50, 100, 200, 0.05) 0%, transparent 70%),
    linear-gradient(170deg, #0a0a0e 0%, #07070a 50%, #040406 100%);
}

.panel-desk .panel-overlay { background: none; }

.panel-desk {
  justify-content: center;
  gap: 28px;
}

.panel-desk .panel-content {
  margin-top: 0;
  max-width: 980px;
  width: 100%;
  perspective: 1400px;
}

/* ─ Stage: holds text + screen in spatial composition ─ */
.desk-stage {
  position: relative;
  width: 100%;
  min-height: clamp(440px, 56vh, 620px);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ─ Hero text — the visual focus ─ */
.desk-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 520px;
}

.desk-header-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.desk-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.6rem;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(210, 215, 225, 0.72);
}

.panel-desk .eyebrow {
  color: rgba(170, 178, 200, 0.50);
  letter-spacing: 0.12em;
  font-size: 0.70rem;
}

.panel-desk h2 {
  margin-top: 16px;
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  text-align: center;
  letter-spacing: -0.045em;
  line-height: 1.0;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.panel-desk .sub {
  margin-top: 14px;
  max-width: 42ch;
  font-size: clamp(0.88rem, 1.2vw, 1rem);
  line-height: 1.72;
  color: rgba(180, 188, 210, 0.50);
  text-align: center;
}

/* ─ Signal row ─ */
.desk-signal-row {
  margin-top: clamp(18px, 2vw, 26px);
  display: flex;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
}

.desk-signal {
  flex: 1;
  padding: 12px 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  display: grid;
  gap: 3px;
  align-content: center;
}

.desk-signal:last-child { border-right: none; }

.desk-signal-value {
  font-size: clamp(0.92rem, 1.2vw, 1.1rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  color: rgba(240, 242, 250, 0.90);
}

.desk-signal-label {
  font-size: 0.56rem;
  font-weight: 560;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(150, 158, 180, 0.42);
}

/* ─ Screenshot — tilted 3D decorative element ─ */
.desk-screen {
  position: absolute;
  right: -4%;
  top: 50%;
  width: 92%;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  overflow: hidden;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transform:
    translateY(-46%)
    perspective(1200px)
    rotateY(-18deg)
    rotateX(3deg);
  transform-origin: right center;
  opacity: 0.35;
  filter: brightness(0.7) saturate(0.8);
  box-shadow:
    0 40px 100px -20px rgba(0, 0, 0, 0.6),
    0 16px 48px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  animation: desk-drift 20s ease-in-out infinite;
  z-index: 1;
}

@keyframes desk-drift {
  0%, 100% { transform: translateY(-46%) perspective(1200px) rotateY(-18deg) rotateX(3deg); }
  50%      { transform: translateY(-47%) perspective(1200px) rotateY(-17.4deg) rotateX(2.5deg); }
}

.desk-screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
}

/* Map marker pulses */
.desk-dot {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 55, 95, 0.9);
  box-shadow:
    0 0 12px 4px rgba(255, 55, 95, 0.5),
    0 0 24px 8px rgba(255, 55, 95, 0.15);
  z-index: 3;
  pointer-events: none;
}

.desk-dot::before,
.desk-dot::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(255, 55, 95, 0.6);
  animation: desk-pulse 4.5s ease-out infinite;
}

.desk-dot::after {
  animation-delay: 2.25s;
}

/* Stagger each dot */
.desk-dot:nth-child(2) { animation-delay: 0.3s; }
.desk-dot:nth-child(2)::before { animation-delay: 0.3s; }
.desk-dot:nth-child(2)::after  { animation-delay: 1.8s; }
.desk-dot:nth-child(3)::before { animation-delay: 0.7s; }
.desk-dot:nth-child(3)::after  { animation-delay: 2.2s; }
.desk-dot:nth-child(4)::before { animation-delay: 1.1s; }
.desk-dot:nth-child(4)::after  { animation-delay: 2.6s; }
.desk-dot:nth-child(5)::before { animation-delay: 0.5s; }
.desk-dot:nth-child(5)::after  { animation-delay: 2.0s; }
.desk-dot:nth-child(6)::before { animation-delay: 1.4s; }
.desk-dot:nth-child(6)::after  { animation-delay: 2.9s; }
.desk-dot:nth-child(7)::before { animation-delay: 0.9s; }
.desk-dot:nth-child(7)::after  { animation-delay: 2.4s; }
.desk-dot:nth-child(8)::before { animation-delay: 1.7s; }
.desk-dot:nth-child(8)::after  { animation-delay: 0.2s; }
.desk-dot:nth-child(9)::before { animation-delay: 0.6s; }
.desk-dot:nth-child(9)::after  { animation-delay: 2.1s; }

@keyframes desk-pulse {
  0%   { transform: scale(1); opacity: 0.5; }
  70%  { transform: scale(2.4); opacity: 0; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* Subtle light sweep */
.desk-screen-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 44%,
    rgba(255, 255, 255, 0.025) 48%,
    rgba(255, 255, 255, 0.045) 50%,
    rgba(255, 255, 255, 0.025) 52%,
    transparent 56%,
    transparent 100%
  );
  animation: desk-shine 14s ease-in-out infinite;
  pointer-events: none;
}

@keyframes desk-shine {
  0%, 30%  { transform: translateX(-150%); }
  70%, 100% { transform: translateX(150%); }
}

/* Top edge glow */
.desk-screen::after {
  content: "";
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
}

/* ─ CTAs ─ */
.desk-actions {
  margin-bottom: 28px;
  grid-template-columns: repeat(2, minmax(0, 210px));
  gap: 10px;
}

.desk-actions .btn {
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(8px);
}

.desk-actions .btn-light {
  color: rgba(220, 225, 235, 0.85);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.10);
}

.desk-actions .btn-dark {
  color: #0a0c14;
  background: rgba(238, 242, 255, 0.90);
  border-color: rgba(238, 242, 255, 0.90);
}

.panel-desk .panel-footer {
  color: rgba(130, 138, 160, 0.28);
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  height: 40px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition:
    transform 220ms ease,
    background-color 220ms ease,
    opacity 220ms ease;
}

.btn-light {
  color: #191d25;
  background: var(--btn-light);
}

.btn-dark {
  color: rgba(255, 255, 255, 0.95);
  background: var(--btn-dark);
}

.btn:hover {
  transform: translateY(-1px);
}

.progress-nav {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 130;
  display: grid;
  gap: 10px;
}

.progress-nav a {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(17, 19, 24, 0.3);
  transition:
    transform 220ms ease,
    background-color 220ms ease;
}

.progress-nav a.is-active {
  transform: scale(1.55);
  background: #111318;
}

.panel-footer {
  margin-bottom: 6px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.84);
}

.panel-home::before {
  background-image: none;
}

.panel-home .panel-overlay {
  background: linear-gradient(
    180deg,
    rgba(12, 16, 24, 0.06) 0%,
    rgba(12, 16, 24, 0.1) 52%,
    rgba(10, 14, 20, 0.2) 100%
  );
}

.panel-home .home-copy {
  margin-top: 12vh;
  max-width: 940px;
  animation: homeFloat 10s ease-in-out infinite;
  position: relative;
  transform-style: preserve-3d;
  perspective: 1200px;
  isolation: isolate;
}

.panel-home::after {
  display: none;
}

body.low-power .panel .panel-video {
  display: none;
}

body.low-power .panel-home::before {
  background-image:
    radial-gradient(
      circle at 20% 15%,
      rgba(255, 255, 255, 0.3) 0%,
      transparent 40%
    ),
    linear-gradient(160deg, #74829a 0%, #536076 44%, #394457 100%);
}

body.low-power .panel-aio::before {
  background-image:
    radial-gradient(circle at 76% 18%, rgba(188, 220, 255, 0.26) 0%, transparent 46%),
    linear-gradient(150deg, #55637d 0%, #37465e 48%, #1f2a3f 100%);
}

body.low-power .panel::after,
body.low-power .panel-home .home-copy,
body.low-power .panel-home .home-copy .eyebrow,
body.low-power .panel-home .home-copy h1,
body.low-power .panel-home .home-copy h1::before,
body.low-power .panel-home .home-copy h1::after,
body.low-power .panel-home .home-copy .sub,
body.low-power .panel-home .home-actions .btn::after {
  animation: none !important;
}

body.low-power .panel::before,
body.low-power .panel-animate,
body.low-power .btn,
body.low-power .progress-nav a {
  transition: none !important;
}

.panel-home .home-copy .eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: rgba(250, 252, 255, 0.98);
  letter-spacing: 0.09em;
  font-weight: 600;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.panel-home .home-copy h1 {
  margin-top: 14px;
  max-width: 12ch;
  font-size: clamp(3rem, 6.6vw, 6.1rem);
  letter-spacing: -0.04em;
  line-height: 0.94;
  color: #ffffff;
  text-wrap: balance;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.28),
    0 2px 4px rgba(194, 212, 243, 0.16),
    0 10px 20px rgba(4, 8, 14, 0.34),
    0 20px 34px rgba(4, 8, 14, 0.22),
    0 34px 52px rgba(4, 8, 14, 0.16);
  position: relative;
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: none;
  -webkit-text-fill-color: #ffffff;
}

.panel-home .home-copy h1::before {
  display: none;
}

.panel-home .home-copy h1::after {
  display: none;
}

.panel-home .home-copy .sub {
  margin-top: 16px;
  max-width: 50ch;
  font-size: clamp(1rem, 1.75vw, 1.16rem);
  line-height: 1.75;
  color: rgba(241, 248, 255, 0.95);
  text-wrap: pretty;
  text-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.panel-home.is-active .home-copy .eyebrow {
  animation: heroTextIn 0.9s cubic-bezier(0.2, 0.72, 0.2, 1) 0.06s both;
}

.panel-home.is-active .home-copy h1 {
  animation: heroTextIn 1.05s cubic-bezier(0.2, 0.72, 0.2, 1) 0.18s both;
}

.panel-home.is-active .home-copy .sub {
  animation: heroTextIn 1s cubic-bezier(0.2, 0.72, 0.2, 1) 0.34s both;
}

.panel-home .home-actions {
  margin-bottom: 34px;
  grid-template-columns: repeat(2, minmax(0, 230px));
  gap: 12px;
}

.panel-home .home-actions .btn {
  height: 42px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.24);
  position: relative;
  overflow: hidden;
}

.panel-home .home-actions .btn-light {
  color: #f7fbff;
  background: rgba(244, 248, 255, 0.14);
}

.panel-home .home-actions .btn-dark {
  color: #0f1624;
  background: rgba(248, 252, 255, 0.92);
  border-color: rgba(248, 252, 255, 0.92);
}

.panel-home .home-actions .btn::after {
  content: "";
  position: absolute;
  top: -40%;
  left: -30%;
  width: 26%;
  height: 180%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.35),
    rgba(255, 255, 255, 0)
  );
  transform: rotate(18deg);
  animation: btnSweep 5.8s ease-in-out infinite;
}

.panel-home .home-actions .btn:hover::after {
  animation-duration: 1.8s;
}

/* ── Generic signal row (Panel 3 & 4) ── */

.signal-row {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 620px;
  margin-inline: auto;
}

.signal-card {
  min-height: 62px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(8px);
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 2px;
}

.signal-value {
  font-size: clamp(0.95rem, 1.3vw, 1.15rem);
  font-weight: 620;
  letter-spacing: -0.015em;
  color: #ffffff;
}

.signal-label {
  font-size: 0.66rem;
  font-weight: 560;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(235, 242, 255, 0.72);
}

/* Light-background panels — dark text signal cards */
.panel-ci .signal-card,
.panel-platform .signal-card {
  border-color: rgba(0, 0, 0, 0.10);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0.22));
  backdrop-filter: blur(12px);
}

.panel-ci .signal-value,
.panel-platform .signal-value {
  color: #1a1e28;
}

.panel-ci .signal-label,
.panel-platform .signal-label {
  color: rgba(26, 30, 40, 0.60);
}

.panel-ci::before {
  background-image:
    radial-gradient(
      circle at 15% 10%,
      rgba(255, 255, 255, 0.22) 0%,
      transparent 35%
    ),
    linear-gradient(160deg, #9aa5b8 0%, #6f7b90 48%, #454e5c 100%);
}

.panel-platform::before {
  background-image:
    radial-gradient(
      circle at 76% 15%,
      rgba(84, 111, 255, 0.45) 0%,
      transparent 34%
    ),
    linear-gradient(160deg, #d9def0 0%, #9ca8c4 44%, #5d6880 100%);
}

/* iMeter product hero — centered background focal point */
.panel-product-img {
  position: absolute;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  width: clamp(480px, 66vw, 900px);
  opacity: 0.34;
  filter: brightness(0.88) saturate(0.6);
  pointer-events: none;
  z-index: 0;
  animation: imeter-drift 20s ease-in-out infinite;
}

@keyframes imeter-drift {
  0%, 100% { transform: translate(-50%, -50%); }
  50%      { transform: translate(-50%, -51.5%); }
}

.panel-contact::before {
  background-image:
    radial-gradient(
      circle at 50% 12%,
      rgba(255, 255, 255, 0.52) 0%,
      transparent 42%
    ),
    linear-gradient(165deg, #d8e1f0 0%, #a4b3c8 48%, #6d7a8d 100%);
}

/* Pause drift animation on off-screen panels for GPU savings */
.panel.is-far::after {
  animation-play-state: paused;
}

@keyframes drift {
  0% {
    transform: translate3d(-2%, -1%, 0);
  }
  50% {
    transform: translate3d(2%, 1%, 0);
  }
  100% {
    transform: translate3d(-2%, -1%, 0);
  }
}

@media (max-width: 1120px) {
  .progress-nav {
    display: none;
  }

  .site-header {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    padding-inline: 14px;
  }

  body:not(.subpage) .site-header {
    inset: 10px 12px auto 12px;
  }

  .main-nav {
    justify-content: center;
    gap: 10px;
    min-width: 0;
  }

  .main-nav a {
    font-size: 0.75rem;
    letter-spacing: 0.01em;
  }

  .header-actions a {
    display: none;
  }
}

@media (max-width: 980px) {
  .lang-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 16px;
  }

  .lang-grid::before {
    left: calc(50% - 8px);
  }

  .lang-grid::after {
    display: none;
  }

  .aio-signal-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1320px) {
  .main-nav {
    gap: 14px;
  }
}

@media (max-width: 760px) {
  .main-nav {
    display: none;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    gap: 8px;
    padding-inline: 14px;
  }

  .header-actions a {
    display: none;
  }

  /* lang-switch responsive rules live in lang/lang.css */

  .panel {
    padding-inline: 14px;
    padding-bottom: 34px;
  }

  .panel-actions {
    grid-template-columns: 1fr;
    width: min(100%, 320px);
    gap: 10px;
    margin-bottom: 14px;
  }

  .aio-shell {
    border-radius: 16px;
    padding: 16px 14px;
  }

  .aio-header-row {
    align-items: center;
  }

  .aio-signal-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .aio-signal {
    min-height: 64px;
  }

  .panel-aio .panel-actions {
    grid-template-columns: 1fr;
  }

  /* Strengthen overlay on mobile for video panels */
  .panel-home .panel-overlay,
  .panel-aio .panel-overlay,
  .panel-ci .panel-overlay {
    background: linear-gradient(
      180deg,
      rgba(8, 12, 20, 0.18) 0%,
      rgba(8, 12, 20, 0.28) 40%,
      rgba(8, 12, 20, 0.48) 100%
    );
  }

  /* Signal row → 2 columns on tablet */
  .signal-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .btn {
    height: 44px;
  }

  .desk-screen {
    right: -8%;
    width: 95%;
    opacity: 0.20;
  }

  .desk-copy {
    max-width: 90%;
  }

  .desk-actions {
    grid-template-columns: 1fr;
    width: min(100%, 320px);
  }
}

@media (max-width: 560px) {
  main {
    scroll-snap-type: y proximity;
  }

  .site-header {
    height: 52px;
    padding-inline: 12px;
  }

  body:not(.subpage) .site-header {
    inset: 8px 10px auto 10px;
  }

  .logo-img {
    height: 16px;
  }

  .menu-drawer {
    padding: 64px 12px 12px;
  }

  .menu-drawer__panel {
    width: min(332px, calc(100vw - 24px));
    max-height: calc(100svh - 76px);
    border-radius: 14px;
  }

  .drawer-close {
    padding: 14px 16px 0 16px;
  }

  .menu-drawer__content {
    padding: 8px 16px 16px;
  }

  .menu-drawer__nav a {
    min-height: 42px;
    font-size: 0.9rem;
  }

  .panel {
    min-height: 100dvh;
    padding: 74px 12px 28px;
  }

  .panel-content {
    margin-top: 10vh;
    max-width: 100%;
  }

  .panel-home .home-copy h1 {
    font-size: clamp(2.2rem, 10.8vw, 3.45rem);
    line-height: 0.96;
  }

  .panel-home .home-copy .sub,
  .sub {
    font-size: 0.95rem;
    line-height: 1.62;
  }

  .aio-header-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .aio-status {
    min-height: 24px;
    font-size: 0.64rem;
  }

  .aio-signal-row {
    grid-template-columns: 1fr;
  }

  .signal-row {
    grid-template-columns: 1fr;
  }

  .desk-stage {
    min-height: clamp(340px, 50vh, 460px);
  }

  .desk-screen {
    position: absolute;
    right: auto;
    left: 50%;
    top: auto;
    bottom: -10%;
    width: 90%;
    transform: translateX(-50%) perspective(800px) rotateX(8deg);
    transform-origin: center bottom;
    opacity: 0.18;
    animation: none;
  }

  .desk-copy {
    max-width: 94%;
  }

  .desk-signal-row {
    flex-direction: column;
    border-radius: 10px;
  }

  .desk-signal {
    padding: 9px 12px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .desk-signal:last-child {
    border-bottom: none;
  }

  .btn {
    height: 44px;
    font-size: 0.84rem;
  }

  .sub-main,
  .products-pw .sub-main,
  .products-wc .sub-main {
    width: calc(100% - 20px);
  }

  .content-shell {
    padding: 18px 14px;
    border-radius: 14px;
  }

  .timeline-list article {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .timeline-list span {
    font-size: 0.78rem;
  }
}

@media (max-width: 420px) {
  .site-header {
    padding-inline: 10px;
  }

  .logo-img {
    height: 14px;
  }

  .menu-btn {
    font-size: 0.8rem;
  }

  .panel {
    padding-inline: 10px;
  }

  .panel-home .home-copy h1 {
    font-size: clamp(2rem, 10.6vw, 2.9rem);
  }

  .panel-home .home-copy .eyebrow {
    min-height: 34px;
    padding: 6px 12px;
    font-size: 0.72rem;
    letter-spacing: 0.07em;
  }
}

@media (max-height: 640px) and (orientation: landscape) {
  main {
    scroll-snap-type: none;
  }

  .panel {
    min-height: 128vh;
    padding-top: 66px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .panel::before,
  .panel::after,
  .panel-video,
  .panel-animate,
  .btn,
  .progress-nav a,
  .subpage::before,
  .subpage::after,
  .sub-hero::before,
  .reveal-item,
  .grid-cards article,
  .panel-home .home-copy,
  .panel-home .home-copy .eyebrow,
  .panel-home .home-copy h1,
  .panel-home .home-copy h1::before,
  .panel-home .home-copy h1::after,
  .panel-home .home-copy .sub,
  .panel-home .home-actions .btn::after {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }

  .logo,
  .logo::after {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

/* products page ultra-clean neutral card refinement */
body.subpage.tesla-wattcision {
  --wc-clean-card-bg: linear-gradient(180deg, #ffffff 0%, #fdfdfe 100%);
  --wc-clean-card-border: 1px solid rgba(17, 21, 29, 0.065);
  --wc-clean-card-shadow: 0 5px 14px rgba(16, 24, 40, 0.045);
  --wc-clean-card-shadow-hover: 0 8px 18px rgba(16, 24, 40, 0.075);
}

body.subpage.tesla-wattcision
  :is(
    .wc-ev-arbitrage,
    .wc-ev-engineering,
    .wc-ev-flow-card,
    .wc-ev-phase-card,
    .wc-ev-scene-card,
    .wc-scale-scenarios article,
    .wc-scale-path,
    .wc-scale-pillars,
    .wc-scale-topology,
    .wc-scale-specs,
    .wc-scale-icons,
    .wc-topology-panel,
    .wc-app-hub,
    .wc-app-detail
  ) {
  background: var(--wc-clean-card-bg) !important;
  border: var(--wc-clean-card-border) !important;
  box-shadow: var(--wc-clean-card-shadow) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body.subpage.tesla-wattcision
  :is(
    .wc-ev-arbitrage,
    .wc-ev-engineering,
    .wc-ev-flow-card,
    .wc-ev-phase-card,
    .wc-ev-scene-card,
    .wc-scale-scenarios article,
    .wc-scale-path,
    .wc-scale-pillars,
    .wc-scale-topology,
    .wc-scale-specs,
    .wc-scale-icons,
    .wc-topology-panel,
    .wc-app-hub,
    .wc-app-detail
  ):hover {
  box-shadow: var(--wc-clean-card-shadow-hover) !important;
}

body.subpage.tesla-wattcision :is(.wc-scale-scenarios article)::before,
body.subpage.tesla-wattcision :is(.wc-scale-scenarios article)::after {
  display: none !important;
}

/* feature cards: flagship minimal premium */
body.subpage.tesla-wattcision .wc-section--features .wc-feature-card {
  background: linear-gradient(180deg, #ffffff 0%, #fdfefe 100%);
  border: 1px solid rgba(17, 21, 29, 0.08);
  box-shadow: 0 8px 16px rgba(16, 24, 40, 0.05);
}

body.subpage.tesla-wattcision .wc-section--features .wc-feature-card::after {
  opacity: 1 !important;
  border: 0;
  border-top: 1px solid rgba(28, 33, 43, 0.12);
  border-radius: 0;
}

body.subpage.tesla-wattcision .wc-section--features .wc-feature-card::before {
  opacity: 1 !important;
  background: radial-gradient(
    120% 80% at 0% 0%,
    rgba(162, 185, 220, 0.11) 0%,
    rgba(162, 185, 220, 0) 60%
  );
}

body.subpage.tesla-wattcision .wc-section--features .wc-feature-card:hover,
body.subpage.tesla-wattcision .wc-section--features .wc-feature-card.is-active {
  transform: translateY(-2px);
  border-color: rgba(17, 21, 29, 0.14);
  box-shadow: 0 12px 22px rgba(16, 24, 40, 0.08);
}

body.subpage.tesla-wattcision .wc-section--features .wc-feature-card h3,
body.subpage.tesla-wattcision .wc-section--features .wc-feature-card p {
  color: #1b2433;
}

body.subpage.tesla-wattcision .wc-section--features .wc-feature-card p {
  color: rgba(27, 36, 51, 0.74);
}

body.subpage.tesla-wattcision .wc-section--features .wc-feature-card--accent {
  background: linear-gradient(180deg, #ffffff 0%, #fcfcfd 100%);
  border-color: rgba(17, 21, 29, 0.08);
}

body.subpage.tesla-wattcision
  .wc-section--features
  .wc-feature-card--accent::after {
  border-top-color: rgba(162, 132, 88, 0.34);
}

body.subpage.tesla-wattcision
  .wc-section--features
  .wc-feature-card--accent::before {
  background: radial-gradient(
    120% 85% at 0% 0%,
    rgba(245, 181, 102, 0.2) 0%,
    rgba(245, 181, 102, 0) 58%
  );
}

body.subpage.tesla-wattcision .wc-section--features .wc-feature-card--dark {
  background: linear-gradient(180deg, #ffffff 0%, #fcfcfd 100%);
  border-color: rgba(17, 21, 29, 0.08);
}

body.subpage.tesla-wattcision
  .wc-section--features
  .wc-feature-card--dark::after {
  border-top-color: rgba(103, 125, 154, 0.32);
}

body.subpage.tesla-wattcision
  .wc-section--features
  .wc-feature-card--dark::before {
  background: radial-gradient(
    120% 85% at 0% 0%,
    rgba(122, 161, 228, 0.18) 0%,
    rgba(122, 161, 228, 0) 58%
  );
}

body.subpage.tesla-wattcision .wc-section--features .wc-feature-card--gradient {
  background: linear-gradient(180deg, #ffffff 0%, #fcfcfd 100%);
  border-color: rgba(17, 21, 29, 0.08);
}

body.subpage.tesla-wattcision
  .wc-section--features
  .wc-feature-card--gradient::after {
  border-top-color: rgba(104, 136, 116, 0.32);
}

body.subpage.tesla-wattcision
  .wc-section--features
  .wc-feature-card--gradient::before {
  background: radial-gradient(
    120% 85% at 0% 0%,
    rgba(132, 207, 168, 0.2) 0%,
    rgba(132, 207, 168, 0) 58%
  );
}

body.subpage.tesla-wattcision .wc-section--features .wc-feature-card--media,
body.subpage.tesla-wattcision
  .wc-section--features
  .wc-feature-card--media-dark {
  color: #f7f9fd;
  border-color: rgba(17, 21, 29, 0.08);
  box-shadow: 0 8px 16px rgba(16, 24, 40, 0.08);
}

body.subpage.tesla-wattcision
  .wc-section--features
  .wc-feature-card--media::after,
body.subpage.tesla-wattcision
  .wc-section--features
  .wc-feature-card--media-dark::after {
  border-top-color: rgba(214, 223, 240, 0.4);
}

body.subpage.tesla-wattcision
  .wc-section--features
  .wc-feature-card--media::before {
  background:
    linear-gradient(
      114deg,
      rgba(10, 16, 28, 0.48) 0%,
      rgba(10, 16, 28, 0.2) 46%,
      rgba(10, 16, 28, 0.44) 100%
    ),
    url("./assets/feature-card-ev-exploded-resource1-premium-v2.jpg") center /
      cover no-repeat;
}

body.subpage.tesla-wattcision
  .wc-section--features
  .wc-feature-card--media-dark::before {
  background: linear-gradient(
    130deg,
    rgba(18, 28, 46, 0.78) 0%,
    rgba(27, 40, 67, 0.58) 55%,
    rgba(20, 31, 51, 0.72) 100%
  );
}

body.subpage.tesla-wattcision .wc-section--features .wc-feature-card--media p,
body.subpage.tesla-wattcision
  .wc-section--features
  .wc-feature-card--media-dark
  p {
  color: rgba(239, 243, 251, 0.9);
}

body.subpage.tesla-wattcision .wc-section--features .wc-feature-card--media h3,
body.subpage.tesla-wattcision
  .wc-section--features
  .wc-feature-card--media-dark
  h3 {
  color: #f8fbff;
}

body.subpage.tesla-wattcision :is(.wc-topology-tabs, .wc-app-tabs) {
  background: transparent !important;
}

body.subpage.tesla-wattcision :is(.wc-topology-tab, .wc-app-tab) {
  background: #ffffff !important;
  border: var(--wc-clean-card-border) !important;
  box-shadow: none !important;
  color: rgba(17, 24, 39, 0.68) !important;
}

body.subpage.tesla-wattcision
  :is(.wc-topology-tab.is-active, .wc-app-tab.is-active) {
  border-color: rgba(17, 21, 29, 0.16) !important;
  color: #111827 !important;
  box-shadow: 0 3px 8px rgba(16, 24, 40, 0.06) !important;
}

body.subpage.tesla-wattcision .wc-app-tab::after {
  background: linear-gradient(
    90deg,
    rgba(17, 24, 39, 0.66),
    rgba(17, 24, 39, 0.34)
  ) !important;
}

body.subpage.tesla-wattcision .wc-app-hero {
  background: #f9fafb !important;
  box-shadow: var(--wc-clean-card-shadow) !important;
}

body.subpage.tesla-wattcision .wc-app-hero-mask {
  background: linear-gradient(
    130deg,
    rgba(7, 12, 22, 0.03),
    rgba(7, 12, 22, 0.006)
  ) !important;
}

body.subpage.tesla-wattcision .wc-scale-kpi,
body.subpage.tesla-wattcision .wc-app-meta {
  background: rgba(255, 255, 255, 0.95) !important;
  border: 1px solid rgba(17, 21, 29, 0.08) !important;
  color: #1a2230 !important;
}

.main-nav a.is-current,
.header-actions a.is-current {
  opacity: 1;
}

.subpage {
  position: relative;
  overflow-x: clip;
  background: linear-gradient(180deg, #f9fafc 0%, #edf2f8 100%);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.subpage > main {
  flex: 1;
}

.subpage.tesla-wattcision {
  background: #ffffff;
}

.subpage.tesla-wattcision::before,
.subpage.tesla-wattcision::after {
  display: none;
}

/* Hero contrast guard for light-page mode (dark hero only) */
.subpage.tesla-wattcision .site-header:not(.is-scrolled) {
  background: rgba(8, 12, 20, 0.54);
  backdrop-filter: blur(10px);
}

.subpage.tesla-wattcision .site-header:not(.is-scrolled) .logo,
.subpage.tesla-wattcision .site-header:not(.is-scrolled) .main-nav a,
.subpage.tesla-wattcision .site-header:not(.is-scrolled) .header-actions a,
.subpage.tesla-wattcision .site-header:not(.is-scrolled) .menu-btn {
  color: rgba(245, 248, 255, 0.95) !important;
}

.subpage.tesla-wattcision #wc-hero .wc-hero-mask {
  background: linear-gradient(
    180deg,
    rgba(6, 9, 14, 0.28) 0%,
    rgba(6, 9, 14, 0.62) 58%,
    rgba(6, 9, 14, 0.84) 100%
  );
}

.subpage.tesla-wattcision #wc-hero .wc-kicker {
  color: rgba(224, 232, 247, 0.84) !important;
}

.subpage.tesla-wattcision #wc-hero .wc-title {
  color: #f7faff !important;
  text-shadow: 0 8px 26px rgba(2, 6, 12, 0.34);
}

.subpage.tesla-wattcision #wc-hero .wc-subtitle {
  color: rgba(224, 232, 247, 0.9) !important;
  text-shadow: 0 6px 18px rgba(2, 6, 12, 0.28);
}

.subpage.tesla-wattcision #wc-hero .wc-btn--primary {
  background: rgba(247, 249, 252, 0.96);
  color: #0f141c;
}

.subpage.tesla-wattcision #wc-hero .wc-btn--secondary {
  border-color: rgba(245, 248, 255, 0.34);
  background: rgba(8, 12, 20, 0.42);
  color: rgba(245, 248, 255, 0.94);
}

.subpage::before,
.subpage::after {
  content: "";
  position: fixed;
  width: 42vw;
  height: 42vw;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(46px);
  opacity: 0.24;
  z-index: -1;
  animation: breatheAura 14s ease-in-out infinite;
}

.subpage::before {
  left: -14vw;
  top: 22vh;
  background: radial-gradient(
    circle,
    rgba(176, 190, 219, 0.95) 0%,
    rgba(176, 190, 219, 0) 70%
  );
}

.subpage::after {
  right: -16vw;
  top: 58vh;
  background: radial-gradient(
    circle,
    rgba(150, 166, 200, 0.92) 0%,
    rgba(150, 166, 200, 0) 72%
  );
  animation-delay: 3s;
}

.subpage .progress-nav {
  display: none;
}

.sub-main {
  width: min(var(--sub-main-max), calc(100% - 64px));
  margin: 0 auto;
  padding: 112px 0 72px;
}

.sub-hero {
  min-height: 66svh;
  border-radius: 30px;
  padding: 70px 56px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  margin-bottom: var(--space-lg);
}

.sub-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  animation: heroBreath 16s ease-in-out infinite;
}

.sub-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(10, 12, 18, 0.5) 100%
  );
}

.sub-hero > * {
  position: relative;
  z-index: 1;
  color: #fff;
}

.sub-hero h1 {
  font-size: clamp(2.2rem, 5.2vw, 4.4rem);
  max-width: 14ch;
}

.sub-hero .sub {
  max-width: 58ch;
  line-height: 1.7;
}

.hero-products::before {
  background-image: linear-gradient(
    150deg,
    #95a5be 0%,
    #687a90 54%,
    #49586e 100%
  );
}

.hero-platform::before {
  background-image: linear-gradient(
    150deg,
    #8f9fbc 0%,
    #64718b 52%,
    #3f495d 100%
  );
}

.hero-about::before {
  background-image: linear-gradient(
    150deg,
    #a6b2c7 0%,
    #78849b 52%,
    #4e596c 100%
  );
}

.hero-contact::before {
  background-image: linear-gradient(
    150deg,
    #9eaed0 0%,
    #7080a0 52%,
    #49566f 100%
  );
}

.content-shell {
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(17, 19, 24, 0.1);
  border-radius: 24px;
  padding: var(--space-xl);
  margin-top: var(--space-lg);
  backdrop-filter: blur(6px);
}

.content-shell h2 {
  font-size: clamp(1.5rem, 4vw, 2.6rem);
  margin-bottom: var(--space-md);
  line-height: 1.14;
}

.content-shell h3 {
  margin: 0;
  font-size: 1.24rem;
  line-height: 1.25;
}

.content-shell p {
  margin: 12px 0 0;
  color: rgba(18, 22, 30, 0.78);
  line-height: 1.74;
  max-width: 72ch;
}

.grid-cards {
  display: grid;
  gap: var(--space-md);
}

.grid-cards.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-cards.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-cards.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-cards article {
  border-radius: 18px;
  border: 1px solid rgba(17, 19, 24, 0.12);
  background: rgba(255, 255, 255, 0.66);
  padding: 24px;
  transition:
    transform 260ms ease,
    background-color 260ms ease;
}

.grid-cards article:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.88);
}

.metric-strip {
  margin-top: var(--space-lg);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-md);
}

.metric-strip article {
  border-radius: 18px;
  border: 1px solid rgba(17, 19, 24, 0.12);
  background: rgba(255, 255, 255, 0.72);
  padding: 24px;
}

.metric-strip span {
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.metric-strip p {
  margin: 6px 0 0;
  color: rgba(17, 19, 24, 0.72);
}

.metric-strip-inline {
  margin-top: var(--space-md);
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-md);
}

.spec-grid article {
  border-radius: 18px;
  border: 1px solid rgba(17, 19, 24, 0.12);
  background: rgba(255, 255, 255, 0.7);
  padding: 24px;
}

.spec-grid ul {
  margin: 10px 0 0;
  padding-left: 18px;
  color: rgba(18, 22, 30, 0.78);
}

.spec-grid li + li {
  margin-top: 8px;
}

.timeline-list {
  display: grid;
  gap: var(--space-sm);
}

.timeline-list article {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  border-radius: 18px;
  border: 1px solid rgba(17, 19, 24, 0.12);
  background: rgba(255, 255, 255, 0.7);
  padding: 22px;
}

.timeline-list span {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: rgba(16, 23, 39, 0.08);
  color: rgba(16, 23, 39, 0.8);
  font-weight: 600;
}

.timeline-list h3 {
  margin: 2px 0 0;
}

.timeline-list p {
  margin: 10px 0 0;
}

.link-list {
  display: grid;
  gap: 12px;
}

.link-list a {
  border-radius: 14px;
  border: 1px solid rgba(17, 19, 24, 0.14);
  background: rgba(255, 255, 255, 0.72);
  color: rgba(16, 23, 39, 0.9);
  text-decoration: none;
  padding: 15px 16px;
}

.link-list a:hover {
  background: rgba(255, 255, 255, 0.92);
}

.inline-link {
  color: #101727;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 0.94rem;
  color: rgba(17, 19, 24, 0.84);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(17, 19, 24, 0.2);
  border-radius: 14px;
  padding: 14px 14px;
  font: inherit;
  background: rgba(255, 255, 255, 0.88);
}

.contact-form .full {
  grid-column: 1 / -1;
}

.contact-form button {
  border: 0;
  cursor: pointer;
  max-width: 240px;
}

.sub-footer {
  width: min(var(--sub-main-max), calc(100% - 64px));
  margin: 0 auto 44px;
  color: rgba(17, 19, 24, 0.68);
  font-size: 0.82rem;
}

.products-pw .sub-main,
.products-pw .sub-footer {
  width: min(1240px, calc(100% - 72px));
}

.pw-main {
  padding-top: 88px;
}

.pw-hero {
  min-height: 88svh;
  border-radius: 34px;
  padding: clamp(56px, 7vw, 110px) clamp(32px, 6vw, 86px) clamp(40px, 5vw, 64px);
  background:
    radial-gradient(
      120% 80% at 72% 10%,
      rgba(255, 255, 255, 0.7),
      transparent 48%
    ),
    linear-gradient(168deg, #f7f9fc 0%, #e8edf5 58%, #d2dbe8 100%);
  display: grid;
  align-content: end;
}

.pw-hero-media {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.pw-hero-image,
.pw-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.pw-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    180deg,
    rgba(7, 10, 15, 0.18) 0%,
    rgba(7, 10, 15, 0.34) 54%,
    rgba(7, 10, 15, 0.56) 100%
  );
}

.pw-hero-media
  > *:not(.pw-hero-image):not(.pw-hero-video):not(.pw-hero-overlay) {
  position: relative;
  z-index: 1;
  color: #f5f8ff;
}

.pw-hero h1 {
  font-size: clamp(2.7rem, 6.8vw, 6.2rem);
  letter-spacing: -0.038em;
  line-height: 0.96;
  max-width: 10.5ch;
  margin-top: 10px;
}

.pw-hero .sub {
  max-width: 54ch;
  font-size: clamp(1rem, 1.8vw, 1.22rem);
  line-height: 1.74;
  margin-top: 16px;
}

.pw-hero-media .sub {
  color: rgba(242, 247, 255, 0.94);
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.pw-actions {
  display: flex;
  gap: 10px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.pw-statline {
  margin-top: 18px;
  border-top: 1px solid rgba(18, 22, 30, 0.18);
  border-bottom: 1px solid rgba(18, 22, 30, 0.18);
  padding: 20px 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.pw-statline article {
  position: relative;
  padding: 4px 10px;
}

.pw-statline article + article::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 14px;
  bottom: 14px;
  width: 1px;
  background: rgba(18, 22, 30, 0.14);
}

.pw-statline strong {
  display: block;
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  letter-spacing: -0.02em;
}

.pw-statline span {
  color: rgba(17, 19, 24, 0.6);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pw-story {
  margin-top: 24px;
  border-radius: 30px;
  border: 1px solid rgba(18, 22, 30, 0.14);
  background: rgba(255, 255, 255, 0.78);
  min-height: 74svh;
  padding: clamp(26px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 26px;
  align-items: center;
}

.pw-story-alt {
  grid-template-columns: 0.95fr 1.05fr;
}

.pw-block h2 {
  font-size: clamp(2rem, 4.4vw, 3.55rem);
  max-width: 12ch;
  line-height: 1.03;
  margin-top: 8px;
}

.pw-block p {
  max-width: 48ch;
  margin-top: 14px;
  line-height: 1.76;
}

.pw-media {
  border-radius: 24px;
  height: min(64svh, 620px);
  border: 1px solid rgba(18, 22, 30, 0.14);
  overflow: hidden;
  background: #dbe2ed;
}

.pw-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pw-media-device {
  background:
    radial-gradient(
      circle at 74% 12%,
      rgba(255, 255, 255, 0.56),
      transparent 42%
    ),
    linear-gradient(150deg, #e6ebf3 0%, #bdc9da 58%, #8d9cb2 100%);
}

.pw-media-control {
  background:
    radial-gradient(
      circle at 24% 18%,
      rgba(255, 255, 255, 0.52),
      transparent 40%
    ),
    linear-gradient(150deg, #d8dfec 0%, #a4b3c9 54%, #72819a 100%);
}

.pw-technical {
  margin-top: 24px;
  border-radius: 30px;
  border: 1px solid rgba(18, 22, 30, 0.14);
  background: rgba(255, 255, 255, 0.84);
  padding: clamp(34px, 4.8vw, 66px);
}

.pw-technical h2 {
  margin-top: 8px;
  font-size: clamp(1.95rem, 4.2vw, 3.3rem);
}

.pw-tech-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.pw-tech-grid article {
  border-radius: 16px;
  border: 1px solid rgba(18, 22, 30, 0.12);
  background: rgba(255, 255, 255, 0.78);
  padding: 22px;
}

.pw-tech-grid p {
  margin-top: 8px;
}

.pw-deep {
  margin-top: 24px;
  border-radius: 30px;
  border: 1px solid rgba(14, 18, 25, 0.82);
  background: linear-gradient(155deg, #12161f 0%, #1a2230 56%, #1d2939 100%);
  color: #eef3fd;
  padding: clamp(36px, 5vw, 72px);
}

.pw-deep .eyebrow {
  color: #cad5ec;
}

.pw-deep h2 {
  color: #fff;
  margin-top: 8px;
  font-size: clamp(1.95rem, 4.2vw, 3.2rem);
}

.pw-deep-list {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.pw-deep-list p {
  margin: 0;
  border-radius: 14px;
  border: 1px solid rgba(228, 236, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
  color: #d8e1f2;
  padding: 16px 18px;
}

.pw-cta {
  margin-top: 24px;
  border-radius: 30px;
  border: 1px solid rgba(18, 22, 30, 0.14);
  background: linear-gradient(165deg, #ffffff 0%, #eef3fb 100%);
  padding: clamp(38px, 4.8vw, 70px) 24px;
  text-align: center;
}

.pw-cta h2 {
  font-size: clamp(2.1rem, 4.4vw, 3.5rem);
}

.pw-cta p {
  max-width: 56ch;
  margin: 12px auto 0;
  line-height: 1.75;
}

.pw-ci-gallery {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 14px;
}

.ci-card {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(18, 22, 30, 0.16);
  min-height: 280px;
  background: #e7edf7;
}

.ci-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ci-card-main {
  position: relative;
  min-height: 420px;
}

.ci-card-main > div {
  position: absolute;
  left: 22px;
  bottom: 20px;
  right: 22px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(12, 16, 24, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(4px);
}

.ci-card-main .eyebrow {
  color: rgba(231, 240, 255, 0.92);
}

.ci-card-main h3 {
  margin: 8px 0 0;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  color: #f7faff;
}

.pw-scene-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.pw-scene-grid article {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(18, 22, 30, 0.14);
  min-height: 220px;
  background: #dbe2ed;
}

.pw-scene-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pw-story-sequence {
  margin-top: 16px;
  display: grid;
  gap: 14px;
}

.pw-story-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(18, 22, 30, 0.15);
  min-height: 62svh;
  background: #dbe2ed;
}

.pw-story-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pw-story-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 11, 17, 0.06) 0%,
    rgba(8, 11, 17, 0.58) 100%
  );
}

.pw-story-frame > div {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  z-index: 1;
  max-width: 58ch;
}

.pw-story-frame .eyebrow {
  color: rgba(227, 237, 255, 0.95);
}

.pw-story-frame h3 {
  margin: 8px 0 0;
  font-size: clamp(1.45rem, 3vw, 2.3rem);
  line-height: 1.07;
  color: #f8fbff;
  letter-spacing: -0.02em;
}

.pw-story-frame p {
  margin: 10px 0 0;
  color: rgba(233, 241, 255, 0.92);
  line-height: 1.7;
}

.reveal-item {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 620ms ease,
    transform 620ms ease;
}

.reveal-item.in-view {
  opacity: 1;
  transform: translateY(0);
}

@keyframes breatheAura {
  0%,
  100% {
    transform: scale(1) translate3d(0, 0, 0);
  }
  50% {
    transform: scale(1.08) translate3d(0, -2.2vh, 0);
  }
}

@keyframes heroBreath {
  0%,
  100% {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  50% {
    transform: scale(1.08) translate3d(0, -1.5%, 0);
  }
}

@keyframes homeFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -5px, 0);
  }
}

@keyframes titleSheen {
  0%,
  100% {
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.22));
    background-position: 0% 50%;
  }
  50% {
    filter: drop-shadow(0 11px 24px rgba(170, 198, 246, 0.18));
    background-position: 100% 50%;
  }
}

@keyframes heroTextIn {
  0% {
    opacity: 0;
    transform: translate3d(0, 16px, 0);
    filter: blur(6px);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }
}

@keyframes heroTitleReveal {
  0% {
    clip-path: inset(0 100% 0 0);
  }
  100% {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes headlineSheen {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes headlineDepth {
  0%,
  100% {
    text-shadow:
      0 1px 0 rgba(246, 251, 255, 0.45),
      0 2px 4px rgba(196, 214, 241, 0.24),
      0 10px 22px rgba(3, 8, 15, 0.34),
      0 22px 34px rgba(3, 8, 15, 0.2);
  }
  50% {
    text-shadow:
      0 1px 0 rgba(248, 252, 255, 0.48),
      0 3px 7px rgba(199, 218, 244, 0.28),
      0 13px 28px rgba(3, 8, 15, 0.38),
      0 26px 38px rgba(3, 8, 15, 0.22);
  }
}

@keyframes heroTitleGlow {
  0% {
    opacity: 0;
    transform: translate3d(0, 10px, 0);
    filter: blur(0.9px) saturate(1.12);
  }
  55% {
    opacity: 0.72;
    transform: translate3d(0, 0, 0);
    filter: blur(0.1px) saturate(1.08);
  }
  100% {
    opacity: 0.3;
    transform: translate3d(0, 0, 0);
    filter: blur(0.15px) saturate(1.02);
  }
}

@keyframes heroTitleSweep {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 112% 50%;
  }
  100% {
    background-position: 220% 50%;
  }
}

@keyframes lineGlow {
  0%,
  100% {
    opacity: 0.35;
    transform: scaleX(0.94);
  }
  50% {
    opacity: 0.78;
    transform: scaleX(1);
  }
}

@keyframes prismFlow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 120% 50%;
  }
}

@keyframes lineSweep {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 140% 50%;
  }
}

@keyframes btnSweep {
  0% {
    left: -34%;
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  30% {
    left: 120%;
    opacity: 0;
  }
  100% {
    left: 120%;
    opacity: 0;
  }
}

@keyframes dopamineCloud {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.75;
  }
  50% {
    transform: translate3d(0, -8px, 0) scale(1.04);
    opacity: 1;
  }
}

@media (max-width: 880px) {
  .grid-cards.two,
  .grid-cards.three,
  .grid-cards.four,
  .metric-strip,
  .contact-form,
  .spec-grid {
    grid-template-columns: 1fr;
  }

  .pw-ci-gallery {
    grid-template-columns: 1fr;
  }

  .pw-scene-grid {
    grid-template-columns: 1fr 1fr;
  }

  .sub-main,
  .sub-footer {
    width: min(var(--sub-main-max), calc(100% - 24px));
  }

  .sub-hero,
  .content-shell {
    padding: 28px 18px;
  }

  .sub-hero {
    min-height: 52svh;
  }

  .products-pw .sub-main,
  .products-pw .sub-footer {
    width: min(1240px, calc(100% - 24px));
  }

  .pw-main {
    padding-top: 80px;
  }

  .pw-hero {
    min-height: 70svh;
    padding: 34px 20px 26px;
    border-radius: 22px;
  }

  .pw-hero h1 {
    max-width: 12ch;
  }

  .pw-statline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .pw-statline article + article::before {
    display: none;
  }

  .pw-story,
  .pw-story-alt {
    padding: 24px 18px;
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .pw-media {
    height: 300px;
  }

  .pw-technical,
  .pw-deep,
  .pw-cta {
    padding: 26px 18px;
    border-radius: 22px;
  }

  .pw-tech-grid,
  .pw-deep-list {
    grid-template-columns: 1fr;
  }

  .pw-scene-grid {
    grid-template-columns: 1fr;
  }

  .pw-story-frame {
    min-height: 360px;
  }
}

.products-wc .sub-main,
.products-wc .sub-footer {
  width: min(1240px, calc(100% - 72px));
}

.wc-main {
  width: min(1240px, calc(100% - 72px));
  margin: 0 auto;
  padding: 88px 0 72px;
}

.wc-hero {
  position: relative;
  min-height: 92svh;
  border-radius: 34px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  isolation: isolate;
  padding: clamp(46px, 5vw, 72px);
  display: grid;
  align-items: end;
  box-shadow: 0 22px 70px rgba(10, 14, 22, 0.28);
}

.wc-hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transform: scale(1.04);
  animation: wcHeroDrift 14s ease-in-out infinite;
}

.wc-hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      180deg,
      rgba(7, 11, 17, 0.22) 0%,
      rgba(7, 11, 17, 0.42) 52%,
      rgba(7, 11, 17, 0.68) 100%
    ),
    radial-gradient(
      circle at 20% 18%,
      rgba(153, 198, 255, 0.22) 0%,
      rgba(153, 198, 255, 0) 42%
    );
}

.wc-hero-copy {
  max-width: 760px;
  color: #f5f9ff;
}

.wc-hero h1 {
  margin-top: 8px;
  font-size: clamp(3rem, 7.4vw, 7rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
  color: #f7fbff;
  text-shadow: 0 14px 30px rgba(0, 0, 0, 0.36);
}

.wc-hero .sub {
  margin-top: 14px;
  max-width: 52ch;
  color: rgba(236, 244, 255, 0.94);
  line-height: 1.72;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.32);
}

.wc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.wc-proof {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.wc-proof article {
  border-radius: 16px;
  border: 1px solid rgba(18, 22, 30, 0.12);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(6px);
  padding: 18px 16px;
  transition:
    transform 260ms ease,
    border-color 260ms ease;
}

.wc-proof article:hover {
  transform: translateY(-2px);
  border-color: rgba(18, 22, 30, 0.24);
}

.wc-proof strong {
  display: block;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  letter-spacing: -0.02em;
  color: #111621;
}

.wc-proof span {
  margin-top: 4px;
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(17, 22, 31, 0.64);
}

.wc-feature {
  margin-top: 16px;
  border-radius: 28px;
  border: 1px solid rgba(18, 22, 30, 0.14);
  background: rgba(255, 255, 255, 0.78);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  min-height: 70svh;
}

.wc-feature-reverse {
  grid-template-columns: 0.92fr 1.08fr;
}

.wc-feature-media {
  margin: 0;
  min-height: 100%;
  overflow: hidden;
}

.wc-feature-media img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 800ms ease;
}

.wc-feature:hover .wc-feature-media img {
  transform: scale(1.05);
}

.wc-feature-copy {
  padding: clamp(28px, 4vw, 54px);
  display: grid;
  align-content: center;
}

.wc-feature-copy h2 {
  margin-top: 8px;
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.035em;
  max-width: 14ch;
}

.wc-feature-copy p {
  margin-top: 14px;
  max-width: 48ch;
  line-height: 1.78;
  color: rgba(17, 22, 31, 0.8);
}

.wc-capability {
  margin-top: 16px;
  border-radius: 28px;
  border: 1px solid rgba(18, 22, 30, 0.14);
  background: rgba(255, 255, 255, 0.82);
  padding: clamp(32px, 4vw, 58px);
}

.wc-capability-head h2 {
  margin-top: 8px;
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  line-height: 1.03;
  letter-spacing: -0.03em;
}

.wc-capability-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.wc-capability-grid article {
  border-radius: 16px;
  border: 1px solid rgba(18, 22, 30, 0.12);
  background: rgba(255, 255, 255, 0.72);
  padding: 20px;
}

.wc-capability-grid h3 {
  margin: 0;
  font-size: 1.2rem;
}

.wc-capability-grid p {
  margin-top: 9px;
  color: rgba(17, 22, 31, 0.78);
  line-height: 1.7;
}

.wc-story {
  margin-top: 16px;
  display: grid;
  gap: 12px;
}

.wc-story-panel {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(18, 22, 30, 0.15);
  min-height: 72svh;
  background: #dfe6f1;
}

.wc-story-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.wc-story-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(9, 12, 18, 0.08) 0%,
    rgba(9, 12, 18, 0.62) 100%
  );
}

.wc-story-panel > div {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  max-width: 58ch;
  z-index: 1;
}

.wc-story-panel .eyebrow {
  color: rgba(225, 236, 255, 0.94);
}

.wc-story-panel h3 {
  margin: 8px 0 0;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #f8fbff;
}

.wc-story-panel p {
  margin: 10px 0 0;
  color: rgba(229, 239, 255, 0.92);
  line-height: 1.72;
}

.wc-cta {
  margin-top: 16px;
  border-radius: 28px;
  border: 1px solid rgba(18, 22, 30, 0.14);
  background: linear-gradient(160deg, #ffffff 0%, #eef3fb 100%);
  padding: clamp(30px, 4vw, 56px);
  text-align: center;
}

.wc-cta h2 {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  letter-spacing: -0.03em;
}

.wc-cta p {
  max-width: 58ch;
  margin: 12px auto 0;
  line-height: 1.75;
  color: rgba(17, 22, 31, 0.76);
}

@keyframes wcHeroDrift {
  0%,
  100% {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  50% {
    transform: scale(1.08) translate3d(0, -1.4%, 0);
  }
}

@media (max-width: 980px) {
  .wc-main,
  .products-wc .sub-footer {
    width: min(1240px, calc(100% - 24px));
  }

  .wc-main {
    padding-top: 80px;
  }

  .wc-hero {
    min-height: 74svh;
    border-radius: 22px;
    padding: 34px 20px;
  }

  .wc-proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wc-feature,
  .wc-feature-reverse {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .wc-feature-media {
    height: 320px;
  }

  .wc-capability,
  .wc-cta {
    border-radius: 22px;
    padding: 24px 18px;
  }

  .wc-capability-grid {
    grid-template-columns: 1fr;
  }

  .wc-story-panel {
    min-height: 440px;
    border-radius: 20px;
  }
}

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

  .wc-story-panel {
    min-height: 380px;
  }

  .wc-story-panel > div {
    left: 16px;
    right: 16px;
    bottom: 14px;
  }
}

/* Full-bleed override for WattCision product page */
.products-wc {
  background: #070b11;
}

.products-wc::before,
.products-wc::after {
  display: none;
}

.products-wc .sub-footer {
  width: 100%;
  margin: 0;
  padding: 28px clamp(20px, 4vw, 56px) 38px;
  color: rgba(229, 238, 252, 0.62);
  border-top: 1px solid rgba(217, 230, 250, 0.12);
}

.wc-main {
  width: 100%;
  margin: 0;
  padding: 56px 0 0;
  background: #070b11;
}

.wc-main section {
  margin-top: 0;
}

.wc-hero,
.wc-proof,
.wc-feature,
.wc-capability,
.wc-story-panel,
.wc-cta {
  border-radius: 0;
  border: 0;
  box-shadow: none;
}

.wc-hero {
  min-height: 100svh;
  padding: clamp(78px, 10vw, 138px) clamp(20px, 6vw, 84px)
    clamp(42px, 5vw, 72px);
}

.wc-hero-copy {
  max-width: 780px;
}

.wc-proof {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  background: linear-gradient(180deg, #0d131d 0%, #0a1018 100%);
  border-top: 1px solid rgba(224, 236, 255, 0.1);
  border-bottom: 1px solid rgba(224, 236, 255, 0.1);
}

.wc-proof article {
  background: transparent;
  border: 0;
  border-right: 1px solid rgba(224, 236, 255, 0.1);
  border-radius: 0;
  padding: 28px clamp(14px, 2vw, 26px);
}

.wc-proof article:last-child {
  border-right: 0;
}

.wc-proof strong {
  color: #f0f6ff;
}

.wc-proof span {
  color: rgba(225, 236, 255, 0.68);
}

.wc-feature,
.wc-feature-reverse {
  grid-template-columns: 1.08fr 0.92fr;
  min-height: 96svh;
  background: #0a1018;
  border-top: 1px solid rgba(216, 229, 251, 0.08);
}

.wc-feature-reverse {
  grid-template-columns: 0.92fr 1.08fr;
}

.wc-feature-copy {
  padding: clamp(30px, 5vw, 86px);
  color: #edf5ff;
}

.wc-feature-copy h2 {
  color: #f6fbff;
  max-width: 13ch;
}

.wc-feature-copy p {
  color: rgba(226, 237, 255, 0.78);
}

.wc-capability {
  background: linear-gradient(180deg, #0b111b 0%, #0d1623 100%);
  padding: clamp(36px, 4.5vw, 68px) clamp(20px, 5vw, 74px);
  border-top: 1px solid rgba(216, 229, 251, 0.1);
}

.wc-capability-head h2 {
  color: #f5faff;
}

.wc-capability-grid {
  gap: 0;
  border: 1px solid rgba(216, 229, 251, 0.14);
}

.wc-capability-grid article {
  background: transparent;
  border: 0;
  border-right: 1px solid rgba(216, 229, 251, 0.12);
  border-bottom: 1px solid rgba(216, 229, 251, 0.12);
  border-radius: 0;
  padding: 24px;
}

.wc-capability-grid article:nth-child(2n) {
  border-right: 0;
}

.wc-capability-grid article:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.wc-capability-grid h3 {
  color: #f3f8ff;
}

.wc-capability-grid p {
  color: rgba(219, 231, 250, 0.78);
}

.wc-story {
  gap: 0;
}

.wc-story-panel {
  min-height: 90svh;
  border-top: 1px solid rgba(215, 228, 250, 0.08);
}

.wc-story-panel::after {
  background: linear-gradient(
    180deg,
    rgba(9, 12, 18, 0.1) 0%,
    rgba(9, 12, 18, 0.72) 100%
  );
}

.wc-story-panel > div {
  left: clamp(18px, 5vw, 76px);
  right: clamp(18px, 5vw, 76px);
  bottom: clamp(18px, 4vw, 48px);
  max-width: 62ch;
}

.wc-cta {
  background: linear-gradient(180deg, #f8fbff 0%, #edf3fb 100%);
  padding: clamp(36px, 5vw, 78px) clamp(20px, 5vw, 64px);
}

@media (max-width: 980px) {
  .wc-main {
    padding-top: 54px;
  }

  .wc-proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wc-proof article:nth-child(2n) {
    border-right: 0;
  }

  .wc-proof article {
    border-bottom: 1px solid rgba(224, 236, 255, 0.1);
  }

  .wc-proof article:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .wc-feature,
  .wc-feature-reverse {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .wc-feature-media {
    height: 46svh;
  }

  .wc-capability-grid article {
    border-right: 0;
  }

  .wc-capability-grid article:nth-last-child(-n + 2) {
    border-bottom: 1px solid rgba(216, 229, 251, 0.12);
  }

  .wc-capability-grid article:last-child {
    border-bottom: 0;
  }

  .wc-story-panel {
    min-height: 68svh;
  }
}

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

  .wc-proof article {
    border-right: 0;
  }

  .wc-proof article:nth-last-child(-n + 2) {
    border-bottom: 1px solid rgba(224, 236, 255, 0.1);
  }

  .wc-proof article:last-child {
    border-bottom: 0;
  }

  .wc-story-panel {
    min-height: 62svh;
  }
}

/* Tesla minimalist monochrome theme */
.products-wc.tesla-mono {
  background: #050505;
}

.products-wc.tesla-mono .site-header.is-scrolled {
  background: rgba(8, 8, 8, 0.72);
  backdrop-filter: blur(10px);
}

.products-wc.tesla-mono .logo,
.products-wc.tesla-mono .main-nav a,
.products-wc.tesla-mono .header-actions a,
.products-wc.tesla-mono .menu-btn {
  color: rgba(246, 246, 246, 0.94);
}

.products-wc.tesla-mono .wc-main {
  background: #050505;
}

.products-wc.tesla-mono .wc-hero-shade {
  background: linear-gradient(
    180deg,
    rgba(5, 5, 5, 0.22) 0%,
    rgba(5, 5, 5, 0.52) 52%,
    rgba(5, 5, 5, 0.82) 100%
  );
}

.products-wc.tesla-mono .wc-hero h1,
.products-wc.tesla-mono .wc-feature-copy h2,
.products-wc.tesla-mono .wc-capability-head h2,
.products-wc.tesla-mono .wc-story-panel h3 {
  color: #ffffff;
}

.products-wc.tesla-mono .wc-hero .sub,
.products-wc.tesla-mono .wc-story-panel p {
  color: rgba(232, 232, 232, 0.9);
}

.products-wc.tesla-mono .eyebrow {
  color: rgba(214, 214, 214, 0.88);
}

.products-wc.tesla-mono .wc-proof {
  background: #0a0a0a;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.products-wc.tesla-mono .wc-proof article {
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.products-wc.tesla-mono .wc-proof strong {
  color: #ffffff;
}

.products-wc.tesla-mono .wc-proof span {
  color: rgba(196, 196, 196, 0.78);
}

.products-wc.tesla-mono .wc-feature,
.products-wc.tesla-mono .wc-feature-reverse {
  background: #090909;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.products-wc.tesla-mono .wc-feature-copy p,
.products-wc.tesla-mono .wc-capability-grid p {
  color: rgba(210, 210, 210, 0.82);
}

.products-wc.tesla-mono .wc-capability {
  background: #0b0b0b;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.products-wc.tesla-mono .wc-capability-grid {
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.products-wc.tesla-mono .wc-capability-grid article {
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.products-wc.tesla-mono .wc-capability-grid h3 {
  color: #f2f2f2;
}

.products-wc.tesla-mono .wc-story-panel {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.products-wc.tesla-mono .wc-story-panel::after {
  background: linear-gradient(
    180deg,
    rgba(4, 4, 4, 0.08) 0%,
    rgba(4, 4, 4, 0.78) 100%
  );
}

.products-wc.tesla-mono .wc-cta {
  background: #f4f4f4;
}

.products-wc.tesla-mono .wc-cta h2 {
  color: #111111;
}

.products-wc.tesla-mono .wc-cta p {
  color: rgba(18, 18, 18, 0.72);
}

.products-wc.tesla-mono .btn-light {
  background: rgba(255, 255, 255, 0.9);
  color: #111111;
}

.products-wc.tesla-mono .btn-dark {
  background: rgba(17, 17, 17, 0.92);
  color: rgba(255, 255, 255, 0.96);
}

.products-wc.tesla-mono .sub-footer {
  color: rgba(212, 212, 212, 0.62);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 980px) {
  .products-wc.tesla-mono .wc-proof article {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
}

/* Tesla-style redesign based on original wattcision content */
.tesla-wattcision {
  background: #050505;
}

.tesla-wattcision::before,
.tesla-wattcision::after {
  display: none;
}

.tesla-wattcision .logo,
.tesla-wattcision .main-nav a,
.tesla-wattcision .header-actions a,
.tesla-wattcision .menu-btn {
  color: rgba(246, 246, 246, 0.95);
}

.tesla-wattcision .site-header.is-scrolled {
  background: rgba(8, 8, 8, 0.76);
  backdrop-filter: blur(10px);
}

.tx-main {
  width: 100%;
  margin: 0;
  padding-top: 56px;
  background: #050505;
}

.tx-main section {
  margin: 0;
}

.tx-hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: clamp(84px, 10vw, 140px) clamp(20px, 6vw, 84px)
    clamp(46px, 5vw, 76px);
}

.tx-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transform: scale(1.03);
  animation: txHeroFloat 15s ease-in-out infinite;
}

.tx-hero-mask {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      180deg,
      rgba(4, 4, 4, 0.24) 0%,
      rgba(4, 4, 4, 0.5) 50%,
      rgba(4, 4, 4, 0.82) 100%
    ),
    radial-gradient(
      circle at 82% 26%,
      rgba(255, 255, 255, 0.13) 0%,
      transparent 40%
    );
}

.tx-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.tx-hero h1 {
  margin-top: 8px;
  color: #fff;
  font-size: clamp(3rem, 8vw, 7.4rem);
  letter-spacing: -0.05em;
  line-height: 0.9;
  text-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

.tx-hero .sub {
  margin-top: 12px;
  color: rgba(232, 232, 232, 0.92);
  font-size: clamp(1.04rem, 1.8vw, 1.28rem);
}

.tx-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tx-proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: #0a0a0a;
}

.tx-proof article {
  padding: 26px clamp(14px, 2.2vw, 26px);
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.tx-proof article:last-child {
  border-right: 0;
}

.tx-proof strong {
  display: block;
  color: #fff;
  font-size: clamp(1.12rem, 2.1vw, 1.6rem);
  letter-spacing: -0.02em;
}

.tx-proof span {
  display: block;
  margin-top: 4px;
  color: rgba(206, 206, 206, 0.76);
  font-size: 0.78rem;
  letter-spacing: 0.065em;
  text-transform: uppercase;
}

.tx-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tx-split-card {
  position: relative;
  min-height: 78svh;
  overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.tx-split-card:last-child {
  border-right: 0;
}

.tx-split-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tx-split-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(5, 5, 5, 0.06) 0%,
    rgba(5, 5, 5, 0.68) 100%
  );
}

.tx-split-card > div {
  position: absolute;
  z-index: 1;
  left: clamp(16px, 5vw, 46px);
  right: clamp(16px, 5vw, 46px);
  bottom: clamp(16px, 4vw, 40px);
}

.tx-split-card h2 {
  margin-top: 8px;
  color: #fff;
  font-size: clamp(1.6rem, 3.8vw, 3rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.tx-split-card p {
  margin-top: 10px;
  color: rgba(223, 233, 249, 0.9);
  line-height: 1.7;
  max-width: 42ch;
}

.tx-smart {
  position: relative;
  padding: clamp(34px, 5vw, 70px) clamp(20px, 5vw, 70px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.tx-smart-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.tx-smart::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(5, 5, 5, 0.36) 0%,
    rgba(5, 5, 5, 0.78) 100%
  );
}

.tx-smart-head,
.tx-smart-grid {
  position: relative;
  z-index: 2;
}

.tx-smart-head h2 {
  margin-top: 8px;
  color: #fff;
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  letter-spacing: -0.03em;
}

.tx-smart-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.tx-smart-grid article {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(8, 8, 8, 0.48);
  backdrop-filter: blur(4px);
  padding: 14px;
}

.tx-smart-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.tx-smart-grid h3 {
  margin: 10px 0 0;
  color: #fff;
  font-size: 1.05rem;
}

.tx-smart-grid p {
  margin-top: 8px;
  color: rgba(221, 231, 247, 0.9);
  line-height: 1.65;
  font-size: 0.93rem;
}

.tx-reliable {
  background: #06090e;
  padding: clamp(34px, 5vw, 70px) clamp(20px, 5vw, 70px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tx-reliable-head h2 {
  margin-top: 8px;
  color: #fff;
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  letter-spacing: -0.03em;
}

.tx-reliable-gallery {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}

.tx-reliable-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.tx-outdoor {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 76svh;
}

.tx-outdoor-copy {
  padding: clamp(30px, 5vw, 72px);
  background: #0b0b0b;
  display: grid;
  align-content: center;
}

.tx-outdoor h2 {
  margin-top: 8px;
  color: #fff;
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.tx-outdoor p {
  margin-top: 12px;
  color: rgba(214, 214, 214, 0.82);
  line-height: 1.78;
  max-width: 50ch;
}

.tx-outdoor img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tx-compare {
  background: #efefef;
  color: #111;
  padding: clamp(34px, 5vw, 70px) clamp(20px, 5vw, 70px);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.tx-compare-head h2 {
  margin-top: 8px;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  letter-spacing: -0.03em;
}

.tx-compare-head p {
  margin-top: 10px;
  color: rgba(24, 24, 24, 0.7);
}

.tx-compare-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.tx-compare-grid figure {
  margin: 0;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
}

.tx-compare-grid img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.tx-compare-grid figcaption {
  padding: 10px 12px;
  font-size: 0.84rem;
  color: rgba(20, 20, 20, 0.75);
}

.tx-tech {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tx-tech article {
  position: relative;
  min-height: 72svh;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.tx-tech article:last-child {
  border-right: 0;
}

.tx-tech img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tx-tech article::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(6, 6, 6, 0.1) 0%,
    rgba(6, 6, 6, 0.74) 100%
  );
}

.tx-tech article > div {
  position: absolute;
  z-index: 1;
  left: clamp(16px, 4vw, 44px);
  right: clamp(16px, 4vw, 44px);
  bottom: clamp(16px, 4vw, 38px);
}

.tx-tech h3 {
  margin: 8px 0 0;
  color: #fff;
  font-size: clamp(1.45rem, 2.8vw, 2.2rem);
  letter-spacing: -0.02em;
}

.tx-tech p {
  margin-top: 9px;
  color: rgba(224, 235, 252, 0.9);
  line-height: 1.72;
}

.tx-imaster {
  background: #f4f4f4;
  color: #111;
  padding: clamp(36px, 5vw, 78px) clamp(20px, 5vw, 70px);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.tx-imaster-head {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.tx-imaster-head img {
  width: 86px;
  height: 86px;
  object-fit: contain;
}

.tx-imaster-head h2 {
  margin-top: 10px;
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  letter-spacing: -0.03em;
}

.tx-imaster-head p {
  margin-top: 10px;
  color: rgba(23, 23, 23, 0.72);
  line-height: 1.74;
}

.tx-imaster-visual {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  align-items: end;
}

.tx-imaster-visual img {
  width: 100%;
  object-fit: contain;
}

.tx-imaster-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.tx-imaster-grid article {
  border: 1px solid rgba(0, 0, 0, 0.14);
  background: rgba(255, 255, 255, 0.72);
  padding: 16px;
}

.tx-imaster-grid img {
  width: 34px;
  height: 34px;
}

.tx-imaster-grid p {
  margin-top: 10px;
  line-height: 1.65;
  color: rgba(24, 24, 24, 0.78);
}

.tx-cta {
  background: #050505;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: clamp(36px, 5vw, 70px) clamp(20px, 5vw, 70px);
  text-align: center;
}

.tx-cta h2 {
  color: #fff;
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  letter-spacing: -0.03em;
}

.tx-cta p {
  margin: 12px auto 0;
  max-width: 58ch;
  color: rgba(212, 212, 212, 0.8);
  line-height: 1.75;
}

.tesla-wattcision .btn-dark {
  background: rgba(250, 250, 250, 0.94);
  color: #111;
}

.tesla-wattcision .btn-light {
  background: rgba(28, 28, 28, 0.9);
  color: rgba(245, 245, 245, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.tesla-wattcision .sub-footer {
  width: 100%;
  margin: 0;
  padding: 26px clamp(20px, 5vw, 70px) 36px;
  color: rgba(212, 212, 212, 0.62);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

@keyframes txHeroFloat {
  0%,
  100% {
    transform: scale(1.03) translate3d(0, 0, 0);
  }
  50% {
    transform: scale(1.07) translate3d(0, -1.5%, 0);
  }
}

@media (max-width: 980px) {
  .tx-main {
    padding-top: 52px;
  }

  .tx-proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tx-proof article:nth-child(2n) {
    border-right: 0;
  }

  .tx-proof article {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .tx-proof article:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .tx-split,
  .tx-outdoor,
  .tx-tech,
  .tx-compare-grid {
    grid-template-columns: 1fr;
  }

  .tx-split-card,
  .tx-tech article {
    min-height: 66svh;
    border-right: 0;
  }

  .tx-smart-grid,
  .tx-imaster-grid,
  .tx-imaster-visual,
  .tx-reliable-gallery {
    grid-template-columns: 1fr;
  }

  .tx-imaster-head {
    text-align: left;
    margin: 0;
  }
}

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

  .tx-proof article {
    border-right: 0;
  }

  .tx-proof article:nth-last-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .tx-proof article:last-child {
    border-bottom: 0;
  }

  .tx-split-card,
  .tx-tech article,
  .tx-outdoor {
    min-height: 58svh;
  }
}

/* Ultra-minimal Tesla variant */
.tesla-ultra {
  background: #050505;
}

.tesla-ultra::before,
.tesla-ultra::after {
  display: none;
}

.tesla-ultra .site-header.is-scrolled {
  background: rgba(8, 8, 8, 0.8);
  backdrop-filter: blur(10px);
}

.tesla-ultra .logo,
.tesla-ultra .main-nav a,
.tesla-ultra .header-actions a,
.tesla-ultra .menu-btn {
  color: rgba(244, 244, 244, 0.95);
}

.txu-main {
  width: 100%;
  margin: 0;
  padding-top: 56px;
  background: #050505;
}

.txu-main section {
  margin: 0;
}

.txu-hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: clamp(84px, 10vw, 140px) clamp(20px, 6vw, 84px)
    clamp(46px, 5vw, 76px);
}

.txu-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  animation: txHeroFloat 15s ease-in-out infinite;
}

.txu-mask {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(3, 3, 3, 0.2) 0%,
    rgba(3, 3, 3, 0.52) 52%,
    rgba(3, 3, 3, 0.84) 100%
  );
}

.txu-copy {
  position: relative;
  z-index: 2;
  max-width: 740px;
}

.txu-copy h1 {
  margin-top: 8px;
  color: #fff;
  font-size: clamp(3rem, 8vw, 7.2rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.txu-copy .sub {
  margin-top: 12px;
  color: rgba(232, 232, 232, 0.88);
}

.txu-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tesla-ultra .btn-dark {
  background: rgba(248, 248, 248, 0.94);
  color: #111;
}

.tesla-ultra .btn-light {
  background: rgba(18, 18, 18, 0.9);
  color: rgba(245, 245, 245, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.txu-proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #0a0a0a;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.txu-proof article {
  padding: 24px clamp(14px, 2vw, 24px);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.txu-proof article:last-child {
  border-right: 0;
}

.txu-proof strong {
  display: block;
  color: #fff;
  font-size: clamp(1.12rem, 2vw, 1.52rem);
  letter-spacing: -0.02em;
}

.txu-proof span {
  display: block;
  margin-top: 4px;
  color: rgba(195, 195, 195, 0.74);
  font-size: 0.77rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.txu-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.txu-pane {
  position: relative;
  min-height: 82svh;
  overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.txu-pane:last-child {
  border-right: 0;
}

.txu-pane img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.txu-pane::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(4, 4, 4, 0.05) 0%,
    rgba(4, 4, 4, 0.72) 100%
  );
}

.txu-pane > div {
  position: absolute;
  z-index: 1;
  left: clamp(16px, 4vw, 44px);
  right: clamp(16px, 4vw, 44px);
  bottom: clamp(16px, 4vw, 38px);
}

.txu-pane h2 {
  margin-top: 8px;
  color: #fff;
  font-size: clamp(1.8rem, 3.8vw, 3.15rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
}

.txu-control,
.txu-reliable,
.txu-tech,
.txu-cta {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.txu-control {
  background: #0b0b0b;
  padding: clamp(28px, 4vw, 52px) clamp(20px, 5vw, 70px);
}

.txu-control-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.txu-control-grid article {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(8, 8, 8, 0.64);
  padding: 12px;
}

.txu-control-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.txu-control-grid h3 {
  margin: 10px 0 0;
  color: #fff;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.txu-story {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.txu-story article {
  position: relative;
  min-height: 56svh;
  overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.txu-story article:last-child {
  border-right: 0;
}

.txu-story img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.txu-story article::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(2, 2, 2, 0.04) 0%,
    rgba(2, 2, 2, 0.68) 100%
  );
}

.txu-story div {
  position: absolute;
  z-index: 1;
  left: 16px;
  right: 16px;
  bottom: 14px;
}

.txu-story h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.15rem, 2.2vw, 1.75rem);
  letter-spacing: -0.02em;
}

.txu-tech {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.txu-tech article {
  position: relative;
  min-height: 62svh;
  overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.txu-tech article:last-child {
  border-right: 0;
}

.txu-tech img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.txu-tech article::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(3, 3, 3, 0.08) 0%,
    rgba(3, 3, 3, 0.74) 100%
  );
}

.txu-tech div {
  position: absolute;
  z-index: 1;
  left: 16px;
  right: 16px;
  bottom: 14px;
}

.txu-tech h3 {
  margin: 8px 0 0;
  color: #fff;
  font-size: clamp(1.2rem, 2.4vw, 1.95rem);
}

.txu-cta {
  background: #050505;
  text-align: center;
  padding: clamp(32px, 4.5vw, 60px) clamp(20px, 5vw, 70px);
}

.txu-cta h2 {
  color: #fff;
  font-size: clamp(2rem, 4.3vw, 3.4rem);
  letter-spacing: -0.03em;
}

.tesla-ultra .sub-footer {
  width: 100%;
  margin: 0;
  padding: 24px clamp(20px, 5vw, 70px) 34px;
  color: rgba(208, 208, 208, 0.62);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 980px) {
  .txu-main {
    padding-top: 52px;
  }

  .txu-proof,
  .txu-split,
  .txu-control-grid,
  .txu-story,
  .txu-tech {
    grid-template-columns: 1fr;
  }

  .txu-proof article,
  .txu-pane,
  .txu-story article,
  .txu-tech article {
    border-right: 0;
  }

  .txu-proof article {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .txu-proof article:last-child {
    border-bottom: 0;
  }

  .txu-pane {
    min-height: 64svh;
  }

  .txu-story article,
  .txu-tech article {
    min-height: 48svh;
  }
}

/* Clean premium override */
.tesla-clean {
  background: #070707;
}

.tesla-clean::before,
.tesla-clean::after {
  display: none;
}

.tesla-clean .site-header.is-scrolled {
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(10px);
}

.tesla-clean .logo,
.tesla-clean .main-nav a,
.tesla-clean .header-actions a,
.tesla-clean .menu-btn {
  color: rgba(246, 246, 246, 0.95);
}

.tesla-clean .site-header.is-scrolled .main-nav a,
.tesla-clean .site-header.is-scrolled .header-actions a,
.tesla-clean .site-header.is-scrolled .menu-btn {
  color: rgba(246, 246, 246, 0.95);
}

.tesla-clean .logo {
  --logo-filter: invert(1) brightness(1.08);
}

.tesla-clean .site-header.is-scrolled .logo {
  --logo-filter: invert(1) brightness(1.08);
}

.tc-main {
  width: 100%;
  margin: 0;
  padding-top: 56px;
  background: #070707;
}

.tc-main section {
  margin: 0;
}

.tc-hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: clamp(82px, 10vw, 138px) clamp(20px, 6vw, 84px)
    clamp(44px, 5vw, 72px);
}

.tc-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: txHeroFloat 15s ease-in-out infinite;
}

.tc-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(6, 6, 6, 0.22) 0%,
    rgba(6, 6, 6, 0.52) 52%,
    rgba(6, 6, 6, 0.84) 100%
  );
}

.tc-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.tc-copy h1 {
  margin-top: 8px;
  color: #fff;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.tc-copy .sub {
  margin-top: 12px;
  color: rgba(232, 232, 232, 0.9);
}

.tc-actions {
  margin-top: 26px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tesla-clean .btn-dark {
  background: rgba(245, 245, 245, 0.95);
  color: #111;
}

.tesla-clean .btn-light {
  background: rgba(20, 20, 20, 0.9);
  color: rgba(244, 244, 244, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.tc-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #0b0b0b;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.tc-metrics article {
  padding: 22px clamp(12px, 2vw, 24px);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.tc-metrics article:last-child {
  border-right: 0;
}

.tc-metrics strong {
  display: block;
  color: #fff;
  font-size: clamp(1.1rem, 1.9vw, 1.46rem);
  letter-spacing: -0.02em;
}

.tc-metrics span {
  display: block;
  margin-top: 4px;
  color: rgba(196, 196, 196, 0.74);
  font-size: 0.76rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.tc-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.tc-pane {
  position: relative;
  min-height: 78svh;
  overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.tc-pane:last-child {
  border-right: 0;
}

.tc-pane img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tc-pane::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(5, 5, 5, 0.08) 0%,
    rgba(5, 5, 5, 0.74) 100%
  );
}

.tc-pane > div {
  position: absolute;
  z-index: 1;
  left: clamp(16px, 4vw, 44px);
  right: clamp(16px, 4vw, 44px);
  bottom: clamp(16px, 4vw, 36px);
}

.tc-pane h2 {
  margin-top: 8px;
  color: #fff;
  font-size: clamp(1.7rem, 3.8vw, 3rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
}

.tc-pane p {
  margin-top: 9px;
  color: rgba(224, 234, 250, 0.9);
  line-height: 1.72;
  max-width: 42ch;
}

.tc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tc-grid article {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: #0b0b0b;
  padding: 14px;
}

.tc-grid article:last-child {
  border-right: 0;
}

.tc-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.tc-grid h3 {
  margin: 10px 0 0;
  color: #fff;
  font-size: 1rem;
}

.tc-grid p {
  margin-top: 8px;
  color: rgba(200, 200, 200, 0.78);
  line-height: 1.64;
  font-size: 0.92rem;
}

.tc-band {
  background: #070707;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: clamp(30px, 4.4vw, 56px) clamp(20px, 5vw, 70px);
}

.tc-list-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.tc-list-grid article {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
  padding: 16px;
  min-height: 180px;
}

.tc-list-grid h3 {
  margin: 0;
  color: #fff;
  font-size: 1.02rem;
}

.tc-list-grid p {
  margin: 8px 0 0;
  color: rgba(210, 210, 210, 0.82);
  font-size: 0.92rem;
  line-height: 1.7;
}

.tc-table-wrap {
  margin-top: 20px;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

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

.tc-table th,
.tc-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(228, 228, 228, 0.9);
  font-size: 0.9rem;
}

.tc-table th:last-child,
.tc-table td:last-child {
  border-right: 0;
}

.tc-table thead th {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tc-table tbody tr:last-child td {
  border-bottom: 0;
}

.tc-table-model td:first-child {
  color: #fff;
  font-weight: 520;
}

.tc-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.tc-two-col article {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
  padding: 18px 16px;
}

.tc-two-col h2 {
  margin-top: 8px;
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}

.tc-two-col ul {
  margin: 14px 0 0;
  padding-left: 18px;
}

.tc-two-col li {
  color: rgba(210, 210, 210, 0.84);
  line-height: 1.72;
  font-size: 0.94rem;
}

.tc-chip-list {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tc-chip-list span {
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(240, 240, 240, 0.92);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
}

.tc-usecases,
.tc-specs,
.tc-process,
.tc-faq {
  background: #070707;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: clamp(30px, 4.4vw, 56px) clamp(20px, 5vw, 70px);
}

.tc-section-head {
  max-width: 760px;
}

.tc-section-head h2 {
  margin-top: 8px;
  color: #fff;
  font-size: clamp(1.9rem, 4.2vw, 3.1rem);
  letter-spacing: -0.03em;
  line-height: 1.02;
}

.tc-cards {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.tc-cards article {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
  padding: 16px;
  min-height: 180px;
}

.tc-cards h3 {
  margin: 0;
  color: #fff;
  font-size: 1.02rem;
}

.tc-cards p {
  margin-top: 8px;
  color: rgba(210, 210, 210, 0.82);
  font-size: 0.92rem;
  line-height: 1.7;
}

.tc-spec-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.tc-spec-grid article {
  padding: 18px 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.01);
}

.tc-spec-grid article:nth-child(3n) {
  border-right: 0;
}

.tc-spec-grid span {
  display: block;
  color: rgba(196, 196, 196, 0.76);
  font-size: 0.76rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.tc-spec-grid strong {
  margin-top: 6px;
  display: block;
  color: #fff;
  font-size: clamp(1.02rem, 1.75vw, 1.25rem);
  letter-spacing: -0.02em;
}

.tc-steps {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.tc-steps article {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
  padding: 16px;
}

.tc-steps em {
  font-style: normal;
  color: rgba(199, 199, 199, 0.68);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
}

.tc-steps h3 {
  margin: 6px 0 0;
  color: #fff;
  font-size: 1rem;
}

.tc-steps p {
  margin: 8px 0 0;
  color: rgba(208, 208, 208, 0.8);
  font-size: 0.9rem;
  line-height: 1.68;
}

.tc-faq details {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 14px 0;
}

.tc-faq details:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.tc-faq summary {
  list-style: none;
  cursor: pointer;
  color: #fff;
  font-size: 1rem;
  font-weight: 520;
}

.tc-faq summary::-webkit-details-marker {
  display: none;
}

.tc-faq p {
  margin: 8px 0 0;
  color: rgba(205, 205, 205, 0.8);
  line-height: 1.72;
  max-width: 70ch;
}

.tc-cta {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: #070707;
  text-align: center;
  padding: clamp(34px, 4.5vw, 58px) clamp(20px, 5vw, 70px);
}

.tc-cta h2 {
  color: #fff;
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  letter-spacing: -0.03em;
}

.tc-cta p {
  max-width: 52ch;
  margin: 12px auto 0;
  color: rgba(212, 212, 212, 0.82);
  line-height: 1.72;
}

.tesla-clean .sub-footer {
  width: 100%;
  margin: 0;
  padding: 24px clamp(20px, 5vw, 70px) 32px;
  color: rgba(208, 208, 208, 0.62);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 980px) {
  .tc-main {
    padding-top: 52px;
  }

  .tc-metrics,
  .tc-feature,
  .tc-grid {
    grid-template-columns: 1fr;
  }

  .tc-cards,
  .tc-steps,
  .tc-list-grid,
  .tc-two-col {
    grid-template-columns: 1fr 1fr;
  }

  .tc-spec-grid {
    grid-template-columns: 1fr 1fr;
  }

  .tc-spec-grid article:nth-child(3n) {
    border-right: 1px solid rgba(255, 255, 255, 0.12);
  }

  .tc-spec-grid article:nth-child(2n) {
    border-right: 0;
  }

  .tc-metrics article,
  .tc-pane,
  .tc-grid article {
    border-right: 0;
  }

  .tc-metrics article {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .tc-metrics article:last-child {
    border-bottom: 0;
  }

  .tc-pane {
    min-height: 62svh;
  }
}

@media (max-width: 680px) {
  .tc-cards,
  .tc-steps,
  .tc-spec-grid,
  .tc-list-grid,
  .tc-two-col {
    grid-template-columns: 1fr;
  }

  .tc-spec-grid article,
  .tc-spec-grid article:nth-child(3n),
  .tc-spec-grid article:nth-child(2n) {
    border-right: 0;
  }

  .tc-table {
    min-width: 620px;
  }
}

@media (max-width: 560px) {
  .tc-main {
    padding-top: 52px;
  }

  .tc-hero {
    min-height: 88dvh;
    padding: 72px 12px 30px;
  }

  .tc-copy h1 {
    font-size: clamp(2.1rem, 11vw, 3.2rem);
  }

  .tc-band,
  .tc-usecases,
  .tc-specs,
  .tc-process,
  .tc-faq,
  .tc-cta {
    padding-inline: 12px;
  }

  .tc-table {
    min-width: 540px;
  }

  .tc-table th,
  .tc-table td {
    padding: 10px 10px;
    font-size: 0.82rem;
  }

  .tc-chip-list span {
    font-size: 0.8rem;
    padding: 7px 12px;
  }
}

/* WattCision Blueprint v2 */
.wc-page {
  padding-top: 56px;
  background:
    radial-gradient(
      circle at 12% 8%,
      rgba(104, 132, 184, 0.14),
      transparent 34%
    ),
    radial-gradient(
      circle at 84% 18%,
      rgba(89, 119, 168, 0.12),
      transparent 30%
    ),
    linear-gradient(180deg, #060709 0%, #080a0d 48%, #07080b 100%);
  color: #f3f5f8;
}

.wc-section {
  border-top: 0;
  position: relative;
}

.wc-section::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 120px;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(8, 10, 14, 0) 0%,
    rgba(8, 10, 14, 0.22) 100%
  );
  opacity: 0.4;
}

.wc-container {
  width: min(1360px, calc(100% - 36px));
  margin: 0 auto;
}

.wc-head {
  max-width: 760px;
}

.wc-kicker {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgba(214, 220, 232, 0.86);
}

.wc-title {
  margin: 8px 0 0;
  color: #fff;
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.wc-subtitle {
  margin: 12px 0 0;
  max-width: 64ch;
  color: rgba(214, 220, 232, 0.84);
  line-height: 1.7;
}

.wc-actions {
  margin-top: 24px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.wc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: 999px;
  padding: 0 18px;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
}

.wc-btn--primary {
  background: rgba(247, 249, 252, 0.94);
  color: #101319;
}

.wc-btn--secondary {
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(16, 20, 26, 0.62);
  color: rgba(243, 246, 255, 0.94);
}

.wc-section--hero {
  position: relative;
  min-height: 94svh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.wc-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wc-hero-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(4, 5, 7, 0.18) 0%,
    rgba(4, 5, 7, 0.56) 60%,
    rgba(4, 5, 7, 0.86) 100%
  );
}

.wc-section--hero .wc-container {
  position: relative;
  z-index: 1;
  padding-bottom: clamp(30px, 7vh, 62px);
}

.wc-section--resilience,
.wc-section--brain,
.wc-section--scale,
.wc-section--specs,
.wc-section--cases,
.wc-section--cta {
  padding: clamp(36px, 5.2vw, 72px) 0;
}

.wc-media--gallery {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.wc-media--gallery article {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.26);
}

.wc-media--gallery img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.wc-media--gallery h3 {
  margin: 0;
  padding: 12px 14px 14px;
  color: #fff;
  font-size: 0.96rem;
}

.wc-metric {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.wc-metric li {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  border-radius: 14px;
  padding: 14px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.wc-metric strong {
  display: block;
  color: #fff;
}

.wc-metric span {
  display: block;
  margin-top: 4px;
  color: rgba(214, 220, 232, 0.76);
  font-size: 0.8rem;
}

.wc-layout--split {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 14px;
  align-items: center;
}

.wc-feature-list {
  margin: 16px 0 0;
  padding-left: 18px;
}

.wc-feature-list li {
  margin-top: 8px;
  color: rgba(216, 223, 237, 0.86);
}

.wc-media--ui img,
.wc-media--photo img {
  width: 100%;
  display: block;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 18px;
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.3);
}

.wc-media--3d {
  margin-top: 22px;
  padding: 20px 18px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0.015) 100%
  );
  border-radius: 18px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.07),
    0 16px 34px rgba(0, 0, 0, 0.24);
}

.wc-scale-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.wc-scale-cabinet {
  height: 160px;
  border-radius: 12px;
  background: linear-gradient(
    180deg,
    rgba(100, 114, 138, 0.16) 0%,
    rgba(37, 44, 56, 0.34) 100%
  );
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.wc-scale-cabinet.is-active {
  background: linear-gradient(
    180deg,
    rgba(160, 198, 255, 0.2) 0%,
    rgba(65, 89, 129, 0.45) 100%
  );
  box-shadow:
    inset 0 0 0 1px rgba(178, 211, 255, 0.36),
    0 10px 26px rgba(92, 130, 184, 0.28);
}

.wc-scale-slider {
  width: 100%;
  margin-top: 14px;
}

.wc-scroll-story {
  margin-top: 20px;
  display: grid;
  gap: 20px;
}

.wc-scroll-story article {
  padding: 4px 0 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.wc-scroll-story article:last-child {
  border-bottom: 0;
}

.wc-scroll-story strong {
  display: block;
  color: #fff;
  font-size: clamp(1.55rem, 4vw, 3rem);
  line-height: 1.03;
  letter-spacing: -0.03em;
}

.wc-scroll-story p {
  margin: 10px 0 0;
  max-width: 58ch;
  color: rgba(214, 220, 232, 0.82);
}

.wc-accordion {
  margin-top: 16px;
}

.wc-accordion-item {
  margin-top: 10px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 2px 12px 10px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}

.wc-accordion-item summary {
  cursor: pointer;
  font-weight: 600;
  padding: 10px 0 4px;
}

.wc-accordion-item ul {
  margin: 10px 0 0;
  padding-left: 18px;
}

.wc-accordion-item li {
  margin-top: 6px;
  color: rgba(214, 220, 232, 0.84);
}

.wc-case-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.wc-case-grid article {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.055) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  border-radius: 16px;
  padding: 16px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 16px 30px rgba(0, 0, 0, 0.2);
}

.wc-case-grid h3 {
  margin: 0;
  color: #fff;
}

.wc-case-grid p {
  margin-top: 9px;
  color: rgba(214, 220, 232, 0.82);
}

.wc-section--cta {
  text-align: center;
  padding-bottom: clamp(44px, 6vw, 88px);
}

.wc-section--cta .wc-title {
  font-size: clamp(1.9rem, 4vw, 3.2rem);
}

.wc-section--cta .wc-actions {
  justify-content: center;
}

@media (max-width: 980px) {
  .wc-container {
    width: calc(100% - 28px);
  }

  .wc-layout--split,
  .wc-media--gallery,
  .wc-metric,
  .wc-scroll-story,
  .wc-case-grid {
    grid-template-columns: 1fr;
  }

  .wc-scale-cabinet {
    height: 96px;
  }
}

@media (max-width: 560px) {
  .wc-page {
    padding-top: 52px;
  }

  .wc-section--hero {
    min-height: 86dvh;
  }

  .wc-container {
    width: calc(100% - 20px);
  }

  .wc-btn {
    width: 100%;
  }
}

/* WattCision refinement: premium minimal */
.wc-page {
  background: #060607;
}

.wc-section::before {
  display: none;
}

.wc-container {
  width: min(1040px, calc(100% - 72px));
}

.wc-section--resilience,
.wc-section--brain,
.wc-section--scale,
.wc-section--specs,
.wc-section--cases,
.wc-section--cta {
  padding: clamp(56px, 9vw, 112px) 0;
}

.wc-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  color: rgba(218, 225, 238, 0.58);
}

.wc-title {
  margin-top: 10px;
  font-size: clamp(1.66rem, 3.4vw, 2.85rem);
  line-height: 1;
  letter-spacing: -0.022em;
}

.wc-subtitle {
  margin-top: 14px;
  max-width: 52ch;
  color: rgba(223, 230, 242, 0.72);
  font-size: clamp(1rem, 1.4vw, 1.08rem);
  line-height: 1.8;
}

.wc-actions {
  margin-top: 28px;
  gap: 12px;
}

.wc-btn {
  min-height: 42px;
  padding: 0 20px;
  font-size: 0.84rem;
  letter-spacing: 0.01em;
  transition:
    transform 200ms ease,
    background-color 200ms ease,
    color 200ms ease,
    border-color 200ms ease;
}

.wc-btn--primary {
  background: #f4f6fb;
  color: #11131a;
}

.wc-btn--secondary {
  background: transparent;
  border: 1px solid rgba(239, 243, 251, 0.28);
}

.wc-media--gallery,
.wc-layout--split,
.wc-case-grid {
  gap: 24px;
}

.wc-media--gallery article,
.wc-media--ui img,
.wc-media--photo img,
.wc-media--3d,
.wc-metric li,
.wc-accordion-item,
.wc-case-grid article {
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.wc-media--gallery article {
  border: 0;
}

.wc-media--gallery img,
.wc-media--ui img,
.wc-media--photo img {
  border-radius: 2px;
  border: 0;
}

.wc-metric {
  margin-top: 24px;
  gap: 18px;
}

.wc-metric li {
  padding: 0;
  box-shadow: none;
}

.wc-metric strong {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  letter-spacing: -0.03em;
}

.wc-metric span {
  margin-top: 6px;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(216, 223, 236, 0.58);
}

.wc-feature-list {
  margin-top: 24px;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.wc-feature-list li {
  margin: 0;
  padding-left: 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(223, 230, 242, 0.78);
}

.wc-media--3d {
  margin-top: 26px;
  padding: 0;
}

.wc-scale-track {
  gap: 12px;
}

.wc-scale-cabinet {
  height: 132px;
  border-radius: 2px;
  background: linear-gradient(
    180deg,
    rgba(143, 161, 192, 0.22) 0%,
    rgba(62, 70, 85, 0.3) 100%
  );
  box-shadow: none;
}

.wc-scale-cabinet.is-active {
  background: linear-gradient(
    180deg,
    rgba(196, 218, 255, 0.38) 0%,
    rgba(88, 109, 140, 0.42) 100%
  );
  box-shadow: none;
}

.wc-scale-slider {
  margin-top: 20px;
}

.wc-scroll-story {
  margin-top: 34px;
  gap: 30px;
}

.wc-scroll-story article {
  padding: 0;
  border-bottom: 0;
}

.wc-scroll-story strong {
  font-size: clamp(1.2rem, 2.2vw, 1.86rem);
  line-height: 1.08;
  letter-spacing: -0.014em;
}

.wc-scroll-story p {
  margin-top: 12px;
  color: rgba(223, 230, 242, 0.72);
}

.wc-accordion {
  margin-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.wc-accordion-item {
  margin-top: 0;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.wc-accordion-item summary {
  padding: 0;
  font-size: 1rem;
  font-weight: 520;
}

.wc-accordion-item ul {
  margin-top: 10px;
  padding-left: 16px;
}

.wc-accordion-item li {
  color: rgba(223, 230, 242, 0.72);
}

.wc-case-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 26px;
}

.wc-case-grid article {
  padding: 0;
}

.wc-case-grid h3 {
  font-size: clamp(0.96rem, 1.3vw, 1.14rem);
  letter-spacing: -0.008em;
}

.wc-case-grid p {
  margin-top: 10px;
  color: rgba(223, 230, 242, 0.7);
  line-height: 1.8;
}

.wc-section--cta {
  padding-bottom: clamp(76px, 10vw, 132px);
}

.wc-section--cta .wc-subtitle {
  margin-inline: auto;
}

@media (max-width: 980px) {
  .wc-container {
    width: calc(100% - 30px);
  }

  .wc-layout--split,
  .wc-media--gallery,
  .wc-case-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .wc-scale-cabinet {
    height: 92px;
  }
}

@media (max-width: 560px) {
  .wc-container {
    width: calc(100% - 22px);
  }

  .wc-section--resilience,
  .wc-section--brain,
  .wc-section--scale,
  .wc-section--specs,
  .wc-section--cases,
  .wc-section--cta {
    padding: 46px 0;
  }

  .wc-title {
    font-size: clamp(1.36rem, 6.6vw, 1.78rem);
  }

  .wc-btn {
    width: 100%;
  }

  .wc-scroll-story strong {
    font-size: clamp(1.06rem, 5.8vw, 1.34rem);
  }
}

/* EKD-inspired minimal narrative */
.wc-ekd {
  background: #050607;
}

.wc-ekd .wc-container {
  width: min(1320px, calc(100% - 42px));
}

.wc-ekd .wc-section--resilience,
.wc-ekd .wc-section--brain,
.wc-ekd .wc-section--scale,
.wc-ekd .wc-section--specs,
.wc-ekd .wc-section--cta {
  padding: clamp(72px, 10vw, 136px) 0;
}

.wc-ekd .wc-kicker {
  color: rgba(232, 238, 250, 0.46);
}

.wc-ekd .wc-title {
  font-weight: 560;
}

.wc-ekd .wc-subtitle {
  color: rgba(225, 232, 245, 0.66);
  max-width: 46ch;
}

.wc-ekd .wc-media--gallery,
.wc-ekd .wc-layout--split {
  gap: 28px;
}

.wc-ekd .wc-media--gallery article,
.wc-ekd .wc-media--ui img,
.wc-ekd .wc-media--photo img,
.wc-ekd .wc-media--3d,
.wc-ekd .wc-metric li,
.wc-ekd .wc-accordion-item,
.wc-ekd .wc-case-grid article {
  background: transparent;
  box-shadow: none;
  border: 0;
}

.wc-ekd .wc-media--gallery img,
.wc-ekd .wc-media--ui img,
.wc-ekd .wc-media--photo img {
  border-radius: 0;
  filter: saturate(0.92) contrast(1.03);
}

.wc-ekd .wc-metric {
  margin-top: 28px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.wc-ekd .wc-metric strong {
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  font-weight: 540;
}

.wc-ekd .wc-feature-list {
  gap: 12px;
}

.wc-ekd .wc-feature-list li {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(225, 232, 245, 0.7);
}

.wc-ekd .wc-scroll-story {
  margin-top: 42px;
}

.wc-ekd .wc-scroll-story strong {
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  font-weight: 540;
}

.wc-ekd .wc-scroll-story p {
  max-width: 52ch;
}

.wc-ekd .wc-accordion {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.wc-ekd .wc-accordion-item {
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.wc-ekd .wc-accordion-item summary {
  font-weight: 500;
}

.wc-ekd .wc-accordion-item li {
  color: rgba(225, 232, 245, 0.68);
}

.wc-ekd .wc-section--cta {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 980px) {
  .wc-ekd .wc-container {
    width: calc(100% - 24px);
  }

  .wc-ekd .wc-layout--split,
  .wc-ekd .wc-media--gallery {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .wc-ekd .wc-metric {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .wc-ekd .wc-container {
    width: calc(100% - 16px);
  }

  .wc-ekd .wc-section--resilience,
  .wc-ekd .wc-section--brain,
  .wc-ekd .wc-section--scale,
  .wc-ekd .wc-section--specs,
  .wc-ekd .wc-section--cta {
    padding: 54px 0;
  }
}

.wc-section--features {
  padding: clamp(58px, 8vw, 98px) 0;
}

.wc-feature-nav {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: row;
  grid-template-rows: repeat(3, minmax(230px, auto));
  gap: 16px;
  align-items: stretch;
}

.wc-feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  isolation: isolate;
  border-radius: 22px;
  padding: 22px 22px 20px;
  border: 1px solid rgba(17, 21, 29, 0.09);
  background: #f2f4f7;
  box-shadow:
    0 1px 2px rgba(10, 16, 28, 0.05),
    0 12px 28px rgba(10, 16, 28, 0.06);
  transition:
    transform 280ms ease,
    border-color 280ms ease,
    box-shadow 280ms ease,
    opacity 280ms ease;
  opacity: 0.97;
  grid-column: span 3;
  grid-row: auto;
  min-width: 0;
}

.wc-feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  transition: opacity 300ms ease;
}

.wc-feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.22);
  opacity: 0;
  transition: opacity 280ms ease;
}

.wc-feature-card:hover,
.wc-feature-card.is-active {
  opacity: 1;
  transform: translateY(-3px);
  border-color: rgba(17, 21, 29, 0.2);
  box-shadow: 0 18px 34px rgba(10, 16, 28, 0.1);
}

.wc-feature-card:hover::before,
.wc-feature-card.is-active::before,
.wc-feature-card:hover::after,
.wc-feature-card.is-active::after {
  opacity: 1;
}

.wc-feature-card h3 {
  margin: 0;
  font-size: clamp(1.26rem, 1.9vw, 1.9rem);
  font-weight: 500;
  line-height: 1.11;
  letter-spacing: -0.022em;
  max-width: 20ch;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.wc-feature-card p {
  margin: 16px 0 0;
  line-height: 1.5;
  font-size: 0.94rem;
  max-width: 42ch;
  color: rgba(17, 21, 29, 0.72);
  overflow-wrap: anywhere;
}

.wc-feature-card--wide {
  grid-column: span 6;
}

.wc-feature-card--tall {
  grid-row: auto;
}

.wc-feature-card--compact {
  grid-row: auto;
}

.wc-feature-card--accent {
  background: linear-gradient(152deg, #ff9c29 0%, #ea7a00 95%);
  color: #f8fbff;
  border-color: rgba(234, 122, 0, 0.44);
  box-shadow: 0 16px 34px rgba(234, 122, 0, 0.22);
}

.wc-feature-card--accent p {
  color: rgba(248, 251, 255, 0.9);
}

.wc-feature-card--neutral,
.wc-feature-card--neutral-wide {
  background: linear-gradient(180deg, #f4f6f9 0%, #eceff4 100%);
  color: #11151d;
}

.wc-feature-card--dark {
  background:
    radial-gradient(
      circle at 78% 92%,
      rgba(255, 136, 0, 0.32),
      rgba(255, 136, 0, 0) 48%
    ),
    linear-gradient(180deg, #11151d 0%, #191f29 100%);
  color: #f4f7fc;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 32px rgba(4, 8, 15, 0.24);
}

.wc-feature-card--dark p {
  color: rgba(233, 239, 249, 0.8);
}

.wc-feature-card--media,
.wc-feature-card--media-dark {
  color: #f7f9fd;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 38px rgba(10, 16, 28, 0.22);
  background: transparent;
}

.wc-feature-card--media::before {
  z-index: 0;
  opacity: 1;
  background:
    linear-gradient(
      114deg,
      rgba(8, 12, 20, 0.62) 0%,
      rgba(8, 12, 20, 0.18) 46%,
      rgba(8, 12, 20, 0.34) 100%
    ),
    url("./assets/feature-card-ev-exploded-resource1-premium-v2.jpg") center /
      cover no-repeat;
}

.wc-feature-card--media h3,
.wc-feature-card--media p,
.wc-feature-card--media-dark h3,
.wc-feature-card--media-dark p {
  position: relative;
  z-index: 1;
}

.wc-feature-card--media-dark::before {
  opacity: 1;
  background: linear-gradient(
    130deg,
    rgba(8, 12, 22, 0.92) 0%,
    rgba(16, 24, 43, 0.82) 52%,
    rgba(11, 18, 33, 0.9) 100%
  );
}

.wc-feature-card--media p,
.wc-feature-card--media-dark p {
  color: rgba(236, 241, 249, 0.88);
}

.wc-feature-card--gradient {
  color: #f8faff;
  border-color: rgba(135, 147, 255, 0.32);
  background:
    radial-gradient(
      circle at 12% 8%,
      rgba(142, 241, 255, 0.36),
      rgba(142, 241, 255, 0) 40%
    ),
    linear-gradient(130deg, #181d31 0%, #28307a 52%, #552f82 100%);
  box-shadow: 0 20px 36px rgba(51, 63, 145, 0.3);
}

.wc-feature-card--gradient p {
  color: rgba(239, 243, 252, 0.84);
}

@media (min-width: 1200px) {
  .wc-feature-nav {
    gap: 18px;
  }

  .wc-feature-card:nth-child(1) {
    grid-column: 1 / span 3;
    grid-row: 1 / span 2;
  }
  .wc-feature-card:nth-child(2) {
    grid-column: 4 / span 6;
    grid-row: 1;
  }
  .wc-feature-card:nth-child(3) {
    grid-column: 10 / span 3;
    grid-row: 1;
  }
  .wc-feature-card:nth-child(4) {
    grid-column: 4 / span 3;
    grid-row: 2;
  }
  .wc-feature-card:nth-child(5) {
    grid-column: 7 / span 3;
    grid-row: 2;
  }
  .wc-feature-card:nth-child(6) {
    grid-column: 10 / span 3;
    grid-row: 2 / span 2;
  }
  .wc-feature-card:nth-child(7) {
    grid-column: 1 / span 6;
    grid-row: 3;
  }
  .wc-feature-card:nth-child(8) {
    grid-column: 7 / span 3;
    grid-row: 3;
  }
}

@media (max-width: 1199px) and (min-width: 981px) {
  .wc-feature-nav {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    grid-template-rows: repeat(4, minmax(208px, auto));
    gap: 14px;
  }

  .wc-feature-card {
    grid-column: span 2;
    grid-row: auto;
    border-radius: 18px;
    padding: 18px 18px 16px;
  }

  .wc-feature-card:nth-child(1) {
    grid-column: 1 / span 2;
    grid-row: 1 / span 2;
  }
  .wc-feature-card:nth-child(2) {
    grid-column: 3 / span 4;
    grid-row: 1;
  }
  .wc-feature-card:nth-child(3) {
    grid-column: 7 / span 2;
    grid-row: 1;
  }
  .wc-feature-card:nth-child(4) {
    grid-column: 3 / span 3;
    grid-row: 2;
  }
  .wc-feature-card:nth-child(5) {
    grid-column: 6 / span 3;
    grid-row: 2;
  }
  .wc-feature-card:nth-child(6) {
    grid-column: 1 / span 4;
    grid-row: 3;
  }
  .wc-feature-card:nth-child(7) {
    grid-column: 5 / span 4;
    grid-row: 3;
  }
  .wc-feature-card:nth-child(8) {
    grid-column: 1 / span 8;
    grid-row: 4;
  }
}

.wc-feature-detail {
  padding: clamp(68px, 9.2vw, 130px) 0;
}

.wc-feature-detail + .wc-feature-detail {
  margin-top: clamp(6px, 1.8vw, 22px);
}

.wc-feature-detail .wc-layout--split {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(22px, 3.6vw, 56px);
  align-items: center;
}

.wc-feature-detail .wc-copy {
  max-width: 50ch;
}

.wc-feature-detail .wc-title {
  font-size: clamp(1.28rem, 2.05vw, 1.88rem);
  letter-spacing: -0.018em;
  margin-bottom: 14px;
  text-wrap: balance;
}

.wc-feature-detail .wc-subtitle {
  font-size: clamp(0.95rem, 1.22vw, 1.06rem);
  line-height: 1.72;
  color: rgba(17, 21, 29, 0.73);
  max-width: 48ch;
}

.wc-feature-detail .wc-media {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(17, 21, 29, 0.08);
  background: #dfe4ec;
  box-shadow:
    0 12px 28px rgba(10, 16, 28, 0.08),
    0 2px 6px rgba(10, 16, 28, 0.04);
}

.wc-feature-detail .wc-media--photo img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.wc-feature-detail .wc-media--photo video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.wc-feature-detail--imaster .wc-copy--imaster {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 14px;
  align-items: start;
  max-width: 100%;
  width: 100%;
  margin-inline: 0;
}

.wc-feature-detail--imaster .wc-imaster-text {
  grid-column: 1;
  max-width: 64ch;
}

.wc-feature-detail--imaster .wc-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(16, 22, 34, 0.14);
  background: linear-gradient(
    135deg,
    rgba(242, 246, 255, 0.92) 0%,
    rgba(255, 255, 255, 0.98) 100%
  );
  color: rgba(20, 28, 42, 0.72);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  grid-column: 1;
  margin-bottom: 18px;
}

.wc-feature-detail--imaster .wc-title {
  letter-spacing: -0.02em;
  grid-column: 1;
  max-width: 15ch;
}

.wc-feature-detail--imaster .wc-subtitle {
  max-width: 62ch;
  grid-column: 1;
  margin-top: 8px;
}

.wc-imaster-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  grid-column: 1;
  max-width: 920px;
  margin-top: 2px;
}

.wc-imaster-metrics article {
  display: grid;
  gap: 2px;
  padding: 14px 14px 12px;
  border-radius: 14px;
  border: 1px solid rgba(17, 21, 29, 0.11);
  background: linear-gradient(
    170deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(246, 249, 255, 0.94) 100%
  );
}

.wc-imaster-metrics strong {
  color: #0f1728;
  font-size: 20px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.wc-imaster-metrics span {
  color: rgba(17, 21, 29, 0.66);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.wc-feature-detail--imaster .wc-media--prototype {
  border-radius: 22px;
  border: 1px solid rgba(18, 26, 40, 0.14);
  background: linear-gradient(
    150deg,
    rgba(236, 241, 251, 0.84) 0%,
    rgba(251, 253, 255, 0.96) 65%,
    rgba(236, 244, 255, 0.9) 100%
  );
  box-shadow:
    0 26px 56px rgba(15, 24, 40, 0.14),
    0 8px 20px rgba(15, 24, 40, 0.08);
}

.wc-prototype-shell {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  overscroll-behavior: contain;
  border-radius: 20px;
}

.wc-prototype-interact-hint {
  position: absolute;
  left: 14px;
  top: 12px;
  z-index: 6;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(8, 12, 20, 0.62);
  color: rgba(246, 248, 255, 0.9);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.015em;
  padding: 6px 11px;
  backdrop-filter: blur(8px);
  pointer-events: none;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.wc-prototype-fullscreen-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 6;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(8, 12, 20, 0.62);
  color: #f6f8ff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 7px 12px;
  backdrop-filter: blur(8px);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.wc-prototype-fullscreen-btn:hover {
  background: rgba(14, 20, 32, 0.84);
  border-color: rgba(255, 255, 255, 0.36);
  transform: translateY(-1px);
}

.wc-prototype-shell iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #03050b;
  pointer-events: auto;
}

.wc-prototype-shell.is-interacting iframe,
.wc-prototype-shell:fullscreen iframe,
.wc-prototype-shell.is-fallback-fullscreen iframe {
  pointer-events: auto;
}

.wc-prototype-shell.is-interacting .wc-prototype-interact-hint,
.wc-prototype-shell:fullscreen .wc-prototype-interact-hint,
.wc-prototype-shell.is-fallback-fullscreen .wc-prototype-interact-hint {
  opacity: 0;
  transform: translateY(-3px);
}

.wc-prototype-shell:fullscreen {
  width: 100vw;
  height: 100vh;
  max-width: none;
  aspect-ratio: auto;
  border-radius: 0;
}

.wc-prototype-shell:fullscreen .wc-prototype-fullscreen-btn {
  top: 18px;
  right: 18px;
}

.wc-prototype-shell.is-fallback-fullscreen {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  max-width: none;
  aspect-ratio: auto;
  border-radius: 0;
  z-index: 9999;
}

body.imaster-focus-mode .panel-video,
body.imaster-focus-mode [data-parallax] {
  animation-play-state: paused !important;
}

body.imaster-focus-mode .reveal-item:not(#feature-8) {
  transition: none !important;
}

/* iMaster glow tuning: keep container layout intact while lifting the orb glow */
#feature-8 .wc-prototype-shell::after {
  opacity: 0.38 !important;
}

#feature-8 .wc-prototype-shell iframe {
  filter: saturate(1.08) brightness(1.05);
}

.wc-feature-detail--imaster .wc-layout--split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px, 3.2vw, 34px);
}

.wc-feature-detail--imaster .wc-media--prototype {
  grid-column: 1;
  grid-row: 2;
  width: 100%;
}

.wc-feature-detail--imaster .wc-copy--imaster {
  grid-column: 1;
  grid-row: 1;
  margin-top: 0;
}

.wc-feature-detail--imaster .wc-prototype-shell {
  aspect-ratio: 16 / 8.8;
}

.wc-feature-detail--left .wc-copy {
  grid-column: 1 / span 5;
}

.wc-feature-detail--left .wc-media {
  grid-column: 6 / span 7;
  margin-top: clamp(8px, 1.8vw, 26px);
}

.wc-feature-detail--right .wc-copy {
  grid-column: 8 / span 5;
  grid-row: 1;
  margin-top: clamp(10px, 2vw, 26px);
}

.wc-feature-detail--right .wc-media {
  grid-column: 1 / span 7;
  grid-row: 1;
}

/* Force feature-8 (iMaster) into vertical flow: copy first, prototype second */
.wc-feature-detail--imaster.wc-feature-detail--right .wc-layout--split {
  grid-template-columns: 1fr;
}

.wc-feature-detail--imaster.wc-feature-detail--right .wc-copy.wc-copy--imaster {
  grid-column: 1;
  grid-row: 1;
  margin-top: 0;
  max-width: 100%;
}

.wc-feature-detail--imaster.wc-feature-detail--right
  .wc-media.wc-media--prototype {
  grid-column: 1;
  grid-row: 2;
}

.wc-feature-detail--video .wc-media {
  border-color: rgba(17, 21, 29, 0.16);
}

.wc-feature-detail--video .wc-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    170deg,
    rgba(7, 10, 16, 0.12) 0%,
    rgba(7, 10, 16, 0) 40%,
    rgba(7, 10, 16, 0.36) 100%
  );
  pointer-events: none;
}

.wc-ev-inline {
  margin-top: clamp(26px, 4.4vw, 52px);
  padding-top: 0;
}

.wc-feature-detail--scaled {
  padding-top: clamp(64px, 8vw, 108px);
}

.wc-scale-module {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: clamp(14px, 2.2vw, 24px);
}

.wc-scale-module::before,
.wc-scale-module::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(58px);
}

.wc-scale-module::before {
  width: clamp(220px, 28vw, 340px);
  height: clamp(220px, 28vw, 340px);
  top: 38%;
  left: -10%;
  background: radial-gradient(
    circle,
    rgba(133, 169, 226, 0.13),
    rgba(91, 139, 233, 0)
  );
}

.wc-scale-module::after {
  width: clamp(180px, 24vw, 300px);
  height: clamp(180px, 24vw, 300px);
  bottom: 10%;
  right: -6%;
  background: radial-gradient(
    circle,
    rgba(151, 178, 223, 0.11),
    rgba(121, 158, 222, 0)
  );
}

.wc-scale-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 2940 / 1260;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(17, 21, 29, 0.1);
  box-shadow: 0 22px 40px rgba(8, 16, 28, 0.14);
}

.wc-scale-hero video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.06) saturate(0.76) brightness(0.88);
}

.wc-scale-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    72% 84% at 72% 38%,
    rgba(52, 100, 179, 0.12) 0%,
    rgba(6, 10, 16, 0) 62%
  );
  pointer-events: none;
}

.wc-scale-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    130deg,
    rgba(6, 10, 16, 0.62) 0%,
    rgba(6, 10, 16, 0.22) 52%,
    rgba(6, 10, 16, 0.56) 100%
  );
  pointer-events: none;
}

.wc-scale-hero-copy {
  position: absolute;
  left: clamp(18px, 3vw, 34px);
  bottom: clamp(18px, 3vw, 30px);
  max-width: 64ch;
  z-index: 1;
}

.wc-scale-hero-copy h2 {
  margin: 0;
  color: #f7fbff;
  font-size: clamp(1.66rem, 3.1vw, 2.72rem);
  letter-spacing: -0.03em;
  line-height: 0.98;
}

.wc-scale-hero-copy p {
  margin: 12px 0 0;
  color: rgba(229, 238, 251, 0.92);
  max-width: 58ch;
  line-height: 1.62;
}

.wc-scale-kpi {
  position: absolute;
  right: clamp(16px, 2.2vw, 24px);
  top: clamp(16px, 2.2vw, 24px);
  z-index: 1;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  padding: 9px 11px;
  color: #f5f9ff;
}

.wc-scale-kpi p {
  margin: 0;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(235, 243, 255, 0.8);
}

.wc-scale-kpi strong {
  display: block;
  margin-top: 4px;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.wc-scale-scenarios {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.wc-scale-scenarios article {
  position: relative;
  border-radius: 20px;
  border: 1px solid rgba(20, 28, 42, 0.085);
  background:
    radial-gradient(
      120% 110% at 0% 0%,
      rgba(218, 231, 250, 0.24),
      transparent 56%
    ),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  padding: 18px 18px 16px;
  box-shadow:
    0 10px 24px rgba(12, 20, 33, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px) saturate(118%);
  transition:
    transform 240ms ease,
    box-shadow 240ms ease,
    border-color 240ms ease;
}

.wc-scale-scenarios article::before {
  content: "";
  position: absolute;
  width: 64px;
  height: 64px;
  right: -18px;
  top: -18px;
  border-radius: 999px;
  opacity: 0.2;
  filter: blur(6px);
  pointer-events: none;
}

.wc-scale-scenarios article::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(66, 120, 220, 0.5),
    rgba(66, 120, 220, 0)
  );
}

.wc-scale-scenarios article:hover {
  transform: translateY(-3px);
  border-color: rgba(49, 85, 147, 0.2);
  box-shadow:
    0 18px 34px rgba(11, 18, 31, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.97);
}

.wc-scale-scenarios article:nth-child(1)::after {
  background: linear-gradient(
    90deg,
    rgba(83, 128, 206, 0.42),
    rgba(56, 116, 228, 0)
  );
}

.wc-scale-scenarios article:nth-child(1)::before {
  background: radial-gradient(
    circle,
    rgba(93, 139, 255, 0.34),
    rgba(93, 139, 255, 0)
  );
}

.wc-scale-scenarios article:nth-child(2)::after {
  background: linear-gradient(
    90deg,
    rgba(85, 148, 126, 0.34),
    rgba(44, 154, 118, 0)
  );
}

.wc-scale-scenarios article:nth-child(2)::before {
  background: radial-gradient(
    circle,
    rgba(72, 204, 162, 0.3),
    rgba(72, 204, 162, 0)
  );
}

.wc-scale-scenarios article:nth-child(3)::after {
  background: linear-gradient(
    90deg,
    rgba(173, 117, 108, 0.34),
    rgba(186, 84, 74, 0)
  );
}

.wc-scale-scenarios article:nth-child(3)::before {
  background: radial-gradient(
    circle,
    rgba(255, 131, 98, 0.3),
    rgba(255, 131, 98, 0)
  );
}

.wc-scale-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 1px solid rgba(17, 21, 29, 0.1);
  background: linear-gradient(180deg, #ffffff, #f2f6fc);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 4px 10px rgba(8, 12, 20, 0.05);
  display: inline-block;
  position: relative;
}

.wc-scale-scenarios article:nth-child(1) .wc-scale-icon {
  background: linear-gradient(180deg, #fbfdff, #eff4fb);
}

.wc-scale-scenarios article:nth-child(2) .wc-scale-icon {
  background: linear-gradient(180deg, #fcfdfc, #eef5f1);
}

.wc-scale-scenarios article:nth-child(3) .wc-scale-icon {
  background: linear-gradient(180deg, #fffdfc, #f7efed);
}

.wc-scale-icon::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 3px;
  background: rgba(17, 21, 29, 0.54);
}

.wc-scale-scenarios article:nth-child(1) .wc-scale-icon::before {
  background: linear-gradient(
    180deg,
    rgba(47, 107, 226, 0.7),
    rgba(47, 107, 226, 0.5)
  );
}

.wc-scale-scenarios article:nth-child(2) .wc-scale-icon::before {
  background: linear-gradient(
    180deg,
    rgba(34, 167, 122, 0.68),
    rgba(34, 167, 122, 0.48)
  );
}

.wc-scale-scenarios article:nth-child(3) .wc-scale-icon::before {
  background: linear-gradient(
    180deg,
    rgba(228, 111, 74, 0.7),
    rgba(228, 111, 74, 0.5)
  );
}

.wc-scale-icon--offgrid::before {
  inset: 6px 12px;
}

.wc-scale-icon--blackstart::before {
  inset: 9px;
  border-radius: 50%;
}

.wc-scale-scenarios h3 {
  margin: 12px 0 0;
  font-size: 1.09rem;
  letter-spacing: -0.017em;
  line-height: 1.2;
}

.wc-scale-scenarios p {
  margin: 9px 0 0;
  color: rgba(17, 21, 29, 0.66);
  font-size: 0.9rem;
  line-height: 1.62;
}

.wc-scale-tech {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.wc-scale-path,
.wc-scale-pillars,
.wc-scale-topology,
.wc-scale-specs,
.wc-scale-icons {
  border-radius: 20px;
  border: 1px solid rgba(18, 26, 39, 0.085);
  background:
    radial-gradient(
      140% 120% at 0% 0%,
      rgba(215, 230, 251, 0.2),
      transparent 54%
    ),
    #ffffff;
  box-shadow:
    0 10px 24px rgba(12, 20, 33, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  padding: 18px;
  transition:
    transform 260ms ease,
    box-shadow 260ms ease,
    border-color 260ms ease;
}

.wc-scale-path:hover,
.wc-scale-pillars:hover,
.wc-scale-topology:hover,
.wc-scale-specs:hover,
.wc-scale-icons:hover {
  transform: translateY(-1px);
  border-color: rgba(46, 79, 136, 0.16);
  box-shadow:
    0 14px 28px rgba(11, 18, 31, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

.wc-scale-path h3,
.wc-scale-pillars h3,
.wc-scale-proof h3 {
  margin: 0;
  font-size: 1.15rem;
  letter-spacing: -0.014em;
}

.wc-scale-path p {
  margin: 8px 0 0;
  color: rgba(17, 21, 29, 0.58);
}

.wc-scale-path input {
  margin-top: 16px;
  width: 100%;
  accent-color: #0f172a;
}

.wc-scale-path input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(123, 138, 160, 0.32),
    rgba(20, 29, 44, 0.74)
  );
}

.wc-scale-path input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.84);
  background: linear-gradient(180deg, #465266, #212a37);
  box-shadow: 0 5px 12px rgba(8, 13, 22, 0.28);
}

.wc-scale-path input[type="range"]::-moz-range-thumb {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.84);
  background: linear-gradient(180deg, #465266, #212a37);
  box-shadow: 0 5px 12px rgba(8, 13, 22, 0.28);
}

.wc-scale-units {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.wc-scale-units span {
  height: 50px;
  border-radius: 11px;
  border: 1px solid rgba(17, 21, 29, 0.07);
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.07),
    rgba(15, 23, 42, 0.12)
  );
  opacity: 0.36;
  transition:
    transform 220ms ease,
    opacity 220ms ease,
    background-color 220ms ease,
    box-shadow 220ms ease;
}

.wc-scale-module[data-scale-count="1"] .wc-scale-units span:nth-child(-n + 1),
.wc-scale-module[data-scale-count="2"] .wc-scale-units span:nth-child(-n + 2),
.wc-scale-module[data-scale-count="3"] .wc-scale-units span:nth-child(-n + 3),
.wc-scale-module[data-scale-count="4"] .wc-scale-units span:nth-child(-n + 4),
.wc-scale-module[data-scale-count="5"] .wc-scale-units span:nth-child(-n + 5) {
  opacity: 1;
  transform: translateY(-1px) scale(1.01);
  background: linear-gradient(
    180deg,
    rgba(35, 53, 84, 0.78),
    rgba(22, 33, 54, 0.92)
  );
  box-shadow:
    0 8px 16px rgba(7, 12, 22, 0.18),
    0 0 0 1px rgba(95, 139, 239, 0.1);
}

.wc-scale-metrics {
  margin: 14px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
}

.wc-scale-metrics div {
  margin: 0;
  padding-top: 8px;
  border-top: 1px solid rgba(17, 21, 29, 0.09);
}

.wc-scale-metrics dt {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(17, 21, 29, 0.5);
}

.wc-scale-metrics dd {
  margin: 5px 0 0;
  font-size: 1.2rem;
  font-weight: 650;
  letter-spacing: -0.015em;
  color: #11151d;
}

.wc-scale-pillars ul {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
}

.wc-scale-pillars li {
  margin: 0;
}

.wc-scale-pillars .wc-tech-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
  padding: 10px 0;
}

.wc-scale-pillars .wc-tech-item + .wc-tech-item {
  border-top: 1px solid rgba(17, 21, 29, 0.08);
}

.wc-scale-pillars .wc-tech-icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(17, 21, 29, 0.12);
  background: rgba(255, 255, 255, 0.72);
  color: rgba(17, 24, 39, 0.72);
}

.wc-scale-pillars .wc-tech-icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wc-scale-pillars .wc-tech-copy strong {
  display: block;
  font-size: 0.92rem;
  line-height: 1.3;
  color: rgba(17, 21, 29, 0.9);
}

.wc-scale-pillars .wc-tech-copy span {
  display: block;
  margin-top: 3px;
  font-size: 0.84rem;
  line-height: 1.52;
  color: rgba(17, 21, 29, 0.68);
}

.wc-scale-proof {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 14px;
}

.wc-scale-proof--apps-only {
  grid-template-columns: 1fr;
}

.wc-scale-proof--apps-only .wc-scale-icons {
  grid-column: 1 / -1;
}

#feature-4 .wc-scale-icons--expanded .wc-app-hub,
#feature-4 .wc-scale-icons--expanded .wc-app-detail {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0;
}

#feature-4 .wc-scale-icons--expanded .wc-app-hero {
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 18px;
}

#feature-4 .wc-scale-icons--expanded .wc-app-tabs {
  margin-top: 12px;
}

#feature-4 .wc-scale-icons--expanded .wc-app-tab {
  border: 0 !important;
  border-radius: 0;
  box-shadow: none !important;
  background: transparent !important;
  color: rgba(17, 24, 39, 0.62);
  min-height: 38px;
  padding: 6px 10px;
}

#feature-4 .wc-scale-icons--expanded .wc-app-tab.is-active {
  color: #111827;
  box-shadow: none !important;
}

#feature-4 .wc-scale-icons--expanded .wc-app-detail {
  margin-top: 10px;
  padding-top: 0;
  border-top: 0 !important;
  min-height: 0;
}

#feature-4 .wc-scale-icons--expanded .wc-app-detail-layout {
  --app-scene-accent: #ff8a00;
  --app-scene-accent-2: #ffd166;
  grid-template-columns: minmax(240px, 1fr) minmax(280px, 0.95fr);
  align-items: center;
  gap: 16px;
}

#feature-4
  .wc-scale-icons--expanded[data-app-scene="manufacturing"]
  .wc-app-detail-layout {
  --app-scene-accent: #ff8a00;
  --app-scene-accent-2: #ffd166;
}

#feature-4
  .wc-scale-icons--expanded[data-app-scene="datacenter"]
  .wc-app-detail-layout {
  --app-scene-accent: #00c2ff;
  --app-scene-accent-2: #7afcff;
}

#feature-4
  .wc-scale-icons--expanded[data-app-scene="mining"]
  .wc-app-detail-layout {
  --app-scene-accent: #22c55e;
  --app-scene-accent-2: #bef264;
}

#feature-4
  .wc-scale-icons--expanded[data-app-scene="campus"]
  .wc-app-detail-layout {
  --app-scene-accent: #ff4d6d;
  --app-scene-accent-2: #ff9f1c;
}

#feature-4
  .wc-scale-icons--expanded[data-app-scene="microgrid"]
  .wc-app-detail-layout {
  --app-scene-accent: #7c3aed;
  --app-scene-accent-2: #22d3ee;
}

#feature-4 .wc-scale-icons--expanded .wc-app-overlay-chart {
  margin-top: 0;
  height: 94px;
  border-color: rgba(148, 163, 184, 0.22);
  background: linear-gradient(180deg, #fcfdff 0%, #f7f9fc 100%);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

#feature-4 .wc-scale-icons--expanded .wc-app-overlay-chart::before {
  display: none;
}

#feature-4 .wc-scale-icons--expanded .wc-app-overlay-chart::after {
  display: none;
}

#feature-4 .wc-scale-icons--expanded .wc-app-overlay-legend {
  margin-bottom: 10px;
}

#feature-4 .wc-scale-icons--expanded .wc-app-legend {
  color: rgba(71, 85, 105, 0.86);
  letter-spacing: 0.045em;
  font-size: 0.54rem;
}

#feature-4 .wc-scale-icons--expanded .wc-app-legend::before {
  background: rgba(148, 163, 184, 0.8);
}

#feature-4 .wc-scale-icons--expanded .wc-app-legend--opt::before {
  background: var(--app-scene-accent);
}

#feature-4 .wc-scale-icons--expanded .wc-app-wave-base {
  stroke: rgba(100, 116, 139, 0.38);
  stroke-width: 1.05;
  stroke-dasharray: 0;
}

#feature-4 .wc-scale-icons--expanded .wc-app-wave-opt {
  stroke: color-mix(in srgb, var(--app-scene-accent) 82%, #334155);
  stroke-width: 1.35;
  stroke-dasharray: 0;
  animation: none;
  filter: none;
}

#feature-4 .wc-scale-icons--expanded .wc-app-wave-area {
  fill: color-mix(in srgb, var(--app-scene-accent-2) 6%, transparent);
}

#feature-4 .wc-scale-icons--expanded .wc-app-legend--delta {
  color: rgba(51, 65, 85, 0.86);
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.34);
  background: rgba(255, 255, 255, 0.84);
}

#feature-4 .wc-scale-icons--expanded .wc-app-overlay-meta {
  margin-top: 6px;
}

#feature-4 .wc-scale-icons--expanded .wc-app-chart-shell {
  grid-template-columns: 36px 1fr;
  gap: 12px;
}

#feature-4 .wc-scale-icons--expanded .wc-app-axis-y,
#feature-4 .wc-scale-icons--expanded .wc-app-axis-x {
  color: rgba(100, 116, 139, 0.84);
  font-family:
    "SF Pro Text",
    "SF Pro Display",
    "SF Pro",
    -apple-system,
    BlinkMacSystemFont,
    "Helvetica Neue",
    Arial,
    sans-serif;
}

#feature-4 .wc-scale-icons--expanded .wc-app-axis-title {
  color: rgba(30, 41, 59, 0.86);
}

#feature-4 .wc-scale-icons--expanded .wc-app-overlay-chip,
#feature-4 .wc-scale-icons--expanded .wc-app-overlay-value {
  border-color: rgba(17, 24, 39, 0.14);
  background: rgba(255, 255, 255, 0.88);
  color: rgba(17, 24, 39, 0.78);
  backdrop-filter: none;
}

#feature-4 .wc-scale-icons--expanded .wc-app-overlay-value {
  border-color: rgba(17, 24, 39, 0.2);
  color: rgba(17, 24, 39, 0.9);
}

.wc-scale-topology-accordion {
  margin-top: 14px;
  display: grid;
  gap: 12px;
}

.wc-topology-tabs {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  padding: 6px;
  border-radius: 14px;
  border: 1px solid rgba(17, 21, 29, 0.1);
  background: linear-gradient(180deg, #f8fbff, #f1f5fb);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.wc-topology-tab {
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  min-height: 56px;
  display: grid;
  place-items: center;
  padding: 0 10px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  font-weight: 600;
  text-transform: uppercase;
  color: rgba(17, 21, 29, 0.5);
  cursor: pointer;
  transition:
    background-color 200ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    color 220ms ease;
}

.wc-topology-tab:hover {
  border-color: rgba(74, 115, 185, 0.18);
  background: rgba(255, 255, 255, 0.64);
  color: rgba(17, 21, 29, 0.72);
}

.wc-topology-tab.is-active {
  border-color: rgba(68, 107, 174, 0.24);
  background: linear-gradient(180deg, #ffffff, #f7faff);
  color: rgba(20, 48, 94, 0.88);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 8px 14px rgba(36, 76, 149, 0.1);
}

.wc-topology-panel {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 12px;
  border-radius: 14px;
  border: 1px solid rgba(17, 21, 29, 0.11);
  background: linear-gradient(180deg, #fcfdff, #f5f8fc);
  padding: 12px;
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

.wc-topology-panel.is-switching {
  opacity: 0.7;
  transform: translateY(2px);
}

.wc-topology-media {
  position: relative;
  min-height: 122px;
  border-radius: 12px;
  border: 1px solid rgba(17, 21, 29, 0.1);
  overflow: hidden;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(17, 21, 29, 0.48);
  background: linear-gradient(160deg, #eef3fb 0%, #fbfdff 100%);
}

.wc-topology-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wc-topology-media [data-topology-media-label] {
  position: relative;
  z-index: 1;
}

.wc-topology-panel[data-node="pv"] .wc-topology-media {
  background: linear-gradient(160deg, #e8f2ff 0%, #fafdff 100%);
}

.wc-topology-panel[data-node="ess"] .wc-topology-media {
  background: linear-gradient(160deg, #eaf7f1 0%, #fbfefd 100%);
}

.wc-topology-panel[data-node="grid"] .wc-topology-media {
  background: linear-gradient(160deg, #eef1f8 0%, #fbfcff 100%);
}

.wc-topology-panel[data-node="load"] .wc-topology-media {
  background: linear-gradient(160deg, #fdf3ec 0%, #fffcf9 100%);
}

.wc-topology-panel[data-node="dg"] .wc-topology-media {
  background: linear-gradient(160deg, #f6f0ff 0%, #fdfbff 100%);
}

.wc-topology-copy {
  align-self: center;
}

.wc-topology-kicker {
  margin: 0;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(17, 21, 29, 0.45);
}

.wc-topology-copy h4 {
  margin: 6px 0 0;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  color: rgba(17, 21, 29, 0.9);
}

.wc-topology-copy p {
  margin: 8px 0 0;
  font-size: 0.88rem;
  line-height: 1.56;
  color: rgba(17, 21, 29, 0.66);
}

.wc-scale-specs ul {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  color: rgba(17, 21, 29, 0.7);
}

.wc-scale-specs li {
  position: relative;
  padding-left: 16px;
  line-height: 1.6;
}

.wc-scale-specs li strong {
  color: rgba(17, 21, 29, 0.9);
}

.wc-scale-specs li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(17, 21, 29, 0.44);
}

.wc-scale-specs li + li {
  margin-top: 7px;
}

.wc-app-hub {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.wc-app-hero {
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(17, 21, 29, 0.12);
  height: 360px;
  min-height: 360px;
  background: linear-gradient(180deg, #edf2fa, #e8eef7);
  box-shadow: 0 12px 24px rgba(16, 30, 54, 0.11);
}

.wc-app-hero img {
  width: 100%;
  height: 100%;
  display: block;
  transition:
    transform 360ms ease,
    opacity 240ms ease;
}

.wc-app-hero-bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: center;
  transform: scale(1.1);
  filter: blur(16px) saturate(0.94) brightness(0.92);
  opacity: 0.88;
}

.wc-app-hero-main {
  position: relative;
  z-index: 1;
  object-fit: cover;
  object-position: center;
}

.wc-app-hero.is-switching .wc-app-hero-main {
  opacity: 0.78;
  transform: scale(1.016);
}

.wc-app-hero.is-switching .wc-app-hero-bg {
  opacity: 0.7;
  transform: scale(1.12);
}

.wc-app-hero-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    130deg,
    rgba(7, 12, 22, 0.12),
    rgba(7, 12, 22, 0.03)
  );
  pointer-events: none;
  z-index: 2;
}

.wc-app-hero-overlay {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 3;
  pointer-events: none;
}

.wc-app-overlay-track {
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.75),
    rgba(255, 255, 255, 0)
  );
  opacity: 0.8;
  transform-origin: left center;
  animation: appTrackFlow 3.8s linear infinite;
}

.wc-app-overlay-meta {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.wc-app-overlay-chart {
  position: relative;
  margin-top: 8px;
  height: 56px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background:
    radial-gradient(
      130% 120% at 0% 0%,
      rgba(255, 255, 255, 0.64),
      rgba(255, 255, 255, 0.22) 45%,
      rgba(255, 255, 255, 0.12) 100%
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(241, 246, 254, 0.75));
  backdrop-filter: saturate(145%) blur(10px);
  -webkit-backdrop-filter: saturate(145%) blur(10px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    inset 0 -1px 0 rgba(255, 255, 255, 0.3),
    0 10px 24px rgba(15, 23, 42, 0.08);
}

.wc-app-overlay-chart::before,
.wc-app-overlay-chart::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.wc-app-overlay-chart::before {
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.42),
    rgba(255, 255, 255, 0.05) 36%,
    rgba(255, 255, 255, 0.24) 100%
  );
  mix-blend-mode: screen;
}

.wc-app-overlay-chart::after {
  left: 10px;
  right: 10px;
  top: 7px;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.8),
    rgba(255, 255, 255, 0)
  );
}

.wc-app-chart-shell {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: stretch;
}

.wc-app-axis-y {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  padding: 3px 0 5px;
  font-size: 0.58rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(86, 98, 116, 0.72);
}

.wc-app-axis-x {
  margin-top: 6px;
  display: grid;
  grid-template-columns: auto repeat(5, minmax(0, 1fr));
  align-items: center;
  column-gap: 8px;
  font-size: 0.58rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(86, 98, 116, 0.7);
}

.wc-app-axis-x span:not(.wc-app-axis-title) {
  text-align: right;
}

.wc-app-axis-title {
  font-weight: 600;
  color: rgba(51, 65, 85, 0.8);
}

.wc-app-overlay-legend {
  position: static;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 2px 6px;
}

.wc-app-legend {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(237, 243, 252, 0.86);
}

.wc-app-legend::before {
  content: "";
  width: 10px;
  height: 2px;
  border-radius: 999px;
  background: rgba(225, 233, 247, 0.55);
}

.wc-app-legend--opt::before {
  background: var(--app-scene-accent, rgba(255, 255, 255, 0.9));
}

.wc-app-legend--delta {
  margin-left: auto;
  font-weight: 600;
}

.wc-app-legend--delta::before {
  width: 0;
  height: 0;
}

.wc-app-overlay-chart svg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
}

.wc-app-chart-note {
  margin: 6px 2px 0;
  font-size: 0.7rem;
  line-height: 1.42;
  color: rgba(71, 85, 105, 0.8);
}

.wc-app-wave-area {
  fill: color-mix(in srgb, var(--app-scene-accent, #ffffff) 22%, transparent);
}

.wc-app-wave-base,
.wc-app-wave-opt {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wc-app-wave-base {
  stroke: rgba(225, 233, 247, 0.45);
  stroke-width: 1.35;
}

.wc-app-wave-opt {
  stroke: var(--app-scene-accent, rgba(255, 255, 255, 0.9));
  stroke-width: 1.9;
  stroke-dasharray: 7 8;
  animation: appWaveMove 1.7s linear infinite;
}

.wc-app-overlay-chip,
.wc-app-overlay-value {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid rgba(245, 248, 255, 0.35);
  background: rgba(7, 12, 22, 0.42);
  color: rgba(245, 248, 255, 0.95);
  font-size: 0.67rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}

.wc-app-overlay-value {
  border-color: rgba(245, 248, 255, 0.48);
  background: rgba(7, 12, 22, 0.5);
}

.wc-app-hero.is-switching .wc-app-overlay-meta {
  opacity: 0.76;
  transform: translateY(2px);
}

.wc-app-hero.is-switching .wc-app-overlay-chart {
  opacity: 0.84;
}

.wc-scale-proof[data-scene="manufacturing"] {
  --app-scene-accent: rgba(255, 185, 96, 0.9);
}

.wc-scale-proof[data-scene="datacenter"] {
  --app-scene-accent: rgba(122, 182, 255, 0.9);
}

.wc-scale-proof[data-scene="mining"] {
  --app-scene-accent: rgba(140, 210, 169, 0.88);
}

.wc-scale-proof[data-scene="campus"] {
  --app-scene-accent: rgba(255, 196, 130, 0.9);
}

.wc-scale-proof[data-scene="microgrid"] {
  --app-scene-accent: rgba(186, 169, 255, 0.9);
}

.wc-app-hero .wc-app-overlay-track {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0),
    var(--app-scene-accent, rgba(255, 255, 255, 0.75)),
    rgba(255, 255, 255, 0)
  );
}

@keyframes appTrackFlow {
  0% {
    transform: scaleX(0.25);
    opacity: 0.45;
  }
  50% {
    transform: scaleX(1);
    opacity: 0.95;
  }
  100% {
    transform: scaleX(0.35);
    opacity: 0.45;
  }
}

@keyframes appWaveMove {
  0% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: -30;
  }
}

.wc-app-meta {
  position: absolute;
  right: 10px;
  top: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(13, 20, 32, 0.36);
  color: rgba(245, 249, 255, 0.92);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 10px;
  backdrop-filter: blur(4px);
  z-index: 3;
}

.wc-app-tabs {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  gap: 7px;
}

.wc-app-tabs::-webkit-scrollbar {
  display: none;
}

.wc-app-tab {
  flex: 0 0 auto;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(17, 21, 29, 0.12);
  border-radius: 10px;
  background: linear-gradient(180deg, #fbfdff, #f2f6fc);
  color: rgba(17, 21, 29, 0.66);
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  text-transform: none;
  font-weight: 600;
  min-height: 42px;
  white-space: normal;
  text-align: center;
  line-height: 1.2;
  padding: 8px 12px;
  cursor: pointer;
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    color 220ms ease,
    transform 220ms ease;
}

.wc-app-tab::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 5px;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(88, 126, 196, 0.82),
    rgba(128, 159, 218, 0.82)
  );
  transform-origin: left center;
  transform: scaleX(0);
  opacity: 0.92;
  transition:
    transform 140ms linear,
    opacity 180ms ease;
}

.wc-app-tab:hover {
  transform: translateY(-1px);
  border-color: rgba(57, 95, 166, 0.2);
}

.wc-app-tab.is-active {
  border-color: rgba(58, 101, 176, 0.32);
  color: rgba(23, 45, 84, 0.9);
  box-shadow: 0 6px 10px rgba(31, 58, 102, 0.1);
}

.wc-app-tab.is-active::after {
  opacity: 1;
  transform: scaleX(var(--app-progress, 0));
}

.wc-app-detail {
  margin-top: 10px;
  border-top: 1px solid rgba(17, 21, 29, 0.08);
  padding-top: 10px;
  min-height: 94px;
}

.wc-app-detail h4 {
  margin: 0;
  font-size: 0.94rem;
  letter-spacing: -0.01em;
  color: rgba(17, 21, 29, 0.88);
}

.wc-app-detail p {
  margin: 6px 0 0;
  font-size: 0.85rem;
  line-height: 1.58;
  color: rgba(17, 21, 29, 0.64);
}

.wc-app-detail-layout {
  display: grid;
  gap: 14px;
}

.wc-app-detail-visual {
  display: grid;
  gap: 8px;
}

/* feature-4 b2b card system */
.wc-feature-detail--scaled {
  position: relative;
  margin-block: 72px;
  padding-top: clamp(64px, 8vw, 108px);
  color: #1a2230;
}

.wc-feature-detail--scaled::before {
  content: "";
  display: block;
  width: min(100%, var(--sub-main-max));
  height: 1px;
  margin: 0 auto clamp(28px, 4vw, 42px);
  background: linear-gradient(
    90deg,
    rgba(126, 148, 186, 0),
    rgba(126, 148, 186, 0.28),
    rgba(126, 148, 186, 0)
  );
}

#feature-4 .wc-container {
  --card-border: 1px solid rgba(17, 21, 29, 0.1);
  --card-bg: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.985),
    rgba(250, 252, 255, 0.96)
  );
  --card-shadow: 0 8px 20px rgba(18, 28, 44, 0.075);
  --card-shadow-hover: 0 12px 28px rgba(18, 28, 44, 0.12);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: none;
  padding: clamp(20px, 3.2vw, 34px);
}

#feature-4 .wc-scale-module {
  gap: clamp(24px, 3.4vw, 34px);
}

#feature-4 .wc-scale-scenarios,
#feature-4 .wc-scale-tech,
#feature-4 .wc-scale-proof {
  gap: clamp(24px, 2.6vw, 28px);
}

#feature-4 .wc-scale-scenarios article,
#feature-4 .wc-scale-path,
#feature-4 .wc-scale-pillars,
#feature-4 .wc-scale-topology,
#feature-4 .wc-scale-specs,
#feature-4 .wc-scale-icons,
#feature-4 .wc-topology-panel,
#feature-4 .wc-app-hub,
#feature-4 .wc-app-detail {
  border-radius: var(--card-radius);
  border: var(--card-border);
  background: var(--card-bg);
  box-shadow: var(--card-shadow);
  padding: var(--card-padding);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

#feature-4 .wc-scale-scenarios article {
  display: flex;
  flex-direction: column;
  min-height: 206px;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
  padding: 4px 0;
}

#feature-4 .wc-scale-scenarios article::before,
#feature-4 .wc-scale-scenarios article::after {
  display: none;
}

#feature-4 .wc-scale-scenarios article + article {
  border-left: 1px solid rgba(17, 24, 39, 0.1) !important;
  padding-left: 22px;
}

#feature-4 .wc-scale-scenarios .wc-scale-icon {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid rgba(17, 24, 39, 0.14);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: none;
}

#feature-4 .wc-scale-scenarios .wc-scale-icon::before {
  inset: 7px;
  background: rgba(17, 24, 39, 0.62);
}

#feature-4 .wc-scale-scenarios .wc-scale-icon--offgrid::before {
  inset: 5px 10px;
}

#feature-4 .wc-scale-scenarios .wc-scale-icon--blackstart::before {
  inset: 8px;
}

#feature-4 .wc-scale-scenarios article:hover,
#feature-4 .wc-scale-path:hover,
#feature-4 .wc-scale-pillars:hover,
#feature-4 .wc-scale-topology:hover,
#feature-4 .wc-scale-specs:hover,
#feature-4 .wc-scale-icons:hover,
#feature-4 .wc-topology-panel:hover,
#feature-4 .wc-app-hub:hover,
#feature-4 .wc-app-detail:hover {
  transform: translateY(-1px);
  border-color: rgba(17, 21, 29, 0.16);
  box-shadow: var(--card-shadow-hover);
}

#feature-4 .wc-scale-scenarios article:hover {
  transform: none;
  border-color: transparent !important;
  box-shadow: none !important;
}

#feature-4 .wc-scale-scenarios h3,
#feature-4 .wc-scale-path h3,
#feature-4 .wc-scale-pillars h3,
#feature-4 .wc-scale-topology h3,
#feature-4 .wc-scale-specs h3,
#feature-4 .wc-scale-icons h3,
#feature-4 .wc-app-detail h4,
#feature-4 .wc-topology-copy h4 {
  margin: 0 0 12px;
  font-size: var(--card-title-size);
  line-height: 1.35;
  color: #111827;
}

#feature-4 .wc-scale-scenarios p,
#feature-4 .wc-scale-path p,
#feature-4 .wc-scale-pillars li,
#feature-4 .wc-scale-specs li,
#feature-4 .wc-scale-icons p,
#feature-4 .wc-app-detail p,
#feature-4 .wc-topology-copy p,
#feature-4 .wc-topology-kicker,
#feature-4 .wc-scale-metrics dt {
  font-size: var(--card-body-size);
  line-height: var(--card-line-height);
  color: rgba(17, 24, 39, 0.74);
  max-width: 70ch;
}

#feature-4 .wc-scale-metrics dd,
#feature-4 .wc-scale-kpi strong,
#feature-4 .wc-app-meta {
  color: #0f172a;
}

#feature-4 .wc-scale-hero,
#feature-4 .wc-app-hero,
#feature-4 .wc-topology-media,
#feature-4 .wc-topology-tab,
#feature-4 .wc-app-tab {
  border-radius: var(--card-radius);
  border: var(--card-border);
}

#feature-4 .wc-topology-tab,
#feature-4 .wc-app-tab {
  min-height: 44px;
}

#feature-4 .wc-app-tabs {
  gap: 10px;
  flex-wrap: wrap;
  overflow: visible;
}

#feature-4 .wc-app-tab {
  flex: 1 1 128px;
  min-width: 120px;
}

#feature-4 .wc-scale-topology {
  display: flex;
  flex-direction: column;
  box-shadow: none;
}

/* force-flat topology (override earlier !important card tokens) */
#feature-4 .wc-scale-topology,
#feature-4 .wc-topology-tabs,
#feature-4 .wc-topology-panel {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

#feature-4 .wc-topology-media {
  border: 0 !important;
  box-shadow: none !important;
}

#feature-4 .wc-scale-topology-accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

#feature-4 .wc-topology-panel {
  grid-template-columns: minmax(220px, 0.95fr) 1.05fr;
  align-items: stretch;
  min-height: 238px;
  flex: 1;
}

#feature-4 .wc-topology-media {
  min-height: 100%;
  height: 100%;
}

#feature-4 .wc-topology-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 44ch;
}

#feature-4 .wc-topology-copy p {
  max-width: none;
  font-size: 0.9rem;
  line-height: 1.54;
  text-align: justify;
  text-align-last: left;
  hyphens: auto;
}

#feature-4 .wc-topology-kicker {
  letter-spacing: 0.09em;
}

#feature-4 .wc-scale-kpi {
  border: 1px solid rgba(17, 24, 39, 0.1);
  background: rgba(255, 255, 255, 0.86);
  color: #1a2230;
}

#feature-4 .wc-scale-kpi p {
  color: rgba(17, 24, 39, 0.56);
}

#feature-4 .wc-app-meta {
  border-color: rgba(17, 24, 39, 0.09);
  background: rgba(255, 255, 255, 0.9);
}

#feature-4 .wc-app-hero {
  box-shadow: 0 8px 16px rgba(18, 28, 44, 0.06);
}

#feature-4 .wc-app-hero-mask {
  background: linear-gradient(
    130deg,
    rgba(7, 12, 22, 0.04),
    rgba(7, 12, 22, 0.008)
  );
}

#feature-4 .wc-topology-tabs {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

#feature-4 .wc-topology-panel {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  gap: 18px;
}

#feature-4 .wc-topology-media {
  border: 0;
  box-shadow: none;
}

#feature-4 .wc-topology-copy {
  padding-left: 0;
  border-left: 0;
  padding-inline: 4px 0;
}

#feature-4 .wc-topology-tab,
#feature-4 .wc-app-tab {
  background: rgba(255, 255, 255, 0.72);
  color: rgba(17, 24, 39, 0.68);
  box-shadow: none;
}

#feature-4 .wc-topology-tab.is-active,
#feature-4 .wc-app-tab.is-active {
  border-color: rgba(17, 24, 39, 0.16);
  color: #111827;
  box-shadow: 0 2px 6px rgba(18, 28, 44, 0.05);
}

#feature-4 .wc-topology-panel:hover {
  transform: none;
  box-shadow: none;
}

#feature-4 .wc-app-tab::after {
  background: linear-gradient(
    90deg,
    rgba(17, 24, 39, 0.72),
    rgba(17, 24, 39, 0.4)
  );
}

#feature-4 .wc-scale-metrics div {
  border-top-color: rgba(17, 24, 39, 0.12);
}

#feature-4 .wc-topology-panel,
#feature-4 .wc-topology-media {
  background: #ffffff;
}

#feature-4
  .wc-scale-module[data-scale-count="1"]
  .wc-scale-units
  span:nth-child(-n + 1),
#feature-4
  .wc-scale-module[data-scale-count="2"]
  .wc-scale-units
  span:nth-child(-n + 2),
#feature-4
  .wc-scale-module[data-scale-count="3"]
  .wc-scale-units
  span:nth-child(-n + 3),
#feature-4
  .wc-scale-module[data-scale-count="4"]
  .wc-scale-units
  span:nth-child(-n + 4),
#feature-4
  .wc-scale-module[data-scale-count="5"]
  .wc-scale-units
  span:nth-child(-n + 5) {
  background: linear-gradient(
    180deg,
    rgba(48, 56, 70, 0.7),
    rgba(26, 33, 45, 0.86)
  );
  box-shadow: 0 8px 14px rgba(9, 17, 30, 0.18);
}

#feature-4 .wc-feature-detail--scaled,
#feature-4 .wc-scale-module {
  color: #111827;
}

#feature-4 .wc-scale-icon {
  border-color: rgba(17, 21, 29, 0.14);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 1),
    rgba(244, 248, 255, 0.92)
  );
  box-shadow: none;
}

#feature-4 .wc-scale-icon::before,
#feature-4 .wc-scale-scenarios article:nth-child(1) .wc-scale-icon::before,
#feature-4 .wc-scale-scenarios article:nth-child(2) .wc-scale-icon::before,
#feature-4 .wc-scale-scenarios article:nth-child(3) .wc-scale-icon::before {
  background: rgba(22, 34, 53, 0.68);
}

#feature-4 .wc-scale-units span {
  border-color: rgba(17, 21, 29, 0.1);
  background: linear-gradient(
    180deg,
    rgba(17, 21, 29, 0.08),
    rgba(17, 21, 29, 0.04)
  );
}

#feature-4
  .wc-scale-module[data-scale-count="1"]
  .wc-scale-units
  span:nth-child(-n + 1),
#feature-4
  .wc-scale-module[data-scale-count="2"]
  .wc-scale-units
  span:nth-child(-n + 2),
#feature-4
  .wc-scale-module[data-scale-count="3"]
  .wc-scale-units
  span:nth-child(-n + 3),
#feature-4
  .wc-scale-module[data-scale-count="4"]
  .wc-scale-units
  span:nth-child(-n + 4),
#feature-4
  .wc-scale-module[data-scale-count="5"]
  .wc-scale-units
  span:nth-child(-n + 5) {
  opacity: 1;
  background: linear-gradient(
    145deg,
    #38bdf8 0%,
    #818cf8 50%,
    #c084fc 100%
  );
  box-shadow: 
    0 12px 24px rgba(129, 140, 248, 0.35),
    inset 0 1px 2px rgba(255, 255, 255, 0.5),
    0 0 0 1px rgba(129, 140, 248, 0.2);
  transform: translateY(-2px) scale(1.02);
  border-color: transparent;
}

#feature-4 .wc-scale-slider,
#feature-4 input[data-scale-slider] {
  accent-color: #93b4ff;
}

#feature-4 :is(button, a, input, [role="tab"]):focus-visible {
  outline: 2px solid rgba(66, 116, 202, 0.88);
  outline-offset: 2px;
}

.wc-actions .wc-btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 1024px) {
  #feature-4 .wc-topology-panel {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 12px;
  }

  #feature-4 .wc-topology-copy {
    border-left: 0;
    border-top: 0;
    padding: 12px 0 0;
    max-width: none;
  }
}

@media (max-width: 768px) {
  :root {
    --card-padding: 18px;
  }

  .wc-feature-detail--scaled {
    margin-block: 44px;
  }

  #feature-4 .wc-container {
    padding: 18px;
  }

  #feature-4 .wc-scale-scenarios,
  #feature-4 .wc-scale-tech,
  #feature-4 .wc-scale-proof {
    gap: 16px;
    grid-template-columns: 1fr;
  }

  #feature-4 .wc-scale-scenarios article,
  #feature-4 .wc-scale-path,
  #feature-4 .wc-scale-pillars,
  #feature-4 .wc-scale-topology,
  #feature-4 .wc-scale-specs,
  #feature-4 .wc-scale-icons,
  #feature-4 .wc-topology-panel,
  #feature-4 .wc-app-hub,
  #feature-4 .wc-app-detail {
    padding: var(--card-padding);
    min-height: auto;
  }

  #feature-4 .wc-scale-scenarios article {
    padding: 2px 0;
  }

  #feature-4 .wc-scale-scenarios article + article {
    border-left: 0 !important;
    border-top: 1px solid rgba(17, 24, 39, 0.1) !important;
    padding-left: 0;
    padding-top: 14px;
  }

  #feature-4 .wc-app-tabs {
    gap: 8px;
    flex-wrap: wrap;
  }

  #feature-4 .wc-scale-icons--expanded .wc-app-detail-layout {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  #feature-4 .wc-scale-icons--expanded .wc-app-overlay-chart {
    height: 84px;
  }

  #feature-4 .wc-scale-icons--expanded .wc-app-chart-shell {
    grid-template-columns: 30px 1fr;
    gap: 8px;
  }

  #feature-4 .wc-scale-icons--expanded .wc-app-axis-x {
    grid-template-columns: auto repeat(3, minmax(0, 1fr));
  }

  #feature-4 .wc-scale-icons--expanded .wc-app-axis-x span:nth-child(3),
  #feature-4 .wc-scale-icons--expanded .wc-app-axis-x span:nth-child(5) {
    display: none;
  }
}

.wc-scale-cta {
  border-top: 1px solid rgba(17, 21, 29, 0.12);
  padding-top: 16px;
}

.wc-scale-cta h3 {
  margin: 0;
  font-size: clamp(1.28rem, 2.2vw, 1.86rem);
}

.wc-ev-module {
  display: grid;
  gap: clamp(22px, 3.2vw, 38px);
}

.wc-ev-head {
  max-width: 76ch;
}

.wc-ev-head .wc-title {
  font-size: clamp(1.6rem, 2.62vw, 2.52rem);
  line-height: 1.06;
  max-width: 18ch;
}

.wc-ev-head .wc-subtitle {
  max-width: 66ch;
}

.wc-ev-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.8vw, 20px);
}

.wc-ev-compare-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  min-height: clamp(280px, 34vw, 420px);
  border: 1px solid rgba(17, 21, 29, 0.14);
  box-shadow: 0 18px 34px rgba(10, 16, 28, 0.14);
  isolation: isolate;
  transition:
    transform 280ms ease,
    box-shadow 280ms ease;
}

.wc-ev-compare-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(7, 10, 16, 0.12) 0%,
    rgba(7, 10, 16, 0.72) 88%
  );
}

.wc-ev-compare-card img,
.wc-ev-compare-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
  transition: transform 650ms cubic-bezier(0.22, 0.72, 0.14, 1);
}

.wc-ev-compare-overlay {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 2;
  padding: 10px 10px 8px;
  border-radius: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  display: grid;
  gap: 7px;
  overflow: hidden;
}

.wc-ev-compare-overlay::before {
  display: none;
}

.wc-ev-compare-overlay::after {
  display: none;
}

.wc-ev-compare-tag {
  margin: 0;
  width: fit-content;
  padding: 0;
  border-radius: 999px;
  border: 0;
  background: transparent;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.095em;
  text-transform: uppercase;
  color: rgba(240, 246, 255, 0.94);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.36);
}

.wc-ev-compare-overlay h3 {
  margin: 2px 0 0;
  color: #ffffff;
  font-size: clamp(1.14rem, 1.65vw, 1.5rem);
  font-weight: 620;
  letter-spacing: -0.015em;
  line-height: 1.12;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
  -webkit-text-stroke: 0.35px rgba(6, 10, 18, 0.6);
}

.wc-ev-compare-overlay p {
  margin: 0;
  max-width: 34ch;
  color: rgba(232, 240, 253, 0.92);
  line-height: 1.56;
  font-size: 0.86rem;
  text-shadow: 0 1px 7px rgba(0, 0, 0, 0.3);
}

.wc-ev-compare-card--traditional .wc-ev-compare-overlay {
  border-left: 2px solid rgba(255, 173, 115, 0.7);
}

.wc-ev-compare-card--modular .wc-ev-compare-overlay {
  border-left: 2px solid rgba(114, 216, 171, 0.75);
}

.wc-ev-compare-card:hover,
.wc-ev-compare-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 24px 40px rgba(8, 12, 22, 0.2);
}

.wc-ev-compare-card:hover .wc-ev-compare-overlay,
.wc-ev-compare-card:focus-visible .wc-ev-compare-overlay {
  box-shadow: none;
}

.wc-ev-compare-card:hover img,
.wc-ev-compare-card:focus-visible img,
.wc-ev-compare-card:hover video,
.wc-ev-compare-card:focus-visible video {
  transform: scale(1.06);
}

.wc-ev-arbitrage {
  border-radius: 24px;
  border: 1px solid rgba(17, 21, 29, 0.1);
  background: #ffffff;
  box-shadow:
    0 12px 24px rgba(8, 16, 28, 0.05),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
  padding: clamp(20px, 3.2vw, 34px);
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
  gap: clamp(16px, 2.8vw, 32px);
  align-items: center;
}

.wc-ev-arbitrage h3 {
  margin: 0;
  font-size: clamp(1.24rem, 2vw, 1.72rem);
  letter-spacing: -0.015em;
}

.wc-ev-arbitrage p {
  margin: 11px 0 0;
  color: rgba(17, 21, 29, 0.74);
  max-width: 48ch;
}

.wc-ev-price-curve {
  position: relative;
  --price-x: 16%;
  --price-y: 73%;
  height: 116px;
  border-radius: 16px;
  border: 1px solid rgba(17, 21, 29, 0.1);
  background: #ffffff;
  overflow: hidden;
}

.wc-ev-price-state {
  position: absolute;
  top: 8px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 9px;
  border-radius: 999px;
  border: 1px solid rgba(17, 21, 29, 0.16);
  background: rgba(255, 255, 255, 0.86);
  font-size: 0.58rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(17, 21, 29, 0.64);
  min-width: 124px;
  justify-content: center;
}

.wc-ev-price-state i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #11151d;
  animation: wcTariffLive 1.6s ease-out infinite;
}

.wc-ev-price-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(17, 21, 29, 0.05) 1px, transparent 1px),
    linear-gradient(to top, rgba(17, 21, 29, 0.04) 1px, transparent 1px);
  background-size:
    11% 100%,
    100% 24%;
  opacity: 0.8;
}

.wc-ev-price-bars {
  position: absolute;
  inset: 34px 10px 24px;
  display: grid;
  grid-template-columns: repeat(24, minmax(0, 1fr));
  align-items: end;
  gap: 2px;
}

.wc-ev-price-bars span {
  height: calc(var(--h) * 1%);
  background: rgba(17, 21, 29, 0.22);
  border-radius: 1px;
  opacity: 0.26;
  transition:
    opacity 220ms ease,
    background-color 220ms ease,
    box-shadow 220ms ease;
}

.wc-ev-price-bars span[data-tou="offpeak"] {
  background: rgba(78, 122, 186, 0.34);
  opacity: 0.26;
}

.wc-ev-price-bars span[data-tou="flat"] {
  background: rgba(108, 120, 140, 0.34);
  opacity: 0.34;
}

.wc-ev-price-bars span[data-tou="peak"] {
  background: rgba(214, 125, 84, 0.42);
  opacity: 0.44;
}

.wc-ev-arbitrage[data-ev-phase="night"]
  .wc-ev-price-bars
  span[data-tou="offpeak"],
.wc-ev-arbitrage[data-ev-phase="day"] .wc-ev-price-bars span[data-tou="flat"],
.wc-ev-arbitrage[data-ev-phase="peak"] .wc-ev-price-bars span[data-tou="peak"] {
  opacity: 0.85;
}

.wc-ev-price-bars span.is-now {
  opacity: 1 !important;
  background: #11151d;
  box-shadow: 0 0 0 1px rgba(17, 21, 29, 0.12);
}

.wc-ev-arbitrage[data-ev-phase="night"] .wc-ev-price-tag {
  border-color: rgba(78, 122, 186, 0.4);
  color: #294973;
}

.wc-ev-arbitrage[data-ev-phase="day"] .wc-ev-price-tag {
  border-color: rgba(108, 120, 140, 0.4);
  color: #3f4652;
}

.wc-ev-arbitrage[data-ev-phase="peak"] .wc-ev-price-tag {
  border-color: rgba(214, 125, 84, 0.46);
  color: #6d2f15;
}

.wc-ev-price-boundaries {
  position: absolute;
  inset: 34px 10px 24px;
  pointer-events: none;
}

.wc-ev-price-boundary {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--x);
  width: 0;
  border-left: 1px dashed rgba(17, 21, 29, 0.16);
}

.wc-ev-price-boundary i {
  position: absolute;
  bottom: -16px;
  left: 0;
  transform: translateX(-50%);
  font-style: normal;
  font-size: 0.58rem;
  letter-spacing: 0.04em;
  color: rgba(17, 21, 29, 0.5);
}

.wc-ev-price-cursor {
  position: absolute;
  top: 34px;
  bottom: 24px;
  left: var(--price-x, 14%);
  width: 0;
  border-left: 1px dashed rgba(17, 21, 29, 0.34);
  transform: translateX(-50%);
}

@keyframes wcTariffLive {
  0% {
    box-shadow: 0 0 0 0 rgba(17, 21, 29, 0.22);
  }
  100% {
    box-shadow: 0 0 0 7px rgba(17, 21, 29, 0);
  }
}

.wc-ev-price-dot {
  position: absolute;
  left: var(--price-x, 14%);
  top: var(--price-y, 72%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid rgba(17, 21, 29, 0.48);
  background: #ffffff;
  transform: translate(-50%, -50%);
}

.wc-ev-price-tag {
  position: absolute;
  left: var(--price-x, 14%);
  top: calc(var(--price-y, 72%) - 12px);
  transform: translate(-50%, -100%);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #11151d;
  background: #ffffff;
  border: 1px solid rgba(17, 21, 29, 0.16);
  border-radius: 6px;
  padding: 2px 6px;
  min-width: 52px;
  text-align: center;
}

.wc-ev-time-control {
  margin-top: 12px;
}

.wc-ev-time-control label {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(17, 21, 29, 0.58);
}

.wc-ev-time-control input {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  margin-top: 9px;
  height: 22px;
  background: transparent;
}

.wc-ev-time-control input::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 999px;
  background: rgba(17, 21, 29, 0.24);
}

.wc-ev-time-control input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  margin-top: -6px;
  border-radius: 50%;
  border: 1px solid rgba(17, 21, 29, 0.22);
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(8, 16, 28, 0.24);
}

.wc-ev-time-control input::-moz-range-track {
  height: 6px;
  border-radius: 999px;
  background: rgba(17, 21, 29, 0.24);
}

.wc-ev-time-control input::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(17, 21, 29, 0.22);
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(8, 16, 28, 0.24);
}

.wc-ev-time-steps {
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
  color: rgba(17, 21, 29, 0.56);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
}

.wc-ev-phase-note {
  margin: 10px 0 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(17, 21, 29, 0.68);
  min-height: 2.4em;
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: nowrap;
}

.wc-ev-phase-note strong {
  color: #11151d;
  margin-right: 0;
  min-width: 120px;
  display: inline-block;
  white-space: nowrap;
}

.wc-ev-phase-note [data-ev-phase-action] {
  min-width: 220px;
}

.wc-ev-flow-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.wc-ev-flow-card {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(17, 21, 29, 0.12);
  background: rgba(255, 255, 255, 0.56);
  box-shadow:
    0 10px 22px rgba(8, 16, 28, 0.06),
    0 1px 0 rgba(255, 255, 255, 0.85) inset;
  backdrop-filter: blur(8px) saturate(1.08);
  -webkit-backdrop-filter: blur(8px) saturate(1.08);
  padding: 12px;
  opacity: 0.78;
  transform: none;
  transition:
    opacity 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    background-color 220ms ease;
}

.wc-ev-flow-card[data-ev-phase-card="night"] {
  background: linear-gradient(
    165deg,
    rgba(127, 170, 232, 0.24),
    rgba(255, 255, 255, 0.58)
  );
}

.wc-ev-flow-card[data-ev-phase-card="day"] {
  background: linear-gradient(
    165deg,
    rgba(123, 219, 179, 0.2),
    rgba(255, 255, 255, 0.58)
  );
}

.wc-ev-flow-card[data-ev-phase-card="peak"] {
  background: linear-gradient(
    165deg,
    rgba(255, 176, 123, 0.22),
    rgba(255, 255, 255, 0.58)
  );
}

.wc-ev-flow-card.is-active {
  opacity: 1;
  border-color: rgba(17, 21, 29, 0.2);
  box-shadow:
    0 10px 22px rgba(8, 16, 28, 0.1),
    0 1px 0 rgba(255, 255, 255, 0.92) inset;
}

.wc-ev-flow-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.wc-ev-flow-card.is-active::after {
  opacity: 1;
}

.wc-ev-flow-status {
  position: absolute;
  top: 9px;
  right: 9px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.42);
  box-shadow: 0 6px 14px rgba(8, 16, 28, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(17, 21, 29, 0.62);
  overflow: hidden;
  opacity: 0;
  transform: translateY(-3px);
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

.wc-ev-flow-status::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    rgba(255, 255, 255, 0) 18%,
    rgba(255, 255, 255, 0.45) 48%,
    rgba(255, 255, 255, 0) 78%
  );
  transform: translateX(-140%);
  opacity: 0;
}

.wc-ev-live-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  width: 12px;
  height: 8px;
}

.wc-ev-live-bars i {
  width: 2px;
  border-radius: 2px;
  background: rgba(17, 21, 29, 0.72);
  transform-origin: bottom;
}

.wc-ev-live-bars i:nth-child(1) {
  height: 4px;
}

.wc-ev-live-bars i:nth-child(2) {
  height: 7px;
}

.wc-ev-live-bars i:nth-child(3) {
  height: 5px;
}

.wc-ev-flow-status em {
  font-style: normal;
}

.wc-ev-flow-card.is-active .wc-ev-flow-status {
  opacity: 1;
  transform: translateY(0);
}

.wc-ev-flow-card.is-active .wc-ev-flow-status::after {
  opacity: 1;
  animation: wcLiveSweep 1.8s ease-in-out infinite;
}

.wc-ev-flow-card.is-active .wc-ev-live-bars i:nth-child(1) {
  animation: wcLiveBars 0.9s ease-in-out infinite;
}

.wc-ev-flow-card.is-active .wc-ev-live-bars i:nth-child(2) {
  animation: wcLiveBars 0.9s ease-in-out infinite 0.15s;
}

.wc-ev-flow-card.is-active .wc-ev-live-bars i:nth-child(3) {
  animation: wcLiveBars 0.9s ease-in-out infinite 0.3s;
}

.wc-ev-flow-card h4 {
  margin: 0;
  font-size: 0.92rem;
  letter-spacing: -0.008em;
  color: #101621;
}

.wc-ev-flow-card p {
  margin: 6px 0 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: rgba(17, 21, 29, 0.67);
}

@keyframes wcLiveSweep {
  0% {
    transform: translateX(-140%);
  }
  100% {
    transform: translateX(140%);
  }
}

@keyframes wcLiveBars {
  0%,
  100% {
    transform: scaleY(0.42);
    opacity: 0.48;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

.wc-ev-scenes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 1.6vw, 18px);
}

.wc-ev-scene-card {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(17, 21, 29, 0.1);
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  box-shadow:
    0 14px 28px rgba(10, 16, 28, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.8) inset;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.wc-ev-scene-card:hover {
  transform: translateY(-2px);
  border-color: rgba(17, 21, 29, 0.2);
  box-shadow: 0 18px 34px rgba(10, 16, 28, 0.12);
}

.wc-ev-scene-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.wc-ev-scene-card video {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.wc-ev-scene-card img.wc-ev-scene-image--contain {
  object-fit: contain;
  object-position: center 58%;
  background: #ffffff;
  padding: 16px 22px 12px 14px;
}

.wc-ev-scene-card div {
  padding: 14px 14px 16px;
}

.wc-ev-scene-card h3 {
  margin: 0;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}

.wc-ev-scene-card p {
  margin: 8px 0 0;
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(17, 21, 29, 0.68);
}

.wc-ev-engineering {
  border-radius: 24px;
  border: 1px solid rgba(17, 21, 29, 0.1);
  background: linear-gradient(165deg, #ffffff 0%, #f7fafe 100%);
  box-shadow:
    0 18px 36px rgba(8, 16, 28, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.84) inset;
  padding: clamp(20px, 3vw, 34px);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 32px);
  align-items: stretch;
}

.wc-ev-hotspot-stage {
  position: relative;
  grid-column: 1 / span 7;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(17, 21, 29, 0.14);
  min-height: clamp(320px, 34vw, 460px);
  height: 100%;
  align-self: stretch;
  box-shadow: 0 14px 28px rgba(8, 16, 28, 0.12);
}

.wc-ev-hotspot-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wc-ev-hotspot-stage video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wc-ev-hotspot-stage video.wc-ev-engineering-video {
  filter: contrast(1.1) saturate(0.74) brightness(0.93) hue-rotate(-7deg);
  transform: scale(1.03);
}

.wc-ev-hotspot-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(6, 10, 16, 0.04) 0%,
    rgba(6, 10, 16, 0.28) 100%
  );
  pointer-events: none;
}

.wc-ev-hotspot {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 1;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  color: #f7fbff;
  background: rgba(10, 24, 46, 0.66);
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition:
    transform 220ms ease,
    background-color 220ms ease;
}

.wc-ev-hotspot.is-active {
  background: rgba(255, 170, 64, 0.84);
  color: #10151f;
  transform: translate(-50%, -50%) scale(1.08);
}

.wc-ev-engineering-copy {
  grid-column: 8 / span 5;
  display: grid;
  align-content: center;
}

.wc-ev-engineering-copy h3 {
  margin: 0;
  font-size: clamp(1.45rem, 2.15vw, 2rem);
  letter-spacing: -0.018em;
  line-height: 1.05;
}

.wc-ev-hotspot-copy {
  margin-top: 12px;
}

.wc-ev-hotspot-copy p {
  margin: 0;
  display: none;
  color: rgba(17, 21, 29, 0.72);
  line-height: 1.62;
  border-left: 2px solid rgba(17, 21, 29, 0.22);
  padding-left: 10px;
}

.wc-ev-hotspot-copy p.is-active {
  display: block;
}

.wc-ev-spec-list {
  margin: 16px 0 0;
  padding-left: 0;
  list-style: none;
  color: rgba(17, 21, 29, 0.7);
  line-height: 1.58;
}

.wc-ev-spec-list li {
  position: relative;
  padding-left: 14px;
}

.wc-ev-spec-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(17, 21, 29, 0.5);
}

.wc-ev-spec-list li + li {
  margin-top: 8px;
}

.wc-ev-upgrade-path {
  margin-top: 18px;
  border-radius: 14px;
  border: 1px solid rgba(17, 21, 29, 0.1);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 8px 16px rgba(8, 16, 28, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  flex-wrap: wrap;
}

.wc-ev-upgrade-path span {
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(17, 21, 29, 0.65);
}

.wc-ev-arrow {
  width: 18px;
  height: 1px;
  background: rgba(17, 21, 29, 0.34);
  position: relative;
}

.wc-ev-arrow::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -3px;
  width: 7px;
  height: 7px;
  border-top: 1px solid rgba(17, 21, 29, 0.34);
  border-right: 1px solid rgba(17, 21, 29, 0.34);
  transform: rotate(45deg);
}

.wc-ev-cta {
  border-top: 1px solid rgba(17, 21, 29, 0.14);
  padding-top: clamp(18px, 2.3vw, 26px);
}

.wc-ev-cta h3 {
  margin: 0;
  font-size: clamp(1.3rem, 2.2vw, 1.9rem);
  letter-spacing: -0.018em;
}

body:not(.theme-light) .wc-ev-arbitrage,
body:not(.theme-light) .wc-ev-engineering,
body:not(.theme-light) .wc-ev-scene-card {
  border-color: rgba(255, 255, 255, 0.14);
  background: #171e2a;
}

body:not(.theme-light) .wc-ev-arbitrage h3,
body:not(.theme-light) .wc-ev-engineering-copy h3,
body:not(.theme-light) .wc-ev-scene-card h3,
body:not(.theme-light) .wc-ev-flow-card h4 {
  color: #f1f6ff;
}

body:not(.theme-light) .wc-ev-arbitrage p,
body:not(.theme-light) .wc-ev-flow-card p,
body:not(.theme-light) .wc-ev-scene-card p,
body:not(.theme-light) .wc-ev-hotspot-copy p,
body:not(.theme-light) .wc-ev-spec-list,
body:not(.theme-light) .wc-ev-upgrade-path span,
body:not(.theme-light) .wc-ev-time-control label,
body:not(.theme-light) .wc-ev-time-steps,
body:not(.theme-light) .wc-ev-price-state {
  color: rgba(225, 233, 246, 0.74);
}

body:not(.theme-light) .wc-ev-price-curve,
body:not(.theme-light) .wc-ev-flow-card,
body:not(.theme-light) .wc-ev-upgrade-path {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
}

body:not(.theme-light) .wc-ev-phase-note strong {
  color: #f1f6ff;
}

@media (max-width: 980px) {
  .wc-ev-inline {
    margin-top: 24px;
  }

  .wc-ev-compare,
  .wc-ev-arbitrage,
  .wc-ev-scenes {
    grid-template-columns: 1fr;
  }

  .wc-ev-flow-grid {
    grid-template-columns: 1fr;
  }

  .wc-ev-scene-card img {
    height: 210px;
  }

  .wc-ev-engineering {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .wc-ev-hotspot-stage {
    min-height: 300px;
  }

  .wc-ev-hotspot-stage,
  .wc-ev-engineering-copy {
    grid-column: auto;
  }

  .wc-scale-scenarios,
  .wc-scale-tech,
  .wc-scale-proof {
    grid-template-columns: 1fr;
  }

  .wc-scale-hero {
    aspect-ratio: 2940 / 1260;
  }

  .wc-scale-kpi {
    top: auto;
    bottom: 14px;
  }
}

@media (max-width: 640px) {
  .wc-ev-compare-card {
    min-height: 248px;
    border-radius: 16px;
  }

  .wc-ev-compare-overlay {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 8px;
    border-radius: 0;
    gap: 6px;
  }

  .wc-ev-compare-overlay h3 {
    font-size: 1.06rem;
  }

  .wc-ev-compare-overlay p {
    font-size: 0.8rem;
  }

  .wc-ev-price-state {
    font-size: 0.54rem;
    padding: 1px 6px;
  }

  .wc-ev-arbitrage,
  .wc-ev-engineering {
    border-radius: 16px;
    padding: 14px;
  }

  .wc-ev-hotspot-stage {
    min-height: 236px;
  }

  .wc-ev-hotspot {
    width: 30px;
    height: 30px;
    font-size: 0.7rem;
  }

  .wc-ev-upgrade-path {
    gap: 6px;
  }

  .wc-scale-hero {
    aspect-ratio: 2940 / 1260;
    border-radius: 16px;
  }

  .wc-scale-hero-copy h2 {
    font-size: 1.5rem;
  }

  .wc-scale-kpi {
    right: 10px;
    bottom: 10px;
    padding: 7px 8px;
  }

  .wc-scale-path,
  .wc-scale-pillars,
  .wc-scale-topology,
  .wc-scale-specs,
  .wc-scale-icons {
    border-radius: 14px;
    padding: 18px;
  }

  .wc-scale-scenarios article {
    border-radius: 14px;
    padding: 18px;
  }

  .wc-topology-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .wc-topology-panel {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .wc-topology-media {
    min-height: 92px;
  }
}

@media (max-width: 480px) {
  .wc-app-hero {
    height: 240px;
    min-height: 240px;
  }

  .wc-app-tabs {
    gap: 6px;
  }

  .wc-app-tab {
    border-radius: 12px;
    padding: 0 12px;
    font-size: 0.74rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wc-ev-compare-card,
  .wc-ev-compare-card img,
  .wc-ev-flow-card,
  .wc-ev-hotspot,
  .wc-ev-live-bars i,
  .wc-ev-flow-card::after,
  .wc-ev-flow-status::after,
  .wc-ev-price-state i,
  .wc-app-overlay-track,
  .wc-app-overlay-meta,
  .wc-app-wave-opt {
    transition: none !important;
    transform: none !important;
    animation: none !important;
  }
}

.wc-media-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  font-size: 0.72rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  color: rgba(245, 248, 255, 0.92);
  background: rgba(10, 16, 28, 0.46);
  border: 1px solid rgba(245, 248, 255, 0.28);
}

.wc-media-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 60px;
  height: 60px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: rgba(13, 20, 32, 0.44);
  border: 1px solid rgba(243, 247, 255, 0.5);
  backdrop-filter: blur(4px);
}

.wc-media-play::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-38%, -50%);
  border-left: 14px solid rgba(249, 251, 255, 0.96);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

.wc-feature-detail--resilience {
  padding-top: clamp(82px, 11vw, 146px);
  padding-bottom: clamp(28px, 4.2vw, 62px);
}

.wc-feature-detail--resilience + .wc-feature-detail {
  margin-top: 0;
}

#feature-3.wc-feature-detail {
  padding-top: clamp(44px, 6.2vw, 90px);
}

.wc-feature-detail--resilience .wc-resilience-module {
  display: grid;
  gap: clamp(30px, 4.2vw, 60px);
}

.wc-resilience-head {
  max-width: 78ch;
}

.wc-resilience-head .wc-title {
  font-size: clamp(1.5rem, 2.35vw, 2.42rem);
  margin-bottom: 12px;
}

.wc-resilience-head .wc-subtitle {
  max-width: 66ch;
}

.wc-resilience-hero {
  position: relative;
  display: block;
  min-height: clamp(520px, 54vw, 700px);
  padding-bottom: 0;
}

.wc-resilience-hero::before {
  display: none;
}

.wc-climate-compare {
  --split: 0.48;
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 1;
  overflow: hidden;
  border-radius: 24px;
}

.wc-climate-compare::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 48%;
  bottom: 6%;
  width: 1px;
  transform: translateX(-50%);
  background: linear-gradient(
    180deg,
    rgba(17, 21, 29, 0),
    rgba(17, 21, 29, 0.2),
    rgba(17, 21, 29, 0)
  );
  pointer-events: none;
  z-index: 2;
}

.wc-climate-scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 0;
  border: 0;
  background: #dbe1ea;
  box-shadow: none;
}

.wc-climate-scene--cold {
  z-index: 1;
  clip-path: none;
}

.wc-climate-scene--hot {
  z-index: 3;
  clip-path: inset(0 0 0 calc(var(--split) * 100%));
}

.wc-climate-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.wc-climate-scene--cold::before {
  background: linear-gradient(
    170deg,
    rgba(113, 172, 255, 0.32),
    rgba(17, 21, 29, 0.42)
  );
}

.wc-climate-scene--hot::before {
  background: linear-gradient(
    170deg,
    rgba(255, 171, 69, 0.36),
    rgba(17, 21, 29, 0.36)
  );
}

.wc-heat-fx {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.wc-heat-glow {
  position: absolute;
  left: 38%;
  right: -16%;
  top: -18%;
  bottom: -10%;
  display: block;
}

.wc-heat-glow {
  background:
    radial-gradient(
      22% 20% at 86% 16%,
      rgba(252, 249, 245, 0.86),
      rgba(231, 220, 255, 0.8) 34%,
      rgba(167, 214, 255, 0.48) 54%,
      transparent 72%
    ),
    radial-gradient(
      40% 34% at 79% 31%,
      rgba(218, 208, 255, 0.54),
      rgba(171, 210, 255, 0.3) 52%,
      transparent 78%
    ),
    linear-gradient(
      118deg,
      rgba(215, 209, 255, 0.26) 0%,
      rgba(168, 214, 255, 0.16) 34%,
      transparent 62%
    ),
    conic-gradient(
      from 215deg at 82% 18%,
      rgba(248, 170, 222, 0.22) 0deg,
      rgba(198, 194, 255, 0.2) 52deg,
      rgba(153, 214, 255, 0.24) 114deg,
      rgba(184, 255, 234, 0.18) 172deg,
      rgba(191, 190, 255, 0.2) 238deg,
      rgba(244, 181, 245, 0.2) 304deg,
      rgba(248, 170, 222, 0.22) 360deg
    );
  filter: blur(3.1px) saturate(1.24) contrast(1.03);
  animation: wcSunBreath 1.35s ease-in-out infinite alternate;
  mix-blend-mode: screen;
  opacity: 0.88;
}

.wc-heat-rings {
  position: absolute;
  left: 84%;
  top: 16%;
  width: 120px;
  height: 120px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 4.8px solid rgba(255, 230, 120, 0.56);
  box-shadow:
    0 0 0 3px rgba(255, 223, 106, 0.3) inset,
    0 0 34px rgba(255, 219, 95, 0.34),
    0 0 58px rgba(255, 239, 163, 0.26);
  filter: blur(2.2px);
  animation: wcHeatRingExpand 3.2s linear infinite;
}

.wc-heat-rings::before,
.wc-heat-rings::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 4.2px solid rgba(255, 228, 116, 0.46);
  box-shadow:
    0 0 0 2px rgba(255, 214, 90, 0.26) inset,
    0 0 30px rgba(255, 226, 133, 0.3);
  filter: blur(2.6px);
}

.wc-heat-rings::before {
  animation: wcHeatRingExpand 3.2s linear infinite;
  animation-delay: 1.05s;
}

.wc-heat-rings::after {
  animation: wcHeatRingExpand 3.2s linear infinite;
  animation-delay: 2.1s;
}

.wc-weather-fx {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.wc-weather-fx::after {
  content: "";
  position: absolute;
  inset: -20% -15% -10% -15%;
  background:
    radial-gradient(
      56% 20% at 18% 24%,
      rgba(220, 238, 255, 0.14),
      transparent 68%
    ),
    radial-gradient(
      64% 22% at 74% 58%,
      rgba(220, 238, 255, 0.1),
      transparent 70%
    );
  filter: blur(5px);
  animation: wcWindSweep 3.2s ease-in-out infinite alternate;
}

.wc-weather-snow,
.wc-weather-sleet {
  position: absolute;
  inset: -20% -8% -5% -8%;
  display: block;
}

.wc-weather-snow {
  opacity: 1;
  background-image:
    radial-gradient(
      circle at 10% 2%,
      rgba(241, 248, 255, 0.95) 0 3.2px,
      transparent 4px
    ),
    radial-gradient(
      circle at 20% 10%,
      rgba(241, 248, 255, 0.8) 0 2.6px,
      transparent 3.4px
    ),
    radial-gradient(
      circle at 30% 6%,
      rgba(241, 248, 255, 0.9) 0 3px,
      transparent 3.8px
    ),
    radial-gradient(
      circle at 42% 14%,
      rgba(241, 248, 255, 0.84) 0 2.8px,
      transparent 3.5px
    ),
    radial-gradient(
      circle at 54% 4%,
      rgba(241, 248, 255, 0.96) 0 3.3px,
      transparent 4.1px
    ),
    radial-gradient(
      circle at 66% 12%,
      rgba(241, 248, 255, 0.82) 0 2.7px,
      transparent 3.5px
    ),
    radial-gradient(
      circle at 78% 7%,
      rgba(241, 248, 255, 0.9) 0 3px,
      transparent 3.8px
    ),
    radial-gradient(
      circle at 90% 15%,
      rgba(241, 248, 255, 0.84) 0 2.8px,
      transparent 3.6px
    ),
    radial-gradient(
      circle at 14% 28%,
      rgba(241, 248, 255, 0.95) 0 3.2px,
      transparent 4px
    ),
    radial-gradient(
      circle at 26% 22%,
      rgba(241, 248, 255, 0.78) 0 2.5px,
      transparent 3.2px
    ),
    radial-gradient(
      circle at 38% 30%,
      rgba(241, 248, 255, 0.9) 0 3px,
      transparent 3.8px
    ),
    radial-gradient(
      circle at 50% 24%,
      rgba(241, 248, 255, 0.84) 0 2.8px,
      transparent 3.5px
    ),
    radial-gradient(
      circle at 62% 31%,
      rgba(241, 248, 255, 0.94) 0 3.1px,
      transparent 3.9px
    ),
    radial-gradient(
      circle at 74% 25%,
      rgba(241, 248, 255, 0.8) 0 2.6px,
      transparent 3.4px
    ),
    radial-gradient(
      circle at 86% 30%,
      rgba(241, 248, 255, 0.9) 0 3px,
      transparent 3.8px
    ),
    radial-gradient(
      circle at 8% 44%,
      rgba(241, 248, 255, 0.84) 0 2.8px,
      transparent 3.5px
    ),
    radial-gradient(
      circle at 18% 52%,
      rgba(241, 248, 255, 0.95) 0 3.2px,
      transparent 4px
    ),
    radial-gradient(
      circle at 30% 48%,
      rgba(241, 248, 255, 0.8) 0 2.6px,
      transparent 3.4px
    ),
    radial-gradient(
      circle at 42% 56%,
      rgba(241, 248, 255, 0.9) 0 3px,
      transparent 3.8px
    ),
    radial-gradient(
      circle at 54% 50%,
      rgba(241, 248, 255, 0.84) 0 2.8px,
      transparent 3.5px
    ),
    radial-gradient(
      circle at 66% 58%,
      rgba(241, 248, 255, 0.95) 0 3.2px,
      transparent 4px
    ),
    radial-gradient(
      circle at 78% 52%,
      rgba(241, 248, 255, 0.82) 0 2.7px,
      transparent 3.5px
    ),
    radial-gradient(
      circle at 90% 60%,
      rgba(241, 248, 255, 0.9) 0 3px,
      transparent 3.8px
    ),
    radial-gradient(
      circle at 12% 70%,
      rgba(241, 248, 255, 0.84) 0 2.8px,
      transparent 3.5px
    ),
    radial-gradient(
      circle at 24% 78%,
      rgba(241, 248, 255, 0.95) 0 3.2px,
      transparent 4px
    ),
    radial-gradient(
      circle at 36% 72%,
      rgba(241, 248, 255, 0.8) 0 2.6px,
      transparent 3.4px
    ),
    radial-gradient(
      circle at 48% 80%,
      rgba(241, 248, 255, 0.9) 0 3px,
      transparent 3.8px
    ),
    radial-gradient(
      circle at 60% 74%,
      rgba(241, 248, 255, 0.84) 0 2.8px,
      transparent 3.5px
    ),
    radial-gradient(
      circle at 72% 82%,
      rgba(241, 248, 255, 0.95) 0 3.2px,
      transparent 4px
    ),
    radial-gradient(
      circle at 84% 76%,
      rgba(241, 248, 255, 0.8) 0 2.6px,
      transparent 3.4px
    ),
    radial-gradient(
      circle at 96% 84%,
      rgba(241, 248, 255, 0.9) 0 3px,
      transparent 3.8px
    );
  animation: wcSnowDrift 4.6s linear infinite;
}

.wc-weather-snow::before {
  content: "";
  position: absolute;
  inset: -25% -15% -10% -15%;
  opacity: 0.78;
  background-image:
    radial-gradient(
      circle at 14% 8%,
      rgba(238, 246, 255, 0.9) 0 3px,
      transparent 3.8px
    ),
    radial-gradient(
      circle at 36% 18%,
      rgba(238, 246, 255, 0.82) 0 2.6px,
      transparent 3.3px
    ),
    radial-gradient(
      circle at 58% 10%,
      rgba(238, 246, 255, 0.92) 0 3.2px,
      transparent 4px
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(238, 246, 255, 0.8) 0 2.5px,
      transparent 3.2px
    ),
    radial-gradient(
      circle at 22% 44%,
      rgba(238, 246, 255, 0.88) 0 2.8px,
      transparent 3.6px
    ),
    radial-gradient(
      circle at 48% 52%,
      rgba(238, 246, 255, 0.8) 0 2.5px,
      transparent 3.2px
    ),
    radial-gradient(
      circle at 74% 48%,
      rgba(238, 246, 255, 0.9) 0 3px,
      transparent 3.8px
    ),
    radial-gradient(
      circle at 16% 74%,
      rgba(238, 246, 255, 0.84) 0 2.7px,
      transparent 3.4px
    ),
    radial-gradient(
      circle at 40% 82%,
      rgba(238, 246, 255, 0.92) 0 3.1px,
      transparent 3.9px
    ),
    radial-gradient(
      circle at 68% 76%,
      rgba(238, 246, 255, 0.82) 0 2.6px,
      transparent 3.3px
    ),
    radial-gradient(
      circle at 90% 86%,
      rgba(238, 246, 255, 0.9) 0 3px,
      transparent 3.8px
    );
  filter: blur(0.6px);
  animation: wcSnowGust 3.4s linear infinite;
}

.wc-weather-snow::after {
  content: "";
  position: absolute;
  inset: -22% -14% -8% -14%;
  opacity: 0.5;
  background-image:
    radial-gradient(
      circle at 8% 14%,
      rgba(242, 249, 255, 0.95) 0 4px,
      transparent 4.8px
    ),
    radial-gradient(
      circle at 26% 22%,
      rgba(242, 249, 255, 0.85) 0 3.3px,
      transparent 4.1px
    ),
    radial-gradient(
      circle at 46% 18%,
      rgba(242, 249, 255, 0.9) 0 3.8px,
      transparent 4.6px
    ),
    radial-gradient(
      circle at 68% 28%,
      rgba(242, 249, 255, 0.82) 0 3.2px,
      transparent 4px
    ),
    radial-gradient(
      circle at 86% 20%,
      rgba(242, 249, 255, 0.92) 0 3.9px,
      transparent 4.7px
    ),
    radial-gradient(
      circle at 16% 54%,
      rgba(242, 249, 255, 0.88) 0 3.5px,
      transparent 4.3px
    ),
    radial-gradient(
      circle at 38% 62%,
      rgba(242, 249, 255, 0.82) 0 3.2px,
      transparent 4px
    ),
    radial-gradient(
      circle at 62% 56%,
      rgba(242, 249, 255, 0.9) 0 3.8px,
      transparent 4.6px
    ),
    radial-gradient(
      circle at 82% 66%,
      rgba(242, 249, 255, 0.84) 0 3.4px,
      transparent 4.2px
    ),
    radial-gradient(
      circle at 24% 86%,
      rgba(242, 249, 255, 0.9) 0 3.8px,
      transparent 4.6px
    ),
    radial-gradient(
      circle at 52% 82%,
      rgba(242, 249, 255, 0.84) 0 3.4px,
      transparent 4.2px
    ),
    radial-gradient(
      circle at 78% 90%,
      rgba(242, 249, 255, 0.9) 0 3.8px,
      transparent 4.6px
    );
  filter: blur(0.9px);
  animation: wcSnowFront 2.7s linear infinite;
}

.wc-weather-sleet {
  display: none;
}

@keyframes wcSnowDrift {
  0% {
    transform: translate3d(-14%, -20%, 0);
  }
  100% {
    transform: translate3d(11%, 20%, 0);
  }
}

@keyframes wcSleetFall {
  0% {
    transform: translate3d(-1%, -8%, 0);
  }
  100% {
    transform: translate3d(2.5%, 9%, 0);
  }
}

@keyframes wcSnowGust {
  0% {
    transform: translate3d(-18%, -26%, 0);
  }
  50% {
    transform: translate3d(8%, -6%, 0);
  }
  100% {
    transform: translate3d(16%, 24%, 0);
  }
}

@keyframes wcWindSweep {
  0% {
    transform: translate3d(-10%, -3%, 0);
    opacity: 0.46;
  }
  100% {
    transform: translate3d(12%, 4%, 0);
    opacity: 0.78;
  }
}

@keyframes wcSnowFront {
  0% {
    transform: translate3d(-16%, -20%, 0);
  }
  100% {
    transform: translate3d(14%, 22%, 0);
  }
}

@keyframes wcSunBreath {
  0% {
    transform: translate3d(-1.8%, -1.2%, 0) scale(0.94) rotate(-0.6deg);
    opacity: 0.48;
  }
  100% {
    transform: translate3d(2.8%, 2%, 0) scale(1.14) rotate(0.6deg);
    opacity: 0.86;
  }
}

@keyframes wcHeatRingExpand {
  0% {
    transform: scale(0.35);
    opacity: 0.58;
  }
  65% {
    opacity: 0.32;
  }
  100% {
    transform: scale(3.6);
    opacity: 0;
  }
}

.wc-climate-scene img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 0% 0%;
  filter: saturate(0.93) contrast(1.04);
  transform: none;
  transform-origin: 0% 0%;
}

.wc-climate-scene figcaption {
  display: none;
}

.wc-climate-scene figcaption strong {
  display: none;
}

.wc-climate-scene figcaption span {
  display: none;
}

.wc-climate-scene--hot figcaption {
  display: none;
}

.wc-compare-handle {
  position: absolute;
  left: calc(var(--split) * 100%);
  top: 50%;
  z-index: 4;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 56px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: ew-resize;
  touch-action: none;
}

.wc-compare-line {
  position: absolute;
  left: 50%;
  top: -999px;
  bottom: -999px;
  width: 1px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 0 1px rgba(17, 21, 29, 0.2);
}

.wc-compare-knob {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 42px;
  transform: translate(-50%, -50%);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(17, 21, 29, 0.18);
  box-shadow: 0 8px 12px rgba(10, 16, 28, 0.24);
}

.wc-compare-knob::before,
.wc-compare-knob::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 2px;
  height: 2px;
  border-radius: 999px;
  background: rgba(17, 21, 29, 0.6);
  transform: translateX(-50%);
}

.wc-compare-knob::before {
  top: 16px;
}
.wc-compare-knob::after {
  top: 23px;
}

.wc-climate-compare.is-dragging .wc-compare-knob {
  box-shadow: 0 12px 18px rgba(10, 16, 28, 0.28);
}

.wc-climate-compare.is-dragging,
.wc-climate-compare.is-dragging * {
  user-select: none;
}

.wc-ip55-module {
  border-radius: 0;
  border: 0;
  background: transparent;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(280px, 360px);
  gap: clamp(12px, 2vw, 20px);
  align-items: center;
}

.wc-ip55-copy h3 {
  margin: 4px 0 8px;
  font-size: clamp(1.04rem, 1.4vw, 1.3rem);
  letter-spacing: -0.01em;
}

.wc-ip55-copy p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.58;
  color: rgba(17, 21, 29, 0.7);
}

.wc-ip55-trigger {
  border: 1px solid rgba(17, 21, 29, 0.22);
  border-radius: 999px;
  background: rgba(17, 21, 29, 0.96);
  color: #f8fbff;
  padding: 9px 16px;
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
}

.wc-ip55-stage {
  position: relative;
  height: 164px;
  border-radius: 18px;
  border: 1px solid rgba(17, 21, 29, 0.11);
  background: linear-gradient(
    130deg,
    rgba(216, 225, 237, 0.86),
    rgba(241, 245, 251, 0.96)
  );
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.52);
  overflow: hidden;
}

.wc-ip55-shield {
  position: absolute;
  inset: 16px 18px;
  border-radius: 10px;
  border: 1px solid rgba(17, 21, 29, 0.24);
  background: linear-gradient(
    170deg,
    rgba(255, 255, 255, 0.44),
    rgba(212, 222, 236, 0.32)
  );
}

.wc-particle {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  opacity: 0;
}

.wc-particle--water {
  background: rgba(80, 156, 255, 0.78);
}

.wc-particle--dust {
  background: rgba(118, 127, 142, 0.7);
}

.wc-particle:nth-child(1) {
  left: 6%;
  top: 22%;
}
.wc-particle:nth-child(2) {
  left: 18%;
  top: 48%;
}
.wc-particle:nth-child(3) {
  left: 12%;
  top: 76%;
}
.wc-particle:nth-child(4) {
  left: 22%;
  top: 30%;
}
.wc-particle:nth-child(5) {
  right: 10%;
  top: 20%;
}
.wc-particle:nth-child(6) {
  right: 20%;
  top: 44%;
}
.wc-particle:nth-child(7) {
  right: 15%;
  top: 68%;
}
.wc-particle:nth-child(8) {
  right: 24%;
  top: 84%;
}

[data-ip55-module].is-active .wc-particle {
  animation: wcParticleBurst 1.3s ease-out forwards;
}

[data-ip55-module].is-active .wc-particle--dust {
  animation-delay: 0.24s;
}

@keyframes wcParticleBurst {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(0.8);
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(22px, -8px) scale(1.06);
  }
}

.wc-resilience-tech-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(12px, 1.8vw, 18px);
}

.wc-tech-card {
  grid-column: span 4;
  border-radius: 20px;
  border: 1px solid rgba(17, 21, 29, 0.08);
  background: linear-gradient(
    180deg,
    rgba(247, 250, 255, 0.78),
    rgba(244, 248, 253, 0.88)
  );
  padding: 16px;
  display: grid;
  gap: 10px;
  box-shadow: 0 10px 22px rgba(10, 16, 28, 0.06);
}

.wc-tech-card:nth-child(2) {
  margin-top: clamp(18px, 2.4vw, 32px);
}

.wc-tech-media {
  border-radius: 14px;
  border: 1px dashed rgba(17, 21, 29, 0.26);
  min-height: 166px;
  display: grid;
  place-items: center;
  background: linear-gradient(
    145deg,
    rgba(17, 21, 29, 0.05),
    rgba(17, 21, 29, 0.02)
  );
}

.wc-tech-media span {
  font-size: 0.73rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(17, 21, 29, 0.58);
  text-align: center;
  padding: 0 8px;
}

.wc-tech-card h3 {
  margin: 0;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}

.wc-tech-card p {
  margin: 0;
  font-size: 0.87rem;
  line-height: 1.6;
  color: rgba(17, 21, 29, 0.7);
}

.wc-resilience-outro {
  display: grid;
  gap: 10px;
}

.wc-resilience-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  padding: 18px;
  pointer-events: none;
}

.wc-resilience-overlay-copy {
  text-align: center;
  display: grid;
  gap: 10px;
  max-width: min(86%, 760px);
}

.wc-resilience-overlay-copy span {
  justify-self: center;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: rgba(240, 245, 255, 0.92);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(8, 12, 20, 0.24);
  backdrop-filter: blur(3px);
}

.wc-resilience-overlay-copy h3 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.55rem, 3.6vw, 3.38rem);
  line-height: 1.02;
  letter-spacing: -0.022em;
  text-shadow:
    0 12px 24px rgba(7, 10, 16, 0.28),
    0 2px 8px rgba(7, 10, 16, 0.26);
}

.wc-resilience-overlay-subtitle {
  margin: 0;
  justify-self: center;
  color: rgba(236, 242, 255, 0.9);
  font-size: clamp(0.86rem, 1.38vw, 1.14rem);
  line-height: 1.35;
  letter-spacing: 0.01em;
  text-shadow: 0 4px 12px rgba(7, 10, 16, 0.24);
}

.wc-resilience-overlay-spec {
  margin: 0;
  justify-self: center;
  color: rgba(236, 242, 255, 0.94);
  font-size: clamp(0.8rem, 1.2vw, 1rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 4px 12px rgba(7, 10, 16, 0.24);
}

.wc-resilience-outro > p {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(17, 21, 29, 0.72);
}

@media (max-width: 1180px) {
  .wc-resilience-hero {
    min-height: auto;
    padding-bottom: 0;
  }

  .wc-climate-compare {
    aspect-ratio: auto;
    display: grid;
    gap: 12px;
  }

  .wc-climate-compare::before,
  .wc-compare-handle {
    display: none;
  }

  .wc-resilience-hero::before {
    display: none;
  }

  .wc-climate-scene--cold,
  .wc-climate-scene--hot {
    position: relative;
    inset: auto;
    width: 100%;
    margin-top: 0;
    border-radius: 18px;
    clip-path: none;
  }

  .wc-weather-snow {
    animation-duration: 4.2s;
  }

  .wc-weather-sleet {
    animation-duration: 1.4s;
  }

  .wc-ip55-module {
    grid-template-columns: 1fr;
  }

  .wc-ip55-trigger {
    justify-self: start;
  }

  .wc-resilience-tech-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wc-tech-card {
    grid-column: auto;
  }

  .wc-tech-card:nth-child(2) {
    margin-top: 0;
  }

  .wc-resilience-overlay-copy h3 {
    font-size: clamp(1.32rem, 4.8vw, 2.48rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .wc-weather-snow,
  .wc-weather-sleet,
  .wc-heat-glow,
  .wc-heat-rings,
  .wc-heat-rings::before,
  .wc-heat-rings::after {
    animation: none;
  }
}

body.theme-light .wc-feature-card {
  border-color: rgba(17, 21, 29, 0.08);
}

body.theme-light .wc-feature-card:hover,
body.theme-light .wc-feature-card.is-active {
  border-color: rgba(17, 21, 29, 0.2);
}

body.theme-light
  .wc-feature-card:not(.wc-feature-card--media):not(
    .wc-feature-card--media-dark
  ):not(.wc-feature-card--gradient):not(.wc-feature-card--accent):not(
    .wc-feature-card--dark
  )::after {
  border-color: rgba(255, 255, 255, 0.6);
  opacity: 1;
}

body:not(.theme-light) .wc-feature-card {
  border-color: rgba(255, 255, 255, 0.12);
  background: #171c26;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.32);
  color: #f4f7fd;
}

body:not(.theme-light) .wc-feature-card p {
  color: rgba(224, 230, 242, 0.74);
}

body:not(.theme-light) .wc-feature-card--neutral,
body:not(.theme-light) .wc-feature-card--neutral-wide {
  background: linear-gradient(180deg, #1a202b 0%, #161c26 100%);
  color: #eff4fd;
}

body:not(.theme-light) .wc-feature-card--neutral p,
body:not(.theme-light) .wc-feature-card--neutral-wide p {
  color: rgba(224, 230, 242, 0.72);
}

body:not(.theme-light) .wc-feature-detail .wc-subtitle {
  color: rgba(223, 230, 242, 0.74);
}

body:not(.theme-light) .wc-feature-detail .wc-media {
  border-color: rgba(255, 255, 255, 0.14);
  background: #161c27;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.36);
}

body:not(.theme-light) .wc-resilience-head .wc-subtitle,
body:not(.theme-light) .wc-tech-card p,
body:not(.theme-light) .wc-ip55-copy p,
body:not(.theme-light) .wc-resilience-outro p {
  color: rgba(224, 230, 242, 0.74);
}

body:not(.theme-light) .wc-ip55-module,
body:not(.theme-light) .wc-tech-card {
  border-color: rgba(255, 255, 255, 0.14);
  background: #1a212d;
}

body:not(.theme-light) .wc-ip55-module {
  border: 0;
  background: transparent;
}

body:not(.theme-light) .wc-tech-card {
  background: linear-gradient(
    180deg,
    rgba(26, 33, 45, 0.86),
    rgba(20, 26, 37, 0.92)
  );
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
}

body:not(.theme-light) .wc-tech-media span {
  color: rgba(224, 230, 242, 0.56);
}

body:not(.theme-light) .wc-tech-media,
body:not(.theme-light) .wc-ip55-stage {
  border-color: rgba(255, 255, 255, 0.16);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.01)
  );
}

body:not(.theme-light) .wc-media-badge {
  background: rgba(5, 9, 16, 0.62);
  border-color: rgba(243, 247, 255, 0.36);
}

@media (max-width: 980px) {
  .wc-feature-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-rows: minmax(188px, auto);
    gap: 12px;
  }

  .wc-feature-card,
  .wc-feature-card--wide,
  .wc-feature-card--tall,
  .wc-feature-card--compact {
    grid-column: span 1;
    grid-row: auto;
    min-height: 188px;
    border-radius: 16px;
    padding: 18px 16px;
  }

  .wc-feature-card:nth-child(2),
  .wc-feature-card:nth-child(6),
  .wc-feature-card:nth-child(7) {
    grid-column: span 2;
  }

  .wc-feature-card h3 {
    font-size: clamp(1.05rem, 2.1vw, 1.38rem);
    line-height: 1.2;
  }

  .wc-feature-card p {
    font-size: 0.84rem;
    margin-top: 10px;
  }

  .wc-feature-detail .wc-layout--split {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .wc-feature-detail--resilience {
    padding-top: 66px;
    padding-bottom: 24px;
  }

  .wc-resilience-head .wc-title {
    font-size: clamp(1.34rem, 5.3vw, 1.68rem);
  }

  .wc-resilience-tech-grid {
    grid-template-columns: 1fr;
  }

  .wc-climate-scene {
    min-height: 248px;
  }

  .wc-feature-detail {
    padding: 56px 0;
  }

  .wc-feature-detail + .wc-feature-detail {
    margin-top: 0;
  }

  .wc-feature-detail--left .wc-copy,
  .wc-feature-detail--left .wc-media,
  .wc-feature-detail--right .wc-copy,
  .wc-feature-detail--right .wc-media {
    grid-column: 1;
    grid-row: auto;
    margin-top: 0;
  }

  .wc-feature-detail .wc-media {
    border-radius: 16px;
  }

  .wc-feature-detail .wc-media--photo img {
    aspect-ratio: 16 / 10;
  }

  .wc-imaster-metrics {
    grid-template-columns: 1fr;
    grid-column: 1;
    grid-row: auto;
    width: 100%;
  }

  .wc-feature-detail--imaster .wc-copy--imaster {
    grid-template-columns: 1fr;
    row-gap: 12px;
  }

  .wc-media-play {
    width: 52px;
    height: 52px;
  }

  .wc-media-play::before {
    border-left-width: 12px;
    border-top-width: 9px;
    border-bottom-width: 9px;
  }
}

@media (max-width: 640px) {
  .wc-feature-nav {
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(148px, auto);
    gap: 10px;
  }

  .wc-feature-card {
    grid-column: span 1 !important;
    grid-row: auto !important;
    min-height: 154px;
    border-radius: 14px;
    padding: 15px 14px;
  }

  .wc-feature-card h3 {
    font-size: clamp(1rem, 6.2vw, 1.26rem);
    line-height: 1.24;
    max-width: none;
  }

  .wc-feature-card p {
    font-size: 0.8rem;
    line-height: 1.5;
    max-width: none;
    margin-top: 8px;
  }
}

@media (max-width: 380px) {
  .wc-feature-card {
    min-height: 142px;
    padding: 13px 12px;
  }
}

/* Theme: light (preview with ?theme=light) */
body.theme-light .wc-ekd {
  background: #ffffff;
  color: #11151d;
}

body.theme-light .wc-ekd .wc-kicker {
  color: rgba(17, 21, 29, 0.52);
}

body.theme-light .wc-ekd .wc-title {
  color: #0f141c;
}

body.theme-light .wc-ekd .wc-subtitle,
body.theme-light .wc-ekd .wc-feature-list li,
body.theme-light .wc-ekd .wc-scroll-story p,
body.theme-light .wc-ekd .wc-accordion-item li {
  color: rgba(17, 21, 29, 0.72);
}

body.theme-light .wc-ekd .wc-feature-list li {
  border-left-color: rgba(17, 21, 29, 0.18);
}

body.theme-light .wc-ekd .wc-metric strong,
body.theme-light .wc-ekd .wc-scroll-story strong,
body.theme-light .wc-ekd .wc-accordion-item summary {
  color: #0f141c;
}

body.theme-light .wc-ekd .wc-metric span {
  color: rgba(17, 21, 29, 0.5);
}

body.theme-light .wc-ekd .wc-accordion,
body.theme-light .wc-ekd .wc-accordion-item {
  border-color: rgba(17, 21, 29, 0.16);
}

body.theme-light .wc-ekd .wc-section--cta {
  border-top-color: rgba(17, 21, 29, 0.14);
}

body.theme-light .wc-ekd .wc-btn--primary {
  background: #0f141c;
  color: #f8fafc;
}

body.theme-light .wc-ekd .wc-btn--secondary {
  color: #0f141c;
  border-color: rgba(17, 21, 29, 0.28);
}

body.theme-light .wc-ekd .wc-media--gallery img,
body.theme-light .wc-ekd .wc-media--ui img,
body.theme-light .wc-ekd .wc-media--photo img {
  filter: saturate(0.9) contrast(1.02) brightness(0.98);
}

/* NSS detail system */
.wc-nss {
  background: #ffffff;
  padding: clamp(78px, 10vw, 148px) 0;
  color: #0f172a;
}

.wc-nss * {
  font-family: var(--font-sans);
}

.wc-nss-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
  margin-bottom: clamp(30px, 4vw, 52px);
}

.wc-nss-hero-media {
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  min-height: 320px;
}

.wc-nss-hero-media video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

.wc-nss-kicker {
  margin: 0 0 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.66rem;
  color: rgba(30, 41, 59, 0.58);
}

.wc-nss-hero-copy h2 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: #0b1220;
}

.wc-nss-hero-copy > p {
  margin: 16px 0 0;
  font-size: clamp(0.96rem, 1.22vw, 1.08rem);
  line-height: 1.7;
  color: rgba(15, 23, 42, 0.76);
  max-width: 48ch;
}

.wc-nss-kpis {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.wc-nss-kpis article {
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: #ffffff;
  padding: 14px 12px;
}

.wc-nss-kpis strong {
  display: block;
  font-size: clamp(1.3rem, 2vw, 1.9rem);
  letter-spacing: -0.02em;
  color: #0b1220;
}

.wc-nss-kpis span {
  display: block;
  margin-top: 4px;
  font-size: 0.73rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(51, 65, 85, 0.76);
}

.wc-nss-note {
  margin: 8px 0 0;
  font-size: 0.72rem;
  color: rgba(71, 85, 105, 0.76);
}

.wc-nss-difference,
.wc-nss-pillars,
.wc-nss-proof,
.wc-nss-cta {
  margin-top: clamp(18px, 2.6vw, 30px);
}

.wc-nss-difference > header h3,
.wc-nss-pillars > header h3 {
  margin: 0;
  font-size: clamp(1.24rem, 2.2vw, 1.8rem);
  line-height: 1.16;
  letter-spacing: -0.018em;
  color: #0f172a;
}

.wc-nss-diff-grid,
.wc-nss-proof {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.wc-nss-diff-card,
.wc-nss-proof-card {
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: #ffffff;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05);
  padding: 16px;
}

.wc-nss-diff-card h4,
.wc-nss-proof-card h4 {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: -0.015em;
}

.wc-nss-diff-card > p,
.wc-nss-proof-card > p {
  margin: 4px 0 0;
  color: rgba(51, 65, 85, 0.72);
  font-size: 0.84rem;
}

.wc-nss-curve {
  margin-top: 12px;
  width: 100%;
  height: 112px;
  border-radius: 12px;
  background:
    linear-gradient(to right, rgba(15, 23, 42, 0.06) 1px, transparent 1px),
    linear-gradient(to top, rgba(15, 23, 42, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
  background-size:
    16% 100%,
    100% 25%,
    100% 100%;
}

.wc-nss-curve polyline {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.wc-nss-diff-card--risk polyline {
  stroke: #9f4a45;
}

.wc-nss-diff-card--stable polyline {
  stroke: #2f5d77;
}

.wc-nss-diff-card ul {
  margin: 10px 0 0;
  padding-left: 16px;
  color: rgba(30, 41, 59, 0.82);
  font-size: 0.86rem;
  line-height: 1.55;
}

.wc-nss-flow {
  --nss-accent: #ff4d6d;
  --nss-accent-2: #ff9f1c;
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.wc-nss-flow::after {
  content: "";
  flex: 1 1 80px;
  height: 1px;
  background: rgba(148, 163, 184, 0.26);
}

.wc-nss-flow-node {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #ffffff;
  padding: 0 10px;
  transition:
    border-color 220ms ease,
    background-color 220ms ease,
    color 220ms ease;
  cursor: pointer;
}

.wc-nss-flow-node::before,
.wc-nss-flow-node p {
  display: none;
}

.wc-nss-flow-node span {
  display: inline-flex;
  min-width: 24px;
  height: 20px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  color: rgba(15, 23, 42, 0.68);
  background: rgba(148, 163, 184, 0.14);
}

.wc-nss-flow-node h4 {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wc-nss-flow-node.is-active {
  border-color: rgba(255, 77, 109, 0.42);
  background: linear-gradient(
    135deg,
    rgba(255, 77, 109, 0.08),
    rgba(255, 159, 28, 0.08)
  );
}

.wc-nss-flow-node.is-active span {
  background: linear-gradient(
    135deg,
    rgba(255, 77, 109, 0.24),
    rgba(255, 159, 28, 0.22)
  );
  color: #23465b;
}

.wc-nss-flow-node.is-active h4 {
  color: #0f2432;
}

.wc-nss-guide {
  margin-top: 12px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #ffffff;
  padding: 14px 16px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.025);
}

.wc-nss-guide-step {
  margin: 0;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(71, 85, 105, 0.74);
}

.wc-nss-guide h4 {
  margin: 6px 0 0;
  font-size: 1.08rem;
  letter-spacing: -0.016em;
  color: #0f172a;
}

.wc-nss-guide [data-nss-guide-body] {
  margin: 8px 0 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(51, 65, 85, 0.8);
}

.wc-nss-chart-tag {
  position: absolute;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: #ffffff;
  font-size: 0.68rem;
  letter-spacing: 0.02em;
  color: rgba(15, 23, 42, 0.84);
  transform: translate(-50%, -50%);
  white-space: nowrap;
}

.wc-nss-chart-tag[data-nss-tag="year8"] {
  left: 77%;
  top: 42%;
}

.wc-nss-chart-tag.is-active {
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.06);
}

.wc-nss-proof-chart-wrap {
  position: relative;
}

.wc-nss-proof-chart polyline {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wc-nss-flow-track,
.wc-nss-joy,
.wc-nss-flow-triplet {
  display: none;
}

.wc-nss-proof-chart {
  margin-top: 10px;
  width: 100%;
  height: 168px;
  border-radius: 12px;
  background:
    linear-gradient(to right, rgba(15, 23, 42, 0.06) 1px, transparent 1px),
    linear-gradient(to top, rgba(15, 23, 42, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
  background-size:
    10% 100%,
    100% 20%,
    100% 100%;
}

[data-nss-envelope-max] {
  stroke: rgba(100, 116, 139, 0.5);
  stroke-width: 2;
}

[data-nss-envelope-min] {
  stroke: rgba(100, 116, 139, 0.5);
  stroke-width: 2;
}

[data-nss-envelope-main] {
  stroke: #ff4d6d;
  stroke-width: 3;
}

.wc-nss-impact {
  margin-top: 22px;
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
}

.wc-nss-impact strong {
  font-size: clamp(2.2rem, 5vw, 3.3rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: #ff4d6d;
}

.wc-nss-impact span {
  font-size: 0.88rem;
  color: rgba(51, 65, 85, 0.82);
}

.wc-nss-tco {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.wc-nss-tco-row span {
  display: block;
  margin-bottom: 6px;
  font-size: 0.8rem;
  color: rgba(30, 41, 59, 0.82);
}

.wc-nss-tco-row i {
  display: block;
  height: 12px;
  width: var(--w, 60%);
  border-radius: 999px;
  background: linear-gradient(90deg, #ff4d6d 0%, #ff9f1c 48%, #facc15 100%);
}

.wc-nss-tco-row:first-child i {
  background: linear-gradient(90deg, #64748b 0%, #475569 100%);
}

.wc-nss-proof-foot {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.wc-nss-proof-foot span {
  font-size: 0.76rem;
  color: rgba(51, 65, 85, 0.8);
}

.wc-nss-proof-foot strong {
  font-size: 0.88rem;
  color: #0b1220;
}

.wc-nss-cta {
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: #ffffff;
  padding: clamp(18px, 2.5vw, 26px);
}

.wc-nss-cta h3 {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  line-height: 1.26;
  letter-spacing: -0.018em;
  color: #0b1220;
  max-width: 44ch;
}

.wc-nss-actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.wc-nss-actions .wc-btn {
  min-height: 44px;
}

.wc-nss-actions .wc-btn--primary {
  background: #0b111b;
  color: #f6f9ff;
  border-color: #0b111b;
}

.wc-nss-actions .wc-btn--secondary {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.22);
  color: rgba(15, 23, 42, 0.86);
}

@media (max-width: 1024px) {
  .wc-nss-hero {
    grid-template-columns: 1fr;
  }

  .wc-nss-kpis {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .wc-nss {
    padding: 62px 0;
  }

  .wc-nss-diff-grid,
  .wc-nss-proof {
    grid-template-columns: 1fr;
  }

  .wc-nss-flow {
    gap: 6px;
  }

  .wc-nss-chart-tag {
    position: static;
    display: inline-flex;
    transform: none;
    margin: 8px 8px 0 0;
  }

  .wc-nss-kpis {
    grid-template-columns: 1fr;
  }

  .wc-nss-hero-media {
    border-radius: 18px;
    min-height: 240px;
  }
}

/* linear.ui.system.v1 retrofit - WattCision page (dark / compact / page) */
body.subpage.tesla-wattcision.tesla-clean {
  --linear-bg-0: #07090d;
  --linear-bg-1: #0c0f14;
  --linear-bg-2: #121722;
  --linear-bg-3: #171d2a;
  --linear-line-1: #1e2635;
  --linear-line-2: #2a3448;
  --linear-text-1: #f4f7fb;
  --linear-text-2: #c8d2e3;
  --linear-text-3: #8f9bb0;
  --linear-brand: #4f7cff;
  --linear-brand-soft: rgba(79, 124, 255, 0.18);
  --linear-ok: #27c281;
  --linear-warn: #f0bf00;
  --linear-warm: #ff9f43;
  --linear-radius: 10px;
  background: linear-gradient(180deg, #07090d 0%, #090d15 50%, #0b111a 100%);
  color: var(--linear-text-1);
}

body.subpage.tesla-wattcision.tesla-clean::before,
body.subpage.tesla-wattcision.tesla-clean::after {
  display: none;
}

body.subpage.tesla-wattcision.tesla-clean .site-header {
  height: 56px;
  background: rgba(10, 14, 21, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--linear-line-1);
}

body.subpage.tesla-wattcision.tesla-clean .site-header.is-scrolled {
  background: rgba(10, 14, 21, 0.96);
}

body.subpage.tesla-wattcision.tesla-clean .logo {
  --logo-filter: invert(1) brightness(1.06);
}

body.subpage.tesla-wattcision.tesla-clean
  :is(.main-nav a, .header-actions a, .menu-btn) {
  color: var(--linear-text-2);
  font-size: 0.78rem;
  letter-spacing: 0.01em;
}

body.subpage.tesla-wattcision.tesla-clean .main-nav a.is-current {
  color: var(--linear-text-1);
}

body.subpage.tesla-wattcision.tesla-clean .wc-page {
  padding-top: 56px;
  background: transparent;
}

body.subpage.tesla-wattcision.tesla-clean .wc-section {
  padding: 42px 0;
}

body.subpage.tesla-wattcision.tesla-clean .wc-container {
  width: min(1320px, calc(100% - 40px));
}

body.subpage.tesla-wattcision.tesla-clean .wc-section--hero {
  min-height: 68svh;
  padding: 58px 0 46px;
  border-bottom: 1px solid var(--linear-line-1);
}

body.subpage.tesla-wattcision.tesla-clean .wc-hero-mask {
  background: linear-gradient(
    180deg,
    rgba(7, 9, 13, 0.42) 0%,
    rgba(7, 9, 13, 0.68) 58%,
    rgba(7, 9, 13, 0.82) 100%
  );
}

body.subpage.tesla-wattcision.tesla-clean :is(.wc-kicker, .wc-subtitle) {
  color: var(--linear-text-2);
}

body.subpage.tesla-wattcision.tesla-clean .wc-title {
  color: var(--linear-text-1);
  letter-spacing: -0.02em;
}

body.subpage.tesla-wattcision.tesla-clean .wc-actions {
  gap: 10px;
}

body.subpage.tesla-wattcision.tesla-clean .wc-btn {
  border-radius: 999px;
  min-height: 40px;
  font-size: 0.8rem;
  letter-spacing: 0.01em;
}

body.subpage.tesla-wattcision.tesla-clean .wc-btn--primary {
  background: var(--linear-brand);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #f3f7ff;
}

body.subpage.tesla-wattcision.tesla-clean .wc-btn--secondary {
  background: rgba(12, 17, 28, 0.72);
  border: 1px solid var(--linear-line-2);
  color: var(--linear-text-2);
}

body.subpage.tesla-wattcision.tesla-clean .wc-section--features {
  padding-top: 24px;
}

body.subpage.tesla-wattcision.tesla-clean .wc-feature-nav {
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.subpage.tesla-wattcision.tesla-clean
  .wc-section--features
  .wc-feature-card {
  border: 1px solid var(--linear-line-1);
  border-radius: var(--linear-radius);
  background: linear-gradient(
    180deg,
    rgba(17, 23, 35, 0.96),
    rgba(14, 19, 29, 0.96)
  );
  box-shadow: none;
  min-height: 152px;
  padding: 14px 14px 12px;
  transition:
    border-color 140ms ease,
    background-color 140ms ease;
}

body.subpage.tesla-wattcision.tesla-clean
  .wc-section--features
  .wc-feature-card::before {
  opacity: 1;
  background: radial-gradient(
    110% 70% at 0% 0%,
    rgba(79, 124, 255, 0.14) 0%,
    rgba(79, 124, 255, 0) 65%
  );
}

body.subpage.tesla-wattcision.tesla-clean
  .wc-section--features
  .wc-feature-card::after {
  border-top-color: rgba(79, 124, 255, 0.22);
}

body.subpage.tesla-wattcision.tesla-clean
  .wc-section--features
  .wc-feature-card:hover,
body.subpage.tesla-wattcision.tesla-clean
  .wc-section--features
  .wc-feature-card.is-active {
  transform: none;
  border-color: rgba(79, 124, 255, 0.48);
  background: linear-gradient(
    180deg,
    rgba(18, 25, 39, 0.98),
    rgba(15, 21, 32, 0.98)
  );
  box-shadow: 0 0 0 1px rgba(79, 124, 255, 0.16) inset;
}

body.subpage.tesla-wattcision.tesla-clean
  .wc-section--features
  .wc-feature-card
  :is(h3, p) {
  color: var(--linear-text-2);
}

body.subpage.tesla-wattcision.tesla-clean
  .wc-section--features
  .wc-feature-card
  h3 {
  color: var(--linear-text-1);
  font-size: clamp(0.95rem, 1vw, 1.07rem);
  line-height: 1.28;
}

body.subpage.tesla-wattcision.tesla-clean
  .wc-section--features
  .wc-feature-card
  p {
  color: var(--linear-text-3);
  font-size: 0.8rem;
  line-height: 1.52;
}

body.subpage.tesla-wattcision.tesla-clean
  :is(.wc-feature-detail, .wc-ev-module, .wc-scale-module, .wc-nss) {
  border-top: 1px solid var(--linear-line-1);
}

body.subpage.tesla-wattcision.tesla-clean
  :is(
    .wc-layout--split,
    .wc-media--gallery,
    .wc-scale-scenarios,
    .wc-nss-proof,
    .wc-nss-diff-grid
  ) {
  gap: 14px;
}

body.subpage.tesla-wattcision.tesla-clean
  :is(
    .wc-media--photo,
    .wc-ev-compare-card,
    .wc-ev-arbitrage,
    .wc-ev-engineering,
    .wc-ev-scene-card,
    .wc-scale-path,
    .wc-scale-pillars,
    .wc-scale-scenarios article,
    .wc-nss-hero,
    .wc-nss-pillars,
    .wc-nss-proof-card,
    .wc-nss-diff-item
  ) {
  border-radius: var(--linear-radius);
  border: 1px solid var(--linear-line-1) !important;
  background: linear-gradient(
    180deg,
    rgba(16, 22, 34, 0.96),
    rgba(12, 17, 27, 0.96)
  ) !important;
  box-shadow: none !important;
}

body.subpage.tesla-wattcision.tesla-clean
  :is(
    .wc-scale-kpi,
    .wc-app-meta,
    .wc-nss-kpis article,
    .wc-nss-flow-node,
    .wc-ev-flow-card,
    .wc-ev-flow-card.is-active
  ) {
  border-radius: 8px;
  border: 1px solid var(--linear-line-2) !important;
  background: rgba(14, 20, 31, 0.86) !important;
  color: var(--linear-text-2) !important;
}

body.subpage.tesla-wattcision.tesla-clean
  :is(
    .wc-ev-price-grid,
    .wc-ev-price-curve,
    .wc-scale-tech,
    .wc-topology-panel
  ) {
  border-color: var(--linear-line-1);
}

body.subpage.tesla-wattcision.tesla-clean
  :is(
    .wc-nss-kicker,
    .wc-nss-note,
    .wc-nss-guide-step,
    .wc-ev-phase-note,
    .wc-ev-compare-tag,
    .wc-app-chart-note,
    .wc-tech-copy span,
    .wc-scale-path p
  ) {
  color: var(--linear-text-3);
}

body.subpage.tesla-wattcision.tesla-clean
  :is(
    .wc-nss h2,
    .wc-nss h3,
    .wc-nss h4,
    .wc-ev-module h2,
    .wc-ev-module h3,
    .wc-scale-module h2,
    .wc-scale-module h3,
    .wc-copy h2,
    .wc-copy h3
  ) {
  color: var(--linear-text-1);
}

body.subpage.tesla-wattcision.tesla-clean
  :is(
    .wc-ev-spec-list li,
    .wc-scale-pillars li,
    .wc-nss-scope-list li,
    .wc-nss-assure-grid li
  ) {
  border-color: var(--linear-line-1);
  color: var(--linear-text-2);
}

body.subpage.tesla-wattcision.tesla-clean .wc-resilience-overlay {
  background: linear-gradient(
    180deg,
    rgba(7, 9, 13, 0.14),
    rgba(7, 9, 13, 0.64)
  );
}

body.subpage.tesla-wattcision.tesla-clean .wc-resilience-overlay-copy {
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(8, 12, 19, 0.55);
}

body.subpage.tesla-wattcision.tesla-clean .reveal-item {
  transition-duration: 260ms;
  transform: translateY(10px);
}

@media (max-width: 1200px) {
  body.subpage.tesla-wattcision.tesla-clean .wc-feature-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body.subpage.tesla-wattcision.tesla-clean .wc-container {
    width: calc(100% - 24px);
  }

  body.subpage.tesla-wattcision.tesla-clean .wc-section {
    padding: 32px 0;
  }

  body.subpage.tesla-wattcision.tesla-clean .wc-section--hero {
    min-height: 58svh;
    padding-top: 38px;
  }

  body.subpage.tesla-wattcision.tesla-clean .wc-feature-nav {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  body.subpage.tesla-wattcision.tesla-clean
    .wc-section--features
    .wc-feature-card {
    min-height: 122px;
    padding: 12px;
  }
}

/* linear.ui.system.v1 hard-override pass (ensure visible change) */
body.subpage.tesla-wattcision.tesla-clean {
  background: #07090d !important;
  color: #f4f7fb !important;
}

body.subpage.tesla-wattcision.tesla-clean main,
body.subpage.tesla-wattcision.tesla-clean .wc-page,
body.subpage.tesla-wattcision.tesla-clean .wc-section {
  background: transparent !important;
}

body.subpage.tesla-wattcision.tesla-clean .wc-section--hero {
  min-height: 62svh !important;
  padding: 44px 0 34px !important;
}

body.subpage.tesla-wattcision.tesla-clean .wc-feature-nav {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

body.subpage.tesla-wattcision.tesla-clean .wc-feature-card,
body.subpage.tesla-wattcision.tesla-clean .wc-feature-card--accent,
body.subpage.tesla-wattcision.tesla-clean .wc-feature-card--neutral,
body.subpage.tesla-wattcision.tesla-clean .wc-feature-card--dark,
body.subpage.tesla-wattcision.tesla-clean .wc-feature-card--gradient,
body.subpage.tesla-wattcision.tesla-clean .wc-feature-card--media,
body.subpage.tesla-wattcision.tesla-clean .wc-feature-card--media-dark,
body.subpage.tesla-wattcision.tesla-clean .wc-feature-card--neutral-wide {
  min-height: 132px !important;
  border: 1px solid #1e2635 !important;
  border-radius: 10px !important;
  background: linear-gradient(180deg, #111722, #0f1520) !important;
  box-shadow: none !important;
}

body.subpage.tesla-wattcision.tesla-clean .wc-feature-card:hover,
body.subpage.tesla-wattcision.tesla-clean .wc-feature-card.is-active {
  border-color: #4f7cff !important;
  box-shadow: 0 0 0 1px rgba(79, 124, 255, 0.2) inset !important;
  transform: none !important;
}

body.subpage.tesla-wattcision.tesla-clean .wc-feature-card h3 {
  color: #f4f7fb !important;
  font-size: 0.98rem !important;
}

body.subpage.tesla-wattcision.tesla-clean .wc-feature-card p {
  color: #8f9bb0 !important;
  font-size: 0.8rem !important;
}

body.subpage.tesla-wattcision.tesla-clean
  :is(
    .wc-media--photo,
    .wc-ev-compare-card,
    .wc-ev-arbitrage,
    .wc-ev-engineering,
    .wc-ev-scene-card,
    .wc-scale-path,
    .wc-scale-pillars,
    .wc-scale-scenarios article,
    .wc-nss-hero,
    .wc-nss-pillars,
    .wc-nss-proof-card,
    .wc-nss-diff-item,
    .wc-app-hub,
    .wc-app-detail
  ) {
  background: linear-gradient(180deg, #111722, #0f1520) !important;
  border: 1px solid #1e2635 !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}

body.subpage.tesla-wattcision.tesla-clean
  :is(
    .wc-kicker,
    .wc-subtitle,
    .wc-tech-copy span,
    .wc-nss-note,
    .wc-app-chart-note
  ) {
  color: #8f9bb0 !important;
}

body.subpage.tesla-wattcision.tesla-clean
  :is(.wc-title, .wc-copy h2, .wc-copy h3, .wc-nss h2, .wc-nss h3, .wc-nss h4) {
  color: #f4f7fb !important;
}

@media (max-width: 900px) {
  body.subpage.tesla-wattcision.tesla-clean .wc-feature-nav {
    grid-template-columns: 1fr !important;
  }
}

/* premium.convergence.v2 (light mode) */
body.subpage.tesla-wattcision:not(.tesla-clean) {
  --wc-premium-card-bg: #ffffff;
  --wc-premium-card-border: rgba(17, 24, 39, 0.09);
  --wc-premium-card-shadow: 0 8px 22px rgba(15, 23, 42, 0.045);
  --wc-premium-card-shadow-hover: 0 12px 28px rgba(15, 23, 42, 0.08);
  --wc-premium-text-1: #0f172a;
  --wc-premium-text-2: rgba(15, 23, 42, 0.74);
  --wc-premium-motion: 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

body.subpage.tesla-wattcision:not(.tesla-clean) .wc-container {
  width: min(1460px, calc(100% - 64px));
}

body.subpage.tesla-wattcision:not(.tesla-clean) .wc-section {
  padding: clamp(62px, 8.2vw, 116px) 0;
}

body.subpage.tesla-wattcision:not(.tesla-clean) .wc-section::before {
  display: none;
}

body.subpage.tesla-wattcision:not(.tesla-clean) .wc-feature-nav {
  gap: 14px;
}

body.subpage.tesla-wattcision:not(.tesla-clean) .wc-section--features .wc-feature-card,
body.subpage.tesla-wattcision:not(.tesla-clean) .wc-section--features .wc-feature-card--accent,
body.subpage.tesla-wattcision:not(.tesla-clean) .wc-section--features .wc-feature-card--neutral,
body.subpage.tesla-wattcision:not(.tesla-clean) .wc-section--features .wc-feature-card--neutral-wide,
body.subpage.tesla-wattcision:not(.tesla-clean) .wc-section--features .wc-feature-card--dark,
body.subpage.tesla-wattcision:not(.tesla-clean) .wc-section--features .wc-feature-card--gradient,
body.subpage.tesla-wattcision:not(.tesla-clean) .wc-section--features .wc-feature-card--media-dark {
  background: var(--wc-premium-card-bg) !important;
  color: var(--wc-premium-text-1) !important;
  border: 1px solid var(--wc-premium-card-border) !important;
  border-radius: 18px !important;
  box-shadow: var(--wc-premium-card-shadow) !important;
  transition:
    transform var(--wc-premium-motion),
    box-shadow var(--wc-premium-motion),
    border-color var(--wc-premium-motion) !important;
}

body.subpage.tesla-wattcision:not(.tesla-clean) .wc-section--features .wc-feature-card::after {
  display: none !important;
}

body.subpage.tesla-wattcision:not(.tesla-clean)
  .wc-section--features
  .wc-feature-card:is(:hover, .is-active) {
  transform: translateY(-2px);
  border-color: rgba(17, 24, 39, 0.14) !important;
  box-shadow: var(--wc-premium-card-shadow-hover) !important;
}

body.subpage.tesla-wattcision:not(.tesla-clean) .wc-section--features .wc-feature-card h3,
body.subpage.tesla-wattcision:not(.tesla-clean) .wc-section--features .wc-feature-card p {
  color: var(--wc-premium-text-1) !important;
}

body.subpage.tesla-wattcision:not(.tesla-clean) .wc-section--features .wc-feature-card p {
  color: var(--wc-premium-text-2) !important;
}

body.subpage.tesla-wattcision:not(.tesla-clean)
  .wc-section--features
  .wc-feature-card--media::before {
  background:
    linear-gradient(
      120deg,
      rgba(8, 13, 23, 0.58) 0%,
      rgba(8, 13, 23, 0.24) 52%,
      rgba(8, 13, 23, 0.48) 100%
    ),
    url("./assets/feature-card-ev-exploded-resource1-premium-v2.jpg") center /
      cover no-repeat;
}

body.subpage.tesla-wattcision:not(.tesla-clean)
  .wc-section--features
  .wc-feature-card--media,
body.subpage.tesla-wattcision:not(.tesla-clean)
  .wc-section--features
  .wc-feature-card--media
  :is(h3, p) {
  color: #f8fafc !important;
}

body.subpage.tesla-wattcision:not(.tesla-clean)
  :is(
    .wc-media--photo,
    .wc-ev-compare-card,
    .wc-ev-arbitrage,
    .wc-ev-engineering,
    .wc-ev-scene-card,
    .wc-scale-path,
    .wc-scale-pillars,
    .wc-scale-scenarios article,
    .wc-nss-hero,
    .wc-nss-pillars,
    .wc-nss-proof-card,
    .wc-nss-diff-item,
    .wc-app-hub,
    .wc-app-detail,
    .wc-imaster-metrics article
  ) {
  background: var(--wc-premium-card-bg) !important;
  border: 1px solid var(--wc-premium-card-border) !important;
  box-shadow: var(--wc-premium-card-shadow) !important;
}

body.subpage.tesla-wattcision:not(.tesla-clean) .wc-feature-detail .wc-layout--split {
  grid-template-columns: 5.5fr 6.5fr;
  gap: clamp(28px, 4.4vw, 74px);
  align-items: start;
}

body.subpage.tesla-wattcision:not(.tesla-clean) .wc-feature-detail .wc-copy {
  max-width: 60ch;
}

body.subpage.tesla-wattcision:not(.tesla-clean) .wc-subtitle {
  line-height: 1.64;
  max-width: 58ch;
  color: rgba(15, 23, 42, 0.72);
}

body.subpage.tesla-wattcision:not(.tesla-clean) .wc-imaster-metrics {
  max-width: 1080px;
  gap: 14px;
}

body.subpage.tesla-wattcision:not(.tesla-clean) .wc-imaster-metrics article {
  min-height: 94px;
  padding: 16px 16px 14px;
}

body.subpage.tesla-wattcision:not(.tesla-clean)
  :is(.wc-btn, .wc-feature-card, .wc-feature-detail .wc-media, .wc-imaster-metrics article) {
  transition:
    transform var(--wc-premium-motion),
    box-shadow var(--wc-premium-motion),
    border-color var(--wc-premium-motion),
    background-color var(--wc-premium-motion),
    color var(--wc-premium-motion) !important;
}

@media (max-width: 980px) {
  body.subpage.tesla-wattcision:not(.tesla-clean) .wc-container {
    width: calc(100% - 28px);
  }

  body.subpage.tesla-wattcision:not(.tesla-clean) .wc-section {
    padding: clamp(38px, 6.6vw, 72px) 0;
  }
}

/* Feature-8 (iMaster): unified premium layout */
#feature-8 > .wc-container.wc-layout--split {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: clamp(18px, 2.2vw, 28px) !important;
  width: min(1540px, calc(100vw - 56px)) !important;
  max-width: none !important;
  margin-inline: auto !important;
}

#feature-8 .wc-copy.wc-copy--imaster {
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0 !important;
}

#feature-8 .wc-imaster-text,
#feature-8 .wc-imaster-metrics {
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0 !important;
}

#feature-8 .wc-imaster-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

#feature-8 .wc-imaster-metrics article {
  min-height: 92px !important;
}

#feature-8 .wc-media.wc-media--prototype {
  width: 100% !important;
  max-width: 1540px !important;
  margin: 0 auto !important;
  border-radius: 22px !important;
  border: 1px solid rgba(8, 16, 32, 0.38) !important;
  background:
    radial-gradient(140% 120% at 20% 0%, rgba(106, 140, 196, 0.08), transparent 56%),
    linear-gradient(180deg, rgba(7, 11, 18, 0.94), rgba(4, 7, 12, 0.98)) !important;
  box-shadow:
    0 20px 48px rgba(3, 6, 12, 0.42),
    0 8px 20px rgba(5, 9, 16, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

#feature-8 .wc-prototype-shell {
  width: 100% !important;
  max-width: none !important;
  aspect-ratio: 16 / 8 !important;
  min-height: clamp(420px, 44vw, 620px) !important;
  height: auto !important;
  border-radius: 20px !important;
  border: 1px solid rgba(180, 198, 235, 0.2) !important;
  background:
    radial-gradient(180% 120% at 50% -24%, rgba(199, 219, 255, 0.2), transparent 40%),
    radial-gradient(140% 100% at 50% 118%, rgba(18, 28, 46, 0.74), transparent 44%),
    #02040a !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -16px 34px rgba(0, 0, 0, 0.62),
    0 14px 34px rgba(2, 6, 14, 0.52),
    0 0 0 1px rgba(255, 255, 255, 0.08) !important;
}

#feature-8 .wc-prototype-shell::before,
#feature-8 .wc-prototype-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

#feature-8 .wc-prototype-shell::before {
  inset: 2px;
  border-radius: 18px;
  border: 1px solid rgba(178, 205, 255, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 10px 20px rgba(188, 214, 255, 0.08),
    inset 0 -10px 22px rgba(0, 0, 0, 0.52);
  z-index: 1;
}

#feature-8 .wc-prototype-shell::after {
  z-index: 2;
  background:
    linear-gradient(
      180deg,
      rgba(245, 250, 255, 0.26) 0%,
      rgba(245, 250, 255, 0.08) 5%,
      transparent 14%
    ),
    linear-gradient(
      90deg,
      rgba(83, 178, 255, 0.14) 0%,
      transparent 18%,
      transparent 82%,
      rgba(90, 196, 255, 0.12) 100%
    ),
    radial-gradient(74% 50% at 50% -8%, rgba(232, 241, 255, 0.24), transparent 64%),
    radial-gradient(90% 58% at 50% 114%, rgba(0, 0, 0, 0.56), transparent 68%),
    radial-gradient(24% 28% at 0% 0%, rgba(0, 0, 0, 0.26), transparent 72%),
    radial-gradient(24% 28% at 100% 0%, rgba(0, 0, 0, 0.26), transparent 72%),
    radial-gradient(24% 28% at 0% 100%, rgba(0, 0, 0, 0.48), transparent 72%),
    radial-gradient(24% 28% at 100% 100%, rgba(0, 0, 0, 0.48), transparent 72%);
  mix-blend-mode: screen;
  opacity: 0.9;
}

#feature-8 .wc-prototype-shell iframe {
  border-radius: 16px;
  position: relative;
  z-index: 0;
}

#feature-8 .wc-prototype-shell:fullscreen,
#feature-8 .wc-prototype-shell.is-fallback-fullscreen {
  border-radius: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  background: #02040a !important;
}

#feature-8 .wc-prototype-shell:fullscreen::before,
#feature-8 .wc-prototype-shell:fullscreen::after,
#feature-8 .wc-prototype-shell.is-fallback-fullscreen::before,
#feature-8 .wc-prototype-shell.is-fallback-fullscreen::after {
  display: none !important;
}

@media (max-width: 980px) {
  #feature-8 > .wc-container.wc-layout--split {
    width: calc(100vw - 20px) !important;
  }

  #feature-8 .wc-copy.wc-copy--imaster,
  #feature-8 .wc-imaster-text,
  #feature-8 .wc-imaster-metrics {
    max-width: none !important;
  }

  #feature-8 .wc-imaster-metrics {
    grid-template-columns: 1fr !important;
  }

  #feature-8 .wc-prototype-shell {
    aspect-ratio: 16 / 10 !important;
    min-height: 0 !important;
    border-radius: 14px !important;
  }
}

/* NSS premium cleanup: quieter, cleaner, executive tone */
body.subpage.tesla-wattcision .wc-nss {
  --nss-accent: #0f172a;
  --nss-accent-2: #334155;
}

body.subpage.tesla-wattcision .wc-nss-hero,
body.subpage.tesla-wattcision .wc-nss-pillars,
body.subpage.tesla-wattcision .wc-nss-proof-card,
body.subpage.tesla-wattcision .wc-nss-guide {
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  border-radius: 18px !important;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%) !important;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05) !important;
}

body.subpage.tesla-wattcision .wc-nss-kicker,
body.subpage.tesla-wattcision .wc-nss-note,
body.subpage.tesla-wattcision .wc-nss-guide-step {
  color: rgba(15, 23, 42, 0.52) !important;
  letter-spacing: 0.12em !important;
}

body.subpage.tesla-wattcision .wc-nss-hero-copy h2,
body.subpage.tesla-wattcision .wc-nss-pillars > header h3,
body.subpage.tesla-wattcision .wc-nss-proof-card h4 {
  letter-spacing: -0.02em !important;
  color: #0f172a !important;
}

body.subpage.tesla-wattcision .wc-nss-flow {
  border: 0 !important;
  background: transparent !important;
  padding-top: 2px !important;
}

body.subpage.tesla-wattcision .wc-nss-flow::after {
  opacity: 0.28 !important;
  background: linear-gradient(90deg, rgba(148, 163, 184, 0.16), rgba(148, 163, 184, 0.36), rgba(148, 163, 184, 0.16)) !important;
}

body.subpage.tesla-wattcision .wc-nss-flow-node {
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

body.subpage.tesla-wattcision .wc-nss-flow-node.is-active {
  border-color: rgba(15, 23, 42, 0.26) !important;
  background: #f8fafc !important;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.08) !important;
}

body.subpage.tesla-wattcision .wc-nss-flow-node span {
  color: rgba(15, 23, 42, 0.48) !important;
  background: rgba(15, 23, 42, 0.05) !important;
  border: 0 !important;
}

body.subpage.tesla-wattcision .wc-nss-flow-node.is-active span {
  color: rgba(15, 23, 42, 0.8) !important;
  background: rgba(15, 23, 42, 0.08) !important;
}

body.subpage.tesla-wattcision .wc-nss-chart-tag {
  border-color: rgba(15, 23, 42, 0.18) !important;
  background: rgba(255, 255, 255, 0.92) !important;
  color: rgba(15, 23, 42, 0.75) !important;
}

body.subpage.tesla-wattcision .wc-nss-impact strong {
  color: #0f172a !important;
  letter-spacing: -0.02em !important;
}

body.subpage.tesla-wattcision [data-nss-envelope-main] {
  stroke: #0f172a !important;
}

/* NSS V2: editorial premium layout (less cards, more rhythm) */
body.subpage.tesla-wattcision #feature-6 .wc-nss-hero,
body.subpage.tesla-wattcision #feature-6 .wc-nss-pillars {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

body.subpage.tesla-wattcision #feature-6 .wc-nss-hero {
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(28px, 3.6vw, 52px);
  margin-bottom: clamp(34px, 4.8vw, 64px);
}

body.subpage.tesla-wattcision #feature-6 .wc-nss-hero-copy h2 {
  font-size: clamp(2.1rem, 4.3vw, 3.55rem);
  line-height: 0.95;
}

body.subpage.tesla-wattcision #feature-6 .wc-nss-kpis {
  display: flex;
  gap: 0;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  padding: 12px 0;
  margin-top: 24px;
}

body.subpage.tesla-wattcision #feature-6 .wc-nss-kpis article {
  flex: 1;
  background: transparent !important;
  border: 0 !important;
  border-right: 1px solid rgba(15, 23, 42, 0.08) !important;
  border-radius: 0 !important;
  padding: 6px 14px;
  min-height: 0;
}

body.subpage.tesla-wattcision #feature-6 .wc-nss-kpis article:last-child {
  border-right: 0 !important;
}

body.subpage.tesla-wattcision #feature-6 .wc-nss-kpis strong {
  font-size: clamp(1.7rem, 2.2vw, 2.3rem);
  font-weight: 640;
  letter-spacing: -0.025em;
}

body.subpage.tesla-wattcision #feature-6 .wc-nss-kpis span {
  font-size: 0.71rem;
  letter-spacing: 0.09em;
}

body.subpage.tesla-wattcision #feature-6 .wc-nss-pillars > header h3 {
  font-size: clamp(1.55rem, 2.45vw, 2.26rem);
  margin-bottom: 14px;
  max-width: 22ch;
}

body.subpage.tesla-wattcision #feature-6 .wc-nss-flow {
  gap: 12px;
  margin-top: 10px;
}

body.subpage.tesla-wattcision #feature-6 .wc-nss-flow-node {
  min-height: 32px;
  padding: 0 8px;
  border-color: rgba(15, 23, 42, 0.1) !important;
}

body.subpage.tesla-wattcision #feature-6 .wc-nss-flow-node.is-active {
  border-color: rgba(15, 23, 42, 0.2) !important;
  background: rgba(15, 23, 42, 0.03) !important;
  box-shadow: none !important;
}

body.subpage.tesla-wattcision #feature-6 .wc-nss-guide {
  margin-top: 16px;
  padding: 14px 2px 0 0;
  border: 0 !important;
  border-top: 1px solid rgba(15, 23, 42, 0.08) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.subpage.tesla-wattcision #feature-6 .wc-nss-proof {
  gap: 18px;
}

body.subpage.tesla-wattcision #feature-6 .wc-nss-proof-card {
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.035) !important;
  padding: 18px 18px 16px;
}

body.subpage.tesla-wattcision #feature-6 .wc-nss-proof-card > p {
  font-size: 0.82rem;
  color: rgba(51, 65, 85, 0.64);
}

body.subpage.tesla-wattcision #feature-6 .wc-nss-proof-chart {
  height: 156px;
  border-radius: 10px;
  background:
    linear-gradient(to right, rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    linear-gradient(to top, rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    #ffffff;
}

body.subpage.tesla-wattcision #feature-6 .wc-nss-impact {
  margin-top: 14px;
}

body.subpage.tesla-wattcision #feature-6 .wc-nss-impact strong {
  font-size: clamp(2.7rem, 4.8vw, 4rem);
}

@media (max-width: 980px) {
  body.subpage.tesla-wattcision #feature-6 .wc-nss-hero {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  body.subpage.tesla-wattcision #feature-6 .wc-nss-kpis {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    border-bottom: 0;
  }

  body.subpage.tesla-wattcision #feature-6 .wc-nss-kpis article {
    border-right: 0 !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
    padding: 8px 0;
  }

  body.subpage.tesla-wattcision #feature-6 .wc-nss-proof {
    grid-template-columns: 1fr;
  }
}

/* feature-4 refinement: de-table the layout + elevate scaling palette */
body.subpage.tesla-wattcision #feature-4 .wc-scale-metrics {
  gap: 14px 14px;
  margin-top: 18px;
}

body.subpage.tesla-wattcision #feature-4 .wc-scale-metrics div {
  border-top: 0 !important;
  padding-top: 0;
  padding: 10px 0 2px;
}

body.subpage.tesla-wattcision #feature-4 .wc-scale-metrics dt {
  letter-spacing: 0.05em;
  color: rgba(30, 41, 59, 0.68);
}

body.subpage.tesla-wattcision #feature-4 .wc-scale-metrics dd {
  font-size: clamp(1.8rem, 2.3vw, 2.25rem);
  line-height: 1.05;
  font-weight: 680;
  letter-spacing: -0.03em;
}

body.subpage.tesla-wattcision #feature-4 .wc-scale-pillars ul {
  margin-top: 14px;
  display: grid;
  gap: 8px;
}

body.subpage.tesla-wattcision #feature-4 .wc-scale-pillars .wc-tech-item {
  border-top: 0 !important;
  border-bottom: 0 !important;
  padding: 10px 0;
  border-radius: 10px;
}

body.subpage.tesla-wattcision #feature-4 .wc-scale-pillars .wc-tech-item + .wc-tech-item {
  border-top: 0 !important;
}

body.subpage.tesla-wattcision #feature-4 .wc-scale-pillars .wc-tech-copy strong {
  color: #111827;
}

body.subpage.tesla-wattcision #feature-4 .wc-scale-pillars .wc-tech-copy span {
  color: rgba(51, 65, 85, 0.82);
}

body.subpage.tesla-wattcision #feature-4 input[data-scale-slider],
body.subpage.tesla-wattcision #feature-4 .wc-scale-path input[type="range"] {
  background: linear-gradient(
    90deg,
    rgba(34, 211, 238, 0.38),
    rgba(56, 189, 248, 0.42) 46%,
    rgba(45, 212, 191, 0.4)
  ) !important;
}

body.subpage.tesla-wattcision #feature-4 .wc-scale-path input[type="range"]::-webkit-slider-thumb {
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: radial-gradient(
      circle at 32% 28%,
      rgba(255, 255, 255, 0.92),
      rgba(255, 255, 255, 0.08) 60%
    ),
    linear-gradient(160deg, #22d3ee, #38bdf8 55%, #2dd4bf);
  box-shadow:
    0 0 0 1px rgba(34, 211, 238, 0.18),
    0 6px 14px rgba(14, 116, 144, 0.28);
}

body.subpage.tesla-wattcision #feature-4 .wc-scale-path input[type="range"]::-moz-range-thumb {
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: linear-gradient(160deg, #22d3ee, #38bdf8 55%, #2dd4bf);
  box-shadow:
    0 0 0 1px rgba(34, 211, 238, 0.18),
    0 6px 14px rgba(14, 116, 144, 0.28);
}

body.subpage.tesla-wattcision #feature-4 .wc-scale-units span {
  border-color: rgba(148, 163, 184, 0.22);
  background: linear-gradient(
    180deg,
    rgba(148, 163, 184, 0.12),
    rgba(148, 163, 184, 0.08)
  ) !important;
  opacity: 0.9;
}

body.subpage.tesla-wattcision #feature-4 .wc-scale-module[data-scale-count="1"] .wc-scale-units span:nth-child(-n + 1),
body.subpage.tesla-wattcision #feature-4 .wc-scale-module[data-scale-count="2"] .wc-scale-units span:nth-child(-n + 2),
body.subpage.tesla-wattcision #feature-4 .wc-scale-module[data-scale-count="3"] .wc-scale-units span:nth-child(-n + 3),
body.subpage.tesla-wattcision #feature-4 .wc-scale-module[data-scale-count="4"] .wc-scale-units span:nth-child(-n + 4),
body.subpage.tesla-wattcision #feature-4 .wc-scale-module[data-scale-count="5"] .wc-scale-units span:nth-child(-n + 5) {
  background: linear-gradient(
    165deg,
    rgba(125, 211, 252, 0.82) 0%,
    rgba(96, 165, 250, 0.8) 52%,
    rgba(45, 212, 191, 0.78) 100%
  ) !important;
  border-color: rgba(56, 189, 248, 0.42) !important;
  box-shadow:
    0 6px 16px rgba(14, 116, 144, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

/* feature-6: stripe-like flowing energy wash for the two proof cards */
body.subpage.tesla-wattcision #feature-6 .wc-nss-proof-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

body.subpage.tesla-wattcision #feature-6 .wc-nss-proof-card > * {
  position: relative;
  z-index: 2;
}

body.subpage.tesla-wattcision #feature-6 .wc-nss-proof-card::before,
body.subpage.tesla-wattcision #feature-6 .wc-nss-proof-card::after {
  content: "";
  position: absolute;
  inset: -24% -18%;
  z-index: 1;
  pointer-events: none;
  will-change: transform, opacity, filter, background-position;
}

body.subpage.tesla-wattcision #feature-6 .wc-nss-proof-card::before {
  background:
    radial-gradient(58% 46% at 18% 72%, rgba(34, 211, 238, 0.4), transparent 68%),
    radial-gradient(52% 42% at 84% 22%, rgba(79, 70, 229, 0.38), transparent 72%),
    radial-gradient(48% 38% at 56% 88%, rgba(217, 70, 239, 0.3), transparent 70%);
  background-size: 130% 130%, 125% 125%, 120% 120%;
  background-position: 0% 0%, 100% 0%, 50% 100%;
  filter: blur(1.25px) saturate(1.15);
  animation: wc-card-energy-flow-a 8.5s cubic-bezier(0.45, 0.05, 0.25, 1) infinite;
}

body.subpage.tesla-wattcision #feature-6 .wc-nss-proof-card::after {
  background:
    radial-gradient(68% 52% at 18% 35%, rgba(34, 211, 238, 0.3), transparent 72%),
    radial-gradient(72% 56% at 82% 68%, rgba(79, 70, 229, 0.28), transparent 74%),
    linear-gradient(
      128deg,
      rgba(34, 211, 238, 0.24) 0%,
      rgba(96, 165, 250, 0.22) 30%,
      rgba(129, 140, 248, 0.22) 62%,
      rgba(217, 70, 239, 0.2) 100%
    );
  background-size: 136% 136%, 140% 140%, 185% 185%;
  background-position: 8% 12%, 88% 78%, 20% 24%;
  filter: blur(12px) saturate(1.2);
  opacity: 0.52;
  animation: wc-card-energy-flow-b 9.75s cubic-bezier(0.5, 0.06, 0.24, 0.98) infinite;
}

body.subpage.tesla-wattcision #feature-6 .wc-nss-proof-card:nth-child(2)::before {
  background:
    radial-gradient(56% 44% at 24% 24%, rgba(217, 70, 239, 0.36), transparent 70%),
    radial-gradient(52% 42% at 76% 74%, rgba(34, 211, 238, 0.4), transparent 72%),
    radial-gradient(40% 32% at 54% 54%, rgba(129, 140, 248, 0.31), transparent 68%);
}

body.subpage.tesla-wattcision #feature-6 .wc-nss-proof-card:nth-child(2)::after {
  opacity: 0.56;
}

/* feature-6: chart area blends into card background (no isolated white box) */
body.subpage.tesla-wattcision #feature-6 .wc-nss-proof-chart-wrap {
  margin-top: 8px;
  padding: 4px 0 0;
  background: transparent !important;
}

body.subpage.tesla-wattcision #feature-6 .wc-nss-proof-chart {
  border-radius: 0 !important;
  background:
    linear-gradient(to right, rgba(15, 23, 42, 0.05) 1px, transparent 1px),
    linear-gradient(to top, rgba(15, 23, 42, 0.045) 1px, transparent 1px),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.07) 0%,
      rgba(255, 255, 255, 0.02) 100%
    ) !important;
  background-size:
    10% 100%,
    100% 20%,
    100% 100% !important;
}

body.subpage.tesla-wattcision #feature-6 .wc-nss-chart-tag {
  background: rgba(255, 255, 255, 0.74);
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

@keyframes wc-card-energy-flow-a {
  0% {
    transform: translate3d(-2%, 1%, 0) scale(1.01);
    background-position: 0% 0%, 100% 0%, 50% 100%;
    opacity: 0.44;
  }
  28% {
    transform: translate3d(2.6%, -1.8%, 0) scale(1.035);
    background-position: 22% 16%, 78% 10%, 55% 80%;
    opacity: 0.58;
  }
  58% {
    transform: translate3d(-1.4%, -2.2%, 0) scale(1.025);
    background-position: 42% 28%, 56% 30%, 48% 62%;
    opacity: 0.5;
  }
  100% {
    transform: translate3d(1.8%, 2.4%, 0) scale(1.03);
    background-position: 68% 48%, 34% 52%, 46% 42%;
    opacity: 0.48;
  }
}

@keyframes wc-card-energy-flow-b {
  0% {
    transform: translate3d(-1.2%, 1.6%, 0) scale(1.02);
    background-position: 8% 12%, 88% 78%, 20% 24%;
    opacity: 0.48;
  }
  33% {
    transform: translate3d(1.8%, -1.4%, 0) scale(1.035);
    background-position: 24% 26%, 74% 58%, 44% 38%;
    opacity: 0.6;
  }
  66% {
    transform: translate3d(-0.8%, -2%, 0) scale(1.03);
    background-position: 48% 22%, 52% 44%, 62% 52%;
    opacity: 0.52;
  }
  100% {
    transform: translate3d(1.4%, 2.1%, 0) scale(1.04);
    background-position: 68% 46%, 32% 32%, 80% 68%;
    opacity: 0.56;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.subpage.tesla-wattcision #feature-6 .wc-nss-proof-card::before,
  body.subpage.tesla-wattcision #feature-6 .wc-nss-proof-card::after {
    animation: none !important;
  }
}

/* --------------------------------------------------------------------------
   GALLERY MODE STYLES (Feature 4 - Spatial Accordion)
   -------------------------------------------------------------------------- */
.wc-gallery-mode {
  padding-bottom: 24px;
}

.wc-gallery-mode .wc-app-hub {
  margin-top: 24px;
}

.wc-app-gallery {
  display: flex;
  gap: 12px;
  height: 440px; /* Slightly taller for more majesty */
  width: 100%;
}

.wc-app-card {
  position: relative;
  flex: 1;
  border-radius: 18px; /* Slightly rounder */
  overflow: hidden;
  cursor: pointer;
  transition: flex 0.8s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.8s ease;
  box-shadow: 0 12px 24px rgba(16, 30, 54, 0.08);
  border: 1px solid rgba(17, 21, 29, 0.08);
  background: #0f172a;
}

/* Glass Sheen Sweep Effect on Active */
.wc-app-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,0.25), rgba(255,255,255,0));
  transform: skewX(-20deg);
  z-index: 5;
  pointer-events: none;
  transition: none;
}

.wc-app-card.is-active::before {
  left: 200%;
  transition: left 1.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.wc-app-card.is-active {
  flex: 6;
  cursor: default;
  box-shadow: 
    0 32px 64px rgba(16, 30, 54, 0.25),
    inset 0 1px 1px rgba(255, 255, 255, 0.15); /* Premium inner border */
}

.wc-app-card-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #0f172a;
}

.wc-app-card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: filter 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  filter: brightness(0.3) saturate(0) blur(4px); /* Extra dark and blurry when inactive */
  transform: scale(1.15);
}

/* Premium Continuous Ken Burns Zoom when active */
.wc-app-card.is-active .wc-app-card-bg img {
  filter: brightness(0.95) saturate(1.1) blur(0);
  transform: scale(1);
  transition: filter 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 15s cubic-bezier(0.1, 0.5, 0.1, 1);
}

.wc-app-card-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  color: #fff;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
  background: linear-gradient(
    0deg,
    rgba(8, 14, 25, 0.7) 0%,
    rgba(8, 14, 25, 0.2) 60%,
    transparent 100%
  );
  mix-blend-mode: normal;
}

/* Dynamic Multi-Dopamine Glass Gradient Overlay */
.wc-app-card-content::before {
  content: "";
  position: absolute;
  inset: 30% 0 0 0;
  z-index: -1;
  background: linear-gradient(
    0deg, 
    var(--app-scene-accent, rgba(14, 25, 45, 0.95)) 0%, 
    color-mix(in srgb, var(--app-scene-accent, rgba(14, 25, 45, 0.95)) 20%, transparent) 80%, 
    transparent 100%
  );
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  mask-image: linear-gradient(to top, black 0%, black 80%, transparent 100%);
  -webkit-mask-image: linear-gradient(to top, black 0%, black 80%, transparent 100%);
  opacity: 1;
  mix-blend-mode: color; /* Gently tints the image below with dopamine colors */
}

/* Base default color if custom properties fail */
.wc-app-card {
  --app-scene-accent: rgba(15, 23, 42, 0.9);
}

/* Individual Dopamine Overlays for each card - Rich, Vibrant Tints */
.wc-app-card[data-app-scene="manufacturing"] {
  --app-scene-accent: rgba(255, 94, 0, 0.85); /* Vibrant Orange/Amber */
}

.wc-app-card[data-app-scene="datacenter"] {
  --app-scene-accent: rgba(0, 162, 255, 0.85); /* Vibrant Cyan/Blue */
}

.wc-app-card[data-app-scene="mining"] {
  --app-scene-accent: rgba(0, 204, 136, 0.85); /* Vibrant Emerald Green */
}

.wc-app-card[data-app-scene="campus"] {
  --app-scene-accent: rgba(255, 42, 106, 0.85); /* Vibrant Rose/Pink */
}

.wc-app-card[data-app-scene="microgrid"] {
  --app-scene-accent: rgba(140, 82, 255, 0.85); /* Vibrant Violet/Purple */
}

.wc-app-card.is-active .wc-app-card-content {
  opacity: 1;
  pointer-events: auto;
}

.wc-app-card-header {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
  transform: translateY(24px);
  opacity: 0;
  filter: blur(8px);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease, filter 0.8s ease;
}

.wc-app-card.is-active .wc-app-card-header {
  transform: translateY(0);
  opacity: 1;
  filter: blur(0);
  transition-delay: 0.15s; /* Staggered reveal */
}

.wc-app-card-num {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  opacity: 0.8;
  margin-bottom: 8px;
  font-family: var(--font-mono, "SF Pro Text", -apple-system, BlinkMacSystemFont, monospace);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  color: rgba(255, 255, 255, 0.9);
}

.wc-app-card-title {
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0;
  line-height: 1.1;
  color: #ffffff;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.wc-app-card-detail {
  transform: translateY(24px);
  opacity: 0;
  filter: blur(8px);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease, filter 0.8s ease;
}

.wc-app-card.is-active .wc-app-card-detail {
  transform: translateY(0);
  opacity: 1;
  filter: blur(0);
  transition-delay: 0.25s; /* Staggered reveal */
}

#feature-4 .wc-gallery-mode .wc-app-card-detail p {
  font-family: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92) !important;
  margin: 0 0 20px;
  max-width: 480px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.wc-gallery-mode .wc-app-overlay-meta {
  margin-top: 0;
}

/* Force dark chips with white text for gallery cards */
.wc-scale-icons--expanded.wc-gallery-mode .wc-app-overlay-chip,
.wc-scale-icons--expanded.wc-gallery-mode .wc-app-overlay-value {
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  background: rgba(17, 24, 39, 0.6) !important;
  color: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  text-shadow: none !important;
  padding: 0 12px;
  min-height: 28px;
  font-size: 0.7rem;
}

.wc-scale-icons--expanded.wc-gallery-mode .wc-app-overlay-value {
  border-color: rgba(255, 255, 255, 0.4) !important;
  background: rgba(255, 255, 255, 0.15) !important;
  font-weight: 600;
}

/* Inactive Card Vertical Title - Flawless Centering */
.wc-app-card:not(.is-active)::after {
  content: attr(data-app-title);
  position: absolute;
  bottom: 30px;
  left: 50%;
  /* Pivot exactly at top-left corner of the text box */
  transform-origin: 0 0;
  /* Rotate -90deg so it shoots straight up. Then shift LEFT by 50% of its height to perfectly center it on the 50% line */
  transform: rotate(-90deg) translateY(50%);
  color: rgba(255, 255, 255, 0.9);
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0.8;
  transition: opacity 0.4s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
  z-index: 3;
}

.wc-app-card.is-active::after {
  content: attr(data-app-title);
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform-origin: 0 0;
  transform: rotate(-90deg) translateY(50%) translateX(-20px);
  opacity: 0;
  z-index: 3;
  pointer-events: none;
}

.wc-app-card:not(.is-active):hover::after {
  opacity: 1;
  color: #fff;
}

.wc-app-card:not(.is-active):hover::after {
  opacity: 1;
}

/* Updated Layout for Chart Section */
.wc-app-detail-layout--gallery {
  display: block !important;
  margin-top: 24px;
}

.wc-app-detail-layout--gallery .wc-app-detail-visual {
  max-width: 100%;
  padding: 24px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(17, 21, 29, 0.08);
  box-shadow: 0 4px 12px rgba(16, 30, 54, 0.04);
}

.wc-gallery-mode .wc-app-chart-shell {
  height: auto;
  min-height: 120px;
  margin-top: 16px;
  border: none;
  background: transparent;
  box-shadow: none;
  padding-bottom: 8px;
}

.wc-gallery-mode .wc-app-overlay-chart {
  height: 100px;
  margin-top: 0;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 8px;
}

.wc-gallery-mode .wc-app-axis-y span,
.wc-gallery-mode .wc-app-axis-x span,
.wc-gallery-mode .wc-app-axis-title {
  color: rgba(71, 85, 105, 0.7);
  font-weight: 500;
}

#feature-4 .wc-scale-icons--expanded.wc-gallery-mode .wc-app-detail-layout {
  grid-template-columns: 1fr;
}

#feature-4 .wc-scale-icons--expanded.wc-gallery-mode .wc-app-detail-visual {
  max-width: 600px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .wc-app-gallery {
    flex-direction: column;
    height: 600px;
  }
  
  .wc-app-card:not(.is-active)::after {
    left: 24px;
    bottom: auto;
    top: 50%;
    transform-origin: 0 50%;
    transform: translateY(-50%);
  }
}

/* Update animation for NSS guide */
.wc-nss-guide {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.wc-nss-guide.is-updating {
  animation: nssGuideFade 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

@keyframes nssGuideFade {
  0% { opacity: 0; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════════════════════════════════
   GLOBAL FOOTER BAR  —  dark unified strip
   ═══════════════════════════════════════════════════════════════════════════ */
.global-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px 32px;
  padding: 22px clamp(24px, 5vw, 64px);
  font-family: var(--font-text);
  font-size: 0.8rem;
  letter-spacing: 0.005em;
  color: rgba(255, 255, 255, 0.42);
  background: #0e1117;
}

.global-footer__copy {
  grid-column: 1 / -1;
  white-space: nowrap;
}

.global-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px 24px;
}

.global-footer__beian {
  display: block;
  margin-top: -2px;
  color: rgba(255, 255, 255, 0.58);
}

.global-footer__beian[hidden] {
  display: none;
}

.global-footer__beian-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 24px 0 0;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
  vertical-align: middle;
}

.global-footer__beian-item:hover {
  color: rgba(255, 255, 255, 0.84);
}

.global-footer__beian-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex: 0 0 auto;
}

.global-footer__nav a {
  color: rgba(255, 255, 255, 0.42);
  text-decoration: none;
  transition: color 0.2s ease;
}

.global-footer__nav a:hover {
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 600px) {
  .global-footer {
    grid-template-columns: 1fr;
    align-items: flex-start;
    gap: 12px;
    padding: 20px 20px;
    font-size: 0.76rem;
  }

  .global-footer__copy,
  .global-footer__beian,
  .global-footer__nav {
    grid-column: 1;
  }

  .global-footer__nav {
    justify-content: flex-start;
    gap: 4px 16px;
  }

  .global-footer__beian-item {
    margin: 0 14px 6px 0;
  }
}
