:root {
  --navy: #0b2443;
  --navy-2: #14375d;
  --blue: #2475ff;
  --cyan: #16b6c9;
  --green: #19ad5d;
  --green-dark: #0b7e42;
  --lime: #70d667;
  --orange: #f5a51c;
  --purple: #7c5cff;
  --ink: #12213a;
  --muted: #6f8095;
  --bg: #f5f8fc;
  --surface: #ffffff;
  --line: #e4ebf3;
  --shadow-sm: 0 12px 30px rgba(31, 60, 100, 0.08);
  --shadow-lg: 0 34px 90px rgba(31, 60, 100, 0.16);
  --radius: 26px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 10%, rgba(50, 205, 134, 0.08), transparent 28%),
    radial-gradient(circle at 92% 6%, rgba(36, 117, 255, 0.09), transparent 30%),
    #fff;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { font: inherit; }

.container {
  width: min(1240px, 92vw);
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(228,235,243,.8);
}

.navbar {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 24px;
  letter-spacing: -0.7px;
}

.brand img {
  width: 44px;
  height: 44px;
}

.brand-pulse { color: var(--green); }

.nav-links {
  display: flex;
  gap: 28px;
  color: #3d516b;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a:hover { color: var(--green); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 20px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 850;
  transition: transform .2s ease, box-shadow .2s ease;
}

.button:hover { transform: translateY(-2px); }

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  box-shadow: 0 13px 30px rgba(25,173,93,.24);
}

.button-outline {
  color: var(--blue);
  background: rgba(255,255,255,.88);
  border-color: #bcd1f3;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 50px;
}

.hero::before {
  content: "";
  position: absolute;
  width: 720px;
  height: 720px;
  right: -280px;
  top: -260px;
  background: radial-gradient(circle, rgba(36,117,255,.12), transparent 68%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  left: -260px;
  bottom: -320px;
  background: radial-gradient(circle, rgba(25,173,93,.12), transparent 68%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.hero-copy { padding: 18px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border-radius: 999px;
  color: #167f45;
  background: #ebf9f0;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 24px;
}

.eyebrow .live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #23c267;
  box-shadow: 0 0 0 5px rgba(35,194,103,.13);
}

.hero h1 {
  margin: 0 0 24px;
  font-size: clamp(50px, 6vw, 80px);
  line-height: .96;
  letter-spacing: -3.7px;
  color: var(--navy);
}

.hero h1 .accent {
  color: var(--green);
}

.hero-lead {
  margin: 0;
  max-width: 620px;
  font-size: 19px;
  line-height: 1.7;
  color: #51647d;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.hero-proof {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.proof-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  background: rgba(255,255,255,.82);
  border: 1px solid #e1e9f2;
  border-radius: 999px;
  color: #4c6078;
  font-size: 12px;
  font-weight: 800;
}

.proof-pill::before {
  content: "✓";
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eaf8ef;
  color: var(--green);
  font-size: 12px;
}

/* Hero visual */
.hero-visual {
  position: relative;
  min-height: 590px;
}

.hero-dashboard {
  position: absolute;
  inset: 45px 0 0 34px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dbe5ef;
  border-radius: 30px;
  box-shadow: var(--shadow-lg);
}

.browser-toolbar {
  height: 44px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 16px;
  background: #f7f9fc;
  border-bottom: 1px solid #e7edf3;
}

.browser-toolbar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.browser-toolbar i:nth-child(1) { background:#f87171; }
.browser-toolbar i:nth-child(2) { background:#fbbf24; }
.browser-toolbar i:nth-child(3) { background:#34d399; }

.hero-dashboard img {
  width: 100%;
  height: auto;
}

.float-card {
  position: absolute;
  z-index: 4;
  min-width: 180px;
  padding: 16px 17px;
  background: rgba(255,255,255,.96);
  border: 1px solid #dfe7ef;
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(31,60,100,.16);
}

.float-card strong {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
}

.float-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.float-card.live {
  left: 0;
  top: 0;
}

.float-card.ai {
  right: -6px;
  bottom: 28px;
  width: 232px;
  background: linear-gradient(135deg, #f0fff4, #f1f7ff);
}

.float-card .metric {
  color: var(--green);
  font-size: 27px;
  font-weight: 900;
  margin: 2px 0 4px;
}

/* Visual strip */
.visual-strip {
  padding: 8px 0 0;
}

.visual-strip-grid {
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: 24px;
}

.visual-card {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.visual-card.house {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(8,37,67,.96) 0%, rgba(8,37,67,.72) 38%, rgba(8,37,67,.08) 72%),
    url("../images/home-energy-visual.png") center / cover no-repeat;
}

.visual-card.mascot {
  background:
    radial-gradient(circle at 70% 30%, rgba(25,173,93,.22), transparent 38%),
    radial-gradient(circle at 30% 65%, rgba(36,117,255,.16), transparent 42%),
    #f8fbff;
}

.visual-copy {
  position: absolute;
  z-index: 2;
  left: 32px;
  top: 30px;
  max-width: 390px;
}

.visual-copy small {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 900;
  color: #70e399;
}

.visual-copy h3 {
  font-size: 31px;
  line-height: 1.08;
  margin: 10px 0 12px;
}

.visual-copy p {
  margin: 0;
  color: rgba(255,255,255,.78);
  line-height: 1.6;
  font-size: 14px;
}

.mascot-img {
  position: absolute;
  right: -40px;
  bottom: -46px;
  width: 72%;
  filter: saturate(.94);
}

.mascot-copy {
  position: absolute;
  left: 30px;
  top: 30px;
  max-width: 300px;
}

.mascot-copy small {
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 900;
}

.mascot-copy h3 {
  margin: 10px 0 10px;
  font-size: 30px;
  line-height: 1.08;
}

.mascot-copy p {
  color: var(--muted);
  line-height: 1.55;
  font-size: 14px;
}

/* Sections */
section { padding: 86px 0; }

.section-soft { background:#f7faff; }

.section-heading {
  max-width: 800px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-kicker {
  color: var(--green);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 900;
}

.section-heading h2 {
  margin: 11px 0 14px;
  font-size: clamp(36px,4vw,54px);
  line-height: 1.07;
  letter-spacing: -2px;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

/* Bento */
.bento {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  grid-template-areas:
    "problem integration"
    "ai integration";
  gap: 20px;
}

.bento-card {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 25px;
  box-shadow: 0 12px 34px rgba(31,60,100,.06);
}

.bento-card h3 {
  margin: 0 0 10px;
  font-size: 24px;
}

.bento-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.bento-card.problem { grid-area: problem; }
.bento-card.ai { grid-area: ai; background:linear-gradient(135deg,#0d2b4d,#143d66); color:#fff; }
.bento-card.ai p { color:#c8d7e7; }
.bento-card.integration { grid-area: integration; min-height: 520px; padding: 0; }

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

.bento-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #eef8f1;
  font-size: 25px;
  margin-bottom: 20px;
}

.ai .bento-icon {
  background: rgba(255,255,255,.1);
}

/* MVP */
.mvp-layout {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 24px;
  align-items: start;
}

.mvp-tabs {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mvp-tab {
  padding: 15px 16px;
  border: 0;
  border-radius: 14px;
  text-align: left;
  color: #5f7188;
  background: #f2f6fb;
  cursor: pointer;
  font-weight: 850;
}

.mvp-tab.is-active {
  color: var(--blue);
  background: #e9f1ff;
}

.mvp-tab small {
  display:block;
  margin-top:4px;
  color:#8a99aa;
  font-size:11px;
  font-weight:650;
}

.mvp-panel { display:none; }
.mvp-panel.is-active { display:block; }

.feature-status {
  display:inline-flex;
  gap:7px;
  align-items:center;
  padding:7px 11px;
  border-radius:999px;
  margin-bottom:12px;
  font-size:11px;
  font-weight:850;
}

.feature-status::before {
  content:"";
  width:7px;
  height:7px;
  border-radius:50%;
  background:currentColor;
}

.feature-status-live {
  color:#178747;
  background:#eaf8ef;
}

.feature-status-development {
  color:#9a6300;
  background:#fff4dd;
}

.media-frame {
  overflow:hidden;
  padding: 11px;
  background:#fff;
  border:1px solid #dce5ef;
  border-radius:24px;
  box-shadow:var(--shadow-lg);
}

.media-frame img {
  width:100%;
  border-radius:15px;
}

.media-caption {
  max-width:850px;
  margin:14px 2px 0;
  color:var(--muted);
  font-size:13px;
  line-height:1.55;
}

/* Steps */
.steps {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}

.step {
  position:relative;
  min-height:235px;
  padding:25px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:22px;
  overflow:hidden;
}

.step::after {
  content:"";
  position:absolute;
  width:110px;
  height:110px;
  border-radius:50%;
  right:-46px;
  bottom:-48px;
  background:linear-gradient(135deg,rgba(36,117,255,.10),rgba(25,173,93,.12));
}

.step-number {
  display:inline-grid;
  place-items:center;
  width:38px;
  height:38px;
  border-radius:12px;
  background:#edf3ff;
  color:var(--blue);
  font-size:12px;
  font-weight:900;
}

.step h3 {
  margin:18px 0 9px;
  font-size:21px;
}

.step p {
  margin:0;
  color:var(--muted);
  font-size:14px;
  line-height:1.6;
}

/* Progress & partners */
.progress-grid,
.partner-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px;
}

.progress-card,
.partner-card {
  border-radius:26px;
  padding:30px;
  border:1px solid var(--line);
  background:#fff;
}

.progress-card.dark {
  background:linear-gradient(135deg,#0c2b4e,#143e6a);
  color:#fff;
  border-color:transparent;
}

.progress-card.dark p { color:#c9d7e7; }
.progress-card p,
.partner-card p {
  color:var(--muted);
  line-height:1.65;
}

.progress-card h3,
.partner-card h3 {
  margin:0 0 10px;
  font-size:27px;
}

.chips {
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin-top:20px;
}

.chip {
  padding:8px 11px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
  background:#eef8f1;
  color:#228548;
}

.dark .chip {
  color:#fff;
  background:rgba(255,255,255,.1);
}

.partner-card.mentor {
  background:linear-gradient(135deg,#effbf3,#eff6ff);
  border-color:#d0e6d8;
}

.partner-list {
  padding-left:20px;
  color:#4d6076;
  line-height:1.9;
}

.cta {
  margin-top:38px;
  padding:44px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:26px;
  border-radius:30px;
  color:#fff;
  background:
    radial-gradient(circle at 80% 20%,rgba(72,205,121,.25),transparent 34%),
    linear-gradient(135deg,#0c2948,#123d68 64%,#0c7e43);
}

.cta h3 {
  margin:0 0 8px;
  font-size:36px;
}

.cta p {
  margin:0;
  color:#d3deeb;
  line-height:1.6;
}

.cta-actions {
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.cta .button-outline {
  color:#fff;
  border-color:rgba(255,255,255,.38);
  background:transparent;
}

.site-footer {
  padding:44px 0 54px;
  border-top:1px solid #e8edf2;
}

.footer-grid {
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:30px;
}

.footer-note {
  max-width:760px;
  color:#7c8b9d;
  font-size:12px;
  line-height:1.65;
}

@media(max-width:980px){
  .nav-links{display:none}
  .hero-grid,
  .visual-strip-grid,
  .progress-grid,
  .partner-grid{grid-template-columns:1fr}
  .hero-visual{min-height:500px}
  .bento{
    grid-template-columns:1fr;
    grid-template-areas:"problem" "ai" "integration";
  }
  .steps{grid-template-columns:1fr 1fr}
  .mvp-layout{grid-template-columns:1fr}
  .mvp-tabs{
    position:static;
    display:grid;
    grid-template-columns:repeat(4,1fr);
  }
  .mvp-tab{text-align:center}
}

@media(max-width:650px){
  .hero{padding-top:48px}
  .hero h1{letter-spacing:-2px}
  .hero-visual{min-height:auto}
  .hero-dashboard{position:relative;inset:auto}
  .float-card{display:none}
  .visual-card{min-height:300px}
  .steps,
  .mvp-tabs{grid-template-columns:1fr}
  .cta,
  .footer-grid{flex-direction:column;align-items:flex-start}
}
