:root{
  --bg:#0b0f14;
  --bg2:#0f1620;
  --card:#111a25;
  --muted:#7f8ea3;
  --text:#e8eef7;
  --accent:#6ee7ff;
  --accent2:#7c3aed;
  --danger:#ff5d5d;
  --ok:#36d399;
  --border:rgba(255,255,255,.08);
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --radius:18px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background: radial-gradient(1200px 700px at 20% -10%, rgba(124,58,237,.25), transparent 60%),
              radial-gradient(900px 600px at 90% 0%, rgba(110,231,255,.20), transparent 55%),
              var(--bg);
  color:var(--text);
}

a{color:inherit; text-decoration:none}
.container{max-width:1120px; margin:0 auto; padding:18px}
.pill{display:inline-flex; gap:8px; align-items:center; padding:6px 10px; border:1px solid var(--border); border-radius:999px; background:rgba(255,255,255,.03); color:var(--muted); font-size:12px}
.badges{display:flex; flex-wrap:wrap; gap:8px}

.nav{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(12px);
  background: rgba(11,15,20,.75);
  border-bottom:1px solid var(--border);
}
.nav-inner{display:flex; align-items:center; justify-content:space-between; gap:14px}
.brand{
  display:flex; gap:10px; align-items:center;
  font-weight:700; letter-spacing:.2px
}
.brand-mark{
  width:34px; height:34px; border-radius:12px;
  background: linear-gradient(135deg, rgba(110,231,255,.9), rgba(124,58,237,.85));
  box-shadow: var(--shadow);
}
.nav-links{display:flex; gap:14px; align-items:center; flex-wrap:wrap}
.nav-links a{color:var(--muted); font-size:14px; padding:8px 10px; border-radius:12px}
.nav-links a:hover{background:rgba(255,255,255,.04); color:var(--text)}
.nav-right{display:flex; gap:10px; align-items:center}

.btn{
  display:inline-flex; justify-content:center; align-items:center; gap:8px;
  border-radius:14px;
  border:1px solid var(--border);
  padding:10px 12px;
  background: rgba(255,255,255,.03);
  color:var(--text);
  cursor:pointer;
  font-weight:600;
}
.btn:hover{background:rgba(255,255,255,.06)}
.btn.primary{
  background: linear-gradient(135deg, rgba(110,231,255,.22), rgba(124,58,237,.18));
  border-color: rgba(110,231,255,.35);
}
.btn.danger{border-color: rgba(255,93,93,.35); color:#ffd0d0}
.btn.block{width:100%}
.small{font-size:13px; color:var(--muted)}
.muted{color:var(--muted)}
.hr{height:1px; background:var(--border); margin:16px 0}

.hero{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:18px;
  padding:26px;
  border:1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  box-shadow: var(--shadow);
}
@media(max-width: 900px){ .hero{grid-template-columns:1fr} }

.h1{font-size:42px; line-height:1.05; margin:0 0 10px}
.h2{font-size:28px; margin:0 0 10px}
.card{
  border:1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(17,26,37,.72);
  box-shadow: var(--shadow);
}
.card-pad{padding:18px}
.grid{
  display:grid;
  gap:14px;
  grid-template-columns: repeat(3, minmax(0,1fr));
}
@media(max-width: 980px){ .grid{grid-template-columns: repeat(2,minmax(0,1fr));}}
@media(max-width: 620px){ .grid{grid-template-columns:1fr;} }

.product{
  display:flex; flex-direction:column; overflow:hidden;
}
.product .img{
  height:170px;
  background: rgba(255,255,255,.03);
  border-bottom:1px solid var(--border);
  display:flex; align-items:center; justify-content:center;
}
.product img{max-height:140px; max-width:90%; object-fit:contain; filter: drop-shadow(0 12px 22px rgba(0,0,0,.35));}
.product .body{padding:14px}
.product .title{font-weight:700; margin:0 0 6px}
.product .meta{display:flex; justify-content:space-between; gap:10px; align-items:center; color:var(--muted); font-size:13px}
.price{font-size:18px; font-weight:800}
select,input{
  width:100%;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid var(--border);
  background: rgba(0,0,0,.25);
  color:var(--text);
  outline:none;
}
label{display:block; font-size:13px; color:var(--muted); margin:10px 0 6px}
.row{display:grid; grid-template-columns: 1fr 1fr; gap:12px}
@media(max-width:620px){ .row{grid-template-columns:1fr} }

.table{
  width:100%;
  border-collapse:collapse;
  overflow:hidden;
  border-radius: var(--radius);
  border:1px solid var(--border);
}
.table th,.table td{
  text-align:left;
  padding:12px 12px;
  border-bottom:1px solid var(--border);
  font-size:14px;
}
.table th{color:var(--muted); font-weight:600; background: rgba(255,255,255,.03)}
.table tr:last-child td{border-bottom:none}

.notice{
  padding:12px 14px;
  border-radius: 14px;
  border:1px solid rgba(110,231,255,.25);
  background: rgba(110,231,255,.08);
  color: #d7fbff;
  font-size:14px;
}
.notice.warn{
  border-color: rgba(255,93,93,.25);
  background: rgba(255,93,93,.08);
  color: #ffd0d0;
}
.footer{padding:22px 0; color:var(--muted); font-size:13px}
