:root{
  --bg0:#070b14;
  --bg1:#0b1220;
  --card:rgba(255,255,255,.06);
  --card2:rgba(255,255,255,.08);
  --stroke:rgba(255,255,255,.12);
  --stroke2:rgba(255,255,255,.18);
  --text:#eaf0ff;
  --muted:rgba(234,240,255,.72);
  --muted2:rgba(234,240,255,.56);
  --brand:#6ae4ff;
  --brand2:#a78bfa;
  --ok:#34d399;
  --warn:#fbbf24;
  --shadow: 0 14px 40px rgba(0,0,0,.42);
  --shadow2: 0 10px 30px rgba(0,0,0,.35);
  --radius: 18px;
  --radius2: 14px;
  --max: 1120px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, "PingFang SC","Microsoft YaHei", sans-serif;
  color:var(--text);
  background:
    radial-gradient(900px 500px at 15% 10%, rgba(106,228,255,.16), transparent 60%),
    radial-gradient(900px 500px at 85% 0%, rgba(167,139,250,.18), transparent 55%),
    radial-gradient(900px 500px at 70% 85%, rgba(52,211,153,.10), transparent 55%),
    linear-gradient(180deg,var(--bg0),var(--bg1));
  line-height:1.55;
}

a{color:inherit;text-decoration:none}
a:hover{opacity:.92}

.container{
  width:min(var(--max), calc(100% - 40px));
  margin-inline:auto;
}

.skip-link{
  position:absolute;
  left:-999px;
  top:12px;
  background:#fff;
  color:#000;
  padding:10px 12px;
  border-radius:10px;
  z-index:9999;
}
.skip-link:focus{left:12px}

.site-header{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter:saturate(140%) blur(10px);
  background: rgba(7,11,20,.55);
  border-bottom:1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.site-header[data-elevate="true"]{
  border-bottom-color: var(--stroke);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  background: rgba(7,11,20,.75);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
  gap:14px;
}
.brand{display:flex;align-items:center;gap:10px}
.brand-logo{filter: drop-shadow(0 8px 16px rgba(0,0,0,.35))}
.brand-text{font-weight:700;letter-spacing:.2px}

.nav{display:flex;align-items:center;gap:14px}
.nav-links{
  display:flex;
  align-items:center;
  gap:16px;
  padding:10px 12px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:999px;
  background: rgba(255,255,255,.04);
}
.nav-links a{
  font-size:14px;
  color: var(--muted);
  padding:6px 10px;
  border-radius:999px;
  transition: background .15s ease, color .15s ease;
}
.nav-links a:hover{
  background: rgba(255,255,255,.07);
  color: var(--text);
}

.nav-toggle{
  display:none;
  width:42px;height:42px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  color:var(--text);
  cursor:pointer;
}
.nav-toggle-bar{
  display:block;
  width:18px;
  height:2px;
  margin:4px auto;
  background: rgba(234,240,255,.88);
  border-radius:2px;
}

.hero{
  padding:72px 0 24px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:36px;
  align-items:center;
}
.badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  border-radius:999px;
  padding:8px 12px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  color: var(--muted);
  font-size:13px;
}
.dot{
  width:8px;height:8px;border-radius:50%;
  background: linear-gradient(90deg,var(--brand),var(--brand2));
  box-shadow: 0 0 0 4px rgba(106,228,255,.12);
}

h1{
  margin:14px 0 10px;
  font-size: clamp(30px, 3.5vw, 44px);
  line-height:1.12;
  letter-spacing:-.4px;
}
.subtitle{
  margin:0;
  color: var(--muted);
  font-size: 16px;
  max-width: 52ch;
}
.hero-cta{display:flex;gap:12px;margin:20px 0 18px;flex-wrap:wrap}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  height:44px;
  padding:0 16px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: var(--text);
  font-weight:600;
  cursor:pointer;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.btn:hover{transform: translateY(-1px); background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16)}
.btn:active{transform: translateY(0)}
.btn.primary{
  border-color: rgba(106,228,255,.35);
  background: linear-gradient(90deg, rgba(106,228,255,.22), rgba(167,139,250,.20));
  box-shadow: 0 12px 30px rgba(106,228,255,.08);
}
.btn.ghost{
  background: rgba(255,255,255,.03);
}
.btn.tiny{
  height:34px;
  padding:0 12px;
  border-radius:12px;
  font-size:13px;
}

.hero-metrics{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-top: 10px;
}
.metric{
  padding:12px 14px;
  border-radius: var(--radius2);
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  min-width: 120px;
}
.metric-num{font-weight:800;font-size:18px}
.metric-label{color:var(--muted2);font-size:13px;margin-top:2px}

.mock-card{
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.12);
  background:
    radial-gradient(480px 220px at 30% 0%, rgba(106,228,255,.14), transparent 60%),
    radial-gradient(480px 220px at 90% 10%, rgba(167,139,250,.16), transparent 60%),
    rgba(255,255,255,.04);
  box-shadow: var(--shadow);
  padding:18px;
}
.mock-title{font-weight:700;color:rgba(234,240,255,.92);margin-bottom:12px}
.mock-row{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:10px}
.pill{
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.20);
  color: var(--muted);
}
.pill.ok{border-color: rgba(52,211,153,.25); color: rgba(52,211,153,.95); background: rgba(52,211,153,.08)}
.pill.warn{border-color: rgba(251,191,36,.28); color: rgba(251,191,36,.95); background: rgba(251,191,36,.08)}
.mock-chart{
  display:flex;align-items:flex-end;gap:10px;
  height:120px;margin:16px 0 10px;
  padding:10px 12px;
  border-radius: var(--radius2);
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
}
.bar{
  width:18%;
  border-radius: 10px 10px 8px 8px;
  background: linear-gradient(180deg, rgba(106,228,255,.85), rgba(167,139,250,.70));
  box-shadow: 0 10px 22px rgba(0,0,0,.25);
}
.mock-footer{display:flex;gap:14px;flex-wrap:wrap;color:var(--muted2);font-size:12px}
.mono{font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace}

.section{padding:64px 0}
.section-alt{
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.00));
  border-top:1px solid rgba(255,255,255,.06);
  border-bottom:1px solid rgba(255,255,255,.06);
}
.section-head{margin-bottom:18px}
h2{
  margin:0 0 8px;
  font-size: 26px;
  letter-spacing:-.2px;
}
.section-head p{margin:0;color:var(--muted);max-width:70ch}

.grid{display:grid;gap:14px}
.cards{grid-template-columns: repeat(4, 1fr)}
.card{
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  padding:16px;
  box-shadow: var(--shadow2);
}
.card-icon{
  width:42px;height:42px;
  border-radius: 14px;
  display:grid;place-items:center;
  background: linear-gradient(135deg, rgba(106,228,255,.18), rgba(167,139,250,.18));
  border:1px solid rgba(255,255,255,.10);
  margin-bottom:12px;
  font-weight:800;
}
.card h3{margin:0 0 8px;font-size:16px}
.card p{margin:0 0 10px;color:var(--muted)}
.list{margin:0;padding-left:18px;color:var(--muted2)}
.list li{margin:6px 0}

.download-card{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:16px;
  border-radius: 22px;
  border:1px solid rgba(255,255,255,.12);
  background:
    radial-gradient(700px 260px at 10% 10%, rgba(106,228,255,.12), transparent 60%),
    radial-gradient(700px 260px at 80% 0%, rgba(167,139,250,.14), transparent 60%),
    rgba(255,255,255,.04);
  box-shadow: var(--shadow);
  padding:18px;
}
.download-title{font-weight:800;font-size:18px;margin-bottom:8px}
.download-meta{display:flex;align-items:center;gap:10px;margin-bottom:12px;flex-wrap:wrap}
.tag{
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(106,228,255,.28);
  color: rgba(106,228,255,.96);
  background: rgba(106,228,255,.08);
}
.download-actions{display:flex;gap:12px;flex-wrap:wrap;margin:10px 0 8px}
.hint{color:var(--muted2);font-size:13px}
.hint code{color:rgba(234,240,255,.92)}

.steps{
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
  padding:14px;
  height:100%;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:12px;
}
.step{display:flex;gap:12px;align-items:center}
.step-num{
  width:32px;height:32px;border-radius:12px;
  display:grid;place-items:center;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  font-weight:800;
}
.step-text{color:var(--muted)}

.scenes{grid-template-columns: repeat(3, 1fr)}
.scene{
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  padding:16px;
}
.scene-title{font-weight:800;margin-bottom:8px}
.scene p{margin:0;color:var(--muted)}

.cardish{
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  box-shadow: var(--shadow2);
}
.needs-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
  align-items:start;
}
.form{padding:16px}
.form-row{margin-bottom:12px}
.form-row.two{display:grid;grid-template-columns: 1fr 1fr;gap:12px}
label span{display:block;font-size:13px;color:var(--muted2);margin:0 0 8px}
input, select, textarea{
  width:100%;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.18);
  color: var(--text);
  padding: 12px 12px;
  outline:none;
}
input:focus, select:focus, textarea:focus{
  border-color: rgba(106,228,255,.35);
  box-shadow: 0 0 0 4px rgba(106,228,255,.10);
}
textarea{resize: vertical; min-height: 120px}
.checks{display:flex;gap:10px;flex-wrap:wrap}
.check{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color: var(--muted);
  font-size:13px;
}
.check input{width:auto}
.form-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:8px}
.form-result{margin-top:10px}
.muted{color: var(--muted)}

.preview{padding:16px}
.preview-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.preview-title{font-weight:800}
.preview-actions{display:flex;gap:8px;flex-wrap:wrap}
.preview-body{
  margin:12px 0 10px;
  padding:12px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
  white-space:pre-wrap;
  word-break:break-word;
  min-height: 220px;
  color: rgba(234,240,255,.90);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 12.5px;
  line-height: 1.55;
}
.preview-foot{color:var(--muted2);font-size:13px}

.about-grid{display:grid;grid-template-columns: 1fr 1fr;gap:14px}
.about-card,.qr-card{padding:16px}
.about-name{font-weight:900;font-size:18px;margin-bottom:10px}
.about-lines{display:flex;flex-direction:column;gap:10px;margin-bottom:14px}
.line{display:flex;align-items:center;justify-content:space-between;gap:12px}
.k{color:var(--muted2);font-size:13px}
.v{color:rgba(234,240,255,.92);font-weight:600}
.about-actions{display:flex;gap:12px;flex-wrap:wrap}
.qr-title{font-weight:800;margin-bottom:10px}
.qr-img{
  width: 100%;
  max-width: 260px;
  aspect-ratio: 1/1;
  display:block;
  border-radius: 18px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.18);
  margin-bottom:10px;
}

.faq{display:grid;gap:10px}
.faq-item{
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  padding: 12px 14px;
}
.faq-item summary{
  cursor:pointer;
  font-weight:700;
  color: rgba(234,240,255,.92);
}
.faq-body{color:var(--muted);margin-top:8px}

.footer{
  padding:28px 0;
  border-top:1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.12);
}
.footer-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}
.footer-brand{display:flex;align-items:center;gap:10px;font-weight:800}
.footer-meta{margin-top:6px}
.footer-right{display:flex;align-items:center;gap:10px;color:var(--muted)}

@media (max-width: 980px){
  .hero-grid{grid-template-columns: 1fr;gap:18px}
  .cards{grid-template-columns: repeat(2, 1fr)}
  .download-card{grid-template-columns: 1fr}
  .scenes{grid-template-columns: 1fr}
  .needs-grid{grid-template-columns: 1fr}
  .about-grid{grid-template-columns: 1fr}
}

@media (max-width: 620px){
  .nav-toggle{display:inline-grid;place-items:center}
  .nav-links{
    position:absolute;
    right: 20px;
    top: 62px;
    display:none;
    flex-direction:column;
    align-items:stretch;
    gap:6px;
    border-radius: 18px;
    padding:10px;
    background: rgba(7,11,20,.92);
    border:1px solid rgba(255,255,255,.12);
    box-shadow: var(--shadow);
    min-width: 180px;
  }
  .nav-links[data-open="true"]{display:flex}
  .nav-links a{width:100%}
  .form-row.two{grid-template-columns: 1fr}
  .hero{padding:58px 0 18px}
}

@media (prefers-reduced-motion: reduce){
  *{scroll-behavior:auto !important; transition:none !important}
}

