/* Smart UPS: dashboard energi & daya, navy + amber, minim gimmick */
:root{
  --navy-900: #0a1728;
  --navy-800: #10233a;
  --navy-700: #16324d;
  --amber-600: #b45309;
  --amber-500: #d97706;
  --amber-400: #f59e0b;
  --amber-100: #fef3c7;
  --ink: #101826;
  --muted: #57667a;
  --line: #dde4ec;
  --bg: #f5f7fa;
  --panel: #ffffff;
  --good: #16a34a;
  --warn: #dc2626;
  --radius: 10px;
  --shadow: 0 4px 14px rgba(10,23,40,.08);
  --mono: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font: 16px/1.55 ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
}

.container{ max-width: 1120px; margin: 0 auto; padding: 0 20px; }
a{ color: var(--amber-600); }

/* ===== TOPBAR ===== */
.topbar{
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(6px);
  position: sticky; top:0; z-index:20;
}
.topbar-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding: 14px 20px; max-width:1120px; margin:0 auto; gap:16px; flex-wrap:wrap;
}
.brand-mark{ display:flex; align-items:center; gap:10px; text-decoration:none; color:inherit; }
.brand-mark .logo-dot{
  width:32px; height:32px; border-radius:9px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
  display:grid; place-items:center; color: var(--amber-400); font-weight:800; font-size:14px;
  border: 1px solid rgba(245,158,11,.35);
}
.brand-mark .name{ font-weight:800; font-size:16px; letter-spacing:.2px; color: var(--ink); }
.brand-mark .name small{ display:block; font-weight:500; font-size:11px; color:var(--muted); letter-spacing:.4px; text-transform:uppercase; }
.back-link{ font-size:13.5px; color: var(--muted); text-decoration:none; display:inline-flex; align-items:center; gap:6px; }
.back-link:hover{ color: var(--amber-600); }

/* ===== HERO ===== */
.hero{
  padding: 64px 0 52px;
  display:grid; grid-template-columns: 1.1fr .9fr; gap:48px; align-items:center;
}
.hero .eyebrow{ text-transform:uppercase; letter-spacing:.12em; font-size:12px; font-weight:700; color: var(--amber-600); margin:0 0 10px; }
.hero h1{ margin:0 0 10px; font-size: clamp(28px, 4vw, 42px); line-height:1.15; letter-spacing:-.01em; }
.hero p.lead{ margin:0 0 22px; color: var(--muted); font-size: 17px; max-width: 62ch; }
.hero-tags{ display:flex; flex-wrap:wrap; gap:8px; margin-bottom:22px; }
.tag{
  font-size:12.5px; font-weight:600; padding:5px 10px; border-radius:999px;
  border:1px solid var(--line); background:#fff; color: var(--navy-800);
}
.hero-cta-row{ display:flex; flex-wrap:wrap; gap:10px; }
.hero-cta-row .btn{ text-decoration:none; }

/* ===== HERO DEVICE MOCKUP: power meter panel ===== */
.hero-device{ display:flex; flex-direction:column; align-items:center; gap:14px; }
.device-panel{
  width:100%; max-width:340px;
  background: linear-gradient(180deg, var(--navy-700), var(--navy-900));
  border-radius: 20px;
  padding: 18px 18px 20px;
  box-shadow: 0 24px 48px rgba(10,23,40,.32), inset 0 1px 0 rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.06);
}
.device-topline{ display:flex; align-items:center; justify-content:space-between; margin-bottom:12px; }
.device-chip{
  font-family: var(--mono); font-size:11px; font-weight:700; color:#ffd9a0;
  background: rgba(255,255,255,.08); padding:3px 8px; border-radius:6px; letter-spacing:.05em;
}
.device-leds{ display:flex; gap:6px; }
.led{ width:8px; height:8px; border-radius:50%; display:inline-block; }
.led-ok{ background:#22c55e; box-shadow:0 0 6px rgba(34,197,94,.8); }
.led-info{ background:#f59e0b; box-shadow:0 0 6px rgba(245,158,11,.8); }

.meter-grid{
  display:grid; grid-template-columns: 1fr 1fr; gap:8px; margin-bottom:12px;
}
.meter-cell{
  background:#0a1420; border-radius:8px; padding:10px 12px;
  box-shadow: inset 0 2px 6px rgba(0,0,0,.4);
}
.meter-label{ font-family: var(--mono); font-size:10px; color:#8fa3b8; letter-spacing:.06em; text-transform:uppercase; }
.meter-value{ font-family: var(--mono); font-size:19px; font-weight:700; color:#ffd9a0; margin-top:2px; }
.meter-value small{ font-size:11px; font-weight:500; color:#c9a877; margin-left:2px; }

.device-bars{ display:flex; align-items:flex-end; gap:4px; height:34px; margin-bottom:14px; padding:0 2px; }
.device-bars i{ flex:1; background: linear-gradient(180deg, var(--amber-400), var(--amber-600)); border-radius:2px; display:block; }

.device-controls{ display:flex; align-items:center; justify-content:space-between; }
.device-status{ display:flex; align-items:center; gap:6px; font-family: var(--mono); font-size:11px; color:#bcd0e0; }
.device-buttons{ display:flex; gap:8px; }
.device-btn{
  font-size:11px; font-weight:700; color:#ffe9c7; background: rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.14); padding:6px 12px; border-radius:7px;
}
.device-caption{ font-size:12.5px; color: var(--muted); text-align:center; max-width:280px; }
.mock-hint{
  font-size:11px; font-weight:700; letter-spacing:.06em; text-transform:uppercase;
  color:#f5c377; background: rgba(245,158,11,.14); border:1px solid rgba(245,158,11,.3);
  padding:2px 8px; border-radius:999px; display:inline-block; margin-bottom:6px;
}

/* ===== SECTION ===== */
.section{ padding: 56px 0; border-top: 1px solid var(--line); }
.section-head{ max-width: 680px; margin: 0 0 28px; }
.section-head .kicker{ font-size:12.5px; font-weight:700; color: var(--amber-600); text-transform:uppercase; letter-spacing:.1em; margin:0 0 8px; }
.section-head h2{ margin:0 0 8px; font-size: clamp(22px,3vw,28px); letter-spacing:-.01em; }
.section-head p{ margin:0; color: var(--muted); font-size:15.5px; }

.checklist{ list-style:none; margin:0; padding:0; display:grid; gap:12px; }
.checklist.grid-2{ grid-template-columns: repeat(2, 1fr); }
.checklist li{ display:flex; align-items:flex-start; gap:10px; font-size:14.5px; color: var(--ink); }
.checklist svg{ flex-shrink:0; width:18px; height:18px; margin-top:2px; stroke: var(--good); fill:none; stroke-width:2.4; stroke-linecap:round; stroke-linejoin:round; }
@media (max-width:640px){ .checklist.grid-2{ grid-template-columns:1fr; } }

.grid-3{ display:grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap:16px; }
.panel{
  background: var(--panel); border:1px solid var(--line); border-radius: var(--radius);
  padding:18px; box-shadow: var(--shadow);
}
.panel .icon-chip{
  width:38px; height:38px; border-radius:9px; margin-bottom:10px;
  background: var(--amber-100); color: var(--amber-600); display:grid; place-items:center;
}
.panel .icon-chip svg{ width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.panel h3{ margin:0 0 6px; font-size:15.5px; }
.panel p{ margin:0; color: var(--muted); font-size:14px; }

.focus-tags{ display:flex; flex-wrap:wrap; gap:8px; }
.focus-tag{
  background: var(--amber-100); color: var(--amber-600); border:1px solid rgba(217,119,6,.25);
  border-radius:999px; padding:6px 12px; font-size:13px; font-weight:700;
}

.status-card{
  background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
  color:#fff; border-radius:16px; padding:26px 28px;
}
.status-card .kicker{ color:#f5c377; }
.status-card h3{ margin:0 0 8px; font-size:19px; }
.status-card p{ margin:0; color:#c7d3e0; font-size:14.5px; max-width:62ch; }

/* ===== BUTTONS ===== */
.btn{
  display:inline-flex; align-items:center; gap:6px; text-decoration:none;
  padding:11px 18px; border-radius:10px; font-weight:700; font-size:14.5px;
  border:1px solid var(--line); color: var(--ink); background:#fff; cursor:pointer;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn.primary{ background: linear-gradient(135deg, var(--amber-500), var(--amber-600)); border-color:transparent; color:#fff; box-shadow: 0 8px 18px rgba(217,119,6,.28); }
.btn:hover{ transform: translateY(-1px); }

.site-footer{ padding: 32px 0 48px; text-align:center; color: var(--muted); font-size:13.5px; }
.site-footer a{ color: var(--amber-600); }

@media (max-width:840px){
  .hero{ grid-template-columns:1fr; }
}
