:root{
  --brand-1:#6e8efb;
  --brand-2:#a777e3;
  --ink:#0f172a;
  --muted:#475569;
  --bg:#f8fafc;
  --card:#ffffff;
  --line:#e2e8f0;
  --ok:#16a34a;
  --warn:#f59e0b;
  --bad:#ef4444;
  --radius:14px;
  --shadow:0 10px 25px rgba(15,23,42,.08);
  --shadow-2:0 20px 45px rgba(15,23,42,.12);
  --max:1200px;
}
*{
  box-sizing:border-box
}
html,body{
  margin:0;
  padding:0
}
body{
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
  color:var(--ink);
  background:var(--bg);
  line-height:1.6;
}
a{
  color:var(--brand-1);
  text-decoration:none
}
a:hover{
  text-decoration:underline
}
.container{
  max-width:var(--max);
  margin:0 auto;
  padding:0 20px
}
.gradient{
  background:linear-gradient(135deg,var(--brand-1),var(--brand-2))
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:12px 22px;
  border-radius:999px;
  border:1.5px solid transparent;
  font-weight:700;
  cursor:pointer;
  transition:.2s box-shadow,.2s transform,.2s background
}
.btn:active{
  transform:translateY(1px)
}
.btn-primary{
  background:#fff;
  color:#3f3f46
}
.btn-primary:hover{
  box-shadow:var(--shadow)
}
.btn-ghost{
  background:transparent;
  color:#fff;
  border-color:#fff
}
.btn-ghost:hover{
  background:rgba(255,255,255,.1)
}
header.site{
  color:#fff;
  box-shadow:var(--shadow);
}
header .nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:18px 0
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:800;
  font-size:20px
}
.brand-badge{
  width:28px;
  height:28px;
  border-radius:8px;
  background:#fff;
  display:grid;
  place-items:center;
  color:var(--brand-1);
  font-weight:900
}
nav.primary{
  display:flex;
  gap:22px
}
nav.primary a{
  color:#e2e8f0
}
nav.primary a:hover{
  color:#fff
}
.nav-cta{
  display:flex;
  gap:10px
}
.mobile-toggle{
  display:none;
  background:none;
  border:0;
  color:#fff;
  font-size:22px
}
@media (max-width: 900px){
  nav.primary{
    display:none
  }
  .mobile-toggle{
    display:block
  }
  .nav-cta a:first-child{
    display:none
  }
}

/* Hero */
.hero{
  color:#fff;
  padding:64px 0 68px
}
.hero-grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:40px;
  align-items:center
}
@media (max-width: 900px){
  .hero-grid{
    grid-template-columns:1fr
  }
}
.hero h1{
  font-size:40px;
  line-height:1.15;
  margin:0 0 16px;
  font-weight:900
}
.hero p.lead{
  color:#eef2ff;
  margin:0 0 18px;
  font-size:18px
}
.hero ul{
  margin:0 0 22px 18px;
  padding:0;
  color:#e5e7eb
}
.panel{
  background:rgba(255,255,255,.16);
  backdrop-filter:blur(6px);
  border:1px solid rgba(255,255,255,.25);
  border-radius:22px;
  box-shadow:var(--shadow-2);
  padding:20px;
}
.status{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  background:rgba(0,0,0,.25);
  border-radius:12px;
  padding:12px;
  margin:12px 0 18px
}
.status .item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  color:#e5e7eb
}
.kpi{
  display:flex;
  justify-content:space-between;
  text-align:center;
  margin:10px 0 18px
}
.kpi .num{
  font-size:24px;
  font-weight:800
}
.bar{
  height:30px;
  border-radius:999px;
  background:#334155;
  overflow:hidden
}
.bar > i{
  display:block;
  height:100%;
  background:#22c55e;
  width:0;
  transition:width .6s ease
}

/* Sections */
section{
  padding:64px 0
}
.title{
  text-align:center;
  margin-bottom:28px
}
.title h2{
  font-size:32px;
  margin:0 0 10px
}
.muted{
  color:var(--muted)
}

/* Cards grid */
.grid-3{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px
}
@media (max-width: 900px){
  .grid-3{
    grid-template-columns:1fr
  }
}
.card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:24px;
  box-shadow:var(--shadow);
  transition:transform .15s ease, box-shadow .15s ease
}
.card:hover{
  transform:translateY(-2px);
  box-shadow:var(--shadow-2)
}
.card h3{
  margin:0 0 8px;
  font-size:18px
}
.pill{
  display:inline-block;
  padding:6px 10px;
  border-radius:999px;
  font-weight:700;
  font-size:12px
}
.pill.ok{
  background:#dcfce7;
  color:#065f46
}
.pill.warn{
  background:#fef9c3;
  color:#92400e
}
.pill.bad{
  background:#fee2e2;
  color:#991b1b
}

/* Table */
.table-wrap{
  overflow-x:auto;
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  background:#fff
}
table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  min-width:720px
}
thead th{
  background:#f1f5f9;
  text-align:left;
  padding:14px 16px;
  font-size:12px;
  letter-spacing:.04em;
  color:#334155;
  border-bottom:1px solid var(--line)
}
tbody td{
  padding:14px 16px;
  border-bottom:1px solid var(--line)
}
tbody tr:hover{
  background:#f8fafc
}

/* Pricing */
.pricing{
  max-width:1000px;
  margin:0 auto
}
.pricing-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px
}
@media (max-width: 900px){
  .pricing-grid{
    grid-template-columns:1fr
  }
}
.price{
  border:2px solid var(--line);
  border-radius:var(--radius);
  padding:28px;
  background:#fff;
  box-shadow:var(--shadow)
}
.price.hot{
  border-color:var(--brand-1);
  background:linear-gradient(180deg,#ffffff 0%, #f8f9ff 100%)
}
.price h3{
  margin:0 0 10px;
  font-size:22px
}
.price .big{
  font-size:40px;
  font-weight:900
}
.price ul{
  margin:14px 0 18px;
  padding-left:18px
}

/* FAQ */
.faq{
  max-width:820px;
  margin:0 auto
}
details{
  border:1px solid var(--line);
  border-radius:12px;
  background:#fff;
  margin:12px 0;
  box-shadow:var(--shadow)
}
details summary{
  cursor:pointer;
  padding:14px 16px;
  font-weight:700;
  list-style:none
}
details[open] summary{
  border-bottom:1px solid var(--line)
}
details > div{
  padding:14px 16px;
  color:var(--muted)
}

/* Footer */
footer{
  background:#0b1220;
  color:#94a3b8
}
footer .cols{
  display:grid;
  grid-template-columns:2fr 1fr 1fr 1fr;
  gap:20px
}
@media (max-width: 900px){
  footer .cols{
    grid-template-columns:1fr
  }
}
footer h4{
  color:#fff;
  margin:0 0 10px
}
footer a{
  color:#cbd5e1
}
footer a:hover{
  color:#fff
}

/* Utilities */
.center{
  text-align:center
}
.mb-0{
  margin-bottom:0
}
.mb-8{
  margin-bottom:8px
}
.mb-12{
  margin-bottom:12px
}
.mb-16{
  margin-bottom:16px
}
.mb-20{
  margin-bottom:20px
}
.mt-20{
  margin-top:20px
}
.hidden{
  display:none
}