@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --bg: #090d14;
  --panel: #111824;
  --panel2: #151f2d;
  --border: #263344;
  --text: #edf4fa;
  --muted: #8999aa;
  --accent: #39d6c4;
  --accent2: #20b7aa;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.container { width: min(1180px, 92%); margin: auto; }
.navbar {
  height: 76px; display: flex; align-items: center;
  justify-content: space-between; border-bottom: 1px solid var(--border);
}
.logo {
  font: 700 24px 'Space Grotesk', sans-serif;
  letter-spacing: -1px;
}
.logo span { color: var(--accent); }
.nav-links { display: flex; gap: 28px; color: var(--muted); font-size: 14px; }
.nav-links a:hover, .active { color: var(--accent); }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 19px; border-radius: 9px; font-weight: 700;
  border: 1px solid transparent; cursor: pointer; transition: .2s;
}
.btn-primary { background: var(--accent); color: #061412; }
.btn-primary:hover { background: #65eadb; transform: translateY(-1px); }
.btn-outline { border-color: var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--accent); }
.hero { padding: 105px 0 90px; max-width: 800px; }
.eyebrow { color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; }
h1,h2,h3 { font-family: 'Space Grotesk', sans-serif; }
.hero h1 { font-size: clamp(42px, 7vw, 76px); line-height: 1.06; letter-spacing: -3px; margin: 20px 0; }
.hero h1 span { color: var(--accent); }
.hero p { color: var(--muted); font-size: 18px; line-height: 1.8; max-width: 620px; }
.actions { display: flex; gap: 13px; margin-top: 32px; flex-wrap: wrap; }
.features { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; padding-bottom: 85px; }
.card { background: var(--panel); border: 1px solid var(--border); border-radius: 15px; padding: 25px; }
.card p { color: var(--muted); line-height: 1.7; }
.card-icon { color: var(--accent); font-size: 25px; }
.footer { border-top: 1px solid var(--border); padding: 28px 0; color: var(--muted); font-size: 13px; }
.auth-wrap { min-height: 100vh; display: grid; place-items: center; padding: 25px; }
.auth-card { width: min(430px,100%); background: var(--panel); border: 1px solid var(--border); border-radius: 18px; padding: 34px; }
.auth-card h1 { font-size: 30px; margin-bottom: 8px; }
.muted { color: var(--muted); }
.field { margin: 19px 0; }
.field label { display: block; font-size: 13px; margin-bottom: 8px; color: #c7d3df; }
.field input { width: 100%; background: #0b111a; border: 1px solid var(--border); border-radius: 9px; padding: 14px; color: white; outline: none; }
.field input:focus { border-color: var(--accent); }
.full { width: 100%; }
.alert { background: #38242a; color: #ffb7c2; padding: 12px; border-radius: 8px; margin: 15px 0; font-size: 14px; }
.dashboard { display: grid; grid-template-columns: 235px 1fr; min-height: 100vh; }
.sidebar { border-right: 1px solid var(--border); padding: 28px 20px; background: #0d131d; }
.sidebar .logo { margin: 0 0 45px 10px; }
.side-link { display: block; padding: 13px 14px; border-radius: 8px; color: var(--muted); margin: 5px 0; }
.side-link:hover, .side-link.active { background: #14242b; color: var(--accent); }
.main { padding: 38px; min-width: 0; }
.topline { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 35px; }
.stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 17px; }
.stat-number { font: 700 34px 'Space Grotesk'; margin: 12px 0 5px; }
.section-title { margin: 38px 0 18px; }
.document-row { display: flex; justify-content: space-between; gap: 15px; padding: 18px 0; border-bottom: 1px solid var(--border); }
@media(max-width:750px) {
  .nav-links { display: none; }
  .features,.stats { grid-template-columns: 1fr; }
  .hero { padding: 70px 0; }
  .dashboard { grid-template-columns: 1fr; }
  .sidebar { border-right: 0; border-bottom: 1px solid var(--border); padding: 15px; }
  .sidebar .logo { margin: 0 0 12px; }
  .main { padding: 22px 16px; }
  .topline { align-items: flex-start; flex-direction: column; }
}
