:root{
  --bg:#0b1020;
  --card:#121a33;
  --muted:#9fb0d0;
  --text:#eaf0ff;
  --brand:#5eead4;
  --brand2:#60a5fa;
  --danger:#fb7185;
  --shadow: 0 18px 40px rgba(0,0,0,.35);
  --radius: 18px;
  --max: 1120px;
  --border: 1px solid rgba(255,255,255,.10);
}

*{ box-sizing:border-box; }
html, body {
  margin:0; padding:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background:
    radial-gradient(1000px 600px at 20% 0%, rgba(96,165,250,.20), transparent 55%),
    radial-gradient(900px 600px at 90% 30%, rgba(94,234,212,.14), transparent 50%),
    var(--bg);
  color:var(--text);
}
a{ color:inherit; text-decoration:none; }
.container{ width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

/* Header */
header{
  position: sticky; top:0; z-index:50;
  background: rgba(11,16,32,.72);
  backdrop-filter: blur(10px);
  border-bottom: var(--border);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding: 14px 0;
  gap: 16px;
}
.brand{
  display:flex; align-items:center; gap:12px;
  font-weight: 800;
  letter-spacing:.3px;
}
.logo{
  width: 48px; height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  display:grid; place-items:center;
  overflow:hidden;
}
.logo img{ width:100%; height:100%; object-fit:cover; }
.brand-title{ font-size:1.05rem; }
.brand-tagline{ font-size:.82rem; color: var(--muted); font-weight:700; }

nav ul{
  display:flex; gap:18px; list-style:none; margin:0; padding:0;
  color:var(--muted); font-weight:700;
}
nav a{ padding:10px 10px; border-radius: 10px; }
nav a:hover{ background: rgba(255,255,255,.06); color: var(--text); }

.nav-right{ display:flex; gap:10px; align-items:center; }

.select{
  appearance:none;
  padding: 10px 42px 10px 12px;
  border-radius: 12px;
  border: var(--border);
  background: rgba(255,255,255,.06);
  color: var(--text);
  font-weight: 800;
  cursor:pointer;
}
.select-wrap{ position:relative; }
.select-wrap::after{
  content:"▾";
  position:absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events:none;
  color: rgba(255,255,255,.85);
  font-weight: 900;
}

.btn{
  border:none; cursor:pointer;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 900;
  letter-spacing:.2px;
  transition: transform .12s ease, opacity .12s ease;
  display:inline-flex; align-items:center; justify-content:center;
  gap:8px;
  white-space:nowrap;
}
.btn:hover{ transform: translateY(-1px); }
.btn:active{ transform: translateY(0px); opacity:.9; }

.btn.primary{
  background: linear-gradient(135deg, var(--brand2), var(--brand));
  color: #06121c;
  box-shadow: 0 14px 34px rgba(94,234,212,.16);
}
.btn.ghost{
  background: rgba(255,255,255,.08);
  color: var(--text);
  border: var(--border);
}

.hamburger{
  display:none;
  width:44px; height:44px; border-radius: 12px;
  border: var(--border);
  background: rgba(255,255,255,.06);
  cursor:pointer;
}
.hamburger span{
  display:block; height:2px; width:18px; margin:0 auto;
  background: rgba(255,255,255,.85);
  position:relative;
}
.hamburger span::before, .hamburger span::after{
  content:""; position:absolute; left:0; width:18px; height:2px;
  background: rgba(255,255,255,.85);
}
.hamburger span::before{ top:-6px; }
.hamburger span::after{ top:6px; }

.mobile-menu{
  display:none;
  padding: 10px 0 18px;
}
.mobile-menu.open{ display:block; }
.mobile-menu a{
  display:block;
  padding: 12px 12px;
  border-radius: 12px;
  color: var(--muted);
  font-weight: 900;
}
.mobile-menu a:hover{ background: rgba(255,255,255,.06); color: var(--text); }

/* Hero */
.hero{ padding: 54px 0 22px; }
.hero-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 26px;
  align-items: center;
}

.banner{
  position: relative;
  overflow:hidden;
  border-radius: 22px;
  border: var(--border);
  box-shadow: var(--shadow);
  min-height: 360px;
  background:
    linear-gradient(135deg, rgba(96,165,250,.18), rgba(94,234,212,.12)),
    url('./cover.png');
  background-size: cover;
  background-position: center;
}
.banner::before{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(90deg, rgba(11,16,32,.78), rgba(11,16,32,.20));
}
.banner-content{
  position: relative;
  padding: 22px;
  max-width: 420px;
}

.pill{
  display:inline-flex; align-items:center; gap:10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: var(--border);
  color: var(--muted);
  font-weight: 800;
  width: fit-content;
}
.dot{
  width:10px; height:10px; border-radius:999px;
  background: var(--brand);
  box-shadow: 0 0 0 5px rgba(94,234,212,.14);
}

h1{
  margin: 14px 0 14px;
  font-size: clamp(2.2rem, 4vw, 3.3rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
}
.lead{
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 60ch;
  font-weight: 650;
}
.hero-actions{
  display:flex; gap:12px; flex-wrap: wrap; align-items:center;
  margin-top: 14px;
}

.stats{
  margin-top: 18px;
  display:flex; gap: 16px; flex-wrap:wrap;
  color: var(--muted);
  font-weight: 800;
}
.stat{
  padding: 12px 14px;
  background: rgba(255,255,255,.06);
  border: var(--border);
  border-radius: 14px;
  min-width: 160px;
}
.stat strong{
  display:block;
  color: var(--text);
  font-size: 1.15rem;
  margin-bottom: 2px;
}

/* Sections */
section{ padding: 40px 0; }
.section-title{
  display:flex; align-items:flex-end; justify-content:space-between;
  gap: 18px; flex-wrap:wrap;
  margin-bottom: 16px;
}
.section-title h2{ margin: 0; font-size: 1.8rem; letter-spacing: -0.01em; }
.section-title p{ margin: 0; color: var(--muted); max-width: 72ch; line-height: 1.55; font-weight: 650; }

.grid-3{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-2{ display:grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.card{
  background: rgba(255,255,255,.06);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}
.card h3{ margin: 0 0 8px; font-size: 1.15rem; }
.card p{ margin: 0; color: var(--muted); line-height: 1.55; font-weight: 650; }

.badge{
  display:inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(94,234,212,.14);
  color: #b7fff5;
  border: 1px solid rgba(94,234,212,.25);
  font-weight: 900;
  font-size: .85rem;
  margin-bottom: 10px;
}

.row{
  display:flex; justify-content:space-between; gap: 12px; align-items:baseline;
  margin-top: 12px;
  color: var(--muted);
  font-weight: 800;
  flex-wrap:wrap;
}
.row strong{ color: var(--text); }

/* Calculator */
.calc{ display:grid; grid-template-columns: 1.1fr .9fr; gap: 16px; align-items:start; }
label{ display:block; font-weight: 900; color: var(--text); margin-bottom: 6px; font-size: .95rem; }
input, select, textarea{
  width:100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: var(--border);
  background: rgba(0,0,0,.18);
  color: var(--text);
  outline:none;
  font-weight: 750;
}
input::placeholder, textarea::placeholder{ color: rgba(159,176,208,.7); }
.form-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hint{ margin-top: 8px; color: var(--muted); font-weight: 650; font-size: .92rem; line-height:1.45; }

.result{
  background: linear-gradient(180deg, rgba(96,165,250,.14), rgba(94,234,212,.08));
  border: 1px solid rgba(255,255,255,.12);
}
.result .big{ font-size: 2.1rem; font-weight: 950; margin: 8px 0 2px; letter-spacing: -0.02em; }
.result .muted{ color: var(--muted); font-weight: 800; margin: 0; }

.list{ margin: 12px 0 0; padding-left: 18px; color: var(--muted); font-weight: 650; line-height: 1.6; }

/* CTA strip */
.cta-strip{
  padding: 24px;
  border-radius: 22px;
  border: var(--border);
  background: linear-gradient(135deg, rgba(96,165,250,.18), rgba(94,234,212,.10));
  display:flex; align-items:center; justify-content:space-between;
  gap: 16px; flex-wrap:wrap;
}
.cta-strip h3{ margin: 0; font-size: 1.25rem; }
.cta-strip p{ margin: 6px 0 0; color: var(--muted); font-weight: 650; }

/* Footer */
footer{ border-top: var(--border); padding: 26px 0; color: var(--muted); font-weight: 650; }
.foot{ display:flex; align-items:flex-start; justify-content:space-between; gap: 18px; flex-wrap:wrap; }
.small{ font-size: .92rem; line-height: 1.5; max-width: 80ch; }

/* Mobile */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .calc{ grid-template-columns: 1fr; }
  .grid-3{ grid-template-columns: 1fr; }
  .grid-2{ grid-template-columns: 1fr; }
  .form-grid{ grid-template-columns: 1fr; }
}
@media (max-width: 860px){
  nav ul{ display:none; }
  .hamburger{ display:grid; place-items:center; }
}
