:root{
  --bg0:#070a12;
  --bg1:#0b1020;
  --panel: rgba(255,255,255,.06);
  --panel2: rgba(255,255,255,.04);
  --line: rgba(255,255,255,.10);
  --line2: rgba(255,255,255,.14);
  --text:#eaf0ff;
  --muted: rgba(234,240,255,.72);
  --muted2: rgba(234,240,255,.55);
  --accent:#60a5fa;
  --accent2:#34d399;
  --shadow: 0 18px 60px rgba(0,0,0,.55);
  --shadow2: 0 12px 30px rgba(0,0,0,.35);
  --r: 18px;
  --r2: 26px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Noto Sans", "Apple Color Emoji","Segoe UI Emoji";
  color: var(--text);
  background:
    radial-gradient(900px 520px at 12% 20%, rgba(96,165,250,.22), transparent 55%),
    radial-gradient(900px 520px at 88% 35%, rgba(52,211,153,.15), transparent 55%),
    linear-gradient(180deg, var(--bg0) 0%, var(--bg1) 100%);
}

a{ color: inherit; text-decoration:none; }
.container{ max-width: 1120px; margin: 0 auto; padding: 20px; }

.nav{
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(7,10,18,.62);
  border-bottom: 1px solid var(--line);
}
.nav-inner{ display:flex; align-items:center; justify-content:space-between; gap: 14px; padding: 12px 20px; max-width:1120px; margin:0 auto; }
.brand{ display:flex; align-items:center; gap: 12px; min-width: 220px; }
.logo{
  width:42px; height:42px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(96,165,250,.95), rgba(52,211,153,.84));
  box-shadow: 0 10px 26px rgba(0,0,0,.45);
  position:relative;
}
.logo:after{
  content:"";
  position:absolute; inset: 11px;
  border-radius: 12px;
  background: rgba(7,10,18,.72);
  border: 1px solid rgba(255,255,255,.12);
}

.brand b{ display:block; letter-spacing:.18em; font-size: 14px; }
.brand small{ display:block; margin-top:2px; color: var(--muted2); font-size: 12px; letter-spacing: .02em; }

.nav-links{ display:flex; align-items:center; gap: 10px; flex-wrap: wrap; justify-content:flex-end; }
.pill{
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  transition: transform .15s ease, border-color .15s ease, color .15s ease, background .15s ease;
  background: rgba(255,255,255,.02);
}
.pill:hover{ transform: translateY(-1px); border-color: rgba(96,165,250,.45); color: var(--text); background: rgba(255,255,255,.04); }

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap: 10px;
  padding: 11px 14px;
  border-radius: 14px;
  border: 1px solid rgba(96,165,250,.35);
  background: linear-gradient(135deg, rgba(96,165,250,.20), rgba(52,211,153,.10));
  box-shadow: var(--shadow2);
  font-weight: 800;
  transition: transform .15s ease, filter .15s ease, border-color .15s ease;
}
.btn:hover{ transform: translateY(-1px); filter: brightness(1.07); border-color: rgba(52,211,153,.35); }

.hero{ padding: 44px 0 18px; }
.grid-hero{
  display:grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 16px;
  align-items: stretch;
}
@media (max-width: 980px){ .grid-hero{ grid-template-columns:1fr; } }

.card{
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border-radius: var(--r2);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.card .pad{ padding: 22px; }

.kicker{
  display:inline-flex; align-items:center; gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.18);
  color: var(--muted);
  font-size: 13px;
}
.dot{
  width: 9px; height: 9px; border-radius: 999px;
  background: var(--accent2);
  box-shadow: 0 0 0 4px rgba(52,211,153,.15);
}

h1{
  margin: 14px 0 10px;
  font-size: 42px;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
@media (max-width: 560px){ h1{ font-size: 34px; } }

.lede{
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.row{ display:flex; gap: 10px; flex-wrap:wrap; align-items:center; margin-top: 16px; }

.ghost{
  display:inline-flex; align-items:center; justify-content:center;
  padding: 11px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.16);
  font-weight: 800;
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}
.ghost:hover{ transform: translateY(-1px); border-color: rgba(255,255,255,.22); background: rgba(0,0,0,.20); }

.mini{
  display:grid; gap: 12px;
  grid-template-columns: 1fr;
  height: 100%;
}
.mini .stat{
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: rgba(0,0,0,.16);
  padding: 16px;
}
.stat b{ display:block; margin-bottom: 6px; }
.stat span{ color: var(--muted); font-size: 13px; line-height:1.55; }

.section{ padding: 18px 0; }
.section h2{
  font-size: 18px;
  margin: 0 0 12px;
  letter-spacing: .02em;
}

.tools{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 980px){ .tools{ grid-template-columns: 1fr; } }

.tool{
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: rgba(0,0,0,.16);
  padding: 18px;
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
  position:relative;
  overflow:hidden;
}
.tool:hover{
  transform: translateY(-2px);
  border-color: rgba(96,165,250,.45);
  background: rgba(0,0,0,.20);
}
.tool .top{ display:flex; align-items:center; justify-content:space-between; gap: 10px; }
.badge{
  font-size: 12px;
  color: var(--muted);
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  padding: 6px 10px;
  border-radius: 999px;
  white-space:nowrap;
}
.tool h3{ margin: 10px 0 6px; font-size: 16px; }
.tool p{ margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.tool .actions{ margin-top: 14px; display:flex; gap: 10px; flex-wrap:wrap; }
.tool .go{
  width: 100%;
  padding: 11px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: var(--text);
  font-weight: 900;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.tool .go:hover{ transform: translateY(-1px); background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.22); }

.hr{ height:1px; background: var(--line); margin: 18px 0; }

.shell{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 14px;
}
@media (max-width: 980px){ .shell{ grid-template-columns:1fr; } }

.dropzone{
  border: 1px dashed rgba(255,255,255,.22);
  background: rgba(0,0,0,.16);
  border-radius: var(--r2);
  padding: 18px;
}
.dropzone .dz-top{ display:flex; align-items:center; justify-content:space-between; gap: 12px; flex-wrap:wrap; }
.dropzone b{ font-size: 15px; }
.dropzone p{ margin: 8px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.dropzone .dz-actions{ margin-top: 12px; display:flex; gap: 10px; flex-wrap:wrap; align-items:center; }
input[type="file"]{ display:none; }

.kpi{
  display:grid; gap: 12px;
}
.panel{
  border: 1px solid var(--line);
  border-radius: var(--r2);
  background: rgba(0,0,0,.16);
  padding: 16px;
}
.panel h4{ margin: 0 0 8px; font-size: 14px; letter-spacing:.02em; }
.panel .muted{ color: var(--muted); font-size: 13px; line-height: 1.55; margin: 0; }
.small{ font-size: 12px; color: var(--muted2); line-height: 1.6; }

.field{ margin-top: 12px; display:grid; gap: 8px; }
.label{ font-size: 12px; color: var(--muted2); }
.select, .text{
  width:100%;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: var(--text);
  border-radius: 14px;
  padding: 11px 12px;
  outline:none;
}
.select:focus, .text:focus{ border-color: rgba(96,165,250,.55); }

.toast{
  position: fixed;
  right: 16px; bottom: 16px;
  max-width: 360px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 12px 14px;
  box-shadow: var(--shadow2);
  display:none;
}
.toast b{ display:block; margin-bottom: 4px; }
.toast span{ color: var(--muted); font-size: 13px; line-height: 1.45; }

footer{
  padding: 26px 0 40px;
  color: var(--muted2);
  font-size: 13px;
}
.foot-row{
  display:flex; gap: 12px; flex-wrap:wrap;
  align-items:center; justify-content:space-between;
}
.foot-links{ display:flex; gap: 12px; flex-wrap:wrap; }
.foot-links a{
  color: var(--muted2);
  border-bottom: 1px dashed rgba(255,255,255,.16);
}
.foot-links a:hover{ color: var(--text); }
code{ color: rgba(234,240,255,.85); }
