:root{
  --bg:#f5f7fa; --fg:#141a26; --card:#ffffff; --muted:#6b7280;
  --primary:#2563eb; --primary-fg:#ffffff; --border:#e5e7eb;
  --hero-start:#dbeafe; --hero-end:#f5f7fa;
  --feature-icon:#dbeafe;
  --dash-bg:#15192a; --dash-card:#1f2436; --dash-text:#fff; --dash-muted:#8b93a7;
  --cta-start:#5ed3ff; --cta-end:#2563eb;
}
[data-theme="dark"]{
  --bg:#0c111d; --fg:#f1f5f9; --card:#161b2c; --muted:#94a3b8;
  --border:#262d44; --hero-start:#15203a; --hero-end:#0c111d; --feature-icon:#1d2a4a;
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:'Inter',sans-serif;background:var(--bg);color:var(--fg);line-height:1.5;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
ul{list-style:none}
.container{max-width:1200px;margin:0 auto;padding:0 1.25rem}
.text-center{text-align:center}
.muted,.text-muted{color:var(--muted)}
.text-primary{color:var(--primary)}
.mb-4{margin-bottom:1rem}

/* Buttons */
.btn{display:inline-flex;align-items:center;gap:.5rem;padding:.65rem 1.1rem;border-radius:.6rem;font-weight:600;font-size:.9rem;cursor:pointer;border:1px solid transparent;transition:.2s;white-space:nowrap}
.btn-primary{background:var(--primary);color:var(--primary-fg)}
.btn-primary:hover{filter:brightness(1.08)}
.btn-outline{border-color:var(--border);color:var(--fg);background:transparent}
.btn-outline:hover{background:var(--card)}
.btn-sm{padding:.45rem .85rem;font-size:.85rem}
.btn-lg{padding:.95rem 1.6rem;font-size:1rem}
.btn-block{width:100%;justify-content:center}
.btn-light{background:#fff;color:var(--primary)}
.btn-outline-light{border:1px solid rgba(255,255,255,.6);color:#fff}
.icon-btn{width:38px;height:38px;border-radius:50%;background:var(--card);border:1px solid var(--border);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;color:var(--muted)}
.icon-btn:hover{color:var(--fg)}
.link-muted{color:var(--muted);font-size:.9rem}
.link-muted:hover{color:var(--fg)}

/* Navbar */
.navbar{position:fixed;top:0;left:0;right:0;z-index:50;background:rgba(255,255,255,.8);backdrop-filter:blur(12px);border-bottom:1px solid var(--border)}
[data-theme="dark"] .navbar{background:rgba(12,17,29,.8)}
.nav-inner{display:flex;align-items:center;justify-content:space-between;height:64px}
.brand{display:flex;align-items:center;gap:2px;background:none;border:none;cursor:pointer;color:inherit}
.brand-icon{width:32px;height:32px;border-radius:50%;background:var(--primary);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:14px}
.brand-icon.sm{width:24px;height:24px;font-size:12px}
.brand-text{display:flex;flex-direction:column;line-height:1.1;text-align:left}
.brand-name{font-weight:700;color:var(--primary);font-size:1.1rem}
.brand-tagline{font-size:10px;color:var(--fg);font-weight:500;letter-spacing:.02em}
.nav-links{display:flex;gap:2rem}
.nav-links a{color:var(--muted);font-size:.9rem;font-weight:500}
.nav-links a:hover{color:var(--fg)}
.nav-actions{display:flex;align-items:center;gap:.75rem}
.mobile-only{display:none}
.mobile-menu{display:none;flex-direction:column;gap:.75rem;padding:1rem 1.25rem;border-bottom:1px solid var(--border);background:var(--bg)}
.mobile-menu.open{display:flex}
@media(max-width:860px){
  .nav-links,.nav-actions{display:none}
  .mobile-only{display:inline-flex}
}

/* Hero */
.hero{background:linear-gradient(180deg,var(--hero-start),var(--hero-end));padding:8rem 0 4rem}
.badge-pill{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem 1rem;border-radius:999px;border:1px solid var(--border);background:rgba(255,255,255,.6);font-size:.85rem;color:var(--muted);margin-bottom:2rem}
.hero-brand{font-size:clamp(3rem,7vw,5.5rem);font-weight:800;color:var(--primary);letter-spacing:-.03em;margin-bottom:.5rem}
.hero-headline{font-size:clamp(1.8rem,4vw,3rem);font-weight:700;margin-bottom:2rem;line-height:1.15}
.hero-sub{color:var(--muted);font-size:1.05rem;max-width:640px;margin:1.5rem auto}
.hero-actions{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap;margin-bottom:4rem}
.hero-actions.center{margin:1.5rem auto 0}

/* Dashboard preview */
.dashboard-preview{max-width:920px;margin:0 auto;border-radius:1rem;overflow:hidden;box-shadow:0 25px 70px -20px rgba(0,0,0,.35);border:1px solid var(--border);text-align:left}
.dp-chrome{background:var(--dash-bg);display:flex;align-items:center;gap:.5rem;padding:.75rem 1rem}
.dot{width:12px;height:12px;border-radius:50%}
.dot.red{background:#ef4444}.dot.yellow{background:#eab308}.dot.green{background:#22c55e}
.dp-urlbar{flex:1;height:20px;background:var(--dash-card);border-radius:6px;max-width:280px;margin:0 1rem}
.dp-body{display:flex;background:var(--dash-bg);min-height:340px;color:var(--dash-text)}
.dp-sidebar{width:180px;border-right:1px solid rgba(255,255,255,.08);padding:1rem;font-size:.78rem}
.dp-sidebar .dp-brand{display:flex;align-items:center;gap:.5rem;margin-bottom:1.25rem;font-weight:600}
.dp-sidebar ul{display:flex;flex-direction:column;gap:.25rem}
.dp-sidebar li{display:flex;align-items:center;gap:.5rem;padding:.45rem .65rem;border-radius:.5rem;color:var(--dash-muted);cursor:pointer}
.dp-sidebar li.active{background:rgba(37,99,235,.2);color:var(--primary)}
.dp-sidebar li i{font-size:14px}
.dp-main{flex:1;padding:1.25rem}
.dp-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}
.dp-header h4{font-size:.9rem}.dp-header p{font-size:.75rem;color:var(--dash-muted)}
.dp-tools{display:flex;align-items:center;gap:.5rem;color:var(--dash-muted);font-size:.75rem}
.dp-search{display:inline-flex;gap:.25rem;align-items:center;background:var(--dash-card);padding:.25rem .5rem;border-radius:.4rem}
.dp-avatar{width:24px;height:24px;border-radius:50%;background:var(--primary)}
.dp-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:.75rem;margin-bottom:1rem}
.stat{background:var(--dash-card);padding:.75rem;border-radius:.75rem}
.stat p{font-size:.7rem;color:var(--dash-muted)}.stat h3{font-size:1.1rem;font-weight:700}
.stat span{font-size:.7rem;display:inline-flex;align-items:center;gap:.25rem}
.stat.highlight{background:var(--primary);color:#fff}
.stat.highlight p{color:rgba(255,255,255,.8)}
.dp-bottom{display:grid;grid-template-columns:3fr 2fr;gap:.75rem}
.dp-chart,.dp-insights{background:var(--dash-card);border-radius:.75rem;padding:.75rem;font-size:.75rem}
.dp-chart-head{display:flex;justify-content:space-between;margin-bottom:.5rem}
.dp-chart-head span:last-child{color:var(--dash-muted)}
.bars{display:flex;gap:.5rem;align-items:flex-end;height:90px}
.bar{flex:1;background:rgba(37,99,235,.3);border-radius:4px 4px 0 0;position:relative;display:flex;justify-content:center}
.bar::before{content:"";position:absolute;bottom:0;left:0;right:0;height:60%;background:var(--primary);border-radius:4px 4px 0 0}
.bar span{position:absolute;bottom:-16px;font-size:9px;color:var(--dash-muted)}
.dp-insights-head{display:flex;align-items:center;gap:.4rem;font-weight:600;margin-bottom:.5rem;color:var(--dash-text)}
.dp-insights p{color:var(--dash-muted);margin-bottom:.75rem;line-height:1.5}
.dp-insights a{color:var(--primary);font-weight:500}
@media(max-width:760px){.dp-sidebar{display:none}.dp-stats{grid-template-columns:repeat(2,1fr)}.dp-bottom{grid-template-columns:1fr}}

/* Sections */
.section{padding:5rem 0}
.section-alt{background:var(--card)}
.section-head{text-align:center;max-width:680px;margin:0 auto 3rem}
.eyebrow{display:inline-block;color:var(--primary);font-weight:600;font-size:.8rem;letter-spacing:.1em;text-transform:uppercase;margin-bottom:.75rem}
.section-head h2{font-size:clamp(1.75rem,3.5vw,2.5rem);margin-bottom:.75rem;font-weight:700}
.section-head p{color:var(--muted)}
.grid{display:grid;gap:1.25rem}
.features-grid{grid-template-columns:repeat(3,1fr)}
@media(max-width:900px){.features-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.features-grid{grid-template-columns:1fr}}
.feature-card{background:var(--card);border:1px solid var(--border);border-radius:1rem;padding:1.5rem;transition:.2s}
.feature-card:hover{transform:translateY(-2px);box-shadow:0 10px 30px -10px rgba(37,99,235,.2)}
.fc-icon{width:48px;height:48px;border-radius:.75rem;background:var(--feature-icon);color:var(--primary);display:flex;align-items:center;justify-content:center;font-size:22px;margin-bottom:1rem}
.feature-card h3{font-size:1.05rem;margin-bottom:.4rem}
.feature-card p{color:var(--muted);font-size:.9rem}

/* About */
.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:center}
@media(max-width:800px){.about-grid{grid-template-columns:1fr}}
.about-grid h2{font-size:clamp(1.75rem,3.5vw,2.4rem);margin:.5rem 0 1rem}
.about-grid > div > p{color:var(--muted);margin-bottom:1.5rem}
.stats-row{display:flex;gap:2rem}
.stats-row h3{color:var(--primary);font-size:1.75rem}
.stats-row p{color:var(--muted);font-size:.85rem}
.about-card{background:var(--bg);border:1px solid var(--border);border-radius:1rem;padding:2rem}
.about-card h3{margin-bottom:1rem}
.about-card li{padding:.4rem 0;color:var(--muted)}

/* CTA */
.cta{background:linear-gradient(135deg,var(--cta-start),var(--cta-end));color:#fff;padding:5rem 0}
.cta h2{font-size:clamp(1.75rem,3.5vw,2.5rem);margin-bottom:.75rem}
.cta p{opacity:.9}

/* Footer */
.footer{background:var(--card);border-top:1px solid var(--border);padding:3.5rem 0 1.5rem}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:2.5rem;margin-bottom:2rem}
@media(max-width:760px){.footer-grid{grid-template-columns:1fr}}
.footer h4{margin-bottom:1rem;font-size:.95rem}
.footer ul li{padding:.25rem 0;color:var(--muted);font-size:.9rem}
.footer ul li a{color:var(--muted)}.footer ul li a:hover{color:var(--fg)}
.socials{display:flex;gap:.5rem;margin-top:1rem}
.socials span{width:36px;height:36px;border-radius:50%;background:var(--bg);display:inline-flex;align-items:center;justify-content:center;color:var(--muted);font-weight:600;cursor:pointer}
.socials span:hover{background:rgba(37,99,235,.15);color:var(--primary)}
.footer-bottom{border-top:1px solid var(--border);padding-top:1.25rem;display:flex;justify-content:space-between;flex-wrap:wrap;gap:.5rem;color:var(--muted);font-size:.8rem}
