/* ============================================================
   SoCrates Landing Page - landing.css
   Light/neutral theme that reuses brand tokens from shared-styles.css
   ============================================================ */

/* ---- Reset & base ---------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --land-white:       #ffffff;
  --land-bg:          #f6f8fa;
  --land-bg-alt:      #eef1f5;
  --land-text:        #1a2030;
  --land-text-muted:  #57606a;
  --land-accent:      #58a6ff;       /* same as --accent-blue in app */
  --land-accent-dark: #1f6feb;
  --land-success:     #2da44e;
  --land-border:      #d0d7de;
  --land-radius:      10px;
  --land-shadow:      0 2px 16px rgba(0,0,0,.08);
  --land-shadow-lg:   0 8px 40px rgba(0,0,0,.12);
  --land-nav-h:       64px;
  font-size: 16px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--land-white);
  color: var(--land-text);
  line-height: 1.6;
}

body > section:not(.land-hero),
body > footer {
  content-visibility: auto;
  contain-intrinsic-size: 900px;
}

img { max-width: 100%; display: block; }
a { color: var(--land-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---- Utility -------------------------------------------- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---- Buttons -------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  min-height: 46px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s, border-color 0.18s, color 0.18s, box-shadow 0.18s, transform 0.12s;
  white-space: normal;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--land-accent);
  color: #0d1117;
  border-color: var(--land-accent);
}
.btn-primary:hover {
  background: var(--land-accent-dark);
  border-color: var(--land-accent-dark);
  color: #fff;
  box-shadow: 0 4px 16px rgba(88,166,255,.35);
}

.btn-outline {
  background: transparent;
  color: var(--land-accent);
  border-color: var(--land-accent);
}
.btn-outline:hover {
  background: var(--land-accent);
  color: #0d1117;
}

.btn-ghost {
  background: transparent;
  color: var(--land-text);
  border-color: var(--land-border);
}
.btn-ghost:hover {
  background: var(--land-bg);
}

.btn-lg { padding: 14px 32px; font-size: 1.05rem; }

/* ---- Top navigation ------------------------------------- */
.land-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--land-nav-h);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--land-border);
}

.land-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
}

.land-nav__logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--land-text);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}
.land-nav__logo:hover { text-decoration: none; }
.land-nav__logo-icon {
  width: 32px; height: 32px;
  background: var(--land-accent);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #0d1117;
  font-size: 1rem;
  font-weight: 800;
}

.land-nav__links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  flex: 1 1 auto;
  list-style: none;
}
.land-nav__links li {
  display: flex;
  align-items: center;
}
.land-nav__links a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--land-text-muted);
  padding: 8px 10px;
  border-radius: 10px;
  transition: color 0.15s, background 0.15s;
  text-decoration: none;
  white-space: nowrap;
}
.land-nav__links a:hover { color: var(--land-text); background: var(--land-bg); }

.land-nav__btn {
  min-height: 40px;
  padding: 9px 16px;
  border-radius: 12px;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: none;
}

.land-nav__btn--secondary {
  margin-left: 6px;
  background: rgba(246, 248, 250, 0.72);
}

.land-nav__btn--secondary:hover {
  background: #eef1f5;
}

.land-nav__btn--primary {
  padding-inline: 18px;
  box-shadow: 0 10px 22px rgba(88,166,255,.18);
}

.land-nav__btn--primary:hover {
  box-shadow: 0 12px 24px rgba(31,111,235,.22);
}

/* Mobile nav toggler */
.land-nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: rgba(246,248,250,.9);
  border: 1px solid rgba(208,215,222,.9);
  border-radius: 12px;
  cursor: pointer;
  padding: 0;
  transition: background 0.18s, border-color 0.18s, transform 0.18s;
}
.land-nav__burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--land-text);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.land-nav__burger:hover {
  background: #eef1f5;
  border-color: #b9c3cf;
}

.land-nav__burger:focus-visible,
.land-nav__links a:focus-visible,
.btn:focus-visible {
  outline: 3px solid rgba(88,166,255,.3);
  outline-offset: 2px;
}

/* ---- Hero ----------------------------------------------- */
.land-hero {
  background:
    radial-gradient(75% 60% at 50% 0%, rgba(56, 139, 253, 0.23), rgba(7, 13, 24, 0) 65%),
    linear-gradient(180deg, #07101d 0%, #0b1627 60%, #0f1d32 100%);
  padding: 92px 0 90px;
  text-align: center;
}

.land-hero .container {
  max-width: 1320px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.land-hero__h1 {
  order: 1;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: #e6edf3;
  max-width: 800px;
  margin: 0 auto 20px;
}

.land-hero__h1 em {
  font-style: normal;
  color: #79c0ff;
}

.land-hero__sub {
  order: 3;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: rgba(211, 225, 241, 0.8);
  max-width: 680px;
  margin: 28px auto 34px;
}

.land-hero__actions {
  order: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.land-hero__notes {
  order: 5;
  margin-top: 18px;
  font-size: 0.82rem;
  color: rgba(159, 183, 209, 0.86);
}

.land-hero .btn-ghost {
  color: #d7e6f7;
  border-color: rgba(129, 157, 191, 0.56);
  background: rgba(7, 14, 24, 0.42);
}

.land-hero .btn-ghost:hover {
  background: rgba(121, 192, 255, 0.12);
  border-color: rgba(121, 192, 255, 0.66);
}

@media (max-width: 1120px) {
  .land-nav__links {
    display: none;
  }

  .land-nav__links.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    position: absolute;
    top: calc(var(--land-nav-h) - 1px);
    left: 0;
    right: 0;
    background: rgba(255,255,255,.98);
    border-bottom: 1px solid var(--land-border);
    padding: 16px 24px 20px;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
    z-index: 99;
  }

  .land-nav__links.is-open li {
    width: 100%;
  }

  .land-nav__links.is-open a {
    width: 100%;
    justify-content: flex-start;
    padding: 12px 10px;
  }

  .land-nav__links.is-open .land-nav__btn {
    justify-content: center;
    min-height: 44px;
    margin-left: 0;
  }

  .land-nav__burger {
    display: flex;
    flex-shrink: 0;
  }
}

@media (min-width: 1121px) {
  .land-nav__links li:last-child {
    margin-left: 10px;
  }
}

.land-hero__preview {
  margin: 60px auto 0;
  max-width: 900px;
  background: #0d1117;
  border-radius: 14px;
  border: 1px solid #30363d;
  box-shadow: var(--land-shadow-lg);
  overflow: hidden;
}
.land-hero__preview-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  background: #161b22;
  border-bottom: 1px solid #30363d;
}
.land-hero__preview-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
}
.land-hero__preview-dot:nth-child(1) { background: #ff5f57; }
.land-hero__preview-dot:nth-child(2) { background: #febc2e; }
.land-hero__preview-dot:nth-child(3) { background: #28c840; }
.land-hero__preview-url {
  flex: 1;
  height: 22px;
  background: #0d1117;
  border-radius: 4px;
  border: 1px solid #30363d;
  margin: 0 8px;
}
.land-hero__preview-body {
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.land-preview-card {
  background: #161b22;
  border: 1px solid #30363d;
  border-radius: 8px;
  padding: 16px;
}
.land-preview-card__label {
  font-size: 0.7rem;
  color: #8b949e;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 8px;
}
.land-preview-card__value {
  font-size: 1.5rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.land-preview-card__sub {
  font-size: 0.75rem;
  color: #8b949e;
  margin-top: 4px;
}
.land-preview-card--green .land-preview-card__value { color: #7ee787; }
.land-preview-card--blue  .land-preview-card__value { color: #58a6ff; }
.land-preview-card--amber .land-preview-card__value { color: #d29922; }

/* ---- Section shared ------------------------------------- */
section { padding: 80px 0; }

.section-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--land-accent-dark);
  margin-bottom: 12px;
  text-align: center;
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--land-text);
  text-align: center;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--land-text-muted);
  text-align: center;
  max-width: 560px;
  margin: 0 auto 52px;
}

/* ---- Tools ---------------------------------------------- */
.land-tools {
  background:
    radial-gradient(120% 120% at 50% 0%, rgba(88,166,255,.13), rgba(88,166,255,0) 56%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  border-top: 1px solid rgba(88,166,255,.12);
  border-bottom: 1px solid rgba(88,166,255,.12);
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 30px;
}

.tools-proof {
  margin: -30px auto 30px;
  max-width: 760px;
  text-align: center;
  font-size: 0.94rem;
  color: #2f4f73;
}

.tool-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 100%;
  padding: 26px 24px 24px;
  background: linear-gradient(165deg, rgba(255,255,255,.94) 0%, rgba(246,251,255,.9) 50%, rgba(238,247,255,.94) 100%);
  border: 1px solid rgba(120,182,255,.28);
  border-radius: 20px;
  box-shadow:
    0 24px 44px -24px rgba(17, 46, 84, 0.34),
    inset 0 1px 0 rgba(255,255,255,.72);
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}

.tool-card--live {
  background: linear-gradient(165deg, rgba(255,255,255,.96) 0%, rgba(244,249,255,.95) 52%, rgba(237,246,255,.96) 100%);
  border-color: rgba(120,182,255,.34);
}

.tool-card--live .tool-card__title {
  color: #153256;
}

.tool-card--live .tool-card__cta {
  border-color: #203b63;
  background: linear-gradient(180deg, #1a2f4e 0%, #10213a 100%);
}

.tool-card::before {
  content: "";
  position: absolute;
  right: -46px;
  bottom: -46px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(88,166,255,.24) 0%, rgba(88,166,255,0) 72%);
  pointer-events: none;
}

.tool-card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 28px 46px -24px rgba(17, 46, 84, 0.42),
    inset 0 1px 0 rgba(255,255,255,.82);
  border-color: rgba(88,166,255,.42);
}

.tool-card__topline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.tool-card__media {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 2px auto 8px;
}

.tool-card__eyebrow {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--land-accent-dark);
}

.tool-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(88,166,255,.12);
  border: 1px solid rgba(88,166,255,.22);
  color: #1f5fbf;
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

.tool-card__badge--live {
  background: rgba(45,164,78,.12);
  border-color: rgba(45,164,78,.28);
  color: #1f7a37;
}

.tool-card__icon {
  --tool-glyph: #b8d7ff;
  --tool-glow: rgba(151, 205, 255, 0.46);
  position: relative;
  width: 72px;
  height: 72px;
  margin: 0;
  border-radius: 22px;
  background:
    radial-gradient(circle at 24% 18%, rgba(255,255,255,.34), rgba(255,255,255,0) 42%),
    linear-gradient(165deg, #173661 0%, #10284a 56%, #0d203d 100%);
  border: 1px solid rgba(180, 220, 255, 0.42);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.2),
    0 16px 26px -14px rgba(9, 23, 45, 0.6);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.tool-card__icon::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.26), rgba(255,255,255,0) 52%);
  opacity: 0.65;
  pointer-events: none;
}

.tool-card__icon::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.8), rgba(255,255,255,0));
  opacity: 0.6;
  pointer-events: none;
}

.tool-card__glyph {
  position: relative;
  z-index: 1;
  width: 38px;
  height: 38px;
  stroke: var(--tool-glyph);
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 6px var(--tool-glow));
}

.tool-card__icon--roi {
  --tool-glyph: #7af0b0;
  --tool-glow: rgba(122, 240, 176, 0.52);
}

.tool-card__icon--export {
  --tool-glyph: #9fd1ff;
  --tool-glow: rgba(159, 209, 255, 0.48);
}

.tool-card__icon--daily {
  --tool-glyph: #ffc56d;
  --tool-glow: rgba(255, 197, 109, 0.5);
}

.tool-card__icon--sim {
  --tool-glyph: #ff8db8;
  --tool-glow: rgba(255, 141, 184, 0.45);
}

.tool-card__icon--market {
  --tool-glyph: #9ff0ff;
  --tool-glow: rgba(159, 240, 255, 0.46);
}

.tool-card__icon--rules {
  --tool-glyph: #ffd48d;
  --tool-glow: rgba(255, 212, 141, 0.54);
}

.tool-card:hover .tool-card__icon {
  transform: translateY(-2px) scale(1.03);
  border-color: rgba(162, 203, 255, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.26),
    0 20px 28px -14px rgba(9, 23, 45, 0.7);
}

.tool-card__title {
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--land-text);
  text-align: center;
}

.tool-card__body {
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--land-text-muted);
  text-align: center;
}

.tool-card__hint {
  padding-top: 14px;
  border-top: 1px solid rgba(88,166,255,.16);
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--land-text);
  text-align: center;
}

.tool-card__actions {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tool-card__micro {
  margin-top: 2px;
  margin-bottom: 0;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: .01em;
  color: #2d5a8f;
}

.tool-card__eta {
  margin-top: 2px;
  margin-bottom: 0;
  text-align: center;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #5c7090;
}

.tool-card__cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid #203b63;
  background: linear-gradient(180deg, #1a2f4e 0%, #10213a 100%);
  color: #f0f6fc;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-decoration: none;
  box-shadow:
    0 10px 20px rgba(16, 33, 58, 0.22),
    inset 0 1px 0 rgba(255,255,255,0.14);
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s, border-color 0.18s;
}

.tool-card__cta::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg) translate(-1px, 1px);
  transition: transform 0.18s ease;
}

.tool-card__cta:hover {
  transform: translateY(-1px);
  border-color: #2e558c;
  background: linear-gradient(180deg, #224069 0%, #153057 100%);
  box-shadow:
    0 14px 26px rgba(16, 33, 58, 0.26),
    inset 0 1px 0 rgba(255,255,255,0.18);
  text-decoration: none;
}

.tool-card__cta:hover::after {
  transform: rotate(45deg) translate(1px, -1px);
}

.tool-card__cta:focus-visible {
  outline: 3px solid rgba(88,166,255,0.35);
  outline-offset: 2px;
  text-decoration: none;
}

.tool-card__cta--disabled {
  border-color: rgba(175, 188, 207, 0.52);
  background: linear-gradient(180deg, #ecf1f7 0%, #dce4ef 100%);
  color: #4a5d77;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.72);
  cursor: not-allowed;
}

.tool-card__cta--disabled::after {
  width: 8px;
  height: 8px;
  border: none;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.55;
  transform: none;
}

.tool-card__cta--waitlist {
  border-color: #7e95b3;
  background: linear-gradient(180deg, #f2f6fb 0%, #e4edf8 100%);
  color: #2a4668;
  box-shadow:
    0 8px 16px rgba(37, 66, 103, 0.11),
    inset 0 1px 0 rgba(255,255,255,0.78);
}

.tool-card__cta--waitlist:hover {
  border-color: #5f7ea5;
  background: linear-gradient(180deg, #eef4fb 0%, #dce8f6 100%);
  box-shadow:
    0 10px 18px rgba(37, 66, 103, 0.14),
    inset 0 1px 0 rgba(255,255,255,0.86);
}

.tool-card--coming {
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,249,252,.94));
}


@media (max-width: 980px) {
  .tools-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .tools-grid {
    grid-template-columns: 1fr;
  }
}

.tools-footer {
  padding: 32px 0 8px;
  text-align: center;
}

.tools-footer__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---- Features ------------------------------------------- */
.land-features { background: var(--land-bg); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--land-white);
  border: 1px solid var(--land-border);
  border-radius: var(--land-radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  text-align: center;
  box-shadow: var(--land-shadow);
  transition: transform 0.18s, box-shadow 0.18s;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--land-shadow-lg);
}

.feature-card__icon {
  --feature-glyph: #9fcfff;
  --feature-glow: rgba(159, 207, 255, 0.5);
  position: relative;
  width: 70px;
  height: 70px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 22% 20%, rgba(255,255,255,.32), rgba(255,255,255,0) 42%),
    linear-gradient(165deg, #183a64 0%, #10284a 56%, #0d203d 100%);
  border: 1px solid rgba(178, 217, 255, 0.44);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 0 auto 18px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.2),
    0 15px 24px -14px rgba(9, 23, 45, 0.65);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.feature-card__icon::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.24), rgba(255,255,255,0) 56%);
  opacity: 0.7;
  pointer-events: none;
}

.feature-card__icon::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.82), rgba(255,255,255,0));
  opacity: 0.65;
  pointer-events: none;
}

.feature-card__glyph {
  position: relative;
  z-index: 1;
  width: 36px;
  height: 36px;
  stroke: var(--feature-glyph);
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 6px var(--feature-glow));
}

.feature-card__icon--engine {
  --feature-glyph: #ff99c9;
  --feature-glow: rgba(255, 153, 201, 0.45);
}

.feature-card__icon--weather {
  --feature-glyph: #ffc56d;
  --feature-glow: rgba(255, 197, 109, 0.5);
}

.feature-card__icon--lab {
  --feature-glyph: #b4e4ff;
  --feature-glow: rgba(180, 228, 255, 0.48);
}

.feature-card__icon--curtail {
  --feature-glyph: #a5d3ff;
  --feature-glow: rgba(165, 211, 255, 0.48);
}

.feature-card__icon--history {
  --feature-glyph: #7af0b0;
  --feature-glow: rgba(122, 240, 176, 0.5);
}

.feature-card__icon--quick {
  --feature-glyph: #b6bfff;
  --feature-glow: rgba(182, 191, 255, 0.45);
}

.feature-card__icon--ev {
  --feature-glyph: #ff9f9a;
  --feature-glow: rgba(255, 159, 154, 0.46);
}

.feature-card__icon--library {
  --feature-glyph: #9be8ff;
  --feature-glow: rgba(155, 232, 255, 0.48);
}

.feature-card__icon--secure {
  --feature-glyph: #ffd978;
  --feature-glow: rgba(255, 217, 120, 0.48);
}

.feature-card__icon--insights {
  --feature-glyph: #7fe6d3;
  --feature-glow: rgba(127, 230, 211, 0.48);
}

.feature-card:hover .feature-card__icon {
  transform: translateY(-2px) scale(1.03);
  border-color: rgba(190, 224, 255, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.28),
    0 20px 28px -14px rgba(9, 23, 45, 0.72);
}

.feature-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--land-text);
  margin-bottom: 8px;
  text-align: center;
}

.feature-card__body {
  font-size: 0.92rem;
  color: var(--land-text-muted);
  line-height: 1.6;
  text-align: center;
  margin: 0 auto;
  max-width: 32ch;
}

/* ---- Blog ------------------------------------------------ */
.land-blog {
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(88,166,255,.12), rgba(88,166,255,0) 48%),
    linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
  border-top: 1px solid rgba(88,166,255,.12);
  border-bottom: 1px solid rgba(88,166,255,.12);
}

.blog-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .85fr);
  gap: 24px;
  align-items: stretch;
}

.blog-featured__card,
.blog-featured__stack-card,
.blog-index-card,
.blog-sidebar__card,
.blog-article,
.blog-hero__card {
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(88, 120, 162, .18);
  border-radius: 24px;
  box-shadow: 0 24px 60px -36px rgba(15, 23, 42, 0.35);
}

.blog-featured__card {
  padding: 32px;
}

.blog-featured__meta,
.blog-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 18px;
  font-size: 0.84rem;
  color: #516176;
}

.blog-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(9, 105, 218, .08);
  border: 1px solid rgba(9, 105, 218, .16);
  color: #0b5fc2;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.blog-featured__title,
.blog-index-card__title,
.blog-hero__title {
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1.15;
  letter-spacing: -.03em;
  color: #0f172a;
  margin-bottom: 16px;
}

.blog-index-card__title {
  font-size: 1.45rem;
}

.blog-featured__excerpt,
.blog-hero__sub,
.blog-index-card__excerpt,
.blog-sidebar__body,
.blog-article__lead,
.blog-article__content p,
.blog-article__content li {
  color: #425466;
}

.blog-featured__excerpt,
.blog-article__lead {
  font-size: 1.08rem;
  line-height: 1.75;
}

.blog-featured__body,
.blog-index-card__excerpt,
.blog-sidebar__body {
  font-size: 0.97rem;
  line-height: 1.7;
}

.blog-featured__actions,
.blog-index-card__actions,
.blog-hero__actions,
.blog-article__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.blog-featured__stack-card,
.blog-sidebar__card {
  padding: 28px;
}

.blog-featured__stack-label,
.blog-sidebar__label,
.blog-hero__eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #0b6bcb;
}

.blog-level-list,
.blog-sidebar__list {
  list-style: none;
  display: grid;
  gap: 14px;
}

.blog-level-list li,
.blog-sidebar__list li {
  padding-left: 18px;
  position: relative;
  line-height: 1.6;
  color: #243447;
}

.blog-level-list li::before,
.blog-sidebar__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(180deg, #34d399 0%, #38bdf8 100%);
}

.blog-shell {
  padding: 96px 0 72px;
  background:
    radial-gradient(85% 80% at 50% 0%, rgba(88,166,255,.12), rgba(88,166,255,0) 64%),
    linear-gradient(180deg, #f7faff 0%, #eef3f9 100%);
}

.blog-hero {
  margin-bottom: 28px;
}

.blog-hero__card {
  padding: 40px;
}

.blog-hero__sub {
  max-width: 780px;
  font-size: 1.08rem;
  line-height: 1.75;
}

.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  gap: 24px;
  align-items: start;
}

.blog-sidebar {
  display: grid;
  gap: 24px;
}

.blog-article {
  padding: 36px;
}

.blog-article__lead {
  margin-bottom: 28px;
}

.blog-article__content h2,
.blog-article__content h3 {
  color: #0f172a;
  line-height: 1.2;
  letter-spacing: -.02em;
}

.blog-article__content h2 {
  font-size: 1.45rem;
  margin: 38px 0 16px;
}

.blog-article__content h3 {
  font-size: 1.08rem;
  margin: 26px 0 12px;
}

.blog-article__content p,
.blog-article__content ul,
.blog-article__content ol,
.blog-article__content pre,
.blog-article__content blockquote {
  margin-bottom: 18px;
}

.blog-article__content ul,
.blog-article__content ol {
  padding-left: 22px;
  line-height: 1.7;
}

.blog-article__content strong {
  color: #0f172a;
}

.blog-article__content blockquote {
  border-left: 4px solid rgba(9, 105, 218, .35);
  padding: 14px 18px;
  background: rgba(9, 105, 218, .06);
  color: #1f3347;
  border-radius: 0 16px 16px 0;
}

.blog-article__content pre {
  overflow-x: auto;
  padding: 20px;
  border-radius: 18px;
  background: #0f172a;
  color: #dbeafe;
  border: 1px solid rgba(148, 163, 184, .18);
}

.blog-article__content code {
  font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.92rem;
}

.blog-article__content :not(pre) > code {
  background: rgba(15, 23, 42, .06);
  border-radius: 6px;
  padding: 2px 6px;
  color: #164e63;
}

.blog-article__callout {
  margin: 26px 0;
  padding: 20px 22px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(52,211,153,.08) 0%, rgba(56,189,248,.08) 100%);
  border: 1px solid rgba(56, 189, 248, .18);
}

.blog-article__callout-title {
  display: block;
  margin-bottom: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #0b6bcb;
}

.blog-index-grid {
  display: grid;
  gap: 24px;
}

.blog-index-card {
  padding: 30px;
}

.blog-index-card__title a {
  color: inherit;
  text-decoration: none;
}

.blog-index-card__title a:hover {
  text-decoration: underline;
}

.blog-empty {
  padding: 26px 28px;
  border-radius: 22px;
  border: 1px dashed rgba(88, 120, 162, .32);
  background: rgba(255,255,255,.7);
  color: #516176;
}

/* ---- Pricing -------------------------------------------- */
.land-pricing { background: var(--land-white); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--land-bg);
  border: 2px solid var(--land-border);
  border-radius: 14px;
  padding: 32px 28px;
  position: relative;
  transition: box-shadow 0.18s, transform 0.18s;
}
.pricing-card:hover { transform: translateY(-3px); box-shadow: var(--land-shadow-lg); }

.pricing-card--featured {
  background: var(--land-white);
  border-color: var(--land-accent);
  box-shadow: 0 0 0 4px rgba(88,166,255,.1), var(--land-shadow);
}

.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--land-accent);
  color: #0d1117;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 3px 14px;
  border-radius: 999px;
}

.pricing-card__name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--land-text-muted);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.pricing-card__price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--land-text);
  line-height: 1;
  margin-bottom: 4px;
}
.pricing-card__price sup { font-size: 1.4rem; vertical-align: super; line-height: 1; }
.pricing-card__price sub { font-size: 0.85rem; color: var(--land-text-muted); vertical-align: baseline; }

.pricing-card__desc {
  font-size: 0.88rem;
  color: var(--land-text-muted);
  margin-bottom: 24px;
  min-height: 2.5em;
}

.pricing-features {
  list-style: none;
  margin-bottom: 28px;
}
.pricing-features li {
  font-size: 0.9rem;
  color: var(--land-text);
  padding: 6px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-bottom: 1px solid var(--land-border);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li::before {
  content: '✓';
  color: var(--land-success);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ---- FAQ ------------------------------------------------- */
.land-faq { background: var(--land-bg); }

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--land-border);
  border-radius: var(--land-radius);
  background: var(--land-white);
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-item summary {
  padding: 18px 22px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--land-text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  user-select: none;
  transition: background 0.15s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: var(--land-bg); }

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--land-accent);
  transition: transform 0.2s;
  line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item__body {
  padding: 0 22px 20px;
  font-size: 0.95rem;
  color: var(--land-text-muted);
  line-height: 1.7;
}

/* ---- Final CTA ------------------------------------------ */
.land-cta {
  background: linear-gradient(135deg, #0d1117 0%, #1a2642 100%);
  color: #fff;
  text-align: center;
  padding: 90px 0;
}
.land-cta .section-title { color: #fff; }
.land-cta .section-sub { color: rgba(255,255,255,.7); }

.land-cta__actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.land-cta .btn-outline {
  color: rgba(255,255,255,.85);
  border-color: rgba(255,255,255,.35);
}
.land-cta .btn-outline:hover {
  background: rgba(255,255,255,.1);
  color: #fff;
  border-color: rgba(255,255,255,.6);
}

/* ---- Footer --------------------------------------------- */
.land-footer {
  background: #0d1117;
  color: rgba(255,255,255,.55);
  padding: 40px 0;
  font-size: 0.88rem;
}
.land-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.land-footer__brand {
  font-weight: 700;
  color: rgba(255,255,255,.75);
  display: flex;
  align-items: center;
  gap: 8px;
}
.land-footer__links {
  display: flex;
  gap: 20px;
  list-style: none;
  flex-wrap: wrap;
}
.land-footer__links a {
  color: rgba(255,255,255,.5);
  text-decoration: none;
  transition: color 0.15s;
}
.land-footer__links a:hover { color: rgba(255,255,255,.85); }

/* ---- Responsive ----------------------------------------- */
@media (max-width: 768px) {
  section { padding: 56px 0; }

  .land-hero { padding: 56px 0 48px; }

  .land-hero__sub {
    margin: 28px auto 24px;
  }

  .land-hero__notes {
    margin-top: 12px;
    font-size: 0.75rem;
  }

  .brand-strip {
    margin-top: 16px;
    gap: 6px;
  }

  .brand-strip__label {
    width: 100%;
    margin-right: 0;
  }

  .brand-sep {
    display: none;
  }

  .land-hero__preview-body { grid-template-columns: 1fr; }

  .tools-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .blog-featured,
  .blog-layout { grid-template-columns: 1fr; }

  .blog-featured__card,
  .blog-featured__stack-card,
  .blog-hero__card,
  .blog-article,
  .blog-sidebar__card,
  .blog-index-card { padding: 24px; }

  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; }

  .land-footer__inner { flex-direction: column; align-items: flex-start; gap: 14px; }
}

@media (max-width: 480px) {
  .land-nav__inner {
    gap: 14px;
  }

  .land-nav__logo {
    font-size: 1.12rem;
  }

  .land-hero__actions { flex-direction: column; align-items: stretch; }
  .tools-footer__actions { flex-direction: column; align-items: stretch; }
  .blog-featured__actions,
  .blog-index-card__actions,
  .blog-hero__actions,
  .blog-article__footer { flex-direction: column; align-items: stretch; }
  .land-cta__actions { flex-direction: column; align-items: stretch; }
  .btn-lg { width: 100%; }
  .brand-badge { font-size: 0.72rem; padding: 3px 9px; }
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
/* Stagger siblings */
.features-grid  .reveal:nth-child(2) { transition-delay: .07s; }
.features-grid  .reveal:nth-child(3) { transition-delay: .14s; }
.features-grid  .reveal:nth-child(4) { transition-delay: .07s; }
.features-grid  .reveal:nth-child(5) { transition-delay: .14s; }
.features-grid  .reveal:nth-child(6) { transition-delay: .21s; }
.features-grid  .reveal:nth-child(7) { transition-delay: .07s; }
.features-grid  .reveal:nth-child(8) { transition-delay: .14s; }
.features-grid  .reveal:nth-child(9) { transition-delay: .21s; }
.tools-grid     .reveal:nth-child(2) { transition-delay: .07s; }
.tools-grid     .reveal:nth-child(3) { transition-delay: .14s; }
.tools-grid     .reveal:nth-child(4) { transition-delay: .21s; }
.how-steps      .reveal:nth-child(3) { transition-delay: .1s; }
.how-steps      .reveal:nth-child(5) { transition-delay: .2s; }
.pricing-grid   .reveal:nth-child(2) { transition-delay: .1s; }
.stats-grid     .reveal:nth-child(2) { transition-delay: .07s; }
.stats-grid     .reveal:nth-child(3) { transition-delay: .14s; }
.stats-grid     .reveal:nth-child(4) { transition-delay: .21s; }

/* ============================================================
   PULSE DOT
   ============================================================ */
.pulse-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #7ee787;
  flex-shrink: 0;
  animation: pulse-ring 1.6s ease-out infinite;
}
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(126,231,135,.65); }
  70%  { box-shadow: 0 0 0 7px rgba(126,231,135,0); }
  100% { box-shadow: 0 0 0 0 rgba(126,231,135,0); }
}

/* ============================================================
   BRAND STRIP (hero)
   ============================================================ */
.brand-strip {
  order: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.brand-strip__label {
  font-size: 0.78rem;
  color: rgba(165, 187, 212, 0.86);
  margin-right: 4px;
}
.brand-badge {
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(12, 23, 38, 0.78);
  color: #b9cee4;
  border: 1px solid rgba(100, 129, 166, 0.58);
  padding: 3px 11px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
}
.brand-badge--amber {
  color: #f2ca78;
  background: rgba(85, 59, 14, 0.58);
  border-color: rgba(210, 153, 34, 0.62);
}
.brand-badge--aemo {
  color: #9bd6ff;
  background: rgba(16, 52, 88, 0.58);
  border-color: rgba(88, 166, 255, 0.62);
}
.brand-badge--tesla {
  color: #ffb4ae;
  background: rgba(86, 26, 24, 0.58);
  border-color: rgba(248, 81, 73, 0.62);
}
.brand-sep { font-size: 0.78rem; color: rgba(165, 187, 212, 0.86); }

/* ============================================================
   HERO PREVIEW (product-inspired)
   ============================================================ */
.hero-preview {
  order: 2;
  margin: 56px auto 0;
  max-width: 1320px;
  background: linear-gradient(180deg, #0d1523 0%, #08111e 100%);
  border-radius: 26px;
  border: 1px solid rgba(83, 116, 162, 0.44);
  box-shadow: 0 28px 90px rgba(2, 7, 15, 0.66), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: visible;
  position: relative;
  font-family: "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
}

.hero-preview::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 26px;
  background: radial-gradient(120% 140% at 20% 0%, rgba(90, 140, 212, 0.28), rgba(5, 9, 16, 0));
  pointer-events: none;
}

.hero-preview__bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 14px 18px;
  background: linear-gradient(180deg, rgba(11, 18, 31, 0.98), rgba(8, 15, 26, 0.96));
  border-bottom: 1px solid rgba(74, 96, 130, 0.46);
  border-radius: 26px 26px 0 0;
}

.hero-preview__dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
}

.hero-preview__dot:nth-child(1) { background: #ff5f57; }
.hero-preview__dot:nth-child(2) { background: #febc2e; }
.hero-preview__dot:nth-child(3) { background: #28c840; }

.hero-preview__url {
  flex: 1;
  height: 32px;
  background: rgba(4, 9, 18, 0.95);
  border-radius: 8px;
  border: 1px solid rgba(70, 93, 127, 0.58);
  margin: 0 4px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  font-size: 0.78rem;
  color: rgba(203, 219, 237, 0.84);
  font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

.hero-preview__body {
  position: relative;
  padding: 18px 18px 22px;
  background:
    radial-gradient(95% 80% at 10% 0%, rgba(38, 83, 144, 0.28), rgba(6, 12, 21, 0)),
    radial-gradient(85% 90% at 100% 0%, rgba(24, 56, 104, 0.24), rgba(6, 12, 21, 0));
  border-radius: 0 0 26px 26px;
}

.product-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 14px;
}

.product-card {
  background: linear-gradient(180deg, rgba(17, 29, 46, 0.88), rgba(12, 20, 33, 0.9));
  border: 1px solid rgba(78, 105, 142, 0.42);
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  color: #e6edf3;
  overflow: hidden;
}

.product-card--automation {
  grid-column: 1 / -1;
}

.product-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(65, 91, 126, 0.36);
  background: linear-gradient(180deg, rgba(25, 39, 58, 0.9), rgba(16, 27, 42, 0.7));
}

.product-card__head h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #e6edf3;
}

.product-card__meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.product-card__age {
  font-size: 0.72rem;
  color: rgba(154, 177, 205, 0.84);
  font-weight: 600;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-badge--live {
  color: #5fb8ff;
  background: rgba(68, 135, 214, 0.2);
  border: 1px solid rgba(78, 140, 214, 0.5);
}

.product-badge--amber {
  color: #f9cf63;
  background: rgba(210, 153, 34, 0.2);
  border: 1px solid rgba(210, 153, 34, 0.45);
}

.product-badge--provider {
  color: #79c0ff;
  background: rgba(56, 139, 253, 0.16);
  border: 1px solid rgba(56, 139, 253, 0.44);
}

.product-card__head--status {
  align-items: flex-start;
}

.product-card__title-block {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.product-card__sub {
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.45;
  color: rgba(150, 174, 205, 0.86);
}

.hero-energy {
  --hero-energy-cyan: #72dbff;
  --hero-energy-solar: #7ee787;
  --hero-energy-home: #7af0b0;
  --hero-energy-grid-import: #58a6ff;
  --hero-energy-grid-export: #7ee787;
  --hero-energy-battery-charge: #7ee787;
  --hero-energy-battery-discharge: #f85149;
  --hero-battery-fill-pct: 76%;
  padding: 12px 12px 14px;
}

.hero-energy__scene {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-height: 340px;
  aspect-ratio: 10 / 8.8;
  overflow: hidden;
  border-radius: 26px;
  background-color: #252528;
  background-image: url('/images/house-3d-iso.png');
  background-size: 100% 100%;
  background-position: center center;
  background-repeat: no-repeat;
  border: 1px solid rgba(88, 166, 255, 0.26);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 18px 36px rgba(0, 0, 0, 0.22);
  container-type: inline-size;
  container-name: hero-energy-scene;
}

.hero-energy__sky {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero-energy__stars {
  position: absolute;
  inset: 0;
  opacity: var(--scene-stars-opacity, 0);
  transition: opacity 280ms ease;
}

.hero-energy__stars span {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 0 8px rgba(196, 221, 255, 0.42);
}

.hero-energy__stars span:nth-child(1) { left: 13%; top: 12%; width: 2px; height: 2px; opacity: 0.92; }
.hero-energy__stars span:nth-child(2) { left: 26%; top: 7%; opacity: 0.68; }
.hero-energy__stars span:nth-child(3) { left: 41%; top: 14%; width: 2px; height: 2px; opacity: 0.82; }
.hero-energy__stars span:nth-child(4) { left: 58%; top: 9%; opacity: 0.62; }
.hero-energy__stars span:nth-child(5) { left: 72%; top: 15%; width: 2px; height: 2px; opacity: 0.88; }
.hero-energy__stars span:nth-child(6) { left: 83%; top: 8%; opacity: 0.72; }
.hero-energy__stars span:nth-child(7) { left: 91%; top: 18%; width: 2px; height: 2px; opacity: 0.56; }

.hero-energy__orb {
  position: absolute;
  left: var(--scene-orb-x, 72%);
  top: var(--scene-orb-y, 18%);
  width: var(--scene-orb-size, 42px);
  height: var(--scene-orb-size, 42px);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  opacity: var(--scene-orb-opacity, 0.96);
  background: var(--scene-orb-core, radial-gradient(circle at 35% 35%, rgba(255, 249, 221, 1) 0%, rgba(255, 221, 116, 0.98) 40%, rgba(255, 179, 63, 0.92) 72%, rgba(255, 179, 63, 0.16) 100%));
  box-shadow: var(--scene-orb-glow, 0 0 22px rgba(255, 220, 107, 0.42), 0 0 54px rgba(255, 181, 63, 0.24));
  filter: blur(var(--scene-orb-blur, 0px));
  z-index: 1;
  transition: left 500ms linear, top 500ms linear, opacity 280ms ease, box-shadow 280ms ease, background 280ms ease, filter 280ms ease;
}

.hero-energy__orb::after {
  content: '';
  position: absolute;
  inset: 14% 10% 10% 38%;
  border-radius: 50%;
  background: rgba(5, 11, 20, 0.46);
  opacity: var(--scene-moon-mask-opacity, 0);
  transition: opacity 280ms ease;
}

.hero-energy__scene::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(4, 12, 30, var(--scene-night-top-opacity, 0.58)) 0%,
      rgba(4, 12, 26, 0.22) 26%,
      rgba(0, 0, 0, 0) 50%,
      rgba(0, 0, 0, var(--scene-night-bottom-opacity, 0.10)) 100%),
    radial-gradient(circle at var(--scene-light-x, 82%) 10%, rgba(168, 194, 242, var(--scene-night-glow-opacity, 0.08)) 0%, rgba(168, 194, 242, 0) 19%),
    radial-gradient(ellipse at 18% 5%, rgba(12, 28, 72, 0.18), transparent 22%);
  pointer-events: none;
  z-index: 0;
}

.hero-energy__scene::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 16%, rgba(0, 0, 0, var(--scene-night-bottom-opacity, 0.18)) 100%),
    radial-gradient(circle at 50% 100%, rgba(3, 9, 17, 0.26), transparent 44%);
}

.hero-energy__scene.is-daylight::before {
  background:
    linear-gradient(180deg,
      rgba(90, 172, 255, var(--scene-day-sky-opacity, 0.16)) 0%,
      rgba(140, 205, 255, calc(var(--scene-day-sky-opacity, 0.16) * 0.55)) 24%,
      rgba(0, 0, 0, 0) 50%),
    radial-gradient(circle at var(--scene-light-x, 50%) 10%, rgba(255, 215, 90, var(--scene-day-glow-opacity, 0.12)) 0%, rgba(255, 215, 90, 0) 22%),
    radial-gradient(ellipse at 28% 0%, rgba(135, 196, 255, 0.12), transparent 26%);
}

.hero-energy__scene.is-daylight::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.01), rgba(255, 255, 255, 0) 40%, rgba(0, 0, 0, 0.16) 100%),
    radial-gradient(circle at 50% 100%, rgba(3, 9, 17, 0.20), transparent 44%);
}

.hero-energy__weather-chip {
  position: absolute;
  left: 50%;
  top: 10px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  transform: translateX(-50%);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9be8ff;
  background: rgba(5, 15, 28, 0.52);
  border: 1px solid rgba(114, 219, 255, 0.20);
  backdrop-filter: blur(8px);
}

.hero-energy__weather {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.hero-energy__weather-layer {
  position: absolute;
  inset: -12%;
  opacity: 0;
  transition: opacity 360ms ease;
}

.hero-energy__weather-layer--cloud {
  background:
    radial-gradient(circle at 20% 24%, rgba(188, 212, 242, 0.16), transparent 22%),
    radial-gradient(circle at 68% 14%, rgba(188, 212, 242, 0.14), transparent 26%),
    radial-gradient(circle at 82% 26%, rgba(188, 212, 242, 0.12), transparent 20%);
  filter: blur(18px);
  animation: hero-energy-cloud-drift 28s linear infinite;
}

.hero-energy__weather-layer--mist {
  inset: auto -8% -4% -8%;
  height: 42%;
  background:
    radial-gradient(circle at 24% 55%, rgba(200, 216, 236, 0.16), transparent 26%),
    radial-gradient(circle at 72% 48%, rgba(200, 216, 236, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(180, 202, 227, 0), rgba(180, 202, 227, 0.12));
  filter: blur(18px);
}

.hero-energy__weather-layer--rain {
  --rain-base-duration: 1.45s;
  --rain-far-duration: 2.5s;
  --rain-near-duration: 1.02s;
  --rain-base-blur: 0.35px;
  --rain-far-opacity: 0.48;
  --rain-near-opacity: 0.28;
  background-image:
    repeating-linear-gradient(102deg, rgba(157, 210, 255, 0) 0 18px, rgba(175, 223, 255, 0.12) 18px 19px, rgba(157, 210, 255, 0) 19px 44px),
    repeating-linear-gradient(103deg, rgba(157, 210, 255, 0) 0 38px, rgba(202, 236, 255, 0.14) 38px 40px, rgba(157, 210, 255, 0) 40px 92px);
  background-size: 210px 210px, 300px 300px;
  filter: blur(var(--rain-base-blur));
  mix-blend-mode: screen;
  will-change: transform, opacity;
  animation: hero-energy-rainfall var(--rain-base-duration) linear infinite;
}

.hero-energy__weather-layer--rain::before,
.hero-energy__weather-layer--rain::after {
  content: "";
  position: absolute;
  inset: -6%;
  background-repeat: repeat;
  pointer-events: none;
}

.hero-energy__weather-layer--rain::before {
  opacity: var(--rain-far-opacity);
  background-image: repeating-linear-gradient(101deg, rgba(157, 210, 255, 0) 0 28px, rgba(190, 228, 255, 0.11) 28px 29px, rgba(157, 210, 255, 0) 29px 62px);
  background-size: 260px 260px;
  filter: blur(0.75px);
  animation: hero-energy-rainfall-far var(--rain-far-duration) linear infinite;
}

.hero-energy__weather-layer--rain::after {
  opacity: var(--rain-near-opacity);
  background-image: repeating-linear-gradient(104deg, rgba(157, 210, 255, 0) 0 23px, rgba(214, 242, 255, 0.22) 23px 25px, rgba(157, 210, 255, 0) 25px 54px);
  background-size: 170px 170px;
  filter: blur(0.18px);
  animation: hero-energy-rainfall-near var(--rain-near-duration) linear infinite;
}

.hero-energy__weather-layer--flash {
  --lightning-duration: 6.8s;
  background:
    radial-gradient(circle at 54% 18%, rgba(225, 244, 255, 0.34), transparent 14%),
    radial-gradient(circle at 60% 34%, rgba(174, 220, 255, 0.18), transparent 28%),
    radial-gradient(circle at 78% 16%, rgba(214, 236, 255, 0.18), transparent 18%),
    linear-gradient(180deg, rgba(196, 228, 255, 0.12), rgba(196, 228, 255, 0) 42%);
  mix-blend-mode: screen;
  will-change: opacity, filter;
}

.hero-energy__weather-layer--flash::before,
.hero-energy__weather-layer--flash::after {
  content: "";
  position: absolute;
  pointer-events: none;
  opacity: 0;
  will-change: opacity, transform, filter;
}

.hero-energy__weather-layer--flash::before {
  top: 7%;
  left: 55%;
  width: 15%;
  height: 48%;
  background:
    linear-gradient(166deg, transparent 0 32%, rgba(246, 252, 255, 0.98) 32% 38%, transparent 38% 100%),
    linear-gradient(198deg, transparent 0 42%, rgba(193, 231, 255, 0.92) 42% 48%, transparent 48% 100%),
    linear-gradient(162deg, transparent 0 62%, rgba(240, 250, 255, 0.88) 62% 67%, transparent 67% 100%);
  filter: drop-shadow(0 0 8px rgba(214, 240, 255, 0.95)) drop-shadow(0 0 18px rgba(168, 214, 255, 0.55));
  transform: skewX(-8deg);
}

.hero-energy__weather-layer--flash::after {
  top: 20%;
  left: 60%;
  width: 11%;
  height: 24%;
  background:
    linear-gradient(152deg, transparent 0 38%, rgba(239, 249, 255, 0.92) 38% 44%, transparent 44% 100%),
    linear-gradient(212deg, transparent 0 50%, rgba(177, 223, 255, 0.82) 50% 56%, transparent 56% 100%);
  filter: drop-shadow(0 0 6px rgba(214, 240, 255, 0.85));
  transform: skewX(-18deg) rotate(-4deg);
}

@keyframes hero-energy-cloud-drift {
  from { transform: translateX(-2%); }
  to { transform: translateX(2%); }
}

@keyframes hero-energy-rainfall {
  from { transform: translate3d(1%, -10%, 0); }
  to { transform: translate3d(-3%, 12%, 0); }
}

@keyframes hero-energy-rainfall-far {
  from { transform: translate3d(2%, -14%, 0) scale(1); }
  to { transform: translate3d(-4%, 10%, 0) scale(1.02); }
}

@keyframes hero-energy-rainfall-near {
  from { transform: translate3d(0, -12%, 0) scale(1); }
  to { transform: translate3d(-6%, 16%, 0) scale(1.04); }
}

@keyframes hero-energy-storm-flash {
  0%, 82%, 100% { opacity: 0; filter: brightness(1); }
  83% { opacity: 0.06; filter: brightness(1.02); }
  84% { opacity: 0.30; filter: brightness(1.18); }
  84.6% { opacity: 0.10; filter: brightness(1.04); }
  85.3% { opacity: 0.46; filter: brightness(1.32); }
  86.1% { opacity: 0.14; filter: brightness(1.06); }
  87.2% { opacity: 0.24; filter: brightness(1.14); }
  88.8% { opacity: 0.04; filter: brightness(1.01); }
}

@keyframes hero-energy-lightning-bolt {
  0%, 82%, 100% { opacity: 0; }
  84% { opacity: 0.86; }
  84.4% { opacity: 0.16; }
  85.3% { opacity: 1; }
  85.8% { opacity: 0.24; }
  87.1% { opacity: 0.52; }
  88% { opacity: 0; }
}

@keyframes hero-energy-lightning-branch {
  0%, 82.4%, 100% { opacity: 0; }
  84.1% { opacity: 0.26; }
  85.35% { opacity: 0.72; }
  85.9% { opacity: 0.14; }
  87.15% { opacity: 0.34; }
  88.1% { opacity: 0; }
}

.hero-energy__scene.weather-cloudy .hero-energy__weather-layer--cloud {
  opacity: 0.28;
}

.hero-energy__scene.weather-drizzle .hero-energy__weather-layer--cloud {
  opacity: 0.24;
}

.hero-energy__scene.weather-drizzle .hero-energy__weather-layer--mist {
  opacity: 0.22;
}

.hero-energy__scene.weather-drizzle .hero-energy__weather-layer--rain {
  opacity: 0.15;
  --rain-base-duration: 2.8s;
  --rain-far-duration: 3.9s;
  --rain-near-duration: 2.15s;
  --rain-base-blur: 0.5px;
  --rain-far-opacity: 0.28;
  --rain-near-opacity: 0.14;
}

.hero-energy__scene.weather-rain .hero-energy__weather-layer--cloud {
  opacity: 0.22;
}

.hero-energy__scene.weather-rain .hero-energy__weather-layer--rain {
  opacity: 0.34;
  --rain-far-opacity: 0.54;
  --rain-near-opacity: 0.32;
}

.hero-energy__scene.weather-storm .hero-energy__weather-layer--cloud {
  opacity: 0.26;
}

.hero-energy__scene.weather-storm .hero-energy__weather-layer--rain {
  opacity: 0.32;
  --rain-base-duration: 1.12s;
  --rain-far-duration: 1.85s;
  --rain-near-duration: 0.82s;
  --rain-base-blur: 0.45px;
  --rain-far-opacity: 0.62;
  --rain-near-opacity: 0.38;
}

.hero-energy__scene.weather-storm .hero-energy__weather-layer--flash {
  animation: hero-energy-storm-flash var(--lightning-duration) linear infinite;
}

.hero-energy__scene.weather-storm .hero-energy__weather-layer--flash::before {
  animation: hero-energy-lightning-bolt var(--lightning-duration) linear infinite;
}

.hero-energy__scene.weather-storm .hero-energy__weather-layer--flash::after {
  animation: hero-energy-lightning-branch var(--lightning-duration) linear infinite;
}

.hero-energy__wires {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
  mix-blend-mode: normal;
  --hero-conduit-aura-width: 22;
  --hero-conduit-shell-width: 13;
  --hero-conduit-lane-width: 7;
  --hero-flow-width: 4.2;
}

.hero-energy__route {
  --flow-color: var(--hero-energy-cyan);
}

.hero-energy__route--solar {
  --flow-color: var(--hero-energy-solar);
}

.hero-energy__route--home {
  --flow-color: var(--hero-energy-home);
}

.hero-energy__route--grid {
  --flow-color: var(--hero-energy-grid-import);
}

.hero-energy__route--battery {
  --flow-color: var(--hero-energy-battery-charge);
}

.hero-energy__scene[data-grid-flow="export"] .hero-energy__route--grid {
  --flow-color: var(--hero-energy-grid-export);
}

.hero-energy__scene[data-grid-flow="idle"] .hero-energy__route--grid {
  --flow-color: rgba(164, 187, 208, 0.75);
}

.hero-energy__scene[data-battery-mode="discharge"] .hero-energy__route--battery {
  --flow-color: var(--hero-energy-battery-discharge);
}

.hero-energy__scene[data-battery-mode="idle"] .hero-energy__route--battery {
  --flow-color: rgba(164, 187, 208, 0.75);
}

.hero-energy__flow-track,
.hero-energy__flow-path {
  vector-effect: non-scaling-stroke;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-energy__flow-track--aura {
  stroke-width: var(--hero-conduit-aura-width);
  stroke: color-mix(in srgb, var(--flow-color) 54%, transparent);
  opacity: 0.16;
  filter: drop-shadow(0 0 18px color-mix(in srgb, var(--flow-color) 62%, transparent));
  animation: hero-energy-flow-aura 4.25s ease-in-out infinite;
}

.hero-energy__flow-track--jacket {
  stroke-width: var(--hero-conduit-shell-width);
  stroke: color-mix(in srgb, rgba(6, 14, 26, 0.92) 76%, var(--flow-color) 24%);
  opacity: 0.98;
  filter: drop-shadow(0 6px 12px rgba(4, 10, 20, 0.34));
}

.hero-energy__flow-track--sheen {
  stroke-width: var(--hero-conduit-lane-width);
  stroke: color-mix(in srgb, rgba(144, 214, 255, 0.22) 12%, var(--flow-color) 88%);
  opacity: 0.34;
  filter: drop-shadow(0 0 10px color-mix(in srgb, var(--flow-color) 44%, transparent));
}

.hero-energy__flow-path {
  stroke-width: var(--hero-flow-width);
  stroke: color-mix(in srgb, white 18%, var(--flow-color) 82%);
  opacity: var(--flow-opacity, 0.24);
  filter:
    drop-shadow(0 0 6px color-mix(in srgb, var(--flow-color) 80%, transparent))
    drop-shadow(0 0 18px color-mix(in srgb, var(--flow-color) 62%, transparent));
}

.hero-energy__flow-path.is-active {
  stroke-dasharray: 10 24 3 54;
  opacity: 0.96;
  animation: hero-energy-flow-dash var(--flow-speed, 3125ms) linear infinite;
}

.hero-energy__flow-path.is-active.is-reverse {
  animation-direction: reverse;
}

.hero-energy__flow-path.is-idle,
.hero-energy__flow-path:not(.is-active) {
  opacity: 0;
  pointer-events: none;
  filter: none;
}

@keyframes hero-energy-flow-dash {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -420; }
}

@keyframes hero-energy-flow-aura {
  0%, 100% { opacity: 0.12; }
  50% { opacity: 0.24; }
}

.hero-energy__anchor-line {
  stroke: rgba(214, 239, 255, 0.34);
  stroke-width: 1.6;
  stroke-dasharray: 4 7;
  fill: none;
  filter: drop-shadow(0 0 4px rgba(120, 210, 255, 0.18));
}

.hero-energy__anchor-dot {
  fill: rgba(198, 235, 255, 0.72);
  stroke: rgba(255, 255, 255, 0.94);
  stroke-width: 2.5;
  filter: drop-shadow(0 0 10px rgba(126, 219, 255, 0.55));
}

.hero-energy__anchor-dot--solar {
  fill: color-mix(in srgb, var(--hero-energy-solar) 60%, transparent);
  stroke: var(--hero-energy-solar);
  filter: drop-shadow(0 0 8px color-mix(in srgb, var(--hero-energy-solar) 90%, transparent));
}

.hero-energy__anchor-dot--home {
  fill: color-mix(in srgb, var(--hero-energy-home) 60%, transparent);
  stroke: var(--hero-energy-home);
  filter: drop-shadow(0 0 8px color-mix(in srgb, var(--hero-energy-home) 90%, transparent));
}

.hero-energy__anchor-dot--hub {
  fill: color-mix(in srgb, var(--hero-energy-cyan) 60%, transparent);
  stroke: var(--hero-energy-cyan);
  filter: drop-shadow(0 0 8px color-mix(in srgb, var(--hero-energy-cyan) 90%, transparent));
}

.hero-energy__node,
.hero-energy__hub {
  position: absolute;
  box-sizing: border-box;
  z-index: 6;
  color: #f7fbff;
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.20);
  animation: hero-energy-node-rise 520ms cubic-bezier(.18, .9, .24, 1) both;
}

.hero-energy__node--home {
  animation-delay: 60ms;
}

.hero-energy__hub {
  animation-delay: 90ms;
}

.hero-energy__node--grid {
  animation-delay: 130ms;
}

@keyframes hero-energy-node-rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-energy__node {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 10px 12px 11px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(4, 15, 28, 0.56), rgba(4, 12, 22, 0.80));
  border: 1px solid rgba(100, 205, 255, 0.18);
}

.hero-energy__node-top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
}

.hero-energy__hub-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px 8px;
  flex-wrap: wrap;
}

.hero-energy__title,
.hero-energy__hub-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9be8ff;
}

.hero-energy__node-state,
.hero-energy__hub-state {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-energy__node strong {
  white-space: nowrap;
  font-size: clamp(22px, 5.4cqw, 34px);
  line-height: 0.92;
  font-weight: 700;
  letter-spacing: -0.04em;
  text-shadow: 0 0 12px rgba(126, 231, 135, 0.08);
}

.hero-energy__node small {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.90);
}

.hero-energy__node--solar {
  left: 2%;
  top: 3%;
  width: 44%;
  overflow: hidden;
}

.hero-energy__node--solar strong {
  color: var(--hero-energy-solar);
}

.hero-energy__node--home {
  left: 2%;
  bottom: 5%;
  width: 40%;
}

.hero-energy__node--home strong {
  color: var(--hero-energy-home);
}

.hero-energy__hub {
  right: 2%;
  bottom: 5%;
  left: auto;
  top: auto;
  width: 46%;
  padding: 12px 14px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(5, 15, 28, 0.64), rgba(4, 11, 21, 0.82));
  border: 1px solid rgba(114, 219, 255, 0.24);
}

.hero-energy__scene[data-battery-mode="charge"] .hero-energy__hub-state {
  background: rgba(126, 231, 135, 0.10);
  border: 1px solid rgba(126, 231, 135, 0.24);
  color: #8ff5aa;
}

.hero-energy__scene[data-battery-mode="discharge"] .hero-energy__hub-state {
  background: rgba(248, 81, 73, 0.14);
  border: 1px solid rgba(248, 81, 73, 0.30);
  color: #ff938d;
}

.hero-energy__scene[data-battery-mode="idle"] .hero-energy__hub-state {
  background: rgba(114, 219, 255, 0.10);
  border: 1px solid rgba(114, 219, 255, 0.18);
  color: #9be8ff;
}

.hero-energy__hub-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  justify-content: center;
  column-gap: 14px;
  margin-top: 8px;
}

.hero-energy__hub-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
  justify-items: center;
  text-align: center;
}

.hero-energy__hub-power {
  font-size: 1.4rem;
  line-height: 0.96;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.hero-energy__scene[data-battery-mode="charge"] .hero-energy__hub-power {
  color: var(--hero-energy-battery-charge);
}

.hero-energy__scene[data-battery-mode="discharge"] .hero-energy__hub-power {
  color: var(--hero-energy-battery-discharge);
}

.hero-energy__scene[data-battery-mode="idle"] .hero-energy__hub-power {
  color: var(--hero-energy-cyan);
}

.hero-energy__hub-soc {
  font-size: clamp(42px, 9.6cqw, 72px);
  line-height: 0.86;
  font-weight: 700;
  letter-spacing: -0.06em;
  color: var(--hero-energy-grid-import);
  text-shadow: 0 0 18px rgba(88, 166, 255, 0.18);
}

.hero-energy__hub-energy {
  font-size: 12px;
  color: rgba(214, 224, 236, 0.78);
}

.hero-energy__hub-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  flex-shrink: 0;
}

.hero-energy__battery-icon {
  position: relative;
  width: 46px;
  height: 72px;
  display: inline-block;
  border-radius: 12px 12px 10px 10px;
  background: linear-gradient(180deg, rgba(10, 18, 31, 0.24), rgba(10, 18, 31, 0.08));
  border: 1px solid rgba(168, 186, 206, 0.34);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03), 0 0 24px rgba(166, 199, 255, 0.10);
}

.hero-energy__battery-icon::before {
  content: '';
  position: absolute;
  top: 1px;
  left: 50%;
  width: 12px;
  height: 4px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(168, 186, 206, 0.48);
}

.hero-energy__battery-icon-fill {
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 4px;
  max-height: calc(100% - 8px);
  height: var(--hero-battery-fill-pct);
  border-radius: 8px;
  transition: height 500ms ease, background 300ms ease;
}

.hero-energy__scene[data-battery-mode="charge"] .hero-energy__battery-icon-fill {
  background: linear-gradient(180deg, #50b95d, #2a993d);
  box-shadow: 0 0 14px rgba(80, 185, 93, 0.28);
}

.hero-energy__scene[data-battery-mode="discharge"] .hero-energy__battery-icon-fill {
  background: linear-gradient(180deg, #ff8d88, var(--hero-energy-battery-discharge));
  box-shadow: 0 0 14px rgba(248, 81, 73, 0.26);
}

.hero-energy__scene[data-battery-mode="idle"] .hero-energy__battery-icon-fill {
  background: linear-gradient(180deg, #b6d9ff, #58a6ff);
  box-shadow: 0 0 14px rgba(88, 166, 255, 0.2);
}

/* ── Battery charge / discharge animations ────────────────── */
@keyframes hero-battery-charge-glow {
  0%, 100% { box-shadow: 0 0 14px rgba(80, 185, 93, 0.28); }
  50%       { box-shadow: 0 0 26px rgba(80, 185, 93, 0.68), 0 0 46px rgba(80, 185, 93, 0.20); }
}

@keyframes hero-battery-discharge-glow {
  0%, 100% { box-shadow: 0 0 14px rgba(248, 81, 73, 0.26); }
  50%       { box-shadow: 0 0 26px rgba(248, 81, 73, 0.62), 0 0 46px rgba(248, 81, 73, 0.18); }
}

@keyframes hero-battery-shimmer {
  0%   { transform: translateY(110%); opacity: 0; }
  18%  { opacity: 0.75; }
  82%  { opacity: 0.52; }
  100% { transform: translateY(-110%); opacity: 0; }
}

.hero-energy__battery-icon-fill {
  overflow: hidden;
}

.hero-energy__scene[data-battery-mode="charge"] .hero-energy__battery-icon {
  animation: hero-battery-charge-glow 2.4s ease-in-out infinite;
}

.hero-energy__scene[data-battery-mode="charge"] .hero-energy__battery-icon-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.58) 0%, rgba(255, 255, 255, 0) 64%);
  border-radius: inherit;
  animation: hero-battery-shimmer 2.4s ease-in-out infinite;
  pointer-events: none;
}

.hero-energy__scene[data-battery-mode="discharge"] .hero-energy__battery-icon {
  animation: hero-battery-discharge-glow 1.8s ease-in-out infinite;
}

.hero-energy__node--grid {
  right: 2%;
  top: 3%;
  left: auto;
  width: 37%;
}

.hero-energy__node--grid strong {
  color: var(--hero-energy-grid-import);
}

.hero-energy__scene[data-grid-flow="export"] .hero-energy__node--grid strong {
  color: var(--hero-energy-grid-export);
}

.hero-energy__scene[data-grid-flow="idle"] .hero-energy__node--grid strong {
  color: #9be8ff;
  text-shadow: none;
}

.hero-energy__scene[data-grid-flow="import"] .hero-energy__node--grid .hero-energy__node-state {
  background: rgba(255, 184, 109, 0.12);
  border: 1px solid rgba(255, 184, 109, 0.24);
  color: #ffc98c;
}

.hero-energy__scene[data-grid-flow="export"] .hero-energy__node--grid .hero-energy__node-state {
  background: rgba(126, 231, 135, 0.10);
  border: 1px solid rgba(126, 231, 135, 0.24);
  color: #8ff5aa;
}

.hero-energy__scene[data-grid-flow="idle"] .hero-energy__node--grid .hero-energy__node-state {
  background: rgba(114, 219, 255, 0.10);
  border: 1px solid rgba(114, 219, 255, 0.18);
  color: #9be8ff;
}

.hero-energy__temps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.hero-energy__temp {
  padding: 10px 8px;
  text-align: center;
  border-radius: 12px;
  background: rgba(7, 12, 21, 0.72);
  border: 1px solid rgba(52, 77, 111, 0.42);
}

.hero-energy__temp span {
  display: block;
  font-size: 0.66rem;
  color: #8ea8c6;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-energy__temp strong {
  display: block;
  margin-top: 4px;
  font-size: 1.02rem;
  color: #7ee787;
}

@container hero-energy-scene (min-width: 740px) {
  .hero-energy__scene {
    background-size: auto 92%;
    background-position: center 58%;
  }
}

@container hero-energy-scene (min-width: 940px) {
  .hero-energy__scene {
    background-size: auto 88%;
    background-position: center 60%;
  }
}

@container hero-energy-scene (max-width: 760px) {
  .hero-energy__scene {
    aspect-ratio: 5 / 4;
  }

  .hero-energy__node,
  .hero-energy__hub {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
  }

  .hero-energy__node-state,
  .hero-energy__hub-state {
    font-size: 9px;
    padding: 3px 7px;
  }

  .hero-energy__node--home {
    width: 39%;
    bottom: 4%;
  }

  .hero-energy__hub {
    width: 45%;
    bottom: 4%;
  }

  .hero-energy__hub-main {
    column-gap: 12px;
  }

  .hero-energy__battery-icon {
    width: 40px;
    height: 62px;
  }
}

@container hero-energy-scene (max-width: 640px) {
  .hero-energy__scene {
    aspect-ratio: 21 / 19;
    background-size: auto 100%;
    background-position: center 58%;
  }

  .hero-energy__node--solar,
  .hero-energy__node--grid {
    top: 2.5%;
  }

  .hero-energy__node--solar {
    width: 43%;
  }

  .hero-energy__node--grid {
    width: 35%;
  }

  .hero-energy__node--home {
    width: 37%;
    bottom: 3.5%;
  }

  .hero-energy__hub {
    width: 44%;
    bottom: 3.5%;
  }

  .hero-energy__anchor-line,
  .hero-energy__anchor-dot {
    display: none;
  }
}

@container hero-energy-scene (max-width: 500px) {
  .hero-energy__scene {
    aspect-ratio: 7 / 9;
    background-size: 100% auto;
    background-position: center 58%;
  }

  .hero-energy__orb {
    transition-duration: 420ms;
  }

  /* Hide battery visual at small sizes to keep hub compact */
  .hero-energy__hub-visual {
    display: none;
  }

  .hero-energy__wires {
    --hero-conduit-aura-width: 18;
    --hero-conduit-shell-width: 11;
    --hero-conduit-lane-width: 6;
    --hero-flow-width: 3.75;
  }

  .hero-energy__node,
  .hero-energy__hub {
    padding: 8px 10px 9px;
    border-radius: 12px;
    box-shadow: 0 9px 18px rgba(0, 0, 0, 0.17);
  }

  .hero-energy__title,
  .hero-energy__hub-title {
    font-size: 10px;
    letter-spacing: 0.14em;
  }

  .hero-energy__node-state,
  .hero-energy__hub-state {
    font-size: 8px;
    padding: 2px 6px;
  }

  .hero-energy__node strong {
    font-size: clamp(18px, 6.8cqw, 28px);
  }

  .hero-energy__node small,
  .hero-energy__hub-energy {
    font-size: 10px;
    line-height: 1.3;
  }

  .hero-energy__hub-soc {
    font-size: clamp(34px, 11.8cqw, 56px);
  }

  .hero-energy__node--solar {
    left: 3%;
    top: 3%;
    width: 41%;
  }

  .hero-energy__node--grid {
    right: 3%;
    top: 3%;
    width: 38%;
  }

  .hero-energy__node--home {
    left: 3%;
    bottom: 3%;
    width: 34%;
  }

  .hero-energy__hub {
    right: 3%;
    bottom: 3%;
    width: 47%;
    padding: 10px 12px;
  }

  .hero-energy__hub-top {
    justify-content: center;
  }

  .hero-energy__hub-main {
    gap: 8px;
    margin-top: 6px;
  }

  .hero-energy__hub-copy {
    gap: 3px;
  }

  .hero-energy__battery-icon {
    width: 32px;
    height: 48px;
  }
}

@container hero-energy-scene (max-width: 430px) {
  .hero-energy__scene {
    aspect-ratio: 5 / 6;
    background-size: 100% auto;
  }

  .hero-energy__wires {
    --hero-conduit-aura-width: 16;
    --hero-conduit-shell-width: 10;
    --hero-conduit-lane-width: 5.4;
    --hero-flow-width: 3.5;
  }

  .hero-energy__node--solar {
    width: 41%;
  }

  .hero-energy__node--grid {
    width: 39%;
  }

  .hero-energy__node--grid .hero-energy__node-top {
    justify-content: space-between;
    gap: 4px;
  }

  .hero-energy__node--grid strong {
    font-size: clamp(16px, 5.4cqw, 22px);
  }

  .hero-energy__node--home {
    width: 34%;
  }

  .hero-energy__hub {
    width: 50%;
  }

  .hero-energy__hub-top {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
  }

  .hero-energy__hub-main {
    gap: 6px;
    margin-top: 5px;
  }

  .hero-energy__hub-soc {
    font-size: clamp(30px, 11cqw, 46px);
  }

  .hero-energy__hub-power,
  .hero-energy__hub-energy {
    font-size: 10px;
  }
}

@container hero-energy-scene (max-width: 380px) {
  .hero-energy__scene {
    aspect-ratio: 4 / 5;
  }

  .hero-energy__orb {
    width: calc(var(--scene-orb-size, 32px) * 0.9);
    height: calc(var(--scene-orb-size, 32px) * 0.9);
  }

  .hero-energy__node,
  .hero-energy__hub {
    padding: 7px 9px 8px;
  }

  .hero-energy__node-state,
  .hero-energy__hub-state {
    font-size: 7px;
    padding: 2px 5px;
  }

  .hero-energy__node strong {
    font-size: clamp(16px, 6.2cqw, 24px);
  }

  .hero-energy__hub-soc {
    font-size: clamp(27px, 10.2cqw, 40px);
  }

  .hero-energy__node--solar {
    width: 42%;
  }

  .hero-energy__node--grid {
    width: 40%;
  }

  .hero-energy__node--grid .hero-energy__node-top {
    justify-content: space-between;
    gap: 4px;
  }

  .hero-energy__node--grid strong {
    font-size: clamp(15px, 5.1cqw, 20px);
  }

  .hero-energy__node--home {
    width: 35%;
  }

  .hero-energy__hub {
    width: 50%;
  }

  .hero-energy__battery-icon {
    width: 26px;
    height: 39px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-energy__weather-layer--cloud,
  .hero-energy__weather-layer--rain,
  .hero-energy__weather-layer--flash,
  .hero-energy__flow-track--aura,
  .hero-energy__flow-path,
  .hero-energy__node,
  .hero-energy__hub,
  .hero-energy__battery-icon,
  .hero-energy__battery-icon-fill::after {
    animation: none !important;
  }
}

.price-summary {
  padding: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.price-kpi {
  border-radius: 10px;
  border: 1px solid rgba(56, 83, 118, 0.46);
  background: rgba(8, 14, 23, 0.76);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.price-kpi span {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #92abc9;
}

.price-kpi strong {
  font-size: 1.62rem;
  font-weight: 800;
  line-height: 1;
  color: #58a6ff;
}

.price-kpi:nth-child(2) strong { color: #7ee787; }
.price-kpi:nth-child(3) strong { color: #bc8cff; }

.price-forecast-row {
  margin: 0 14px 12px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.price-forecast-row span {
  border-radius: 8px;
  border: 1px solid rgba(50, 74, 105, 0.42);
  background: rgba(7, 12, 22, 0.72);
  text-align: center;
  padding: 8px 4px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #e3b341;
}

.chart-shell {
  margin: 0 14px;
  position: relative;
  background: radial-gradient(125% 140% at 50% 0%, #1a2f4f 0%, #0e1a2c 48%, #09111c 100%);
  border: 1px solid rgba(69, 98, 136, 0.5);
  border-radius: 14px;
  padding: 11px 12px 8px;
  overflow: hidden;
}

.price-sparkline {
  width: 100%;
  height: 222px;
  display: block;
  shape-rendering: geometricPrecision;
}

.price-sparkline text {
  font-size: 10px;
  fill: rgba(214, 226, 240, 0.72);
  letter-spacing: 0.02em;
}

.chart-x-axis text {
  fill: rgba(166, 184, 206, 0.85);
}

#heroThresholdLabel {
  fill: #7ee787;
  font-weight: 700;
}

.chart-tooltip {
  position: absolute;
  top: 10px;
  min-width: 170px;
  max-width: 230px;
  padding: 9px 10px;
  border-radius: 10px;
  border: 1px solid rgba(88, 166, 255, 0.6);
  background: rgba(8, 14, 24, 0.92);
  box-shadow: 0 10px 26px rgba(1, 5, 12, 0.65);
  pointer-events: none;
  z-index: 3;
}

.chart-tooltip strong {
  display: block;
  font-size: 0.67rem;
  color: #e6edf3;
  font-weight: 700;
}

.chart-tooltip span {
  display: block;
  margin-top: 3px;
  font-size: 0.66rem;
  color: #79c0ff;
}

.chart-tooltip small {
  display: block;
  margin-top: 4px;
  font-size: 0.61rem;
  color: #7ee787;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.price-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  padding: 10px 14px 14px;
  font-size: 0.74rem;
  color: #99b0cb;
}

.price-footer strong {
  color: #e6edf3;
  font-weight: 700;
}

.weather-toolbar {
  margin: 10px 14px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.weather-location-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border-radius: 8px;
  border: 1px solid rgba(66, 94, 129, 0.46);
  background: rgba(8, 14, 24, 0.82);
  font-size: 0.72rem;
  color: #9cb5d1;
  font-weight: 600;
}

.weather-location-pill__pin {
  color: #f0788f;
  font-size: 0.78rem;
}

.weather-range {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  color: #9cb5d1;
}

.weather-range__track {
  width: 64px;
  height: 6px;
  border-radius: 999px;
  background: rgba(92, 117, 149, 0.35);
  position: relative;
}

.weather-range__track i {
  position: absolute;
  top: -4px;
  left: 30px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #58a6ff;
  box-shadow: 0 0 0 2px rgba(15, 28, 47, 0.95), 0 0 10px rgba(88, 166, 255, 0.55);
}

.weather-now {
  margin: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(56, 84, 117, 0.44);
  background: rgba(8, 14, 24, 0.76);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.weather-now__main {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: nowrap;
  min-width: 0;
}

.weather-now__pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #58a6ff;
  flex-shrink: 0;
  align-self: center;
  animation: wnPulse 2.2s ease-in-out infinite;
}

@keyframes wnPulse {
  0%   { box-shadow: 0 0 0 0 rgba(88, 166, 255, 0.55); }
  60%  { box-shadow: 0 0 0 6px rgba(88, 166, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(88, 166, 255, 0); }
}

.weather-now strong {
  font-size: 1.88rem;
  line-height: 1.04;
  color: #58a6ff;
  flex-shrink: 0;
}

.weather-now__cond {
  font-size: 0.82rem;
  color: #9cb5d1;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.weather-now__place {
  font-size: 0.74rem;
  color: #6a87a5;
  margin-top: 1px;
}

.weather-now__meta {
  margin-top: 5px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px 8px;
}

.weather-now__meta span {
  font-size: 0.66rem;
  color: #83a4c8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Weather forecast cards ── */
.weather-cards {
  padding: 0 14px 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.weather-card {
  border-radius: 10px;
  border: 1px solid rgba(54, 80, 112, 0.42);
  background: rgba(8, 13, 23, 0.76);
  padding: 9px 8px 7px;
  position: relative;
  overflow: hidden;
}

/* Top accent stripe */
.weather-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 10px 10px 0 0;
  background: linear-gradient(90deg, rgba(88, 166, 255, 0.75), rgba(88, 166, 255, 0.15));
}

.weather-card--extreme {
  border-color: rgba(255, 176, 32, 0.38);
  background: linear-gradient(180deg, rgba(255, 176, 32, 0.07) 0%, rgba(8, 13, 23, 0.76) 60%);
}

.weather-card--extreme::before {
  background: linear-gradient(90deg, rgba(255, 176, 32, 0.9), rgba(248, 81, 73, 0.4));
}

.weather-card--clear {
  border-color: rgba(56, 130, 90, 0.38);
}

.weather-card--clear::before {
  background: linear-gradient(90deg, rgba(126, 231, 135, 0.75), rgba(56, 201, 196, 0.2));
}

.weather-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 4px;
  margin-bottom: 2px;
}

.weather-card h4 {
  margin: 0;
  font-size: 0.71rem;
  font-weight: 700;
  color: #c8d9ee;
  letter-spacing: 0.03em;
  flex-shrink: 0;
}

.weather-card__emoji {
  font-size: 1.05rem;
  line-height: 1;
  flex-shrink: 0;
}

.weather-card p {
  margin: 0 0 3px;
  font-size: 0.77rem;
  color: #79c0ff;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

.weather-card--extreme p {
  color: #ffa657;
}

.weather-card--clear p {
  color: #7ee787;
}

.weather-card__temps {
  font-size: 0.64rem;
  color: #617b96;
  margin-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.weather-card__temps strong {
  color: #c0d5ec;
  font-weight: 700;
}

.weather-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
}

.wbadge {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 0.58rem;
  font-weight: 600;
  padding: 2px 5px;
  border-radius: 4px;
  white-space: nowrap;
  line-height: 1.35;
  letter-spacing: 0.01em;
}

/* Rain */
.wbadge--rain-good { background: rgba(46, 160, 67, 0.16); color: #7ee787; border: 1px solid rgba(46, 160, 67, 0.28); }
.wbadge--rain-mid  { background: rgba(88, 166, 255, 0.13); color: #79c0ff; border: 1px solid rgba(88, 166, 255, 0.25); }
.wbadge--rain-bad  { background: rgba(255, 176, 32, 0.14); color: #ffa657; border: 1px solid rgba(255, 176, 32, 0.28); }

/* Solar radiation */
.wbadge--sun-good  { background: rgba(46, 160, 67, 0.16); color: #7ee787; border: 1px solid rgba(46, 160, 67, 0.28); }
.wbadge--sun-mid   { background: rgba(210, 153, 34, 0.14); color: #d29922; border: 1px solid rgba(210, 153, 34, 0.28); }
.wbadge--sun-bad   { background: rgba(248, 81, 73, 0.13); color: #f85149; border: 1px solid rgba(248, 81, 73, 0.25); }

/* Cloud cover */
.wbadge--cloud-good { background: rgba(86, 182, 194, 0.14); color: #56c2cc; border: 1px solid rgba(86, 182, 194, 0.28); }
.wbadge--cloud-mid  { background: rgba(210, 153, 34, 0.14); color: #d29922; border: 1px solid rgba(210, 153, 34, 0.28); }
.wbadge--cloud-bad  { background: rgba(248, 81, 73, 0.13); color: #f85149; border: 1px solid rgba(248, 81, 73, 0.25); }

.product-card__head--automation {
  border-bottom: none;
  padding-bottom: 8px;
}

.automation-head-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.automation-cycle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(77, 108, 146, 0.45);
  background: rgba(8, 15, 26, 0.88);
  border-radius: 999px;
  padding: 5px 10px;
}

.automation-cycle span {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9ab2ce;
}

.automation-cycle strong {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.92rem;
  font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #ffffff;
}

.automation-cycle strong::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #58a6ff;
  box-shadow: 0 0 8px rgba(88, 166, 255, 0.65);
  animation: cyclePulse 1.35s ease-in-out infinite;
}

@keyframes cyclePulse {
  0%, 100% { opacity: 0.35; transform: scale(0.95); }
  50% { opacity: 1; transform: scale(1.18); }
}

.automation-master {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  border: 1px solid rgba(46, 160, 67, 0.45);
  background: rgba(10, 25, 18, 0.82);
  padding: 4px 8px;
}

.automation-master__label {
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #97b6d7;
  font-weight: 700;
}

.automation-master__switch {
  width: 34px;
  height: 19px;
  border-radius: 999px;
  border: 1px solid rgba(121, 192, 255, 0.62);
  background: linear-gradient(180deg, #64b8ff, #3587e4);
  position: relative;
  box-shadow: 0 0 14px rgba(46, 145, 255, 0.3);
}

.automation-master__switch i {
  position: absolute;
  top: 1px;
  right: 1px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #eff7ff;
  box-shadow: 0 1px 4px rgba(1, 7, 16, 0.6);
}

.automation-master__state {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: #7ee787;
  letter-spacing: 0.05em;
  font-weight: 800;
}

.automation-rule-list {
  padding: 2px 14px 14px;
}

.automation-rule {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: flex-start;
  gap: 10px;
  border-radius: 12px;
  border: 1px solid rgba(65, 94, 130, 0.52);
  background: rgba(9, 15, 25, 0.74);
  padding: 12px;
}

.automation-rule--active {
  border-color: rgba(65, 145, 240, 0.66);
  box-shadow: inset 0 0 0 1px rgba(65, 145, 240, 0.2);
}

.rule-priority {
  border-radius: 8px;
  background: linear-gradient(180deg, #ff5f70, #e04758);
  color: #fff;
  font-size: 0.73rem;
  font-weight: 800;
  line-height: 1;
  padding: 7px 8px;
  min-width: 34px;
  text-align: center;
}

.automation-rule__content strong {
  display: block;
  color: #58a6ff;
  font-size: 1.56rem;
  line-height: 1.05;
  font-weight: 800;
}

.automation-rule__content p {
  margin: 4px 0 10px;
  color: #9eb7d2;
  font-size: 0.84rem;
}

.automation-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rule-decision {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  border: 1px solid rgba(65, 93, 128, 0.52);
  background: rgba(10, 16, 27, 0.88);
  padding: 4px 8px;
}

.rule-decision__name {
  font-size: 0.62rem;
  color: #98b2d0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.rule-decision__state {
  font-size: 0.61rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 2px 6px;
}

.rule-decision.is-match {
  border-color: rgba(46, 160, 67, 0.55);
  background: rgba(20, 56, 33, 0.54);
}

.rule-decision.is-match .rule-decision__state {
  color: #7ee787;
  background: rgba(46, 160, 67, 0.24);
}

.rule-decision.is-skip {
  border-color: rgba(143, 163, 186, 0.42);
}

.rule-decision.is-skip .rule-decision__state {
  color: #8ea8c6;
  background: rgba(110, 131, 155, 0.2);
}

.hero-toast {
  position: absolute;
  right: 18px;
  bottom: 18px;
  background: rgba(16, 27, 42, 0.96);
  border: 1px solid rgba(84, 116, 155, 0.56);
  border-left: 3px solid #7ee787;
  border-radius: 12px;
  padding: 11px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.83rem;
  color: #e6edf3;
  max-width: 330px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: 0 14px 30px rgba(1, 4, 10, 0.58);
  z-index: 10;
}

.hero-toast.is-visible { opacity: 1; transform: translateY(0); }
.hero-toast__icon { font-size: 1rem; flex-shrink: 0; }
.hero-toast__text { display: flex; flex-direction: column; gap: 2px; }
.hero-toast__text strong { font-size: 0.85rem; color: #7ee787; }
.hero-toast__text span { font-size: 0.75rem; color: #9fb7d3; }
.hero-toast__check { margin-left: auto; color: #7ee787; font-size: 1rem; flex-shrink: 0; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.land-how { background: var(--land-white); }

.how-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 48px;
}
.how-step {
  flex: 1;
  text-align: center;
  padding: 0 28px;
}
.how-step__num {
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(31,111,235,.1);
  line-height: 1;
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}
.how-step__icon  { font-size: 2.2rem; margin-bottom: 14px; }
.how-step__title { font-size: 1.05rem; font-weight: 700; color: var(--land-text); margin-bottom: 10px; }
.how-step__body  { font-size: 0.9rem; color: var(--land-text-muted); line-height: 1.65; }

.how-step__arrow {
  font-size: 1.8rem;
  color: var(--land-border);
  padding-top: 72px;
  flex-shrink: 0;
  line-height: 1;
}

/* ============================================================
   INTERACTIVE DEMO SECTION
   ============================================================ */
.land-demo { background: #0d1117; }
.land-demo .section-label { color: rgba(88,166,255,.65); }
.land-demo .section-title { color: #e6edf3; }
.land-demo .section-sub   { color: rgba(255,255,255,.5); }
.land-demo .section-sub a { color: var(--land-accent); }

.demo-shell {
  background: #161b22;
  border: 1px solid #30363d;
  border-radius: 14px;
  overflow: hidden;
}

/* Tab bar */
.demo-tabs {
  display: flex;
  border-bottom: 1px solid #30363d;
  background: #0d1117;
  padding: 0 6px;
}
.demo-tab {
  flex: 1;
  padding: 14px 12px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: #8b949e;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
  text-align: center;
  white-space: nowrap;
}
.demo-tab:hover   { color: #e6edf3; }
.demo-tab.is-active { color: #58a6ff; border-bottom-color: #58a6ff; }

/* Panels */
.demo-panel { padding: 24px 28px; }

/* ── Dashboard demo ───────────────────────────────────── */
.dash-demo__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 0.88rem;
}
.dash-demo__title { font-weight: 700; color: #e6edf3; }
.dash-demo__time  { color: #8b949e; margin-left: auto; font-variant-numeric: tabular-nums; }
.dash-demo__live  { display: flex; align-items: center; gap: 6px; font-size: 0.72rem; font-weight: 700; color: #7ee787; letter-spacing: .07em; }

.dash-demo__metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}
.dash-metric {
  background: #0d1117;
  border: 1px solid #30363d;
  border-radius: 8px;
  padding: 14px;
}
.dash-metric__label   { font-size: 0.7rem; color: #8b949e; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.dash-metric__val     { font-size: 1.25rem; font-weight: 700; color: #e6edf3; }
.dash-metric__val--price { font-size: 1.4rem; color: #58a6ff; }
.dash-metric__sub     { font-size: 0.72rem; color: #7ee787; margin-top: 4px; }
.dash-metric__bar     { height: 7px; background: #30363d; border-radius: 4px; overflow: hidden; margin-bottom: 8px; }
.dash-metric__fill    { height: 100%; background: linear-gradient(90deg, #2da44e, #7ee787); border-radius: 4px; transition: width 1.2s ease; }

.dash-demo__chart-wrap    { margin-top: 4px; }
.dash-chart-title         { font-size: 0.78rem; color: #8b949e; margin-bottom: 6px; }
.dash-sparkline           { width: 100%; height: 90px; display: block; }
.dash-chart-legend        { display: flex; gap: 14px; flex-wrap: wrap; font-size: 0.75rem; color: #8b949e; margin-top: 6px; }

.mode-badge         { display: inline-flex; align-items: center; font-size: 0.8rem; font-weight: 700; padding: 3px 10px; border-radius: 5px; }
.mode-badge--charge { background: rgba(88,166,255,.15); color: #58a6ff; }

/* ── Rule builder ─────────────────────────────────────── */
.rule-builder { color: #e6edf3; }
.rule-builder__section { margin-bottom: 22px; }
.rule-builder__label {
  font-size: 0.78rem; font-weight: 700;
  color: #8b949e; text-transform: uppercase; letter-spacing: .07em;
  margin-bottom: 12px;
}
.rb-hint { font-weight: 400; text-transform: none; letter-spacing: 0; color: #57606a; font-size: 0.76rem; }

.rule-builder__chips { display: flex; flex-wrap: wrap; gap: 10px; }
.rule-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: #0d1117; border: 1.5px solid #30363d;
  border-radius: 8px; padding: 10px 14px;
  cursor: pointer; color: #8b949e; font-size: 0.86rem; font-weight: 500;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  text-align: left;
}
.rule-chip:hover                 { border-color: #58a6ff; color: #e6edf3; }
.rule-chip.is-active             { border-color: #58a6ff; background: rgba(88,166,255,.1); color: #e6edf3; }
.rule-chip__icon                 { font-size: 1rem; }
.rule-chip__name                 { font-weight: 600; }
.rule-chip__val                  { font-size: 0.78rem; color: #58a6ff; background: rgba(88,166,255,.12); padding: 2px 7px; border-radius: 4px; }
.rule-chip.is-active .rule-chip__val { color: #7ee787; background: rgba(46,160,67,.15); }

.rule-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.rule-action {
  padding: 9px 18px;
  background: #0d1117; border: 1.5px solid #30363d; border-radius: 8px;
  cursor: pointer; color: #8b949e; font-size: 0.86rem; font-weight: 600;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.rule-action:hover    { border-color: #58a6ff; color: #e6edf3; }
.rule-action.is-active{ border-color: #58a6ff; background: rgba(88,166,255,.1); color: #58a6ff; }

.rule-summary {
  background: #0d1117;
  border: 1px solid #30363d;
  border-left: 3px solid #58a6ff;
  border-radius: 8px;
  padding: 16px 18px;
}
.rule-summary__text          { font-size: 1rem; color: #e6edf3; line-height: 1.65; }
.rule-summary__text strong   { color: #58a6ff; }
.rule-summary__meta          { font-size: 0.76rem; color: #57606a; margin-top: 8px; }

.rule-builder__cta      { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.rule-builder__cta-note { font-size: 0.8rem; color: #8b949e; }

/* ── Automation log ───────────────────────────────────── */
.auto-log { background: #0d1117; border-radius: 8px; border: 1px solid #30363d; }
.auto-log__header {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  border-bottom: 1px solid #30363d;
  font-size: 0.8rem; color: #8b949e; font-family: monospace;
}
.auto-log__badge {
  margin-left: auto; font-size: 0.72rem;
  background: rgba(88,166,255,.12); color: #58a6ff;
  padding: 2px 10px; border-radius: 999px;
}
.auto-log__body {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.8rem; line-height: 1.75;
  padding: 14px 16px;
  min-height: 260px; max-height: 300px;
  overflow-y: auto;
  scrollbar-width: thin; scrollbar-color: #30363d transparent;
}
.auto-log__cursor {
  padding: 0 16px 12px;
  font-family: monospace; font-size: 0.8rem; color: #8b949e;
  animation: blink 1s step-end infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }
.log-line    { padding: 1px 0; }
.log-info    { color: #8b949e; }
.log-match   { color: #7ee787; }
.log-nomatch { color: #e3b341; }
.log-action  { color: #58a6ff; font-weight: 700; }
.log-confirm { color: rgba(126,231,135,.65); }

/* ============================================================
   STATS STRIP
   ============================================================ */
.land-stats { background: var(--land-bg); padding: 64px 0; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  text-align: center;
}
.stat-item__val {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--land-accent-dark);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -.02em;
}
.stat-item__label { font-size: 0.88rem; color: var(--land-text-muted); }

/* ============================================================
   RESPONSIVE - new sections
   ============================================================ */
@media (max-width: 1200px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-card--weather {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .land-nav {
    background: rgba(255,255,255,.98);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .hero-preview {
    border-radius: 18px;
  }

  .hero-preview__bar {
    border-radius: 18px 18px 0 0;
    padding: 12px 14px;
  }

  .hero-preview__body {
    border-radius: 0 0 18px 18px;
    padding: 14px;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .price-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-card__head--automation {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .automation-head-controls {
    width: 100%;
    justify-content: space-between;
  }

  .automation-rule__content strong {
    font-size: 1.34rem;
  }

  .price-sparkline {
    height: 188px;
  }

  .product-card__head {
    padding: 10px 12px;
  }

  .product-card__head h3 {
    font-size: 0.95rem;
  }

  .product-card__sub {
    font-size: 0.7rem;
  }

  .product-badge {
    padding: 3px 8px;
    font-size: 0.58rem;
  }

  .product-card__age {
    font-size: 0.62rem;
  }

  .hero-energy {
    padding: 10px;
  }

  .hero-energy__scene {
    min-height: 318px;
  }

  .hero-energy__node {
    padding: 10px 11px;
    gap: 5px;
  }

  .hero-energy__chip {
    font-size: 0.58rem;
    padding: 4px 7px;
  }

  .hero-energy__glyph {
    width: 26px;
    height: 26px;
    font-size: 0.92rem;
  }

  .hero-energy__node strong {
    font-size: 1.18rem;
  }

  .hero-energy__node small {
    font-size: 0.68rem;
  }

  .hero-energy__hub {
    width: min(52%, 196px);
    min-width: 0;
    max-width: 196px;
    padding: 10px 11px;
  }

  .hero-energy__hub-power {
    font-size: clamp(1rem, 5.2cqw, 1.18rem);
  }

  .hero-energy__hub-soc {
    font-size: clamp(1.6rem, 12cqw, 2.4rem);
  }

  .hero-energy__hub-energy {
    font-size: 0.66rem;
  }

  .hero-energy__battery-icon {
    width: 38px;
    height: 60px;
  }

  .hero-energy__bank {
    right: 10%;
    gap: 6px;
  }

  .hero-energy__bank-module {
    width: 21px;
    height: 64px;
  }

  .hero-energy__temps {
    gap: 8px;
    margin-top: 10px;
  }

  .hero-energy__temp {
    padding: 8px 6px;
  }

  .hero-energy__temp strong {
    font-size: 0.92rem;
  }

  .price-summary {
    padding: 10px;
    gap: 8px;
  }

  .price-kpi {
    padding: 8px;
  }

  .price-kpi strong {
    font-size: 1.24rem;
  }

  .price-forecast-row {
    margin: 0 10px 8px;
    gap: 6px;
  }

  .price-forecast-row span {
    padding: 6px 4px;
    font-size: 0.72rem;
  }

  .chart-shell {
    margin: 0 10px;
    padding: 8px 9px 6px;
  }

  .price-footer {
    padding: 8px 10px 10px;
  }

  .weather-toolbar {
    margin: 8px 10px 0;
  }

  .weather-now {
    margin: 8px 10px;
    padding: 10px;
    gap: 2px;
  }

  .weather-now strong {
    font-size: 1.54rem;
  }

  .weather-now__cond {
    font-size: 0.76rem;
  }

  .weather-cards {
    padding: 0 10px 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .weather-card {
    padding: 7px 7px 6px;
  }

  .automation-head-controls {
    gap: 6px;
  }

  .automation-cycle {
    padding: 4px 8px;
  }

  .automation-cycle strong {
    font-size: 0.84rem;
  }

  .automation-master {
    padding: 3px 7px;
    gap: 6px;
  }

  .automation-master__label {
    font-size: 0.54rem;
  }

  .automation-master__switch {
    width: 30px;
    height: 17px;
  }

  .automation-master__switch i {
    width: 13px;
    height: 13px;
  }

  .automation-master__state {
    font-size: 0.64rem;
  }

  .automation-rule-list {
    padding: 0 10px 10px;
  }

  .automation-rule {
    padding: 9px;
  }
}

@media (max-width: 768px) {
  .how-steps       { flex-direction: column; align-items: stretch; gap: 32px; }
  .how-step        { padding: 0; text-align: left; display: flex; gap: 16px; align-items: flex-start; }
  .how-step__num   { font-size: 2rem; min-width: 44px; }
  .how-step__icon  { display: none; }
  .how-step__arrow { display: none; }

  .demo-tab        { font-size: 0.78rem; padding: 12px 8px; }
  .demo-panel      { padding: 18px 16px; }

  .stats-grid      { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

@media (max-width: 540px) {
  .hero-preview {
    margin-top: 26px;
    border-radius: 14px;
  }

  .hero-preview__bar {
    border-radius: 14px 14px 0 0;
    padding: 10px 11px;
  }

  .hero-preview__url {
    height: 28px;
    font-size: 0.68rem;
    padding: 0 8px;
  }

  .hero-preview__body {
    border-radius: 0 0 14px 14px;
    padding: 8px;
  }

  .price-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .price-forecast-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .chart-shell {
    margin: 0 10px;
    padding: 8px 8px 6px;
  }

  .price-sparkline {
    height: 124px;
  }

  .price-sparkline text {
    font-size: 8px;
  }

  .product-card__head--automation {
    gap: 6px;
  }

  .automation-head-controls {
    width: 100%;
    justify-content: space-between;
    gap: 5px;
  }

  .automation-cycle {
    padding: 3px 7px;
    gap: 5px;
  }

  .automation-cycle span {
    font-size: 0.52rem;
  }

  .automation-cycle strong {
    font-size: 0.74rem;
  }

  .automation-master {
    padding: 3px 6px;
    gap: 5px;
  }

  .automation-master__label {
    font-size: 0.5rem;
  }

  .automation-master__switch {
    width: 26px;
    height: 15px;
  }

  .automation-master__switch i {
    width: 11px;
    height: 11px;
  }

  .automation-rule {
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 7px;
  }

  .automation-rule__content strong {
    font-size: 0.96rem;
  }

  .automation-rule__content p {
    margin: 3px 0 7px;
    font-size: 0.74rem;
  }

  .rule-decision {
    gap: 5px;
    padding: 3px 6px;
  }

  .rule-decision__name {
    font-size: 0.56rem;
  }

  .rule-decision__state {
    font-size: 0.55rem;
    padding: 1px 5px;
  }

  .automation-master__state {
    font-size: 0.58rem;
  }

  .weather-toolbar {
    margin: 6px 8px 0;
    gap: 6px;
  }

  .weather-location-pill {
    padding: 4px 7px;
    font-size: 0.64rem;
  }

  .weather-range {
    font-size: 0.6rem;
    gap: 5px;
  }

  .weather-range__track {
    width: 44px;
    height: 5px;
  }

  .weather-range__track i {
    width: 10px;
    height: 10px;
    top: -3px;
    left: 22px;
  }

  .weather-now {
    margin: 6px 8px;
    padding: 8px;
    gap: 2px;
  }

  .weather-now strong {
    font-size: 1.24rem;
  }

  .weather-now__cond {
    font-size: 0.71rem;
  }

  .weather-now__place {
    font-size: 0.66rem;
  }

  .weather-now span {
    font-size: 0.68rem;
  }

  .weather-now__meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px 6px;
  }

  .weather-now__meta span {
    font-size: 0.58rem;
  }

  .weather-cards {
    padding: 0 8px 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .weather-card {
    padding: 7px 6px 5px;
  }

  .weather-card h4 {
    font-size: 0.65rem;
  }

  .weather-card p {
    font-size: 0.71rem;
  }

  .weather-card__temps {
    font-size: 0.6rem;
  }

  .weather-card__emoji {
    font-size: 0.95rem;
  }

  .wbadge {
    font-size: 0.55rem;
    padding: 1px 4px;
  }

  .price-summary {
    padding: 8px;
    gap: 6px;
  }

  .price-kpi {
    padding: 6px;
  }

  .price-kpi span {
    font-size: 0.56rem;
  }

  .price-kpi strong {
    font-size: 0.9rem;
  }

  .price-forecast-row {
    margin: 0 8px 6px;
    gap: 5px;
  }

  .price-forecast-row span {
    padding: 5px 2px;
    font-size: 0.62rem;
  }

  .chart-shell {
    margin: 0 8px;
    padding: 6px 7px 5px;
  }

  .price-footer {
    padding: 6px 8px 8px;
    gap: 6px;
    font-size: 0.64rem;
  }

  .chart-tooltip {
    min-width: 138px;
    padding: 6px 7px;
  }

  .hero-toast {
    right: 10px;
    left: 10px;
    bottom: 10px;
    max-width: none;
    font-size: 0.75rem;
  }

  .rule-builder__chips { flex-direction: column; }
  .rule-actions { flex-direction: column; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
}

/* ============================================================
   BRAND LOGO WRAPPER / SOON BADGE
   ============================================================ */
.brand-logo-wrap {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  vertical-align: middle;
}
.brand-logo-wrap--soon .brand-logo {
  opacity: 0.35;
  filter: grayscale(1);
}
.brand-soon {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #c9daed;
  background: rgba(88, 107, 129, 0.7);
  padding: 1px 5px;
  border-radius: 4px;
  white-space: nowrap;
}

/* ============================================================
   NAV LOGO IMAGE (replaces text icon)
   ============================================================ */
.land-nav__logo-img {
  width: 32px;
  height: 32px;
  border-radius: 0;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

/* ============================================================
   BRAND STRIP — LOGO IMAGES
   ============================================================ */
.brand-logo {
  display: inline-block;
  vertical-align: middle;
  opacity: 0.88;
  width: auto;
}
.brand-logo--foxess    { height: 30px; }
.brand-logo--alphaess  { height: 20px; }
.brand-logo--sigenergy { height: 18px; }
.brand-logo--sungrow   { height: 22px; }

/* ============================================================
   PRICING — COMMUNITY SINGLE-CARD LAYOUT
   ============================================================ */
.pricing-grid--single {
  display: flex;
  justify-content: center;
  max-width: 860px;
  margin: 0 auto;
}
.pricing-grid--single .pricing-card {
  max-width: 520px;
  width: 100%;
}

/* Community card — green accent */
.pricing-card--community {
  border-color: #34d399;
  box-shadow: 0 0 0 4px rgba(52,211,153,.1), var(--land-shadow);
}
.pricing-card--community:hover {
  box-shadow: 0 0 0 4px rgba(52,211,153,.18), var(--land-shadow-lg);
}

/* Community badge */
.pricing-badge--community {
  background: #34d399;
  color: #0d2d1d;
}

/* Free price display */
.pricing-card__price--free {
  font-size: 3rem;
  font-weight: 800;
  color: var(--land-text);
  line-height: 1;
  margin-bottom: 4px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.pricing-card__price-sub {
  font-size: 1rem;
  font-weight: 500;
  color: var(--land-text-muted);
  letter-spacing: 0;
  text-transform: lowercase;
}

/* Spots progress bar */
.pricing-spots {
  margin: 20px 0 16px;
}
.pricing-spots__label {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--land-text-muted);
  margin-bottom: 6px;
}
.pricing-spots__count {
  color: #2da44e;
  font-weight: 600;
}
.pricing-spots__bar {
  height: 6px;
  background: var(--land-border);
  border-radius: 100px;
  overflow: hidden;
}
.pricing-spots__fill {
  height: 100%;
  background: linear-gradient(90deg, #34d399, #38bdf8);
  border-radius: 100px;
}

/* Community note below pricing card */
.pricing-community-note {
  text-align: center;
  margin-top: 32px;
  font-size: 0.95rem;
  color: var(--land-text-muted);
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}
.pricing-community-note strong {
  color: var(--land-text);
}

/* Features grid — 4 columns at large viewport */
@media (min-width: 1100px) {
  .tools-grid { grid-template-columns: repeat(4, 1fr); }
  .features-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.land-testimonials {
  background: var(--land-bg-alt);
  padding: 80px 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.testimonial-card {
  background: var(--land-white);
  border: 1px solid var(--land-border);
  border-radius: 12px;
  padding: 28px 24px 22px;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: box-shadow 0.18s, transform 0.18s;
  position: relative;
}
.testimonial-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--land-shadow);
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  left: 20px;
  font-size: 3rem;
  line-height: 1;
  color: var(--land-accent);
  opacity: 0.25;
  font-family: Georgia, serif;
  pointer-events: none;
}

.testimonial-card__quote {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--land-text);
  margin: 0 0 20px;
  padding-top: 12px;
}

.testimonial-card__attr {
  display: none;
  border-top: 1px solid var(--land-border);
  padding-top: 14px;
}

.testimonial-card__name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--land-text);
}

.testimonial-card__source {
  font-size: 0.75rem;
  color: var(--land-text-muted);
}

@media (max-width: 900px) {
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}

/* ── Screenshot carousel ─────────────────────────────── */
.sc-carousel {
  position: relative;
  max-width: 960px;
  margin: 48px auto 0;
  border-radius: 14px;
  overflow: hidden;
  background: #0d1117;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .40);
  line-height: 0; /* kill inline-block gap under img */
}

.sc-track-wrap {
  overflow: hidden;
  border-radius: 14px;
  height: auto;
}

.sc-track {
  position: relative;
  height: auto;
}

.sc-slide {
  position: relative;
  inset: auto;
  height: auto;
  display: none;
  align-items: center;
  justify-content: center;
  background: #0d1117;
}

.sc-slide.is-active {
  display: flex;
}

.sc-slide picture {
  display: block;
}

.sc-slide img {
  max-width: 100%;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 8px;
}

.sc-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, .55);
  border: 1px solid rgba(255, 255, 255, .18);
  color: #fff;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, border-color .2s;
  z-index: 2;
  line-height: 1;
}
.sc-btn:hover {
  background: rgba(88, 166, 255, .75);
  border-color: transparent;
}
.sc-btn--prev { left: 14px; }
.sc-btn--next { right: 14px; }

.sc-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 20px;
}

.sc-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(88, 166, 255, .22);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .2s, transform .2s;
}
.sc-dot.is-active {
  background: var(--land-accent);
  transform: scale(1.35);
}
.sc-dot:hover:not(.is-active) {
  background: rgba(88, 166, 255, .5);
}

.sc-caption {
  text-align: center;
  margin-top: 14px;
  font-size: .88rem;
  color: var(--land-text-muted, #6e7681);
  min-height: 1.4em;
  line-height: 1.4;
}

@media (max-width: 600px) {
  .sc-btn { width: 36px; height: 36px; font-size: 15px; }
  .sc-btn--prev { left: 8px; }
  .sc-btn--next { right: 8px; }
}
