:root{
  --bg:#0B1220; --panel:#0F172A; --text:#E5E7EB; --muted:#A7B0BE; --muted2:#94A3B8;
  --line:#1F2937; --white:#F8FAFC; --radius:18px;
  --shadow:0 22px 60px rgba(0,0,0,0.45); --shadow2:0 14px 40px rgba(0,0,0,0.35);
  --max:1140px;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background:radial-gradient(1200px 600px at 10% 10%, #111827 0%, var(--bg) 55%) no-repeat, var(--bg);
  color:var(--text); line-height:1.5;
}
a{color:inherit}
.container{max-width:var(--max); margin:0 auto; padding:0 22px}
.nav{position:sticky; top:0; z-index:50; backdrop-filter:blur(10px); background:rgba(11,18,32,0.72); border-bottom:1px solid rgba(31,41,55,0.7)}
.nav-inner{display:flex; align-items:center; justify-content:space-between; padding:14px 0; gap:16px}
.brand{display:flex; align-items:center; gap:12px; text-decoration:none}
.brand img{height:34px; width:auto; display:block}
.nav-links{display:flex; gap:18px; align-items:center}
.nav-links a{opacity:0.9; text-decoration:none; font-weight:600; font-size:14px}
.nav-links a:hover{opacity:1}
.cta{
  display:inline-flex; align-items:center; justify-content:center; padding:10px 14px; border-radius:999px;
  border:1px solid rgba(226,232,240,0.20); background:rgba(248,250,252,0.08); text-decoration:none; font-weight:800; font-size:14px;
}
.cta:hover{background:rgba(248,250,252,0.12)}
.cta.primary{background:rgba(248,250,252,0.92); color:#0B1220; border-color:rgba(248,250,252,0.92)}
.cta.primary:hover{background:#ffffff}
.mobile-toggle{display:none}
.hero{padding:70px 0 24px}
.hero-grid{display:grid; grid-template-columns:1.05fr 0.95fr; gap:28px; align-items:center}
.kicker{color:var(--muted2); font-weight:800; letter-spacing:0.08em; text-transform:uppercase; font-size:12px}
h1{margin:10px 0 10px; font-size:46px; line-height:1.08; letter-spacing:-0.02em}
.subhead{font-size:18px; color:var(--muted); margin:0 0 22px; max-width:56ch}
.hero-actions{display:flex; gap:12px; flex-wrap:wrap; align-items:center}
.hero-note{margin-top:14px; color:var(--muted2); font-size:13px}
.hero-card{background:linear-gradient(180deg, rgba(15,23,42,0.9), rgba(11,18,32,0.95));
  border:1px solid rgba(31,41,55,0.85); border-radius:var(--radius); box-shadow:var(--shadow2); overflow:hidden}
.hero-card img{width:100%; height:auto; display:block}
.hero-card .hc-foot{padding:14px 16px; border-top:1px solid rgba(31,41,55,0.8); color:var(--muted2); font-size:13px}
.section{padding:58px 0}
.section.small{padding:38px 0}
.section h2{margin:0 0 10px; font-size:30px; letter-spacing:-0.01em}
.section p.lead{margin:0 0 22px; color:var(--muted); font-size:16px; max-width:75ch}
.metrics{display:grid; grid-template-columns:repeat(4,1fr); gap:14px}
.metric{background:rgba(15,23,42,0.85); border:1px solid rgba(31,41,55,0.85); border-radius:var(--radius); padding:16px}
.metric .big{font-size:22px; font-weight:900}
.metric .small{color:var(--muted2); font-size:13px; margin-top:4px}
.grid2{display:grid; grid-template-columns:1fr 1fr; gap:18px}
.card{background:rgba(15,23,42,0.80); border:1px solid rgba(31,41,55,0.85); border-radius:var(--radius); padding:18px; box-shadow:0 10px 30px rgba(0,0,0,0.25)}
.card h3{margin:0 0 8px; font-size:18px}
.card p{margin:0; color:var(--muted); font-size:14px}
.list{margin:12px 0 0; padding:0; list-style:none}
.list li{padding:10px 0; border-top:1px solid rgba(31,41,55,0.7)}
.list li:first-child{border-top:0}
.pill{display:inline-flex; align-items:center; gap:8px; padding:7px 10px; border-radius:999px;
  border:1px solid rgba(226,232,240,0.16); background:rgba(248,250,252,0.06); color:var(--muted2); font-size:12px; font-weight:800}
.pill-dot{width:8px;height:8px;border-radius:50%; background:rgba(248,250,252,0.7)}
.services{display:grid; grid-template-columns:repeat(3,1fr); gap:14px}
.service{background:rgba(15,23,42,0.82); border:1px solid rgba(31,41,55,0.85); border-radius:var(--radius); padding:18px}
.service .top{display:flex; align-items:flex-start; justify-content:space-between; gap:10px}
.service h3{margin:0; font-size:18px}
.price{font-weight:950; color:var(--white); font-size:14px}
.service p{margin:10px 0 0; color:var(--muted); font-size:14px}
.service .meta{margin-top:12px; color:var(--muted2); font-size:13px}
.service .actions{margin-top:14px; display:flex; gap:10px; flex-wrap:wrap}
.how{display:grid; grid-template-columns:repeat(4,1fr); gap:14px}
.step{background:rgba(15,23,42,0.78); border:1px solid rgba(31,41,55,0.85); border-radius:var(--radius); padding:16px}
.step .num{font-weight:950; font-size:12px; color:var(--muted2); letter-spacing:0.08em}
.step h3{margin:8px 0 6px; font-size:16px}
.step p{margin:0; color:var(--muted); font-size:14px}
.pricing{display:grid; grid-template-columns:repeat(3,1fr); gap:14px}
.plan{border-radius:var(--radius); border:1px solid rgba(31,41,55,0.85); background:rgba(15,23,42,0.82); padding:18px; position:relative}
.plan.featured{border-color:rgba(248,250,252,0.35); box-shadow:var(--shadow2); background:linear-gradient(180deg, rgba(248,250,252,0.10), rgba(15,23,42,0.82))}
.badge{position:absolute; top:14px; right:14px; font-size:12px; font-weight:950; padding:6px 10px; border-radius:999px;
  background:rgba(248,250,252,0.10); border:1px solid rgba(248,250,252,0.18); color:var(--white)}
.plan h3{margin:0 0 6px}
.plan .amt{font-size:28px; font-weight:950; letter-spacing:-0.02em}
.plan .amt small{font-size:13px; color:var(--muted2); font-weight:900}
.plan p{margin:8px 0 0; color:var(--muted); font-size:14px}
.plan ul{margin:14px 0 0; padding:0; list-style:none}
.plan li{padding:9px 0; border-top:1px solid rgba(31,41,55,0.7); font-size:14px}
.plan li:first-child{border-top:0}
.plan .actions{margin-top:16px; display:flex; gap:10px; flex-wrap:wrap}
.forms{display:grid; grid-template-columns:1.05fr 0.95fr; gap:14px; align-items:start}
.form{background:rgba(15,23,42,0.82); border:1px solid rgba(31,41,55,0.85); border-radius:var(--radius); padding:18px}
label{display:block; font-size:13px; color:var(--muted2); font-weight:900; margin:12px 0 6px}
input, select, textarea{width:100%; padding:12px; border-radius:12px; border:1px solid rgba(148,163,184,0.25);
  background:rgba(11,18,32,0.70); color:var(--text); outline:none}
textarea{min-height:92px; resize:vertical}
input:focus, select:focus, textarea:focus{border-color:rgba(248,250,252,0.40)}
.form .row{display:grid; grid-template-columns:1fr 1fr; gap:12px}
.smallprint{color:var(--muted2); font-size:12px; margin-top:10px}
.calc-kpi{display:flex; justify-content:space-between; gap:10px; padding:10px 0; border-top:1px solid rgba(31,41,55,0.55)}
.calc-kpi:first-child{border-top:0}
.calc-kpi .k{color:var(--muted2); font-size:13px; font-weight:900}
.calc-kpi .v{font-weight:950}
hr.sep{border:0; border-top:1px solid rgba(31,41,55,0.7); margin:18px 0}
.footer{padding:34px 0 44px; border-top:1px solid rgba(31,41,55,0.7); color:var(--muted2); font-size:13px}
.footer-grid{display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap}
.footer a{text-decoration:none; opacity:0.92}
.footer a:hover{opacity:1}
.notice{margin-top:10px; color:rgba(148,163,184,0.85); max-width:88ch}
.modal{position:fixed; inset:0; display:none; align-items:center; justify-content:center; padding:18px; background:rgba(0,0,0,0.55); z-index:100}
.modal.open{display:flex}
.modal-card{width:min(920px, 100%); max-height:90vh; overflow:auto; background:rgba(15,23,42,0.96);
  border:1px solid rgba(31,41,55,0.9); border-radius:22px; box-shadow:var(--shadow)}
.modal-head{display:flex; align-items:center; justify-content:space-between; padding:16px; border-bottom:1px solid rgba(31,41,55,0.75)}
.modal-head strong{font-size:14px; letter-spacing:0.02em; text-transform:uppercase; color:var(--muted2)}
.icon-btn{background:rgba(248,250,252,0.08); border:1px solid rgba(248,250,252,0.15); color:var(--text);
  border-radius:999px; padding:8px 10px; font-weight:950; cursor:pointer}
.modal-body{padding:16px}
@media (max-width:980px){
  .hero-grid{grid-template-columns:1fr}
  h1{font-size:40px}
  .metrics{grid-template-columns:repeat(2,1fr)}
  .grid2{grid-template-columns:1fr}
  .services{grid-template-columns:repeat(2,1fr)}
  .how{grid-template-columns:repeat(2,1fr)}
  .pricing{grid-template-columns:1fr}
  .forms{grid-template-columns:1fr}
  .nav-links{display:none}
  .mobile-toggle{display:inline-flex}
}
@media (max-width:560px){
  h1{font-size:34px}
  .services{grid-template-columns:1fr}
  .how{grid-template-columns:1fr}
}

/* --- Profit Leakage Dashboard --- */
.dash-grid{display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:12px}
.dash-card{background:rgba(11,18,32,0.55); border:1px solid rgba(31,41,55,0.7); border-radius:14px; padding:12px}
.dash-head{display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:8px}
.dash-title{font-weight:900; color:var(--text); font-size:13px}
.dash-score{font-weight:950; color:var(--white); font-size:13px}
.bar{height:10px; border-radius:999px; background:rgba(148,163,184,0.15); overflow:hidden; border:1px solid rgba(148,163,184,0.18)}
.bar > span{display:block; height:100%; width:0%; background:rgba(248,250,252,0.85)}
.dash-note{margin-top:10px; color:var(--muted2); font-size:12px}
@media (max-width:560px){ .dash-grid{grid-template-columns:1fr} }

/* Dashboard dynamic notes */
.dash-sub{margin-top:8px; color:rgba(148,163,184,0.95); font-size:12px; line-height:1.35}

/* highlight the recommended plan briefly */
.plan.flash{border-color:rgba(248,250,252,0.65)!important; box-shadow:0 0 0 2px rgba(248,250,252,0.22), var(--shadow2)!important;}
