/* ============================================================
   GlowDash Marketing Website – CSS
   ============================================================ */

/* ----------------------------------------------------------
   LOCAL FONTS (DSGVO-konform, kein Google-Server-Kontakt)
   ---------------------------------------------------------- */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300; font-display: swap; src: url('../fonts/inter-300.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/inter-400.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/inter-500.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/inter-600.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/inter-700.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/inter-800.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 900; font-display: swap; src: url('../fonts/inter-900.woff2') format('woff2'); }

/* ----------------------------------------------------------
   RESET & BASE
   ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* ZEN Palette — Standard (from zen_palette.dart) */
  --bg: #050505;
  --bg-card: rgba(255,255,255,0.04);
  --bg-card-hover: rgba(255,255,255,0.07);
  --border: rgba(255,255,255,0.08);
  --border-hover: rgba(255,255,255,0.18);
  --text: rgba(255,255,255,0.85);
  --text-muted: rgba(255,255,255,0.50);
  --text-subtle: rgba(255,255,255,0.30);
  --accent: #FFB800;          /* zen solar */
  --accent-2: #00C853;        /* zen source/battery */
  --accent-3: #87CEFA;        /* zen fuelle */
  --zen-home: #E0E0E0;
  --zen-wallbox: #90CAF9;
  --zen-heater: #FFCC80;
  --zen-grid-import: #B87333;
  --zen-grid-export: #00E5FF;
  --zen-quelle: #FFF3DC;
  --zen-fuelle: #87CEFA;
  --gradient: linear-gradient(135deg, #FFB800, #00C853);
  --gradient-2: linear-gradient(135deg, #87CEFA, #00E5FF);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 8px 32px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 40px rgba(255,184,0,0.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ----------------------------------------------------------
   TYPOGRAPHY
   ---------------------------------------------------------- */
.gradient-text {
  background: linear-gradient(135deg, rgba(255,184,0,0.75), rgba(0,200,83,0.75));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header { text-align: center; margin-bottom: 64px; }
.section-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(255,184,0,0.08);
  border: 1px solid rgba(255,184,0,0.18);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
  color: rgba(255,255,255,0.78);
}
.section-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ----------------------------------------------------------
   BUTTONS
   ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--gradient);
  color: #000;
  box-shadow: 0 4px 20px rgba(255,184,0,0.25);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255,184,0,0.35);
}
.btn--ghost {
  background: transparent;
  border: 1px solid var(--border-hover);
  color: var(--text);
}
.btn--ghost:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-2px);
}
.btn--secondary {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--text);
}
.btn--secondary:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-2px);
}
.btn--large { padding: 18px 36px; font-size: 18px; border-radius: 14px; }

/* ----------------------------------------------------------
   HEADER / NAV
   ---------------------------------------------------------- */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.3s, backdrop-filter 0.3s;
  padding: 0;
}
#header.scrolled {
  background: rgba(9,11,18,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.nav__icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  flex-shrink: 0;
}
.logo-glow { background: linear-gradient(135deg, rgba(255,184,0,0.75), rgba(0,200,83,0.75)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.logo-dash { color: rgba(255,255,255,0.70); }

.coming-soon-badge {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #000;
  background: linear-gradient(135deg, #FFB800, #00C853);
  padding: 3px 10px;
  border-radius: 20px;
  margin-left: 4px;
  white-space: nowrap;
  animation: badge-pulse 2.5s ease-in-out infinite;
}
@keyframes badge-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav__links a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 15px;
  color: var(--text-muted);
  transition: all 0.2s;
}
.nav__links a:hover { color: var(--text); background: var(--bg-card); }
.nav__cta {
  background: var(--gradient) !important;
  color: #000 !important;
  font-weight: 600;
  padding: 8px 18px !important;
}
.nav__cta:hover { opacity: 0.9; transform: none !important; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ----------------------------------------------------------
   HERO
   ---------------------------------------------------------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
}
.hero__orb--1 {
  width: 600px; height: 600px;
  top: -200px; left: -100px;
  background: radial-gradient(circle, #FFB800, transparent 70%);
  animation: orbFloat 8s ease-in-out infinite;
}
.hero__orb--2 {
  width: 500px; height: 500px;
  top: 100px; right: -100px;
  background: radial-gradient(circle, #00C853, transparent 70%);
  animation: orbFloat 10s ease-in-out infinite reverse;
}
.hero__orb--3 {
  width: 400px; height: 400px;
  bottom: -100px; left: 40%;
  background: radial-gradient(circle, #87CEFA, transparent 70%);
  animation: orbFloat 12s ease-in-out infinite;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -30px) scale(1.05); }
  66% { transform: translate(-15px, 20px) scale(0.95); }
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 560px;
}
.hero__badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(255,184,0,0.10);
  border: 1px solid rgba(255,184,0,0.22);
  border-radius: 100px;
  color: #FFB800;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}
.hero__headline {
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 24px;
  color: rgba(255,255,255,0.78);
}
.hero__sub {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}
.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.hero__trust {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
}
.trust-badge svg { color: var(--accent); flex-shrink: 0; }

/* TABLET MOCKUP (landscape) */
.tablet-frame {
  width: 520px;
  background: #1a1d2e;
  border-radius: 24px;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow:
    0 40px 80px rgba(0,0,0,0.6),
    0 0 0 1px rgba(255,255,255,0.06) inset,
    var(--shadow-glow);
  position: relative;
}
.tablet-frame::before {
  content: '';
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
  width: 4px;
  height: 40px;
  background: #2a2d3e;
  border-radius: 2px;
  z-index: 10;
}
.tablet-screen {
  background: #050505;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  display: flex;
  align-items: stretch;
}

.mock-dashboard {
  flex: 1;
  padding: 28px 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mock-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
}
.mock-title { font-weight: 700; font-size: 13px; }
.mock-time { color: var(--text-muted); font-size: 11px; }

.mock-soc { display: flex; justify-content: center; }
.mock-soc-ring {
  position: relative;
  width: 80px;
  height: 80px;
}
.soc-svg { width: 80px; height: 80px; transform: rotate(-90deg); }
.soc-value {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
}
.soc-value span { font-size: 10px; font-weight: 500; color: var(--text-muted); }

.mock-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.mock-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mock-card-icon { font-size: 14px; }
.mock-card-val { font-size: 12px; font-weight: 700; }
.mock-card-label { font-size: 9px; color: var(--text-muted); }
.mock-card--solar { border-color: rgba(255,184,0,0.3); }
.mock-card--battery { border-color: rgba(0,200,83,0.3); }

.mock-chart {
  flex: 1;
  min-height: 40px;
}
.chart-svg { width: 100%; height: 100%; }

/* ----------------------------------------------------------
   STATS
   ---------------------------------------------------------- */
.stats {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,184,0,0.02) 0%, transparent 100%);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat {
  text-align: center;
  padding: 20px;
  border-right: 1px solid var(--border);
}
.stat:last-child { border-right: none; }
.stat__number {
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -0.03em;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 6px;
}
.stat__label { font-size: 14px; color: var(--text-muted); font-weight: 500; }

/* ----------------------------------------------------------
   STANDARD DASHBOARD
   ---------------------------------------------------------- */
.standard-section { padding: 100px 0; background: linear-gradient(180deg, transparent, rgba(255,184,0,0.02) 50%, transparent); }

/* Tile Grid — matches app EnergyCard (Classic preset, dark) */
.std-tiles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 600px;
  margin: 0 auto 32px;
  padding: 12px;
  background: #0D1117;
  border-radius: 20px;
}

/* --- Base tile (EnergyCard) --- */
.std-tile {
  background: #1C2128;
  border: 0.8px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 16px;
  height: 160px;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  /* flex basis for S tile (2 of 4 = 50%) minus gap */
  flex: 1 1 calc(50% - 4px);
  max-width: calc(50% - 4px);
}
/* Colored gradient overlay (top-left → bottom-right, tile color @ 8%) */
.std-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  pointer-events: none;
}
.std-tile--solar::before  { background: linear-gradient(135deg, rgba(255,214,0,0.08), transparent 60%); }
.std-tile--grid::before   { background: linear-gradient(135deg, rgba(0,176,255,0.08), transparent 60%); }
.std-tile--house::before  { background: linear-gradient(135deg, rgba(255,152,0,0.08), transparent 60%); }
.std-tile--battery::before { background: linear-gradient(135deg, rgba(0,200,83,0.08), transparent 60%); }
.std-tile--autarky::before { background: linear-gradient(135deg, rgba(0,200,83,0.08), transparent 60%); }
.std-tile--selfcons::before { background: linear-gradient(135deg, rgba(255,214,0,0.08), transparent 60%); }
.std-tile--wallbox::before { background: linear-gradient(135deg, rgba(124,77,255,0.08), transparent 60%); }
.std-tile--heater::before  { background: linear-gradient(135deg, rgba(233,30,99,0.08), transparent 60%); }

/* L tile = full row width */
.std-tile--large {
  flex: 1 1 100%;
  max-width: 100%;
}

.std-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

/* --- Header row: icon + label + chevron --- */
.std-tile__header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  min-height: 20px;
}
.std-tile__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}
/* Tile-color = icon & value color */
.std-tile--solar .std-tile__icon,
.std-tile--solar .std-tile__value  { color: #FFD600; }
.std-tile--grid .std-tile__icon,
.std-tile--grid .std-tile__value   { color: #00B0FF; }
.std-tile--house .std-tile__icon,
.std-tile--house .std-tile__value  { color: #FF9800; }
.std-tile--battery .std-tile__icon,
.std-tile--battery .std-tile__value { color: #00C853; }
.std-tile--wallbox .std-tile__icon,
.std-tile--wallbox .std-tile__value { color: #7C4DFF; }
.std-tile--heater .std-tile__icon,
.std-tile--heater .std-tile__value  { color: #E91E63; }

/* Icon at 70% alpha */
.std-tile__icon { opacity: 0.7; }

.std-tile__label {
  flex: 1;
  font-size: 12px;
  font-weight: 400;
  color: rgba(255,255,255,0.54);
  letter-spacing: 0.3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.std-tile__chevron {
  flex-shrink: 0;
  color: rgba(255,255,255,0.24);
}

/* --- Power value --- */
.std-tile__power {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.std-tile__value {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.std-tile__unit {
  font-size: 14px;
  font-weight: 500;
  opacity: 0.7;
}
/* Unit inherits tile color via parent */
.std-tile--solar .std-tile__unit  { color: #FFD600; }
.std-tile--grid .std-tile__unit   { color: #00B0FF; }
.std-tile--house .std-tile__unit  { color: #FF9800; }
.std-tile--battery .std-tile__unit { color: #00C853; }
.std-tile--wallbox .std-tile__unit { color: #7C4DFF; }
.std-tile--heater .std-tile__unit  { color: #E91E63; }

/* --- Subtitle --- */
.std-tile__sub {
  font-size: 11px;
  color: rgba(255,255,255,0.38);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* --- Time info (battery) --- */
.std-tile__time {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.std-tile--battery .std-tile__time { color: rgba(0,200,83,0.8); }
.std-tile__time svg { opacity: 0.6; }

/* --- kWh badge (bottom) --- */
.std-tile__kwh {
  margin-top: auto;
  padding: 1px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  align-self: flex-start;
}
.std-tile--solar .std-tile__kwh  { background: rgba(255,214,0,0.10); color: rgba(255,214,0,0.8); }
.std-tile--grid .std-tile__kwh   { background: rgba(0,176,255,0.10); color: rgba(0,176,255,0.8); }
.std-tile--house .std-tile__kwh  { background: rgba(255,152,0,0.10); color: rgba(255,152,0,0.8); }
.std-tile--battery .std-tile__kwh { background: rgba(0,200,83,0.10); color: rgba(0,200,83,0.8); }
.std-tile--wallbox .std-tile__kwh { background: rgba(124,77,255,0.10); color: rgba(124,77,255,0.8); }
.std-tile--heater .std-tile__kwh  { background: rgba(233,30,99,0.10); color: rgba(233,30,99,0.8); }

/* --- Battery tile: body with side gauge --- */
.std-tile--has-gauge .std-tile__header { margin-bottom: 2px; }
.std-tile__body-with-gauge {
  display: flex;
  align-items: flex-start;
  flex: 1;
  min-height: 0;
}
.std-tile__left {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding-right: 8px;
}
.std-tile__left .std-tile__kwh { margin-top: auto; }
.std-tile__gauge {
  position: relative;
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  align-self: center;
}
.soc-ring { width: 100%; height: 100%; }
.soc-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.soc-val { font-size: 20px; font-weight: 700; color: #00C853; font-variant-numeric: tabular-nums; }
.soc-pct { font-size: 11px; font-weight: 500; color: rgba(0,200,83,0.7); margin-left: 1px; }

/* --- Gauge tiles (Autarky, Self-consumption) --- */
.std-tile--gauge-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 10px;
  text-align: center;
  min-height: 116px;
  height: auto;
}
.std-tile--gauge-tile .std-tile__label {
  font-size: 10px;
  letter-spacing: 0.3px;
  color: rgba(255,255,255,0.54);
  margin-bottom: 6px;
}
.std-tile__gauge-center {
  position: relative;
  width: 80px;
  height: 80px;
}
.std-tile__gauge-center .soc-ring { width: 100%; height: 100%; }
.gauge-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gauge-val { font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }
.gauge-pct { font-size: 11px; font-weight: 500; margin-left: 1px; }
.std-tile--autarky .gauge-val { color: #00C853; }
.std-tile--autarky .gauge-pct { color: rgba(0,200,83,0.7); }
.std-tile--selfcons .gauge-val { color: #FFD600; }
.std-tile--selfcons .gauge-pct { color: rgba(255,214,0,0.7); }

.std-hint {
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 72px;
  opacity: 0.7;
}

/* SOH & Timer Highlights */
.std-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 80px;
}
.std-highlight {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  transition: all 0.3s ease;
}
.std-highlight:hover { border-color: var(--border-hover); transform: translateY(-3px); box-shadow: var(--shadow); }
.std-highlight__icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.std-highlight--soh .std-highlight__icon { background: rgba(0,200,83,0.1); color: #00C853; border: 1px solid rgba(0,200,83,0.2); }
.std-highlight--timer .std-highlight__icon { background: rgba(255,184,0,0.1); color: var(--accent); border: 1px solid rgba(255,184,0,0.2); }
.std-highlight__content h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.std-highlight__content p { font-size: 14px; color: var(--text-muted); line-height: 1.65; }
.std-highlight__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.std-htag {
  font-size: 12px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

/* Einstellungen */
.std-settings { margin-top: 0; }
.std-settings__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.std-setting {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all 0.3s ease;
}
.std-setting:hover { border-color: var(--border-hover); transform: translateY(-3px); }
.std-setting__icon { font-size: 28px; margin-bottom: 12px; }
.std-setting h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.std-setting p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.section-badge--subtle { background: rgba(255,255,255,0.04); border-color: var(--border); color: var(--text-muted); }

/* ----------------------------------------------------------
   FEATURES
   ---------------------------------------------------------- */
.features { padding: 100px 0; }

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card--large { grid-column: span 1; }

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255,184,0,0.04), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}
.feature-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.feature-card:hover::before { opacity: 1; }

.feature-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255,184,0,0.08);
  border: 1px solid rgba(255,184,0,0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 18px;
}
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { font-size: 15px; color: var(--text-muted); line-height: 1.6; }

/* Flow demo widget inside feature card */
.feature-card__visual { margin-top: 20px; }
.flow-demo {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 8px;
  background: rgba(0,0,0,0.3);
  border-radius: 12px;
  padding: 16px;
  flex-wrap: wrap;
}
.flow-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 20px;
}
.flow-node span {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
}
.flow-arrows {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
}
.flow-arrow::after {
  content: '→';
  color: var(--accent);
  font-size: 18px;
  animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }

/* ----------------------------------------------------------
   DEVICES
   ---------------------------------------------------------- */
.devices { padding: 100px 0; background: linear-gradient(180deg, transparent, rgba(135,206,250,0.03) 50%, transparent); }

.devices__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.device-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all 0.3s ease;
}
.device-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.device-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: #fff;
}
.device-card__icon--e3dc { background: linear-gradient(135deg, rgba(255,184,0,0.08), rgba(255,184,0,0.16)); color: #FFB800; border: 1px solid rgba(255,184,0,0.25); }
.device-card__icon--wallbox { background: linear-gradient(135deg, rgba(0,200,83,0.08), rgba(0,200,83,0.16)); color: #00C853; border: 1px solid rgba(0,200,83,0.25); }
.device-card__icon--hue { background: linear-gradient(135deg, rgba(144,202,249,0.08), rgba(144,202,249,0.16)); color: #90CAF9; border: 1px solid rgba(144,202,249,0.25); }
.device-card__icon--heater { background: linear-gradient(135deg, rgba(255,204,128,0.08), rgba(255,204,128,0.16)); color: #FFCC80; border: 1px solid rgba(255,204,128,0.25); }

.device-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.device-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; }
.device-features { display: flex; flex-direction: column; gap: 6px; }
.device-features li {
  font-size: 12px;
  color: var(--text-muted);
  padding: 4px 10px;
  background: var(--bg-card);
  border-radius: 6px;
  border: 1px solid var(--border);
}

/* ----------------------------------------------------------
   PRIVACY
   ---------------------------------------------------------- */
.privacy {
  padding: 100px 0;
  position: relative;
}
.privacy__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.privacy__content .section-badge { text-align: left; display: inline-block; }
.privacy__content .section-title { text-align: left; font-size: clamp(24px, 3vw, 38px); }
.privacy__content > p { color: var(--text-muted); font-size: 17px; margin-bottom: 32px; line-height: 1.7; }

.privacy__list { display: flex; flex-direction: column; gap: 20px; }
.privacy__list li { display: flex; gap: 14px; align-items: flex-start; }
.privacy-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(0,200,83,0.08);
  border: 1px solid rgba(0,200,83,0.18);
  color: var(--accent-2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.privacy__list strong { display: block; font-size: 15px; margin-bottom: 2px; }
.privacy__list span { font-size: 14px; color: var(--text-muted); line-height: 1.5; }

/* Privacy Diagram */
.privacy-diagram {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.pd-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.pd-phone {
  font-size: 40px;
  background: rgba(255,184,0,0.08);
  border: 1px solid rgba(255,184,0,0.22);
  border-radius: 16px;
  padding: 12px;
}
.pd-label { font-size: 13px; font-weight: 700; color: #FFB800; }

.pd-devices {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.pd-device {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
}
.pd-device-icon {
  font-size: 22px;
  background: rgba(0,200,83,0.06);
  border: 1px solid rgba(0,200,83,0.18);
  border-radius: 10px;
  padding: 8px;
}
.pd-device-name { font-size: 10px; color: var(--text-muted); font-weight: 600; }
.pd-connection {
  width: 2px;
  height: 0;
  background: var(--gradient);
  border-radius: 1px;
  position: absolute;
  bottom: 100%;
}
.pd-connection::before {
  content: '✓';
  position: absolute;
  top: 2px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  color: var(--accent-2);
}

.pd-cloud {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  opacity: 0.5;
  position: relative;
}
.pd-cloud::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: repeating-linear-gradient(90deg, rgba(255,50,50,0.5) 0, rgba(255,50,50,0.5) 6px, transparent 6px, transparent 12px);
}
.pd-cloud-icon { font-size: 28px; filter: grayscale(1); }
.pd-cloud-label { font-size: 12px; color: var(--text-subtle); }
.pd-blocked {
  font-size: 11px;
  font-weight: 700;
  color: #ef4444;
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.2);
  border-radius: 6px;
  padding: 3px 8px;
}

/* ----------------------------------------------------------
   DESIGN SECTION
   ---------------------------------------------------------- */
.design-section { padding: 100px 0; }

.themes-showcase {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.theme-pill {
  padding: 8px 20px;
  border-radius: 100px;
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--text-muted);
}
.theme-pill:hover, .theme-pill--active {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(255,184,0,0.08);
}

.presets-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.preset-card {
  aspect-ratio: 1;
  border-radius: 14px;
  display: flex;
  align-items: flex-end;
  padding: 12px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.3s;
}
.preset-card:hover { transform: scale(1.05); box-shadow: var(--shadow); }
.preset-card--classic { background: linear-gradient(135deg, #1e293b, #0f172a); color: #94a3b8; }
.preset-card--glow { background: linear-gradient(135deg, #1a1200, #2a1800); color: #FFB800; border-color: rgba(255,184,0,0.3); box-shadow: inset 0 0 20px rgba(255,184,0,0.1); }
.preset-card--glass { background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03)); backdrop-filter: blur(10px); color: #e2e8f0; border-color: rgba(255,255,255,0.15); }
.preset-card--neon { background: linear-gradient(135deg, #001a1a, #001010); color: #00ffcc; border-color: rgba(0,255,204,0.3); box-shadow: inset 0 0 20px rgba(0,255,204,0.05); }
.preset-card--graphite { background: linear-gradient(135deg, #2a2a2a, #1a1a1a); color: #9ca3af; border-color: rgba(156,163,175,0.2); }
.preset-card--minimal { background: linear-gradient(135deg, #fafafa, #f0f0f0); color: #374151; }

/* ----------------------------------------------------------
   BETA SIGNUP
   ---------------------------------------------------------- */
.beta-signup {
  padding: 100px 0;
  position: relative;
}
.beta-signup__content {
  max-width: 640px;
  margin: 0 auto;
}
.beta-signup__header {
  text-align: center;
  margin-bottom: 40px;
}
.beta-signup__badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #000;
  background: var(--gradient);
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.beta-signup__header h2 {
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 16px;
}
.beta-signup__header p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto;
}

/* Form */
.beta-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
}
.beta-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.beta-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.beta-form__field:last-child {
  grid-column: 1 / -1;
}
.beta-form__field--full {
  grid-column: 1 / -1;
}
.beta-form__field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.beta-form__field input[type="text"],
.beta-form__field input[type="email"],
.beta-form__field select {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 15px;
  color: var(--text);
  font-family: inherit;
  transition: border-color 0.2s;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.beta-form__field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='rgba(255,255,255,0.5)' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
.beta-form__field select option {
  background: #1a1a1a;
  color: var(--text);
}
.beta-form__field input:focus,
.beta-form__field select:focus {
  border-color: var(--accent);
}
.beta-form__field input::placeholder {
  color: var(--text-subtle);
}

/* Platform Radio Cards */
.beta-form__platform {
  display: flex;
  gap: 12px;
}
.platform-option {
  flex: 1;
  cursor: pointer;
}
.platform-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.platform-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.2s;
}
.platform-option input:checked + .platform-card {
  border-color: var(--accent);
  background: rgba(255,184,0,0.08);
  color: var(--text);
  box-shadow: 0 0 16px rgba(255,184,0,0.12);
}
.platform-card:hover {
  border-color: var(--border-hover);
}

/* Peripherals Checkboxes */
.beta-form__peripherals {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.peripheral-check {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
}
.peripheral-check:hover {
  border-color: var(--border-hover);
}
.peripheral-check input[type="checkbox"] {
  accent-color: var(--accent);
  width: 15px;
  height: 15px;
}
.peripheral-check span {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}
.peripheral-check:has(input:checked) {
  border-color: var(--accent);
  background: rgba(255,184,0,0.06);
}
.peripheral-check:has(input:checked) span {
  color: var(--text);
}

/* Consent */
.beta-form__consent {
  margin-bottom: 24px;
}
.consent-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}
.consent-check input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
}
.consent-check span {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}
.consent-check a {
  color: var(--accent);
  text-decoration: underline;
}

/* Submit */
.beta-form__submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 16px;
}

/* Note */
.beta-signup__note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-subtle);
}

@media (max-width: 600px) {
  .beta-form__grid { grid-template-columns: 1fr; }
  .beta-form { padding: 24px 20px; }
  .beta-signup__header h2 { font-size: 28px; }
}

/* ----------------------------------------------------------
   DOWNLOAD
   ---------------------------------------------------------- */
.download {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.download__bg { position: absolute; inset: 0; pointer-events: none; }
.download__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}
.download__orb--1 {
  width: 500px; height: 500px;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255,184,0,0.15), transparent 70%);
}
.download__orb--2 {
  width: 400px; height: 400px;
  bottom: -100px; right: 10%;
  background: radial-gradient(circle, rgba(0,200,83,0.12), transparent 70%);
}
.download__content { position: relative; z-index: 1; }
.download__icon {
  width: 100px;
  height: 100px;
  border-radius: 22px;
  margin-bottom: 32px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.download__content h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.download__content p { font-size: 18px; color: var(--text-muted); margin-bottom: 40px; }
.download__note { margin-top: 16px; font-size: 14px; color: var(--text-subtle); }

/* ----------------------------------------------------------
   FOOTER
   ---------------------------------------------------------- */
.footer {
  border-top: 1px solid var(--border);
  padding-top: 60px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  margin-bottom: 40px;
}
.footer__brand { max-width: 280px; }
.footer__brand .nav__logo { margin-bottom: 12px; }
.footer__brand p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.footer__links { display: flex; gap: 48px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h4 { font-size: 13px; font-weight: 700; color: var(--text); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; }
.footer__col a { font-size: 14px; color: var(--text-muted); transition: color 0.2s; }
.footer__col a:hover { color: var(--text); }
.footer__bottom {
  border-top: 1px solid var(--border);
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--text-subtle);
}

/* ----------------------------------------------------------
   HERO GRID (desktop: content left, mockup right)
   ---------------------------------------------------------- */
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 1;
}
.hero__mockup {
  position: relative;
  right: auto;
  top: auto;
  transform: none;
  justify-self: center;
  animation: phoneFloat 6s ease-in-out infinite;
}
@keyframes phoneFloat {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-16px) rotate(1deg); }
}
.hero__particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* ----------------------------------------------------------
   ZEN MOCKUP in HERO (15×12 Word Clock + Metrics + Glow Bar)
   ---------------------------------------------------------- */
.zen-mock {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 24px 20px 16px;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

/* Aura glow halos */
.zen-aura {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}
.zen-aura--solar {
  width: 180px; height: 180px;
  top: -40px; left: 20px;
  background: radial-gradient(circle, rgba(255,184,0,0.18) 0%, transparent 70%);
}
.zen-aura--battery {
  width: 140px; height: 140px;
  bottom: 20px; left: 10px;
  background: radial-gradient(circle, rgba(0,200,83,0.15) 0%, transparent 70%);
}
.zen-aura--home {
  width: 160px; height: 160px;
  top: 40px; right: -20px;
  background: radial-gradient(circle, rgba(224,224,224,0.10) 0%, transparent 70%);
}

.zen-mock__wordclock {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  position: relative;
  z-index: 1;
}
.wc-row {
  display: flex;
  gap: 1px;
}
.wc-letter {
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', monospace;
  font-size: 9px;
  font-weight: 700;
  color: rgba(255,255,255,0.06);
  transition: color 0.8s ease, text-shadow 0.8s ease;
  letter-spacing: 0;
  border-radius: 2px;
}
.wc-letter.wc-active {
  color: rgba(255,255,255,0.82);
  text-shadow: 0 0 5px rgba(255,255,255,0.48), 0.5px 0.5px 1.2px rgba(0,0,0,0.42);
}
.wc-letter.wc-energy-solar {
  color: rgba(255,184,0,0.82);
  text-shadow: 0 0 8px rgba(255,184,0,0.58), 0.5px 0.5px 1.2px rgba(0,0,0,0.42);
  box-shadow: 0 0 12px 2px rgba(255,184,0,0.28);
}
.wc-letter.wc-energy-source {
  color: rgba(0,200,83,0.82);
  text-shadow: 0 0 8px rgba(0,200,83,0.58), 0.5px 0.5px 1.2px rgba(0,0,0,0.42);
  box-shadow: 0 0 12px 2px rgba(0,200,83,0.28);
}
.wc-letter.wc-energy-flow {
  color: rgba(0,229,255,0.82);
  text-shadow: 0 0 8px rgba(0,229,255,0.58), 0.5px 0.5px 1.2px rgba(0,0,0,0.42);
  box-shadow: 0 0 12px 2px rgba(0,229,255,0.28);
}
.wc-letter.wc-energy-fuelle {
  color: rgba(135,206,250,0.82);
  text-shadow: 0 0 8px rgba(135,206,250,0.58), 0.5px 0.5px 1.2px rgba(0,0,0,0.42);
  box-shadow: 0 0 12px 2px rgba(135,206,250,0.28);
  animation: fuellePulse 1.8s ease-in-out infinite alternate;
}
.wc-letter.wc-energy-quelle {
  color: rgba(255,243,220,0.66);
  text-shadow: 0 0 8px rgba(255,243,220,0.45), 0.5px 0.5px 1.2px rgba(0,0,0,0.42);
  box-shadow: 0 0 12px 2px rgba(255,243,220,0.22);
  animation: quelleDim 3.2s ease-in-out infinite alternate;
}
.wc-letter.wc-energy-autark {
  color: rgba(0,200,83,0.82);
  text-shadow: 0 0 8px rgba(0,200,83,0.58), 0.5px 0.5px 1.2px rgba(0,0,0,0.42);
  box-shadow: 0 0 12px 2px rgba(0,200,83,0.28);
}

@keyframes fuellePulse {
  0%   { opacity: 0.62; }
  100% { opacity: 1; }
}
@keyframes quelleDim {
  0%   { opacity: 0.45; }
  100% { opacity: 0.80; }
}

.zen-mock__metrics {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  z-index: 2;
}
.zen-metric {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.zen-metric__label {
  font-size: 9px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 300;
  order: -1;
}
.zen-metric--solar {
  top: 20px; left: 20px;
  text-align: left;
}
.zen-metric--solar .zen-metric__glow { background: #FFB800; }
.zen-metric--solar .zen-metric__value {
  color: #FFB800;
  font-size: 24px;
  font-weight: 200;
  text-shadow: 0 0 40px rgba(255,184,0,0.35), 0 0 80px rgba(255,184,0,0.15);
}
.zen-metric--home {
  top: 50%; right: 16px;
  transform: translateY(-50%);
  text-align: right;
  align-items: flex-end;
}
.zen-metric--home .zen-metric__glow { background: #E0E0E0; }
.zen-metric--home .zen-metric__value {
  color: #E0E0E0;
  font-size: 28px;
  font-weight: 200;
  text-shadow: 0 0 40px rgba(224,224,224,0.25), 0 0 80px rgba(224,224,224,0.1);
}
.zen-metric--battery {
  bottom: 40px; left: 20px;
  text-align: left;
}
.zen-metric--battery .zen-metric__glow { background: #00C853; }
.zen-metric--battery .zen-metric__value {
  color: #00C853;
  font-size: 18px;
  font-weight: 300;
  text-shadow: 0 0 40px rgba(0,200,83,0.35), 0 0 80px rgba(0,200,83,0.15);
}

.zen-metric__value span {
  font-size: 10px;
  font-weight: 400;
  opacity: 0.7;
  margin-left: 2px;
}

.zen-mock__bar {
  padding: 0 12px;
}
.zen-metric__glow {
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  filter: blur(20px);
  opacity: 0.25;
}
.zen-glow-bar {
  position: relative;
  height: 4px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  overflow: visible;
}
.zen-glow-bar__fill {
  height: 100%;
  width: 86%;
  border-radius: 2px;
  background: linear-gradient(90deg, #FFB800, #00C853);
  transition: width 1.5s ease;
}
.zen-glow-bar__glow {
  position: absolute;
  top: -4px;
  left: 0;
  width: 86%;
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(255,184,0,0.4), rgba(0,200,83,0.4));
  filter: blur(8px);
  pointer-events: none;
}

/* ----------------------------------------------------------
   ZEN SECTION (3 visualization cards)
   ---------------------------------------------------------- */
.zen-section {
  padding: 100px 0;
  position: relative;
  background: linear-gradient(180deg, transparent, rgba(255,184,0,0.02) 30%, rgba(135,206,250,0.02) 70%, transparent);
}
.section-badge--zen {
  background: rgba(135,206,250,0.12);
  border-color: rgba(135,206,250,0.25);
  color: #87CEFA;
}

.zen__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.zen-card--wallbox, .zen-card--heater {
  /* Bottom row: 2 cards spanning wider */
}
@media (min-width: 901px) {
  .zen__grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .zen-card--wordclock { grid-column: span 2; }
  .zen-card--aura { grid-column: span 2; }
  .zen-card--ambient { grid-column: span 2; }
  .zen-card--wallbox { grid-column: span 3; }
  .zen-card--heater { grid-column: span 3; }
}

.zen-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.4s ease;
  position: relative;
}
.zen-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
  z-index: 0;
}
.zen-card--wordclock::before { background: linear-gradient(135deg, rgba(255,184,0,0.06), transparent 60%); }
.zen-card--aura::before { background: linear-gradient(135deg, rgba(135,206,250,0.06), transparent 60%); }
.zen-card--ambient::before { background: linear-gradient(135deg, rgba(0,200,83,0.06), transparent 60%); }
.zen-card--wallbox::before { background: linear-gradient(135deg, rgba(144,202,249,0.06), transparent 60%); }
.zen-card--heater::before { background: linear-gradient(135deg, rgba(255,204,128,0.06), transparent 60%); }
.zen-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
}
.zen-card:hover::before { opacity: 1; }

.zen-card__preview {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.zen-card--wallbox .zen-card__preview,
.zen-card--heater .zen-card__preview { height: 280px; }
.zen-card--wordclock .zen-card__preview { background: linear-gradient(145deg, #0a0d14, #0f1520); }
.zen-card--aura .zen-card__preview { background: linear-gradient(145deg, #0a0812, #10081c); }
.zen-card--ambient .zen-card__preview { background: linear-gradient(145deg, #060d0a, #0a1410); }
.zen-card--wallbox .zen-card__preview { background: linear-gradient(145deg, #080a10, #0a1018); }
.zen-card--heater .zen-card__preview { background: linear-gradient(145deg, #100a06, #180e08); }

.zen-card__content {
  padding: 24px;
  position: relative;
  z-index: 1;
}
.zen-card__content h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}
.zen-card__content p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}
.zen-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.zen-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

/* -- Word Clock Preview (small inline version) -- */
.zen-preview-wordclock {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 24px 0;
}
.zpw-row {
  display: flex;
  gap: 6px;
}
.zpw-row span {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', monospace;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.06);
  transition: color 0.6s ease, text-shadow 0.6s ease;
}
.zpw-row span.zpw-on {
  color: #FFB800;
  text-shadow: 0 0 10px rgba(255,184,0,0.5), 0 0 24px rgba(255,184,0,0.15);
}

/* -- Aura Preview -- */
.zen-preview-aura {
  position: relative;
  width: 180px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.aura-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(30px);
}
.aura-orb--solar {
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(255,184,0,0.35), transparent 70%);
  animation: auraPulse 4s ease-in-out infinite;
}
.aura-orb--battery {
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(0,200,83,0.3), transparent 70%);
  animation: auraPulse 5s ease-in-out infinite reverse;
}
@keyframes auraPulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.15); opacity: 1; }
}
.aura-center {
  position: relative;
  z-index: 1;
  text-align: center;
}
.aura-value {
  font-size: 28px;
  font-weight: 900;
  color: #FFB800;
}
.aura-value span {
  font-size: 14px;
  font-weight: 500;
  opacity: 0.6;
}
.aura-label {
  font-size: 11px;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 2px;
}

/* -- Ambient Preview -- */
.zen-preview-ambient {
  width: 100%;
  height: 100%;
  position: relative;
}
.ambient-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* -- Wallbox Preview -- */
.zen-preview-wallbox {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow: hidden;
}
.wb-aura {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  pointer-events: none;
}
.wb-aura--power {
  width: 160px; height: 160px;
  top: -30px; right: -20px;
  background: radial-gradient(circle, rgba(144,202,249,0.15), transparent 70%);
  animation: auraPulse 4s ease-in-out infinite;
}
.wb-aura--vehicle {
  width: 120px; height: 120px;
  bottom: 20px; left: -10px;
  background: radial-gradient(circle, rgba(0,139,139,0.12), transparent 70%);
  animation: auraPulse 5s ease-in-out infinite reverse;
}
.wb-car {
  width: 200px;
  height: 42px;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
.wb-car__body {
  transition: stroke 0.8s ease;
}
.wb-car__glow {
  transition: opacity 0.8s ease;
}
.wb-bolt {
  animation: boltPulse 2s ease-in-out infinite;
}
@keyframes boltPulse {
  0%, 100% { opacity: 0.5; transform: translate(104px,38px) scale(1); }
  50% { opacity: 1; transform: translate(104px,38px) scale(1.15); }
}
@keyframes shimmerSlide {
  0% { offset: 0; }
  100% { offset: 1; }
}
.wb-metrics {
  display: flex;
  gap: 32px;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}
.wb-metric {
  text-align: center;
}
.wb-metric__value {
  font-size: 20px;
  font-weight: 200;
  font-family: 'Inter', sans-serif;
}
.wb-metric--power .wb-metric__value {
  color: #90CAF9;
  text-shadow: 0 0 20px rgba(144,202,249,0.3);
}
.wb-metric--soc .wb-metric__value {
  color: #E0FFFF;
  text-shadow: 0 0 20px rgba(224,255,255,0.2);
}
.wb-metric__value span {
  font-size: 11px;
  font-weight: 400;
  opacity: 0.6;
  margin-left: 2px;
}
.wb-metric__label {
  font-size: 9px;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 300;
  margin-top: 2px;
}
.wb-modes {
  display: flex;
  gap: 6px;
  padding: 6px 10px;
  background: rgba(11,11,16,0.34);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 22px;
  position: relative;
  z-index: 1;
  margin-bottom: 6px;
}
.wb-mode {
  background: none;
  border: 1px solid transparent;
  color: rgba(255,255,255,0.45);
  font-size: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 3px;
}
.wb-mode__icon { font-size: 11px; }
.wb-mode:hover {
  color: rgba(255,255,255,0.7);
  border-color: rgba(255,255,255,0.12);
}
.wb-mode--active {
  color: #90CAF9;
  background: rgba(144,202,249,0.12);
  border-color: rgba(144,202,249,0.25);
}
.wb-mode--stop.wb-mode--active {
  color: #FFCC80;
  background: rgba(255,204,128,0.12);
  border-color: rgba(255,204,128,0.25);
}
.wb-glow-bar {
  width: 80%;
  height: 3px;
  background: rgba(255,255,255,0.04);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.wb-glow-bar__fill {
  height: 100%;
  width: 67%;
  border-radius: 2px;
  background: linear-gradient(90deg, #008B8B, #90CAF9);
  transition: width 1.5s ease;
  box-shadow: 0 0 8px rgba(144,202,249,0.4);
}

/* -- Heater Preview -- */
.zen-preview-heater {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  overflow: hidden;
}
.ht-aura {
  position: absolute;
  width: 200px; height: 120px;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(184,115,51,0.20) 0%, rgba(255,213,79,0.08) 40%, transparent 70%);
  filter: blur(14px);
  pointer-events: none;
  animation: htAuraPulse 3s ease-in-out infinite;
}
@keyframes htAuraPulse {
  0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.08); }
}
.ht-rod {
  width: 80px;
  height: 140px;
  position: relative;
  z-index: 1;
  margin-bottom: 4px;
}
.ht-bar {
  stroke: rgba(255,255,255,0.08);
  stroke-width: 2.5;
  stroke-linecap: round;
  fill: none;
  transition: stroke 1s ease;
}
.ht-bar.ht-active {
  stroke: rgba(184,115,51,0.5);
}
.ht-heat-fill {
  transition: y 2s ease, height 2s ease, opacity 1s ease;
}
.ht-waves {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 30px;
  pointer-events: none;
  z-index: 1;
}
.ht-wave {
  position: absolute;
  width: 30px;
  height: 16px;
  border: 2px solid transparent;
  border-bottom: none;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  opacity: 0;
  bottom: 0;
}
.ht-wave--1 { left: 0; animation: htWaveRise 2s ease-out infinite 0s; border-color: rgba(184,115,51,0.25); }
.ht-wave--2 { left: 15px; animation: htWaveRise 2s ease-out infinite 0.6s; border-color: rgba(255,204,128,0.2); }
.ht-wave--3 { left: 30px; animation: htWaveRise 2s ease-out infinite 1.2s; border-color: rgba(255,225,166,0.18); }
@keyframes htWaveRise {
  0% { opacity: 0; transform: translateY(0) scaleX(0.8); }
  30% { opacity: 0.6; }
  100% { opacity: 0; transform: translateY(-20px) scaleX(1.2); }
}
.ht-metrics {
  display: flex;
  gap: 28px;
  position: relative;
  z-index: 1;
  margin-bottom: 6px;
}
.ht-metric {
  text-align: center;
}
.ht-metric__value {
  font-size: 18px;
  font-weight: 200;
  font-family: 'Inter', sans-serif;
}
.ht-metric--power .ht-metric__value {
  color: #FFCC80;
  text-shadow: 0 0 20px rgba(255,204,128,0.3);
}
.ht-metric--temp .ht-metric__value {
  color: #00C853;
  text-shadow: 0 0 20px rgba(0,200,83,0.2);
}
.ht-metric__value span {
  font-size: 10px;
  font-weight: 400;
  opacity: 0.6;
  margin-left: 2px;
}
.ht-metric__label {
  font-size: 9px;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 300;
  margin-top: 2px;
}
.ht-control {
  width: 80%;
  max-width: 200px;
  position: relative;
  z-index: 1;
  text-align: center;
}
.ht-control__label {
  font-size: 10px;
  color: rgba(255,255,255,0.5);
  font-weight: 400;
  margin-bottom: 4px;
  display: block;
}
.ht-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}
.ht-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #FFCC80;
  box-shadow: 0 0 10px rgba(255,204,128,0.5);
  cursor: pointer;
  transition: transform 0.2s;
}
.ht-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}
.ht-slider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #FFCC80;
  box-shadow: 0 0 10px rgba(255,204,128,0.5);
  border: none;
  cursor: pointer;
}
.ht-control__range {
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  color: rgba(255,255,255,0.25);
  margin-top: 2px;
}

/* ----------------------------------------------------------
   ANIMATIONS / REVEAL
   ---------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal--delay-1 { transition-delay: 0.12s; }
.reveal--delay-2 { transition-delay: 0.24s; }

/* Zen breathing animation for the mockup glow bar */
@keyframes glowBreath {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}
.zen-glow-bar__glow { animation: glowBreath 3s ease-in-out infinite; }

/* ----------------------------------------------------------
   RESPONSIVE
   ---------------------------------------------------------- */
@media (max-width: 1100px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__mockup { display: none; }
  .hero__content { max-width: 100%; }
  .zen__grid { grid-template-columns: repeat(2, 1fr); }
  .zen-card--wordclock, .zen-card--aura, .zen-card--ambient,
  .zen-card--wallbox, .zen-card--heater { grid-column: span 1; }
  .devices__grid { grid-template-columns: repeat(2, 1fr); }
  .presets-grid { grid-template-columns: repeat(3, 1fr); }
  .std-tiles { max-width: 500px; }
}

@media (min-width: 1101px) and (max-width: 1300px) {
  .tablet-frame { width: 420px; }
  .wc-letter { width: 14px; height: 14px; font-size: 8px; }
  .zen-metric--solar .zen-metric__value { font-size: 20px; }
  .zen-metric--home .zen-metric__value { font-size: 22px; }
  .zen-metric--battery .zen-metric__value { font-size: 16px; }
}

@media (max-width: 900px) {
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .zen__grid { grid-template-columns: 1fr; }
  .zen-card__preview { height: 200px; }
  .privacy__inner { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: none; border-bottom: 1px solid var(--border); }
  .stat:nth-child(2n) { border-right: none; }
  .stat:last-child { border-bottom: none; }
  .footer__inner { grid-template-columns: 1fr; }
  .std-highlights { grid-template-columns: 1fr; }
  .std-settings__grid { grid-template-columns: repeat(2, 1fr); }
  .std-tiles { max-width: 420px; }
}

@media (max-width: 640px) {
  .features__grid { grid-template-columns: 1fr; }
  .devices__grid { grid-template-columns: 1fr; }
  .presets-grid { grid-template-columns: repeat(2, 1fr); }
  .std-settings__grid { grid-template-columns: 1fr; }
  .std-tiles { max-width: 100%; }
  .std-tile { flex: 1 1 100%; max-width: 100%; height: auto; min-height: 140px; }
  .std-tile--large { flex: 1 1 100%; }
  .std-highlight { flex-direction: column; }
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(9,11,18,0.98);
    backdrop-filter: blur(20px);
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    gap: 4px;
  }
  .footer__links { flex-direction: column; gap: 24px; }
  .footer__bottom { flex-direction: column; gap: 4px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { justify-content: center; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
}
