:root{
  --bg:#070A12;
  --panel:#0B1020;
  --panel2:#0E1630;
  --text:#EAF0FF;
  --muted:rgba(234,240,255,.72);
  --line:rgba(234,240,255,.12);
  --brand:#6D8CFF;
  --brand2:#8B5CFF;
  --ok:#3DFFB5;
  --warn:#FFC14D;
  --danger:#FF4D7D;
  --shadow: 0 18px 60px rgba(0,0,0,.55);
  --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, Arial;
  color:var(--text);
  background:
    radial-gradient(900px 700px at 15% 10%, rgba(109,140,255,.16), transparent 60%),
    radial-gradient(700px 650px at 85% 20%, rgba(139,92,255,.14), transparent 60%),
    radial-gradient(900px 700px at 70% 90%, rgba(61,255,181,.10), transparent 60%),
    var(--bg);
  overflow-x:hidden;
}
a{color:inherit;text-decoration:none}
.container{width:min(1180px, calc(100% - 40px)); margin:0 auto}

.nav{
  position:sticky; top:0; z-index:40;
  backdrop-filter: blur(12px);
  background: rgba(7,10,18,.55);
  border-bottom: 1px solid var(--line);
}
.nav-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
}
.brand{display:flex; gap:10px; align-items:center; font-weight:800; letter-spacing:.3px;}
.logo{
  width:36px;height:36px;border-radius:12px;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  box-shadow: 0 10px 30px rgba(109,140,255,.25);
  position:relative; overflow:hidden;
}
.logo:after{
  content:""; position:absolute; inset:-40%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.55), transparent 55%);
  transform: rotate(25deg);
}

.nav-links{display:flex; gap:12px; align-items:center; flex-wrap:wrap; justify-content:flex-end;}
.chip{
  padding:10px 12px;
  border:1px solid var(--line);
  border-radius:999px;
  color:var(--muted);
  background: rgba(255,255,255,.02);
  transition: transform .15s ease, border-color .15s ease, color .15s ease, background .15s ease;
  font-size:14px;
  white-space:nowrap;
}
.chip:hover{transform: translateY(-1px); border-color: rgba(234,240,255,.24); color:var(--text); background: rgba(255,255,255,.04)}
.btn{
  padding:10px 14px;
  border-radius:999px;
  border:0;
  cursor:pointer;
  color:#081022;
  font-weight:800;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  box-shadow: 0 16px 45px rgba(109,140,255,.25);
  transition: transform .15s ease, filter .15s ease;
  white-space:nowrap;
}
.btn:hover{transform: translateY(-1px); filter:saturate(1.15)}
.btn.secondary{
  background: rgba(255,255,255,.06);
  color:var(--text);
  border:1px solid rgba(234,240,255,.14);
  box-shadow:none;
  font-weight:700;
}
.section{padding:26px 0 60px}
h1,h2{letter-spacing:-.4px}
h1{font-size: clamp(28px, 3.2vw, 46px); line-height:1.05; margin:14px 0 10px}
h2{font-size: clamp(20px, 2.2vw, 30px); margin:0 0 8px}
p{color:var(--muted); line-height:1.6}

.panel, .card, .hero-card{
  border:1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-card{overflow:hidden; position:relative;}
.kicker{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 12px;
  border:1px solid rgba(234,240,255,.14);
  border-radius:999px;
  color:var(--muted);
  background: rgba(255,255,255,.03);
  font-size:13px;
}
.dot{
  width:8px;height:8px;border-radius:99px;background:var(--ok);
  box-shadow:0 0 18px rgba(61,255,181,.6);
}

.grid{margin-top:14px; display:grid; grid-template-columns: repeat(3, 1fr); gap:14px;}
@media (max-width: 980px){ .grid{grid-template-columns:1fr} }

.card{
  overflow:hidden;
  transform-style: preserve-3d;
  will-change: transform;
  position:relative;
}
.card:before{
  content:""; position:absolute; inset:-2px;
  background: radial-gradient(500px 220px at var(--mx, 50%) var(--my, 20%), rgba(109,140,255,.20), transparent 55%);
  opacity:0; transition: opacity .2s ease; pointer-events:none;
}
.card:hover:before{opacity:1}
.media{height:190px; background: rgba(255,255,255,.03); position:relative; overflow:hidden;}
.media img{width:100%; height:100%; object-fit:cover; transform: scale(1.04); filter:saturate(1.1) contrast(1.05); transition: transform .5s ease;}
.card:hover .media img{transform: scale(1.10)}
.pill{
  position:absolute; top:12px; left:12px;
  padding:7px 10px;
  border-radius:999px;
  background: rgba(7,10,18,.55);
  border:1px solid rgba(234,240,255,.16);
  font-size:12px; color:var(--muted);
  backdrop-filter: blur(10px);
}
.body{padding:12px 12px 14px}
.top{display:flex; justify-content:space-between; align-items:flex-start; gap:10px}
.title{font-weight:900}
.meta{color:var(--muted); font-size:13px; margin-top:4px}
.price{
  font-weight:900;
  background: linear-gradient(135deg, rgba(61,255,181,.20), rgba(109,140,255,.18));
  border:1px solid rgba(234,240,255,.12);
  padding:8px 10px;
  border-radius: 14px;
  white-space:nowrap;
}
.tags{display:flex; gap:8px; flex-wrap:wrap; margin-top:10px}
.tag{
  padding:7px 10px;
  border-radius:999px;
  border:1px solid rgba(234,240,255,.10);
  background: rgba(255,255,255,.02);
  color:var(--muted);
  font-size:12px;
}
.toolbar{
  display:flex; gap:10px; flex-wrap:wrap;
  border:1px solid rgba(234,240,255,.10);
  background: rgba(11,16,32,.55);
  border-radius: 18px;
  padding:10px;
  align-items:center;
}
.select, .search, .input{
  padding:11px 12px;
  border-radius: 14px;
  border:1px solid rgba(234,240,255,.12);
  background: rgba(7,10,18,.55);
  color: var(--text);
  outline:none;
}
.search{flex:1; min-width: 220px}
.row{display:flex; gap:10px}
.row > *{flex:1}
@media (max-width: 980px){ .row{flex-direction:column} }

.head{
  padding:14px 14px 10px;
  display:flex; align-items:center; justify-content:space-between;
  border-bottom:1px solid rgba(234,240,255,.10);
}
.badge{
  font-size:12px; padding:6px 10px;
  border-radius:999px; border:1px solid rgba(234,240,255,.14);
  color: var(--muted); background: rgba(255,255,255,.03);
}
.content{padding:12px 14px 14px}
.field{display:flex; flex-direction:column; gap:6px; margin-bottom:10px}
.field label{font-size:12px; color:var(--muted)}

.reveal{opacity:0; transform: translateY(12px); transition: opacity .7s ease, transform .7s ease;}
.reveal.in{opacity:1; transform: translateY(0)}

.table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  overflow:hidden;
  border-radius:16px;
  border:1px solid rgba(234,240,255,.10);
  background: rgba(11,16,32,.55);
}
.table th, .table td{
  padding:12px 12px;
  border-bottom:1px solid rgba(234,240,255,.08);
  font-size:13px;
  color: var(--muted);
}
.table th{color: var(--text); font-weight:800; text-align:left; background: rgba(255,255,255,.03)}
.table tr:last-child td{border-bottom:none}

.tabs{display:flex; gap:8px; flex-wrap:wrap; margin:10px 0 0;}
.tab{
  padding:9px 12px;
  border-radius:999px;
  border:1px solid rgba(234,240,255,.12);
  background: rgba(255,255,255,.02);
  color: var(--muted);
  cursor:pointer;
}
.tab.active{
  color: var(--text);
  border-color: rgba(109,140,255,.45);
  box-shadow: 0 0 0 4px rgba(109,140,255,.10);
}
footer{
  border-top:1px solid rgba(234,240,255,.10);
  padding:22px 0 30px;
  color: var(--muted);
  font-size:13px;
}
