/* === TOKENS === */
:root {
  --bg: #0c0e12;
  --bg-2: #1a2030;
  --fg: #f8fafc;
  --fg-muted: #7a8a9e;
  --accent: #1ae6d5;
  --accent-dim: rgba(26, 230, 213, 0.12);
  --accent-glow: rgba(26, 230, 213, 0.06);
  --border: #242d3d;
  --card: #161b24;
  --font-display: 'Sora', sans-serif;
  --font-body: 'Sora', sans-serif;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #1e2d4a; border-radius: 3px; }

/* === NAV === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(36, 45, 61, 0.5);
  backdrop-filter: blur(24px);
  background: rgba(12, 14, 18, 0.85);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--fg);
  letter-spacing: -0.01em;
}
.nav-links { display: flex; align-items: center; gap: 16px; }
.nav-tag {
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.8;
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 120px 24px 80px;
  max-width: 1100px;
  margin: 0 auto;
  gap: 60px;
  position: relative;
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(232,234,240,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232,234,240,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 40%, transparent 100%);
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.hero-glow-1 {
  width: 500px; height: 500px;
  top: -100px; right: 0;
  background: radial-gradient(circle, rgba(26,230,213,0.08) 0%, transparent 70%);
}
.hero-glow-2 {
  width: 300px; height: 300px;
  bottom: 0; left: 0;
  background: radial-gradient(circle, rgba(59,130,246,0.05) 0%, transparent 70%);
}

/* Floor plan visualization */
.hero-floor-plan {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 420px;
  border: 1px solid rgba(26,230,213,0.15);
  border-radius: 12px;
  background: rgba(22,27,36,0.6);
  backdrop-filter: blur(8px);
  overflow: hidden;
}
.fp-zone {
  position: absolute;
  border-radius: 4px;
}
.fp-zone-1 { top: 15%; left: 15%; width: 35%; height: 40%; background: rgba(26,230,213,0.15); border: 1px solid rgba(26,230,213,0.3); }
.fp-zone-2 { top: 15%; right: 15%; width: 35%; height: 40%; background: rgba(26,230,213,0.07); border: 1px solid rgba(26,230,213,0.2); }
.fp-zone-3 { bottom: 15%; left: 50%; transform: translateX(-50%); width: 50%; height: 25%; background: rgba(26,230,213,0.05); border: 1px solid rgba(26,230,213,0.15); }
.fp-label {
  position: absolute;
  top: 8px; left: 8px;
  font-size: 9px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(26,230,213,0.5);
}
.fp-dot {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(26,230,213,0.6);
  box-shadow: 0 0 12px rgba(26,230,213,0.5);
}
.dot-1 { top: 25%; left: 30%; }
.dot-2 { top: 22%; left: 58%; }
.dot-3 { top: 38%; left: 28%; }
.dot-4 { top: 35%; left: 62%; }
.dot-5 { bottom: 28%; left: 48%; width: 14px; height: 14px; background: rgba(26,230,213,0.9); }
.fp-path {
  position: absolute;
  background: rgba(26,230,213,0.2);
  border-radius: 2px;
}
.fp-path-1 {
  width: 2px; height: 80px;
  top: 32%; left: 34%;
  transform: rotate(-20deg);
  transform-origin: top center;
}
.fp-path-2 {
  width: 50px; height: 2px;
  top: 45%; left: 30%;
}
.fp-legend {
  position: absolute;
  bottom: 10px; right: 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  color: rgba(232,234,240,0.4);
  font-family: var(--font-body);
}
.legend-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
}
.dot-warm { background: rgba(26,230,213,0.8); }
.dot-cool { background: rgba(59,130,246,0.5); }
.dot-line { background: rgba(26,230,213,0.3); border-radius: 1px; width: 10px; height: 3px; }

.hero-content {
  position: relative;
  z-index: 1;
}
.hero-eyebrow { margin-bottom: 20px; }
.eyebrow-pill {
  display: inline-block;
  padding: 6px 14px;
  background: var(--accent-dim);
  border: 1px solid rgba(26,230,213,0.2);
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--accent);
  text-transform: uppercase;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.65;
  max-width: 480px;
  margin-bottom: 28px;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tag {
  padding: 5px 12px;
  background: var(--accent-glow);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--fg-muted);
  letter-spacing: 0.02em;
}

/* === HOW === */
.how {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 100px 24px;
}
.how-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 70px;
}
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-label.light { color: rgba(26,230,213,0.7); }
.how-header h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.how-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
  gap: 0;
}
.step {
  text-align: center;
  max-width: 240px;
}
.step-icon {
  margin: 0 auto 16px;
  width: 60px; height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--fg);
}
.step p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
}
.step-connector {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.3;
  flex-shrink: 0;
}

/* === FEATURES === */
.features {
  padding: 100px 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.features-header {
  max-width: 600px;
  margin-bottom: 60px;
}
.features-header h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover {
  border-color: rgba(26,230,213,0.2);
  transform: translateY(-2px);
}
.feature-icon {
  margin-bottom: 16px;
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border-radius: 10px;
  border: 1px solid rgba(26,230,213,0.15);
}
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--fg);
}
.feature-card p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* === METRICS === */
.metrics {
  position: relative;
  padding: 100px 24px;
  overflow: hidden;
}
.metrics-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--bg-2) 0%, var(--bg) 100%);
}
.metrics-glow {
  position: absolute;
  width: 600px; height: 300px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(26,230,213,0.06) 0%, transparent 70%);
  filter: blur(60px);
}
.metrics-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.metrics-inner .section-label { margin-bottom: 50px; display: block; }
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.metric {
  padding: 32px 20px;
  background: rgba(13,21,38,0.5);
  border: 1px solid var(--border);
}
.metric-value {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}
.metric-desc {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.5;
}

/* === CLOSING === */
.closing {
  padding: 120px 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.closing-content { max-width: 720px; }
.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 28px;
}
.closing p {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}
.closing-vision {
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: rgba(232,234,240,0.3);
  letter-spacing: -0.01em;
}

/* === FOOTER === */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 24px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--fg-muted);
}
.footer-tagline {
  font-size: 13px;
  color: rgba(232,234,240,0.25);
}
.footer-links span {
  font-size: 13px;
  color: rgba(232,234,240,0.3);
  font-weight: 500;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 100px; }
  .hero-floor-plan { max-width: 300px; margin: 0 auto; }
  .how-steps { flex-direction: column; gap: 24px; }
  .step-connector { width: 1px; height: 40px; background: linear-gradient(180deg, transparent, var(--accent), transparent); }
  .features-grid { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .hero-headline { font-size: 28px; }
  .metrics-grid { grid-template-columns: 1fr; }
}