/* ===== Landing visual refinado (desktop + mobile-first) ===== */
:root{
  --brand:#2563eb; --brand-600:#1d4ed8; --brand-900:#1e3a8a;
  --ink:#0f172a; --muted:#64748b; --bg:#0b1220;
  --card:#0f172a; --glass: rgba(255,255,255,.06); --border-glass: rgba(255,255,255,.16);
}

html,body{ overflow-x:hidden; }

.nav{ position: sticky; top:0; z-index:20; }
.nav-inner{ max-width:1200px; margin:0 auto; padding:10px 16px; display:flex; align-items:center; gap:12px; }
.brand{ display:flex; align-items:center; gap:10px; font-weight:700; color:#1e3a8a; text-decoration:none; }
.brand img{ height:28px; display:block; }
.nav .spacer{ flex:1; }
.nav.nav-glass{
  backdrop-filter: blur(10px) saturate(140%);
  background: linear-gradient(180deg, rgba(15,23,42,.75), rgba(15,23,42,.45));
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding-top: env(safe-area-inset-top);
}
.nav .btn.primary{ background: var(--brand); border-color: var(--brand); color:#fff; }
.nav .btn.primary:hover{ background: var(--brand-600); border-color: var(--brand-600); }
.btn, button { cursor:pointer; border:1px solid #e5e7eb; background:#fff; color:#0f172a; border-radius:10px; padding:10px 14px; text-decoration:none; }

.hero-landing{
  position: relative; color:#e5edff; overflow: hidden;
  background:
    radial-gradient(1200px 600px at -10% -20%, rgba(99,102,241,.35), transparent 60%),
    radial-gradient(1200px 600px at 110% -30%, rgba(59,130,246,.35), transparent 60%),
    linear-gradient(180deg, #0b1220 0%, #0b1220 50%, #0d1426 100%);
  padding: 32px 0 56px;
}
.hero-bg::before, .hero-bg::after{ content:""; position:absolute; filter: blur(60px); opacity:.45; z-index:0; }
.hero-bg::before{ width:420px; height:420px; background:#60a5fa; border-radius:50%; top:-120px; left:-120px; }
.hero-bg::after{  width:520px; height:520px; background:#818cf8; border-radius:50%; right:-160px; top:-160px; }

.container{ max-width:1200px; margin:0 auto; padding: 0 24px; }

.hero-grid{ display:grid; grid-template-columns:1fr; gap:22px; position:relative; z-index:1; }
.hero-copy h1{ font-size: clamp(24px, 5.2vw, 44px); line-height:1.1; margin:0 0 8px; color:#eaf1ff; }
.hero-copy .sub{ color:#c9d6ff; font-size: clamp(13px, 2.8vw, 17px); margin:0 0 14px; }
.actions{ display:flex; gap:10px; flex-wrap:wrap; }
.btn-lg{ padding:12px 18px; border-radius:12px; font-weight:600; }
.stats{ display:flex; gap:10px; flex-wrap:wrap; margin-top:16px; }
.stat{ background: rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.12); border-radius:12px; padding:10px 12px; min-width:140px; }
.stat .n{ display:block; font-weight:800; color:#fff; font-size:18px; line-height:1.05 }
.stat .l{ display:block; color:#9fb3ff; font-size:12px; }

.dash-mock{ background: rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.14); border-radius:20px; padding:14px; box-shadow: 0 12px 40px rgba(0,0,0,.35); }
.dash-header{ display:flex; align-items:center; gap:10px; border-bottom:1px solid rgba(255,255,255,.08); padding:8px 10px; }
.dash-header .dots span{ display:inline-block; width:10px; height:10px; border-radius:50%; background:#475569; margin-right:6px; }
.dash-header .dots span:nth-child(1){ background:#ef4444; }
.dash-header .dots span:nth-child(2){ background:#f59e0b; }
.dash-header .dots span:nth-child(3){ background:#10b981; }
.dash-header .tab{ color:#dbe4ff; font-size:13px; }

.dash-grid{ display:grid; grid-template-columns:1fr; gap:12px; padding-top:10px; }
.card.glass{
  background: var(--glass);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 12px;
  backdrop-filter: blur(12px);
  contain: content;
}
.card-head{ display:flex; align-items:center; gap:10px; justify-content:space-between; margin-bottom:6px; }
.card-head h3{ margin:0; color:#eaf1ff; font-size:14px; }
.badge{ display:inline-block; font-size:12px; border-radius:999px; padding:2px 8px; border:1px solid rgba(255,255,255,.18); color:#cfe1ff; }
.badge.soft{ background: rgba(59,130,246,.12); border-color: rgba(59,130,246,.25); color:#d5e7ff; }
.badge.warn{ background: rgba(244,63,94,.12); border-color: rgba(244,63,94,.25); color:#ffd4dc; }

.chart-box{ position:relative; width:100%; height:160px; overflow:hidden; }
.chart-box.h180{ height:180px; }
.chart-box.h220{ height:200px; }
.chart-box.w220{ width:220px; }
.chart-box canvas{ display:block; width:100% !important; height:100% !important; }

.pie-wrap{ display:flex; gap:12px; align-items:center; }
.legend{ list-style:none; margin:0; padding:0; color:#cfe1ff; font-size:13px; }
.legend li{ display:flex; align-items:center; gap:8px; margin:6px 0; }
.dot{ width:10px; height:10px; border-radius:50%; display:inline-block; border:1px solid rgba(255,255,255,.5); }
.dot-a{ background:#22c55e; }
.dot-b{ background:#f59e0b; }
.dot-c{ background:#60a5fa; }

.features{ padding: 36px 16px; }
.nice-grid{ display:grid; grid-template-columns:1fr; gap:12px; }
.card.feat{
  background:#fff; border:1px solid #e5e7eb; border-radius:14px; padding:14px; color:#0f172a;
  transition: transform .25s ease, box-shadow .25s ease;
}
.card.feat:hover{ transform: translateY(-3px); box-shadow: 0 10px 28px rgba(2,6,23,.12); }
.card.feat .ico{ font-size:20px; }
.card.feat h3{ margin:6px 0; color:#1e293b; font-size:16px; }
.card.feat p{ margin:0; color:#475569; font-size:14px; }

.footer{ background:#0b1220; color:#9fb3ff; border-top:1px solid rgba(255,255,255,.08); text-align:center; padding:16px; font-size:12px; }

@media (min-width: 768px){
  .chart-box{ height:180px; }
  .chart-box.h220{ height:220px; }
  .legend{ display:block; }
}

@media (min-width: 1100px){
  .hero-grid{ grid-template-columns: 1.1fr 1fr; align-items:center; gap:26px; }
  .dash-grid{ grid-template-columns: 1.2fr 1fr; }
  .container{ padding: 0 24px; }
}

@media (max-width: 480px){
  .nav-inner{ padding: 8px 14px; }
  .brand img{ height:22px; }
  .hero-landing{ padding: 22px 0 34px; }
  .actions .btn{ width:100%; text-align:center; }
  .stats .stat{ flex:1; min-width:0; padding:8px 10px; }
  .dash-mock{ padding:10px; border-radius:14px; }
  .dash-grid{ gap:10px; }
  .chart-box{ height:150px; }
  .chart-box.h220{ height:180px; }
  .pie-wrap{ flex-direction:column; align-items:flex-start; }
  .chart-box.w220{ width:100%; }
  .legend{ display:grid; grid-template-columns: 1fr 1fr; gap:6px 12px; }
  .features{ padding: 28px 14px; }
  .card.feat{ padding:12px; }
}
