:root {
  --bg: #070b08;
  --bg-2: #0d1410;
  --panel: #111a14;
  --line: #1e3226;
  --green: #3dff8a;
  --green-2: #22c55e;
  --green-dim: rgba(61, 255, 138, 0.12);
  --text: #eef8f1;
  --muted: #7d9a88;
  --danger: #ff6b6b;
  --radius: 18px;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: var(--font);
  background:
    radial-gradient(1200px 600px at 10% -10%, #163322 0%, transparent 50%),
    radial-gradient(900px 500px at 110% 10%, #0f2a1c 0%, transparent 45%),
    var(--bg);
  color: var(--text);
}

a { color: var(--green); text-decoration: none; }
button, input { font: inherit; }

.wrap { width: min(1080px, calc(100% - 32px)); margin: 0 auto; }

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0 8px;
}
.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 20px;
}
.logo {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--green-dim);
  border: 1px solid #2a5a3c;
  display: grid;
  place-items: center;
}
.nav { display: flex; gap: 10px; }

.btn {
  border: 0;
  border-radius: 12px;
  padding: 10px 16px;
  cursor: pointer;
  color: var(--text);
  background: #1a2a20;
  border: 1px solid var(--line);
}
.btn:hover { border-color: #3dff8a55; }
.btn.primary {
  background: linear-gradient(180deg, #4dff98, #1dbf5c);
  color: #06210f;
  font-weight: 700;
  border: 0;
}
.btn.ghost { background: transparent; }

.hero { padding: 48px 0 28px; }
.hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.045em;
  margin: 0 0 14px;
  max-width: 14ch;
}
.hero p { color: var(--muted); font-size: 18px; margin: 0 0 28px; max-width: 42ch; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  font-size: 13px;
  color: #b6e7c6;
  background: var(--green-dim);
  border: 1px solid #2a5a3c;
  border-radius: 999px;
  padding: 6px 12px;
}

.grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  padding-bottom: 48px;
}
@media (max-width: 840px) { .grid { grid-template-columns: 1fr; } }

.card {
  background: linear-gradient(180deg, #142019, var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 20px 50px #0006;
}

.drop {
  min-height: 280px;
  border: 1.5px dashed #2f5a40;
  border-radius: 16px;
  background: #0b130e;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.drop:hover, .drop.drag { border-color: var(--green); background: #102016; }
.drop strong { font-size: 18px; }
.drop span { color: var(--muted); font-size: 14px; }
.hidden { display: none !important; }

.progress {
  margin-top: 16px;
}
.bar {
  height: 10px;
  background: #0b130e;
  border-radius: 99px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.bar > i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #1dbf5c, var(--green));
  transition: width .4s ease;
}
.meta { color: var(--muted); font-size: 13px; margin-top: 8px; }
.err {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #2a1214;
  border: 1px solid #5a2a2e;
  color: #ffc9c9;
}

.side h3 { margin: 0 0 12px; font-size: 16px; }
.side li { color: var(--muted); margin: 0 0 10px; }
.side ol { margin: 0; padding-left: 18px; }

footer {
  color: var(--muted);
  font-size: 13px;
  padding: 8px 0 40px;
  border-top: 1px solid var(--line);
}

.modal {
  position: fixed;
  inset: 0;
  background: #0009;
  display: grid;
  place-items: center;
  padding: 16px;
  z-index: 20;
}
.sheet {
  width: min(420px, 100%);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
}
.sheet h2 { margin: 0 0 6px; }
.sheet p { color: var(--muted); margin: 0 0 16px; font-size: 14px; }
label { display: block; font-size: 13px; color: var(--muted); margin: 10px 0 6px; }
input[type="email"], input[type="password"], input[type="text"] {
  width: 100%;
  background: #0b130e;
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 12px;
  padding: 12px 14px;
}
.row { display: flex; gap: 10px; margin-top: 16px; }
.row .btn { flex: 1; }
.note { color: var(--danger); font-size: 13px; min-height: 18px; margin-top: 8px; }

.download {
  max-width: 560px;
  margin: 64px auto 80px;
  text-align: center;
}
.download .icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  border-radius: 20px;
  background: var(--green-dim);
  display: grid;
  place-items: center;
  font-size: 28px;
}
