:root{--bg:#07111f;--panel:#101827;--panel2:#162235;--line:#30415f;--txt:#f8fafc;--muted:#a8c7ee;--brand:#38bdf8;--ok:#22c55e;--danger:#ef4444;--warn:#f59e0b}
*{box-sizing:border-box}
body{margin:0;background:linear-gradient(120deg,#030712,#07111f 55%,#10253b);color:var(--txt);font-family:Arial,Helvetica,sans-serif}
a{color:var(--brand);text-decoration:none;font-weight:800}
.header{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 7%;background:rgba(5,11,22,.92);border-bottom:1px solid var(--line);flex-wrap:wrap;position:sticky;top:0;z-index:10;backdrop-filter:blur(8px)}
.logo{font-weight:900;letter-spacing:0}.logo span{color:var(--brand)}
nav{display:flex;gap:10px;flex-wrap:wrap}
nav a{background:#1e293b;color:white;padding:10px 14px;border-radius:10px;border:1px solid #334155}
main{padding:34px 7%;max-width:1240px;margin:auto}
.card{background:rgba(16,24,39,.96);border:1px solid var(--line);border-radius:8px;padding:24px;margin-bottom:18px;box-shadow:0 16px 40px rgba(0,0,0,.22)}
.grid{display:grid;grid-template-columns:repeat(12,1fr);gap:18px}.col-4{grid-column:span 4}.col-6{grid-column:span 6}.col-8{grid-column:span 8}.col-12{grid-column:span 12}
.btn,button{display:inline-block;background:var(--brand);color:#031521;border:0;padding:13px 18px;border-radius:10px;font-weight:900;cursor:pointer}
.btn.secondary,button.secondary{background:#1e293b;color:white;border:1px solid #334155}.btn.danger,button.danger{background:var(--danger);color:white}
input,select,textarea{width:100%;padding:13px;border-radius:10px;border:1px solid #334155;background:#030712;color:white}
label{display:block;color:var(--muted);margin-bottom:6px;font-size:.9rem}.form-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.form-actions{display:flex;gap:10px;align-items:end;flex-wrap:wrap}
.checkline{display:flex;align-items:end}.checkline input{width:auto;margin-right:8px}
.alert{padding:13px;border-radius:8px;margin-bottom:14px}.err{background:#3b0b0b;color:#fecaca;border:1px solid #7f1d1d}.ok{background:#052e16;color:#bbf7d0;border:1px solid #166534}
table{width:100%;border-collapse:collapse}th,td{padding:12px;border-bottom:1px solid #334155;text-align:left;vertical-align:top}th{color:var(--muted)}
.kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.dashboard-kpis{grid-template-columns:repeat(6,1fr)}.dashboard-kpis.four{grid-template-columns:repeat(4,1fr)}
.kpi span{color:var(--muted)}.kpi strong{font-size:clamp(1.35rem,2.4vw,2rem);display:block;margin-top:8px;line-height:1.1}
.hero{display:grid;grid-template-columns:1.02fr .98fr;gap:36px;align-items:center;padding:62px 7%;max-width:1320px;margin:auto}
.hero-cover{min-height:calc(100vh - 74px);max-width:none;margin:0;background:radial-gradient(circle at 78% 24%,rgba(56,189,248,.24),transparent 26%),linear-gradient(90deg,rgba(3,7,18,.96),rgba(7,17,31,.78));background-size:cover;background-position:center right;position:relative}
.hero-cover:after{content:"";position:absolute;inset:auto 0 0;height:120px;background:linear-gradient(transparent,var(--bg));pointer-events:none}
.hero-copy{max-width:760px;position:relative;z-index:1}
.hero h1{font-size:clamp(2.4rem,5vw,5.2rem);line-height:1.02;margin:0 0 18px;letter-spacing:0}.hero p{font-size:1.15rem;color:#cbd5e1;line-height:1.6}.hero-support{max-width:620px}
.hero-img{width:100%;border-radius:8px;border:1px solid #334155;box-shadow:0 28px 80px rgba(0,0,0,.45)}
.badges,.quick-actions{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.badge{background:#0f172a;border:1px solid #334155;color:#cbd5e1;border-radius:999px;padding:8px 12px;font-size:.88rem}
.section{padding:54px 7%;max-width:1240px;margin:auto}.section-band{max-width:none;background:rgba(15,23,42,.38)}.section-band>.grid,.section-band>h2{max-width:1240px;margin-left:auto;margin-right:auto}
.section h2{font-size:clamp(1.7rem,3vw,2.6rem);margin:0 0 16px}.muted{color:var(--muted)}.price{font-size:2rem;font-weight:900}.plan-feature{margin:10px 0;color:#dbeafe}.featured-plan{border-color:var(--brand)}
.progress{height:12px;background:#1e293b;border-radius:99px;overflow:hidden;margin:16px 0}.bar{height:100%;background:var(--brand)}
.page-title,.onboarding{display:flex;align-items:center;justify-content:space-between;gap:18px}.page-title h1{margin-bottom:6px}.page-title p{margin-top:0}.top-tools{display:flex;align-items:center;gap:12px}
.metric-row{display:flex;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid #26364f}.metric-row:last-child{border-bottom:0}.metric-row span{color:var(--muted)}.metric-row strong{font-size:1.35rem;text-align:right}
.positive{color:var(--ok)}.negative,.stock-low,.danger-text{color:#fecaca}.result-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px 20px}.result-grid.two{grid-template-columns:repeat(2,1fr)}
.inline-form{display:inline}.link-button{background:none;color:var(--brand);border:0;padding:0;border-radius:0;font:inherit;font-weight:800;cursor:pointer}.table-actions{display:flex;flex-direction:column;gap:8px;align-items:flex-start}.pill{display:inline-block;border:1px solid #334155;background:#0f172a;border-radius:999px;padding:5px 9px;color:#dbeafe;font-size:.82rem}
small{font-size:.82rem}.dashboard-section{margin-bottom:18px}.dashboard-section h2{margin:0 0 10px}
.notification{position:relative}.notification input{position:absolute;opacity:0;pointer-events:none}.bell{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#1e293b;border:1px solid #334155;color:white;font-weight:900;cursor:pointer}.bell.has-alerts{background:#3b0b0b;border-color:#ef4444;animation:pulse 1.3s ease-in-out infinite}.alert-popover{display:none;position:absolute;right:0;top:48px;width:min(360px,86vw);background:#0f172a;border:1px solid #334155;border-radius:8px;padding:16px;box-shadow:0 22px 60px rgba(0,0,0,.45);z-index:20}.alert-popover h3{margin:0 0 8px}.alert-popover ul{padding-left:18px;margin:0}.alert-popover li{margin:8px 0;color:#dbeafe}.notification input:checked~.alert-popover{display:block}
@keyframes pulse{0%,100%{box-shadow:0 0 0 0 rgba(239,68,68,.35)}50%{box-shadow:0 0 0 8px rgba(239,68,68,0)}}
@media(max-width:1100px){.dashboard-kpis,.dashboard-kpis.four{grid-template-columns:repeat(2,1fr)}.form-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:900px){.hero,.hero-cover{grid-template-columns:1fr;min-height:680px;padding-top:70px;background-position:center}.grid,.kpis,.dashboard-kpis,.dashboard-kpis.four,.form-grid,.result-grid,.result-grid.two{grid-template-columns:1fr}.col-4,.col-6,.col-8,.col-12{grid-column:1/-1}.header{position:static}nav a{font-size:14px;padding:9px}.page-title,.onboarding{display:block}.top-tools{margin-top:12px}table,thead,tbody,tr,td,th{display:block}thead{display:none}tr{border:1px solid #334155;border-radius:8px;margin-bottom:12px;padding:8px}td{border:0;display:flex;justify-content:space-between;gap:12px}td:before{content:attr(data-label);color:var(--muted);font-weight:800}.table-actions{align-items:flex-end}.form-actions{align-items:stretch}.form-actions button{width:100%}}
