:root {
  --bg: #0d1a12;
  --bg2: #132018;
  --card: #1a2e20;
  --border: #2a4030;
  --green: #4caf7d;
  --green-light: #6fcf97;
  --gold: #c8a96e;
  --text: #e8f0ea;
  --muted: #8aab92;
  --danger: #e05c5c;
  --radius: 12px;
  --font: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

a { color: var(--green-light); text-decoration: none; }
a:hover { text-decoration: underline; }

/* NAV */
nav {
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-logo {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--green-light);
  letter-spacing: -0.02em;
}
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-links a { color: var(--muted); font-size: 0.9rem; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.lang-switch { display: flex; gap: 0.3rem; }
.lang-switch a {
  font-size: 0.75rem;
  padding: 2px 7px;
  border-radius: 4px;
  background: var(--border);
  color: var(--muted);
}
.lang-switch a.active { background: var(--green); color: #fff; }

/* HERO */
.hero {
  text-align: center;
  padding: 5rem 2rem 4rem;
  max-width: 800px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-block;
  background: rgba(76,175,125,0.15);
  border: 1px solid var(--green);
  color: var(--green-light);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 1.5rem;
}
h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.2rem;
}
h1 .hl { color: var(--green-light); }
.hero p {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 2rem;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1.6rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s, transform 0.1s;
}
.btn:hover { opacity: 0.88; text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--green); color: #fff; }
.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn-gold { background: var(--gold); color: #1a1a1a; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.85rem; }

/* STATS ROW */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto 3rem;
  padding: 0 1.5rem;
}
.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}
.stat-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--green-light);
  letter-spacing: -0.03em;
}
.stat-label { font-size: 0.8rem; color: var(--muted); margin-top: 0.2rem; }

/* CARDS / SECTIONS */
.container { max-width: 960px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 3rem 0; }
.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1rem;
}

/* FORMS */
.form-group { margin-bottom: 1.2rem; }
label { display: block; font-size: 0.85rem; color: var(--muted); margin-bottom: 0.4rem; font-weight: 500; }
input, select, textarea {
  width: 100%;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.7rem 1rem;
  color: var(--text);
  font-size: 0.95rem;
  font-family: var(--font);
  outline: none;
  transition: border-color 0.2s;
}
input:focus, select:focus, textarea:focus { border-color: var(--green); }
select option { background: var(--bg2); }

/* RANGE SLIDER */
.range-wrap { position: relative; }
input[type=range] {
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  padding: 0;
  border: none;
  cursor: pointer;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px; height: 22px;
  background: var(--green);
  border-radius: 50%;
  cursor: pointer;
}
.range-labels { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--muted); margin-top: 4px; }
.range-value {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
  padding: 3px 12px;
  border-radius: 6px;
  margin-bottom: 6px;
}

/* CHART */
.chart-wrap { position: relative; height: 260px; margin-top: 1rem; }

/* CATEGORY BARS */
.cat-bar-wrap { margin-top: 0.5rem; }
.cat-row { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.6rem; }
.cat-name { min-width: 130px; font-size: 0.85rem; color: var(--muted); }
.cat-bar-bg { flex: 1; background: var(--border); border-radius: 4px; height: 10px; overflow: hidden; }
.cat-bar-fill { height: 100%; background: var(--green); border-radius: 4px; transition: width 0.8s ease; }
.cat-count { font-size: 0.8rem; color: var(--text); min-width: 28px; text-align: right; }

/* ALERT */
.alert {
  padding: 0.85rem 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}
.alert-success { background: rgba(76,175,125,0.15); border: 1px solid var(--green); color: var(--green-light); }
.alert-error { background: rgba(224,92,92,0.12); border: 1px solid var(--danger); color: #f08080; }

/* QR CODE BLOCK */
.qr-block {
  background: #fff;
  display: inline-block;
  padding: 12px;
  border-radius: 8px;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.8rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  margin-top: 4rem;
}

/* DIVIDER */
.divider { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }

/* HOW-IT-WORKS */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin-top: 1rem; }
.step { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
.step-num { font-size: 1.8rem; font-weight: 800; color: var(--green); margin-bottom: 0.5rem; }
.step-title { font-weight: 600; margin-bottom: 0.3rem; }
.step p { font-size: 0.85rem; color: var(--muted); }

/* TABLE */
table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
th { text-align: left; padding: 0.6rem 1rem; color: var(--muted); font-weight: 500; border-bottom: 1px solid var(--border); }
td { padding: 0.75rem 1rem; border-bottom: 1px solid rgba(42,64,48,0.5); }
tr:last-child td { border-bottom: none; }

/* BADGE */
.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
}
.badge-green { background: rgba(76,175,125,0.2); color: var(--green-light); }
.badge-gold { background: rgba(200,169,110,0.2); color: var(--gold); }
.badge-muted { background: var(--border); color: var(--muted); }

@media (max-width: 600px) {
  .nav-links { gap: 0.75rem; }
  h1 { font-size: 1.8rem; }
}
