/* Energy Rate Finder — cool navy depths, emerald savings, electric amber spark.
   Trustworthy and energetic; premium dark, not corporate-SaaS bright. */

:root {
  --bg: #070b14;
  --bg-2: #0a1120;
  --panel: rgba(16, 24, 40, 0.72);
  --panel-2: #0d1526;
  --edge: rgba(52, 211, 153, 0.16);
  --ink: #dbe4f0;
  --bright: #f4f8fc;
  --muted: #8da2bd;
  --muted-strong: #c2cfe0;

  --primary: #10b981;
  --primary-bright: #34d399;
  --primary-deep: #059669;
  --primary-line: rgba(16, 185, 129, 0.35);
  --primary-faint: rgba(16, 185, 129, 0.12);

  --accent: #f59e0b;
  --accent-bright: #fbbf24;
  --accent-line: rgba(245, 158, 11, 0.42);
  --accent-faint: rgba(245, 158, 11, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  min-height: 100%;
  background:
    radial-gradient(ellipse 70% 55% at 12% -5%, rgba(16, 185, 129, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 50% at 92% 10%, rgba(245, 158, 11, 0.1), transparent 52%),
    radial-gradient(ellipse 80% 60% at 85% 100%, rgba(16, 185, 129, 0.06), transparent 55%),
    linear-gradient(165deg, #060a12 0%, #0a1020 48%, #070d18 100%);
  background-color: var(--bg);
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  min-height: 100vh;
  line-height: 1.6;
  background: transparent;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(52, 211, 153, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(52, 211, 153, 0.04) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: radial-gradient(circle at 50% 30%, black 20%, transparent 80%);
  mask-image: radial-gradient(circle at 50% 30%, black 20%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

.wrap {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Header ------------------------------------------------------------- */

header.site {
  padding: 26px 0 8px;
}

header.site .bar {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.mark {
  width: 44px;
  height: 44px;
  flex: none;
  display: inline-flex;
  filter: drop-shadow(0 0 18px rgba(245, 158, 11, 0.4));
}

.wordmark {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.13em;
  color: var(--bright);
  text-decoration: none;
}

.wordmark span {
  color: var(--primary-bright);
}

header.site nav {
  margin-left: auto;
  display: flex;
  gap: 22px;
}

header.site nav a {
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: color 0.15s ease, text-shadow 0.15s ease;
}

header.site nav a:hover {
  color: var(--primary-bright);
  text-shadow: 0 0 16px var(--primary-line);
}

/* --- Hero -------------------------------------------------------------- */

.hero {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 44px;
  align-items: center;
  padding: 52px 0 30px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 12px;
  font-weight: 800;
  color: var(--accent-bright);
  margin: 0 0 14px;
}

.hero h1 {
  font-size: clamp(2.5rem, 5.2vw, 3.9rem);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 8px;
  color: var(--bright);
}

.glow {
  color: var(--primary-bright);
  text-shadow: 0 0 42px rgba(52, 211, 153, 0.5);
}

.hero .sub,
.sub {
  font-size: 1.13rem;
  line-height: 1.65;
  color: var(--muted-strong);
  max-width: 560px;
  margin: 18px 0 0;
}

.sub strong {
  color: var(--bright);
  font-weight: 700;
}

.sub em {
  font-style: normal;
  color: var(--primary-bright);
}

.hero-art {
  display: flex;
  justify-content: center;
}

.hero-art svg {
  width: 100%;
  height: auto;
  max-width: 480px;
  filter: drop-shadow(0 26px 50px rgba(2, 8, 20, 0.6));
}

/* --- Waitlist form ----------------------------------------------------- */

.waitlist {
  margin-top: 30px;
  max-width: 580px;
}

.wl-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.waitlist input[type="email"] {
  flex: 1 1 200px;
  min-width: 0;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid var(--edge);
  background: rgba(7, 12, 22, 0.72);
  color: var(--bright);
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.waitlist select {
  flex: 0 1 150px;
  padding: 13px 14px;
  border-radius: 12px;
  border: 1px solid var(--edge);
  background: rgba(7, 12, 22, 0.72);
  color: var(--muted-strong);
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
}

.waitlist input::placeholder {
  color: var(--muted);
}

.waitlist input:focus,
.waitlist select:focus {
  outline: none;
  border-color: var(--primary-line);
  box-shadow: 0 0 0 3px var(--primary-faint);
}

.wl-fine {
  color: var(--muted);
  font-size: 13px;
  margin: 12px 2px 0;
}

.wl-msg {
  font-size: 14px;
  font-weight: 700;
  margin: 12px 2px 0;
  min-height: 1px;
}

.wl-msg.ok {
  color: var(--primary-bright);
}

.wl-msg.err {
  color: #fca5a5;
}

/* --- Buttons ----------------------------------------------------------- */

.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.96rem;
  font-family: inherit;
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--primary-line);
  background: rgba(15, 23, 42, 0.6);
  cursor: pointer;
  transition: transform 0.14s ease, box-shadow 0.14s ease, filter 0.14s ease;
}

.btn.primary {
  background: linear-gradient(135deg, var(--primary-deep), var(--primary-bright));
  border-color: transparent;
  color: #04231a;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.34);
  flex: 0 0 auto;
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(16, 185, 129, 0.46);
  filter: brightness(1.04);
}

.btn:disabled {
  opacity: 0.6;
  cursor: default;
  transform: none;
}

/* --- Trust strip ------------------------------------------------------- */

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
  justify-content: center;
  margin: 8px 0 12px;
  padding: 16px 20px;
  border-top: 1px solid var(--edge);
  border-bottom: 1px solid var(--edge);
  color: var(--muted);
  font-size: 14px;
}

.trust-strip strong {
  color: var(--primary-bright);
  font-weight: 800;
}

.trust-strip .dot {
  color: var(--accent);
  opacity: 0.6;
}

/* --- Feature rows ------------------------------------------------------ */

.feature {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 38px;
  align-items: center;
  margin: 56px 0;
}

.feature:nth-of-type(even) .shot {
  order: -1;
}

.feature h2 {
  margin: 0 0 14px;
  font-size: clamp(1.5rem, 2.6vw, 1.85rem);
  line-height: 1.2;
  color: var(--bright);
  letter-spacing: -0.01em;
}

.feature p {
  color: var(--muted-strong);
  margin: 0 0 16px;
}

.feature p em {
  font-style: normal;
  color: var(--primary-bright);
}

.feature p strong {
  color: var(--bright);
}

.feature ul {
  color: var(--muted-strong);
  margin: 0;
  padding-left: 20px;
}

.feature li {
  margin: 9px 0;
}

.feature li::marker {
  color: var(--accent);
}

.feature em {
  font-style: normal;
  color: var(--accent-bright);
}

.shot {
  background: var(--panel);
  border: 1px solid var(--edge);
  border-radius: 18px;
  box-shadow:
    0 0 40px rgba(16, 185, 129, 0.08),
    0 20px 46px rgba(2, 8, 20, 0.55);
  padding: 16px;
  display: flex;
  justify-content: center;
}

.shot svg {
  width: 100%;
  height: auto;
}

/* --- Panels ------------------------------------------------------------ */

.panel {
  background: var(--panel);
  border: 1px solid var(--edge);
  border-radius: 18px;
  box-shadow:
    0 0 0 1px rgba(8, 14, 26, 0.5),
    0 20px 48px rgba(2, 8, 20, 0.5);
  padding: 36px;
  margin: 30px 0;
  backdrop-filter: blur(5px);
}

.panel h2 {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  color: var(--bright);
  letter-spacing: -0.01em;
}

.panel > p {
  color: var(--muted-strong);
  margin: 0 0 18px;
  max-width: 640px;
}

.states .state-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.state {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted-strong);
  background: rgba(7, 12, 22, 0.55);
  border: 1px solid var(--edge);
}

.state small {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #04231a;
  background: var(--primary-bright);
  padding: 2px 7px;
  border-radius: 999px;
}

.state.live {
  color: var(--bright);
  border-color: var(--primary-line);
  box-shadow: 0 0 22px rgba(16, 185, 129, 0.16);
}

.state.more {
  color: var(--accent-bright);
  border-style: dashed;
  border-color: var(--accent-line);
  background: transparent;
}

.join {
  text-align: center;
  background:
    radial-gradient(ellipse 60% 100% at 50% 0%, rgba(16, 185, 129, 0.12), transparent 70%),
    var(--panel);
}

.join > p {
  margin-left: auto;
  margin-right: auto;
}

.join .waitlist {
  margin-left: auto;
  margin-right: auto;
}

.join .wl-row {
  justify-content: center;
}

.join .wl-fine,
.join .wl-msg {
  text-align: center;
}

/* --- SVG text helpers -------------------------------------------------- */

.svg-h {
  font: 700 16px "Segoe UI", system-ui, sans-serif;
}
.svg-s {
  font: 600 12px "Segoe UI", system-ui, sans-serif;
}
.svg-xs {
  font: 600 11px "Segoe UI", system-ui, sans-serif;
}
.svg-row {
  font: 700 13px "Segoe UI", system-ui, sans-serif;
}
.svg-big {
  font: 800 18px "Segoe UI", system-ui, sans-serif;
}

/* --- Footer ------------------------------------------------------------ */

footer.site {
  margin: 60px 0 36px;
  padding-top: 20px;
  border-top: 1px solid var(--edge);
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
}

footer.site a {
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.15s ease;
}

footer.site a:hover {
  color: var(--primary-bright);
}

footer.site .spacer {
  margin-left: auto;
}

/* --- Responsive -------------------------------------------------------- */

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 36px;
  }
  .hero-art {
    order: -1;
  }
  .hero-art svg {
    max-width: 380px;
  }
  .feature {
    grid-template-columns: 1fr;
    gap: 22px;
    margin: 44px 0;
  }
  .feature:nth-of-type(even) .shot {
    order: 0;
  }
  .panel {
    padding: 26px;
  }
}

@media (max-width: 480px) {
  .btn.primary {
    width: 100%;
  }
  .waitlist select {
    flex: 1 1 100%;
  }
}

/* --- Early access pill + platform chips -------------------------------- */

.ea-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-bright);
  background: var(--accent-faint);
  border: 1px solid var(--accent-line);
  margin: 0 0 16px;
}

.ea-pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-bright);
  animation: ea-pulse 2s infinite;
}

@keyframes ea-pulse {
  0% {
    box-shadow: 0 0 0 0 var(--accent-line);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(0, 0, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  }
}

.platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 2px 0;
}

.join .platforms {
  justify-content: center;
}

.plat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted-strong);
  background: rgba(7, 12, 22, 0.5);
  border: 1px solid var(--edge);
}

.plat svg {
  width: 15px;
  height: 15px;
  color: var(--accent-bright);
}

.wl-fine .soon {
  color: var(--accent-bright);
  font-weight: 700;
}

header.site nav a.nav-login {
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid var(--primary-line);
  color: var(--primary-bright);
  background: var(--primary-faint);
  font-weight: 800;
}

header.site nav a.nav-login:hover {
  background: var(--primary-line);
  color: var(--bright);
  text-shadow: none;
}

.back-home {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--muted);
  text-decoration: none;
  padding: 2px 0 8px;
  transition: color 0.15s ease;
}

.back-home:hover {
  color: var(--primary-bright);
}
