:root {
  --bg-black: #000000;
  --bg-dark-elevated: #0D1015;
  --bg-dark-card: #13171F;
  --text-white: #FFFFFF;
  --text-secondary: #D0D3D8;
  --text-muted: #8E9299;
  --emerald: #10B981;
  --emerald-bright: #34D399;
  --emerald-dark: #059669;
  --border-hairline: #22262E;
  --border-subtle: rgba(255, 255, 255, 0.12);
  --font-sans: "Universal Sans", "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-display: "Outfit", "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "JetBrains Mono", monospace;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 56px;
  background-color: #000000;
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 16px;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: #000000;
  color: #FFFFFF;
  overflow-x: clip;
  line-height: 1.5;
}

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

/* Modern Web Guidance: Improve Text Layout and Legibility */
h1, h2, h3, h4, .tcl-h2, .tcl-hero-title, .tcl-bento-title {
  text-wrap: balance;
}

p, li, .tcl-body-copy, .tcl-overbar-tab-copy, .tcl-bento-desc {
  text-wrap: pretty;
}

.tcl-badge-num,
.tcl-studio-cashflow,
.tcl-kpi-cell strong,
.tcl-opt-price strong,
.tcl-slider-top strong,
.tcl-eq-pill strong,
.tcl-dock-price {
  font-variant-numeric: tabular-nums;
}

/* =========================================================
   TOP TESLA ANNOUNCEMENT RIBBON (tds-banner)
   ========================================================= */
.tds-banner {
  background: linear-gradient(90deg, #04140E 0%, #09291D 50%, #04140E 100%);
  border-bottom: 1px solid rgba(52, 211, 153, 0.22);
  color: #EAECEF;
  font-size: 0.8125rem;
  font-weight: 400;
  text-align: center;
  padding: 9px 20px;
  letter-spacing: 0.01em;
  position: relative;
  z-index: 1001;
}

.tds-banner a {
  color: var(--emerald-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-left: 8px;
  font-weight: 600;
}

/* =========================================================
   TESLA TRANSPARENT / GLASS HEADER (tds-site-header)
   ========================================================= */
.tds-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  height: 56px;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: background 0.25s ease;
}

.tds-header-inner {
  max-width: 1440px;
  height: 100%;
  margin: 0 auto;
  padding: 0 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tds-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #FFFFFF;
  white-space: nowrap;
}

.tds-wordmark-led {
  width: 4px;
  height: 18px;
  border-radius: 2px;
  background: var(--emerald-bright);
  box-shadow: 0 0 12px var(--emerald);
  display: inline-block;
}

.tds-nav-center {
  display: flex;
  align-items: center;
  gap: 4px;
}

.tds-nav-center a {
  font-size: 0.85rem;
  font-weight: 500;
  color: #EAECEF;
  padding: 6px 14px;
  border-radius: 4px;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.tds-nav-center a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

.tds-nav-center a.poster-link {
  color: var(--emerald-bright);
}

.tds-nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tds-lang-switch {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 2px;
}

.tds-lang-btn {
  border: none;
  background: transparent;
  color: #B8BABC;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

.tds-lang-btn.active {
  background: var(--emerald);
  color: #000000;
}

/* =========================================================
   TESLA BUTTONS
   ========================================================= */
.tds-btn-group {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.tds-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 196px;
  height: 42px;
  padding: 0 24px;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.2s ease, box-shadow 0.2s ease;
  border: none;
  text-align: center;
  white-space: nowrap;
}

.tds-btn:active {
  transform: scale(0.98);
}

.tds-btn--primary {
  background: var(--emerald);
  color: #000000;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.28);
}

.tds-btn--primary:hover {
  background: var(--emerald-bright);
  box-shadow: 0 6px 26px rgba(52, 211, 153, 0.42);
}

.tds-btn--white {
  background: rgba(255, 255, 255, 0.92);
  color: #111317;
  backdrop-filter: blur(8px);
}

.tds-btn--white:hover {
  background: #FFFFFF;
}

.tds-btn--dark {
  background: rgba(23, 26, 32, 0.85);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.tds-btn--dark:hover {
  background: #22262E;
  border-color: rgba(255, 255, 255, 0.45);
}

/* =========================================================
   BLOCK 0: TESLA 100VH HERO WITH ANIMATED 3D NIGHT EARTH
   ========================================================= */
.tcl-hero {
  position: relative;
  width: 100%;
  height: calc(100vh - 56px);
  height: calc(100dvh - 56px);
  min-height: 660px;
  max-height: 1080px;
  background: #020409 url('assets/tesla/01_hero_blue_planet_bg.jpg?v=20261110_14k_native') center bottom / cover no-repeat;
  overflow: clip;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.tcl-planet-stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.tcl-planet-dome {
  position: absolute;
  left: 50%;
  top: 31%;
  width: min(142vw, 2400px);
  height: min(142vw, 2400px);
  transform: translateX(-50%);
  border-radius: 50%;
  overflow: hidden;
  box-shadow:
    0 -2px 8px rgba(205, 135, 60, 0.72),
    0 -12px 36px rgba(18, 58, 130, 0.55),
    0 -32px 80px rgba(10, 32, 75, 0.35),
    inset 0 16px 42px rgba(16, 52, 120, 0.62),
    inset 0 3px 10px rgba(205, 135, 60, 0.55);
}

.tcl-planet-spin-disc {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
  background-image: url('assets/tesla/blue_planet_texture.jpg?v=20261110_8k_night');
  background-size: 160% 80%;
  background-position: 65% 28%;
  background-repeat: repeat;
  border-radius: 50%;
  will-change: background-position;
  @media (prefers-reduced-motion: no-preference) {
    animation: planetSurfaceDrift 95s linear infinite;
  }
}

.tcl-planet-atmosphere {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 38%,
      rgba(2, 5, 12, 0.0) 0%,
      rgba(4, 12, 28, 0.12) 64%,
      rgba(14, 46, 105, 0.42) 91%,
      rgba(185, 122, 52, 0.48) 98.8%,
      rgba(215, 145, 68, 0.78) 100%);
  pointer-events: none;
}

@keyframes planetSurfaceDrift {
  0% { background-position: 65% 28%; }
  100% { background-position: 225% 28%; }
}

.tcl-planet-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 2;
}

.tcl-hero-monolith-wrap {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  height: min(52vh, 510px);
  min-height: 320px;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}

.tcl-monolith-aura {
  position: absolute;
  left: 50%;
  top: 42%;
  width: 128%;
  height: 110%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center,
    rgba(52, 211, 153, 0.25) 0%,
    rgba(45, 135, 235, 0.22) 38%,
    rgba(0, 0, 0, 0) 72%);
  filter: blur(18px);
  z-index: 1;
}

.tcl-hero-monolith {
  position: relative;
  z-index: 2;
  height: 100%;
  width: auto;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 -8px 28px rgba(32, 118, 225, 0.32)) drop-shadow(0 0 18px rgba(16, 185, 129, 0.18));
}

.tcl-hero-top {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 52px 24px 16px;
  max-width: 820px;
  margin: 0 auto;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.75);
}

.tcl-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: var(--emerald-bright);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
  backdrop-filter: blur(8px);
}

.tcl-hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald-bright);
  box-shadow: 0 0 8px var(--emerald-bright);
}

.tcl-hero-title {
  font-size: clamp(2.85rem, 4.8vw, 4.2rem);
  line-height: 1.04;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: #FFFFFF;
}

.tcl-hero-subtitle {
  font-size: clamp(1.05rem, 1.35vw, 1.22rem);
  font-weight: 400;
  color: #ECEEF0;
  margin-top: 8px;
}

.tcl-hero-sub2 {
  display: block;
  font-size: 0.85rem;
  color: var(--emerald-bright);
  margin-top: 6px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.tcl-hero-cta {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

/* =========================================================
   BLOCK 1: SLEEK 3-BADGE RIBBON ON PURE BLACK
   ========================================================= */
.tcl-badge-section {
  background: radial-gradient(ellipse at 50% 0%, rgba(16, 185, 129, 0.09) 0%, rgba(0, 0, 0, 0) 70%), #000000;
  padding: 88px 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: center;
}

.tcl-badge-group {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  max-width: 1160px;
  width: 100%;
}

.tcl-badge-item {
  flex: 1;
  text-align: center;
  padding: 8px 40px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.tcl-badge-item:last-child {
  border-right: none;
}

.tcl-badge-topline {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
}

.tcl-badge-num {
  font-size: clamp(2.65rem, 4.2vw, 3.75rem);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #FFFFFF;
}

.tcl-badge-num.emerald {
  color: var(--emerald-bright);
  text-shadow: 0 0 28px rgba(52, 211, 153, 0.25);
}

.tcl-badge-unit {
  font-size: clamp(1.25rem, 1.8vw, 1.6rem);
  font-weight: 500;
  color: #FFFFFF;
}

.tcl-badge-bottomline {
  margin-top: 8px;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text-muted);
}

/* =========================================================
   BLOCK 2: FULL-BLEED ARCHITECTURAL SHOWCASE + OVERLAY CHIPS
   ========================================================= */
.tcl-text-on-media {
  position: relative;
  width: 100%;
  background: #000000;
}

.tcl-full-bleed-media {
  position: relative;
  width: 100%;
  height: 76vh;
  min-height: 500px;
  max-height: 860px;
  overflow: hidden;
}

.tcl-full-bleed-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: opacity 0.35s ease, transform 0.6s ease;
}

.tcl-full-bleed-media::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 45%;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.75) 62%, #000000 100%);
  pointer-events: none;
}

/* Glass Overlay Chips floating at the bottom of full-bleed photos */
.tcl-media-overlay-bar {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  width: calc(100% - 32px);
  max-width: 980px;
}

.tcl-glass-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(10, 14, 20, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 0.82rem;
  font-weight: 500;
  color: #F3F4F6;
  white-space: nowrap;
}

.tcl-glass-chip strong {
  color: var(--emerald-bright);
  font-weight: 600;
}

.tcl-header-group-center {
  max-width: 720px;
  margin: 0 auto;
  padding: 28px 24px 80px;
  text-align: center;
  background: #000000;
}

.tcl-h2 {
  font-size: clamp(1.75rem, 2.5vw, 2.35rem);
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #FFFFFF;
}

.tcl-body-copy {
  font-size: 1rem;
  line-height: 1.62;
  color: #C8CCD2;
  font-weight: 400;
  max-width: 60ch;
  margin: 12px auto 0;
}

/* =========================================================
   BLOCK 3: AUTO-PLAYING 3D HOME ENERGY FLOW + PROGRESS TABS
   ========================================================= */
.tcl-carousel-section {
  background: #000000;
  padding: 24px 0 96px;
}

.tcl-section-top-bar {
  max-width: 1180px;
  margin: 0 auto 24px;
  padding: 0 48px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.tcl-eyebrow-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--emerald-bright);
  display: block;
  margin-bottom: 6px;
}

.tcl-pause-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #D0D3D8;
  font-size: 0.76rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}

.tcl-pause-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
}

.tcl-carousel-media-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 48px;
}

.tcl-carousel-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #070A0F;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
}

.tcl-carousel-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.28s ease;
}

.tcl-overbar-tabs {
  max-width: 1180px;
  margin: 28px auto 0;
  padding: 0 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tcl-overbar-tab {
  position: relative;
  background: transparent;
  border: none;
  border-top: 3px solid #2A2E36;
  padding-top: 16px;
  text-align: left;
  cursor: pointer;
  color: #8E9299;
  transition: color 0.22s ease, border-color 0.22s ease;
}

/* Animated Progress Bar on Active Tab */
.tcl-overbar-tab::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--emerald-bright);
  box-shadow: 0 0 10px var(--emerald);
}

.tcl-overbar-tab.active {
  color: #FFFFFF;
}

.tcl-overbar-tab.active::before {
  width: 100%;
  @media (prefers-reduced-motion: no-preference) {
    transition: width 6s linear;
  }
}

.tcl-overbar-tabs.paused .tcl-overbar-tab.active::before {
  transition: none;
  width: 100%;
}

.tcl-overbar-tab:hover {
  color: #D8DCE0;
}

.tcl-overbar-tab-title {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: inherit;
}

.tcl-overbar-tab.active .tcl-overbar-tab-title {
  color: #FFFFFF;
}

.tcl-overbar-tab-copy {
  font-size: 0.875rem;
  line-height: 1.52;
  color: inherit;
}

/* =========================================================
   BLOCK 4: APPLE / TESLA 4-CARD BENTO GRID (#why-powervault)
   ========================================================= */
.tcl-bento-section {
  background: #000000;
  padding: 36px 48px 104px;
}

.tcl-bento-inner {
  max-width: 1240px;
  margin: 0 auto;
}

.tcl-bento-header {
  max-width: 680px;
  margin-bottom: 36px;
}

.tcl-bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.tcl-bento-card {
  position: relative;
  background: linear-gradient(180deg, #11151C 0%, #0B0E13 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.tcl-bento-card:hover {
  border-color: rgba(52, 211, 153, 0.4);
  transform: translateY(-2px);
}

.tcl-bento-card.span-7 {
  grid-column: span 7;
}

.tcl-bento-card.span-5 {
  grid-column: span 5;
}

.tcl-bento-media {
  width: 100%;
  height: 230px;
  overflow: hidden;
  background: #07090C;
  position: relative;
}

.tcl-bento-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.tcl-bento-card:hover .tcl-bento-media img {
  transform: scale(1.03);
}

.tcl-bento-body {
  padding: 24px 26px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tcl-bento-kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--emerald-bright);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.tcl-bento-title {
  font-size: 1.28rem;
  font-weight: 600;
  color: #FFFFFF;
  line-height: 1.25;
  margin-bottom: 8px;
}

.tcl-bento-desc {
  font-size: 0.88rem;
  line-height: 1.55;
  color: #A6ABB4;
}

/* =========================================================
   BLOCK 5: INTERACTIVE STORM WATCH & EXTREME WEATHER STAGE
   ========================================================= */
.tcl-weather-switcher {
  display: inline-flex;
  background: rgba(15, 19, 26, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 18px;
}

.tcl-weather-btn {
  border: none;
  background: transparent;
  color: #A6ABB4;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.tcl-weather-btn.active {
  background: var(--emerald);
  color: #000000;
}

/* =========================================================
   BLOCK 6: TESLA DESIGN STUDIO CONFIGURATOR (#design-studio)
   ========================================================= */
.tcl-design-studio {
  background: radial-gradient(ellipse at 25% 15%, rgba(16, 185, 129, 0.07) 0%, rgba(0, 0, 0, 0) 60%), #000000;
  border-top: 1px solid #1B1F27;
  border-bottom: 1px solid #1B1F27;
  padding: 96px 48px;
}

.tcl-studio-container {
  max-width: 1260px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 6.2fr 5.8fr;
  gap: 48px;
  align-items: start;
}

.tcl-studio-preview {
  position: sticky;
  top: 78px;
  background: linear-gradient(180deg, #10141B 0%, #0B0E13 100%);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 10px;
  padding: 32px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.tcl-studio-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--emerald-bright);
  margin-bottom: 8px;
}

.tcl-studio-cashflow {
  font-size: clamp(2.4rem, 3.6vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--emerald-bright);
  line-height: 1.06;
}

/* Visual Cashflow Equation Pill */
.tcl-eq-pill {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 22px;
  padding: 8px 14px;
  background: rgba(16, 185, 129, 0.09);
  border: 1px solid rgba(52, 211, 153, 0.28);
  border-radius: 6px;
  font-size: 0.82rem;
  color: #D8DCE0;
}

.tcl-eq-pill strong {
  color: #FFFFFF;
  font-family: var(--font-mono);
}

.tcl-eq-pill .emerald {
  color: var(--emerald-bright);
  font-weight: 700;
}

/* Real Hardware Product Switcher inside Studio */
.tcl-hw-showcase {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 18px;
  align-items: center;
  background: #141922;
  border: 1px solid #262C36;
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 22px;
}

.tcl-hw-showcase img {
  width: 92px;
  height: 98px;
  object-fit: contain;
  background: #FFFFFF;
  border-radius: 6px;
  padding: 6px;
}

.tcl-hw-tabs {
  display: flex;
  gap: 6px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.tcl-hw-pill {
  background: #1F2530;
  border: 1px solid #323946;
  color: #D0D3D8;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

.tcl-hw-pill.active {
  background: var(--emerald);
  border-color: var(--emerald);
  color: #000000;
}

.tcl-bars-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
}

.tcl-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #B8BABC;
  margin-bottom: 5px;
}

.tcl-bar-track {
  height: 8px;
  background: #1E232B;
  border-radius: 4px;
  overflow: hidden;
}

.tcl-bar-fill-old {
  height: 100%;
  width: 100%;
  background: #525862;
}

.tcl-bar-fill-new {
  height: 100%;
  width: 64%;
  background: var(--emerald-bright);
  transition: width 0.3s ease;
}

.tcl-kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  border-top: 1px solid #222730;
  padding-top: 20px;
}

.tcl-kpi-cell span {
  display: block;
  font-size: 0.76rem;
  color: #8E9299;
  margin-bottom: 3px;
}

.tcl-kpi-cell strong {
  font-family: var(--font-mono);
  font-size: 1.28rem;
  font-weight: 600;
  color: #FFFFFF;
}

.tcl-kpi-cell strong.emerald {
  color: var(--emerald-bright);
}

/* Studio Right Column Controls */
.tcl-studio-controls {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tcl-studio-heading {
  font-size: 1.75rem;
  font-weight: 600;
  color: #FFFFFF;
}

.tcl-control-box {
  background: #11151C;
  border: 1px solid #252A34;
  border-radius: 8px;
  padding: 18px 22px;
}

.tcl-slider-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}

.tcl-slider-top span {
  font-size: 0.88rem;
  color: #D0D3D8;
}

.tcl-slider-top strong {
  font-family: var(--font-mono);
  font-size: 1.12rem;
  color: var(--emerald-bright);
}

input[type="range"].tcl-range {
  width: 100%;
  accent-color: var(--emerald-bright);
  cursor: pointer;
}

.tcl-range-marks {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: #787D85;
  margin-top: 6px;
}

.tcl-option-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tcl-option-card {
  background: #11151C;
  border: 1px solid #282D37;
  border-radius: 6px;
  padding: 15px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.tcl-option-card:hover {
  border-color: #525866;
}

.tcl-option-card.active {
  border: 2px solid var(--emerald-bright);
  background: rgba(16, 185, 129, 0.08);
  padding: 14px 17px;
}

.tcl-opt-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--emerald-bright);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 2px;
}

.tcl-opt-title {
  font-size: 0.96rem;
  font-weight: 600;
  color: #FFFFFF;
}

.tcl-opt-desc {
  font-size: 0.78rem;
  color: #8E9299;
  margin-top: 2px;
}

.tcl-opt-price {
  text-align: right;
  white-space: nowrap;
  margin-left: 14px;
}

.tcl-opt-price strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.12rem;
  color: #FFFFFF;
}

.tcl-opt-price span {
  font-size: 0.72rem;
  color: var(--emerald-bright);
}

.tcl-loan-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.tcl-loan-btn {
  background: #11151C;
  border: 1px solid #282D37;
  border-radius: 6px;
  padding: 11px 14px;
  text-align: left;
  cursor: pointer;
  color: #D0D3D8;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.tcl-loan-btn.active {
  border: 2px solid var(--emerald-bright);
  background: rgba(16, 185, 129, 0.08);
  color: #FFFFFF;
}

.tcl-loan-btn strong {
  display: block;
  font-size: 0.85rem;
  color: #FFFFFF;
}

.tcl-loan-btn span {
  font-size: 0.72rem;
  color: #8E9299;
}

/* =========================================================
   BLOCK 7: TESLA SPECS TABLE (#specs)
   ========================================================= */
.tcl-specs-section {
  background: #000000;
  padding: 96px 48px;
}

.tcl-specs-inner {
  max-width: 1140px;
  margin: 0 auto;
}

.tcl-specs-header {
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 24px;
}

.tcl-specs-tabs {
  display: flex;
  gap: 10px;
  border-bottom: 1px solid #22262E;
  padding-bottom: 18px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.tcl-spec-tab {
  background: transparent;
  border: 1px solid #393C41;
  color: #D0D3D8;
  height: 38px;
  padding: 0 20px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

.tcl-spec-tab.active {
  background: #FFFFFF;
  border-color: #FFFFFF;
  color: #000000;
  font-weight: 600;
}

.tcl-spec-category {
  margin-bottom: 40px;
}

.tcl-spec-cat-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 16px;
}

.tcl-spec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.tcl-spec-cell {
  border-top: 1px solid #262A32;
  padding-top: 14px;
}

.tcl-spec-label {
  font-size: 0.8rem;
  color: #8E9299;
  margin-bottom: 4px;
}

.tcl-spec-val {
  font-size: 0.92rem;
  line-height: 1.5;
  color: #FFFFFF;
}

.tcl-spec-val strong {
  color: var(--emerald-bright);
  font-weight: 600;
}

.tcl-specs-footnote {
  font-size: 0.76rem;
  color: #787D85;
  margin-top: 16px;
}

/* =========================================================
   BLOCK 8: MINIMALIST ORDER SHOWCASE (#order-now)
   ========================================================= */
.tcl-order-showcase {
  background: #000000;
  padding: 48px 24px 104px;
  text-align: center;
}

.tcl-order-showcase-img {
  max-width: 680px;
  width: 100%;
  height: auto;
  margin: 0 auto 20px;
  display: block;
}

.tcl-order-showcase h2 {
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.tcl-order-showcase p {
  font-size: 0.96rem;
  color: #C8CCD2;
  max-width: 500px;
  margin: 0 auto 24px;
}

.tcl-lead-drawer {
  max-width: 680px;
  margin: 40px auto 0;
  background: #0E1218;
  border: 1px solid #242A34;
  border-radius: 8px;
  padding: 28px;
  text-align: left;
}

.tcl-lead-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 16px;
}

.tcl-input-group label {
  display: block;
  font-size: 0.76rem;
  color: #9CA0A6;
  margin-bottom: 5px;
}

.tcl-input-group input,
.tcl-input-group select {
  width: 100%;
  height: 42px;
  background: #161B24;
  border: 1px solid #2E3542;
  border-radius: 4px;
  padding: 0 14px;
  color: #FFFFFF;
  font-size: 0.9rem;
}

.tcl-input-group input:focus,
.tcl-input-group select:focus {
  outline: none;
  border-color: var(--emerald-bright);
}

/* =========================================================
   FLOATING QUICK-ORDER DOCK (.tcl-floating-dock)
   ========================================================= */
.tcl-floating-dock {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translate(-50%, 140%);
  opacity: 0;
  z-index: 990;
  background: rgba(12, 16, 22, 0.88);
  border: 1px solid rgba(52, 211, 153, 0.35);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 999px;
  padding: 8px 10px 8px 22px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.75), 0 0 20px rgba(16, 185, 129, 0.15);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease;
  pointer-events: none;
}

.tcl-floating-dock.visible {
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: auto;
}

.tcl-dock-info {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  font-size: 0.84rem;
}

.tcl-dock-title {
  font-weight: 700;
  color: #FFFFFF;
}

.tcl-dock-price {
  color: var(--emerald-bright);
  font-weight: 600;
}

.tcl-dock-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--emerald);
  color: #000000;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.18s ease;
}

.tcl-dock-btn:hover {
  background: var(--emerald-bright);
}

/* =========================================================
   SCROLL-ENTRY REVEAL ANIMATION (Modern Web Guidance Compliant)
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes tclFadeUp {
      from {
        opacity: 0.15;
        transform: translateY(24px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .tcl-bento-card,
    .tcl-header-group-center,
    .tcl-studio-preview,
    .tcl-studio-controls {
      animation: tclFadeUp auto ease-out backwards;
      animation-timeline: view();
      animation-range: entry 5% cover 22%;
    }
  }
}

/* =========================================================
   TESLA MINIMALIST HORIZONTAL FOOTER (tds-footer)
   ========================================================= */
.tds-footer {
  background: #000000;
  padding: 32px 24px 88px;
  border-top: 1px solid #16181C;
  text-align: center;
}

.tds-footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  list-style: none;
  font-size: 0.78rem;
  color: #8E9299;
}

.tds-footer-links a:hover {
  color: #FFFFFF;
}

.toast-banner {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: var(--emerald);
  color: #000000;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: 4px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
  z-index: 2000;
  display: none;
}

/* Prevent flex/grid children with long tokens from overflowing narrow viewports */
.tcl-studio-preview,
.tcl-studio-controls,
.tcl-hw-showcase > div,
.tcl-option-card > div,
.tcl-spec-cell,
.tcl-badge-item,
.tcl-bento-card,
.tcl-overbar-tab {
  min-inline-size: 0;
  min-width: 0;
}

/* Mobile Menu Trigger & Glass Slide-Down Drawer (hidden on desktop) */
.tds-mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0 12px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s ease;
  white-space: nowrap;
}

.tds-mobile-menu-btn:hover {
  background: rgba(255, 255, 255, 0.16);
}

.tds-mobile-drawer {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100vh;
  height: 100dvh;
  background: rgba(6, 9, 13, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  padding: 118px 24px 36px;
  overflow-y: auto;
  overscroll-behavior: contain;
  flex-direction: column;
  gap: 6px;
}

.tds-mobile-drawer.open {
  display: flex;
}

.tds-mobile-drawer a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 14px;
  font-size: 1rem;
  font-weight: 500;
  color: #FFFFFF;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 4px;
}

.tds-mobile-drawer a.poster-link {
  color: var(--emerald-bright);
  font-weight: 600;
}

.tds-mobile-drawer .tds-drawer-cta {
  margin-top: 16px;
  background: var(--emerald);
  color: #000000;
  font-weight: 700;
  justify-content: center;
  border-bottom: none;
  height: 46px;
}

@media (max-width: 1080px) {
  .tds-nav-center {
    display: none;
  }
  .tds-mobile-menu-btn {
    display: inline-flex;
  }
  .tcl-badge-group {
    flex-direction: column;
    gap: 28px;
  }
  .tcl-badge-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0 16px 24px;
  }
  .tcl-badge-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  .tcl-overbar-tabs,
  .tcl-studio-container {
    grid-template-columns: 1fr;
  }
  .tcl-bento-card.span-7,
  .tcl-bento-card.span-5 {
    grid-column: span 12;
  }
  .tcl-spec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 18px;
  }
  .tcl-studio-preview {
    position: static;
  }
}

@media (max-width: 680px) {
  .tds-banner {
    font-size: 0.74rem;
    padding: 8px 12px;
    line-height: 1.42;
  }
  .tds-banner a {
    display: inline-block;
    margin-left: 4px;
  }
  .tds-header-inner {
    padding: 0 16px;
  }
  .tds-wordmark {
    font-size: 0.82rem;
    letter-spacing: 0.18em;
    gap: 8px;
  }
  .tds-nav-right {
    gap: 8px;
  }
  .tds-lang-btn {
    padding: 4px 8px;
    font-size: 0.72rem;
  }

  /* Mobile Hero */
  .tcl-hero {
    min-height: 590px;
    max-height: 880px;
    height: calc(100vh - 56px);
    height: calc(100dvh - 56px);
  }
  .tcl-hero-top {
    padding: 18px 16px 10px;
    width: 100%;
  }
  .tcl-hero-eyebrow {
    font-size: 0.65rem;
    padding: 4px 10px;
    margin-bottom: 8px;
  }
  .tcl-hero-title {
    font-size: clamp(2.15rem, 1.4rem + 3.5vw, 3.1rem);
  }
  .tcl-hero-subtitle {
    font-size: 0.92rem;
    line-height: 1.4;
    margin-top: 5px;
  }
  .tcl-hero-sub2 {
    font-size: 0.76rem;
    line-height: 1.4;
    margin-top: 4px;
  }
  .tcl-hero-cta {
    margin-top: 12px;
    gap: 8px;
    width: 100%;
    flex-direction: column;
    align-items: center;
  }
  .tcl-hero-cta .tds-btn {
    width: min(100%, 300px);
    min-width: 0;
    height: 38px;
    font-size: 0.84rem;
  }
  .tcl-hero-monolith-wrap {
    height: min(36dvh, 275px);
    min-height: 190px;
    max-width: 88vw;
  }
  .tcl-planet-dome {
    top: 36%;
    width: 175vw;
    height: 175vw;
  }

  /* Section Spacing & Padding on Mobile */
  .tcl-badge-section {
    padding: 48px 20px;
  }
  .tcl-badge-num {
    font-size: clamp(2.25rem, 1.5rem + 3.5vw, 3rem);
  }
  .tcl-badge-bottomline {
    font-size: 0.88rem;
  }

  .tcl-full-bleed-media {
    height: auto;
    min-height: 250px;
    max-height: 48dvh;
    aspect-ratio: 16 / 11;
  }
  .tcl-media-overlay-bar {
    bottom: 12px;
    gap: 6px;
  }
  .tcl-glass-chip {
    font-size: 0.72rem;
    padding: 5px 10px;
  }
  .tcl-header-group-center {
    padding: 20px 20px 56px;
  }
  .tcl-h2 {
    font-size: clamp(1.4rem, 1.1rem + 2vw, 1.9rem);
  }
  .tcl-body-copy {
    font-size: 0.88rem;
    line-height: 1.56;
  }

  .tcl-carousel-section {
    padding: 16px 0 56px;
  }
  .tcl-section-top-bar {
    padding: 0 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .tcl-carousel-media-wrap {
    padding: 0 16px;
  }
  .tcl-carousel-stage {
    aspect-ratio: 16 / 10;
  }
  .tcl-overbar-tabs {
    padding: 0 16px;
    margin-top: 16px;
    gap: 10px;
  }
  .tcl-overbar-tab {
    background: #0B0E13;
    border: 1px solid #1F242D;
    border-top: 3px solid #393C41;
    border-radius: 6px;
    padding: 12px 14px;
  }
  .tcl-overbar-tab.active {
    border-color: rgba(52, 211, 153, 0.35);
    background: rgba(16, 185, 129, 0.08);
  }
  .tcl-overbar-tab-title {
    font-size: 0.94rem;
    margin-bottom: 4px;
  }
  .tcl-overbar-tab-copy {
    font-size: 0.8rem;
  }

  /* Bento Grid on Mobile */
  .tcl-bento-section {
    padding: 24px 16px 64px;
  }
  .tcl-bento-media {
    height: 185px;
  }
  .tcl-bento-body {
    padding: 18px;
  }
  .tcl-bento-title {
    font-size: 1.12rem;
  }
  .tcl-bento-desc {
    font-size: 0.82rem;
  }

  /* Design Studio Configurator on Mobile */
  .tcl-design-studio {
    padding: 48px 16px;
  }
  .tcl-studio-container {
    gap: 28px;
  }
  .tcl-studio-preview {
    padding: 20px 16px;
  }
  .tcl-studio-cashflow {
    font-size: clamp(1.9rem, 1.3rem + 3vw, 2.6rem);
  }
  .tcl-eq-pill {
    font-size: 0.74rem;
    padding: 6px 10px;
    margin: 10px 0 16px;
  }
  .tcl-hw-showcase {
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
    margin-bottom: 18px;
  }
  .tcl-hw-showcase img {
    width: 68px;
    height: 76px;
  }
  .tcl-hw-pill {
    font-size: 0.68rem;
    padding: 4px 8px;
  }
  .tcl-bar-label {
    flex-wrap: wrap;
    gap: 4px;
    font-size: 0.75rem;
  }
  .tcl-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding-top: 16px;
  }
  .tcl-kpi-cell strong {
    font-size: 0.98rem;
    white-space: nowrap;
  }
  .tcl-studio-heading {
    font-size: 1.4rem;
  }
  .tcl-control-box {
    padding: 14px 16px;
  }
  .tcl-slider-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .tcl-option-card,
  .tcl-option-card.active {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 14px 16px;
  }
  .tcl-opt-price {
    margin-left: 0;
    width: 100%;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 8px;
    text-align: left;
  }
  .tcl-loan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .tcl-loan-btn {
    padding: 10px;
  }
  .tcl-loan-btn strong {
    font-size: 0.78rem;
  }
  .tcl-loan-btn span {
    font-size: 0.68rem;
  }

  /* Specs Table on Mobile */
  .tcl-specs-section {
    padding: 48px 16px;
  }
  .tcl-specs-tabs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 28px;
  }
  .tcl-spec-tab {
    width: 100%;
    text-align: left;
    padding: 0 14px;
    font-size: 0.8rem;
  }
  .tcl-spec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 12px;
  }
  .tcl-spec-val {
    font-size: 0.84rem;
  }

  /* Order Showcase & Form on Mobile */
  .tcl-order-showcase {
    padding: 40px 16px 88px;
  }
  .tcl-order-showcase .tds-btn-group {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .tcl-order-showcase .tds-btn {
    width: 100%;
    max-width: 340px;
  }
  .tcl-lead-drawer {
    padding: 20px 16px;
    margin-top: 28px;
  }
  .tcl-lead-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .tcl-input-group input,
  .tcl-input-group select {
    font-size: 1rem;
    height: 44px;
  }
  .tds-footer-links {
    flex-direction: column;
    gap: 10px;
  }
  .tcl-floating-dock {
    width: calc(100% - 24px);
    bottom: 12px;
    padding: 8px 10px 8px 16px;
    justify-content: space-between;
    gap: 8px;
  }
  .tcl-dock-info {
    font-size: 0.75rem;
    gap: 6px;
  }
  .tcl-dock-btn {
    padding: 0 14px;
    height: 34px;
    font-size: 0.76rem;
  }
}
