/* LEGISAI ULTRA PREMIUM V2 — JARVIS/HUD */
:root{
  --bg:#0b0b0f;
  --bg2:#07070b;
  --panel: rgba(255,255,255,0.06);
  --panel2: rgba(255,255,255,0.04);
  --border: rgba(255,255,255,0.10);
  --gold:#d4af37;
  --gold2: rgba(212,175,55,0.18);
  --text:#ffffff;
  --muted: rgba(255,255,255,0.72);
  --muted2: rgba(255,255,255,0.55);
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --sans: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:var(--sans);
  color:var(--text);
  background:
    radial-gradient(1100px 700px at 10% -20%, rgba(212,175,55,0.22), transparent 55%),
    radial-gradient(900px 600px at 80% 0%, rgba(80,180,255,0.14), transparent 55%),
    radial-gradient(800px 600px at 50% 90%, rgba(140,80,255,0.12), transparent 55%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  overflow-x:hidden;
}

#fx{
  position:fixed;
  inset:0;
  z-index:0;
  opacity:0.9;
  pointer-events:none;
}

.gridOverlay{
  position:fixed;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:
    linear-gradient(to right, rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(closest-side at 50% 20%, rgba(0,0,0,0.9), transparent 75%);
  opacity:0.18;
}

.topbar{
  position:sticky;
  top:0;
  z-index:5;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:14px 18px;
  border-bottom:1px solid rgba(255,255,255,0.08);
  background: rgba(9,9,12,0.65);
  backdrop-filter: blur(10px);
}

.brand{display:flex;align-items:center;gap:12px}
.brandLogo{
  width:38px;height:38px;border-radius:12px;
  box-shadow:0 18px 60px rgba(212,175,55,0.12);
  border:1px solid rgba(255,255,255,0.10);
}
.brandName{font-weight:900;letter-spacing:0.7px}
.brandTag{font-size:12px;color:var(--muted2);margin-top:2px}

.topActions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.langSwitch{display:flex;gap:8px}

.chip{
  appearance:none;
  border:1px solid rgba(255,255,255,0.10);
  color:var(--text);
  background:rgba(255,255,255,0.06);
  padding:9px 12px;
  border-radius:999px;
  cursor:pointer;
  font-weight:700;
  font-size:12px;
}
.chip:hover{border-color:rgba(212,175,55,0.35)}
.chipActive{border-color:rgba(212,175,55,0.55); box-shadow:0 0 0 4px rgba(212,175,55,0.10)}
.chipGhost{
  text-decoration:none;
  background:transparent;
  border-color:rgba(212,175,55,0.35);
  color:var(--gold);
}

.wrap{position:relative;z-index:2;max-width:1180px;margin:0 auto;padding:26px 18px 40px}

.hero{
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap:18px;
  padding:18px 0 10px;
}
@media(max-width:980px){ .hero{grid-template-columns:1fr; } }

.pill{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(212,175,55,0.25);
  background: rgba(212,175,55,0.10);
  color: var(--gold);
  font-weight:800;
  font-size:12px;
  letter-spacing:0.4px;
}
.dot{
  width:8px;height:8px;border-radius:50%;
  background:var(--gold);
  box-shadow:0 0 14px rgba(212,175,55,0.85);
}

.headline{
  margin:14px 0 10px;
  font-size:38px;
  line-height:1.12;
  letter-spacing:-0.4px;
}
@media(max-width:520px){ .headline{font-size:30px} }

.subhead{
  margin:0;
  color:var(--muted);
  font-size:15px;
  line-height:1.6;
  max-width:720px;
}

.heroCards{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:10px;
  margin-top:16px;
}
@media(max-width:720px){ .heroCards{grid-template-columns:1fr; } }

.miniCard{
  padding:12px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,0.10);
  background:rgba(255,255,255,0.04);
}
.miniTitle{font-size:12px;color:var(--muted2);font-weight:700}
.miniValue{margin-top:6px;font-size:14px;font-weight:900}

.offerBar{
  margin-top:18px;
  display:grid;
  grid-template-columns: 0.42fr 0.38fr 0.20fr;
  gap:10px;
  padding:14px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,0.10);
  background:linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  box-shadow: 0 30px 90px rgba(0,0,0,0.40);
}
@media(max-width:820px){ .offerBar{grid-template-columns:1fr; } }

.timerBlock, .priceBlock{
  padding:12px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,0.08);
  background:rgba(0,0,0,0.18);
}
.timerLabel{font-size:12px;color:var(--muted2);font-weight:800}
.timerValue{font-size:26px;color:var(--gold);font-weight:900;margin-top:6px;letter-spacing:1px}
.priceOld{font-size:14px;color:rgba(255,255,255,0.55);text-decoration:line-through}
.priceNow{font-size:26px;font-weight:900;margin-top:4px}
.priceHint{font-size:12px;color:var(--muted2);margin-top:6px}

.btnPrimary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  border:none;
  cursor:pointer;
  background:var(--gold);
  color:#000;
  font-weight:900;
  border-radius:16px;
  padding:14px 14px;
  transition: transform .15s ease, filter .15s ease;
  box-shadow: 0 18px 60px rgba(212,175,55,0.18);
  white-space:nowrap;
}
.btnPrimary:hover{transform: translateY(-1px); filter:brightness(0.98)}
.btnPrimary:active{transform: translateY(0px)}
.btnWide{width:100%}

.legalNote{
  margin-top:12px;
  color:var(--muted2);
  font-size:12px;
  line-height:1.5;
}

.hudCard{
  border-radius:18px;
  border:1px solid rgba(255,255,255,0.10);
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  overflow:hidden;
  box-shadow: 0 40px 120px rgba(0,0,0,0.50);
}

.hudTop{
  display:flex;align-items:center;justify-content:space-between;
  padding:14px 14px;
  border-bottom:1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.20);
}
.hudTitle{font-weight:900;letter-spacing:0.5px}
.hudStatus{display:flex;align-items:center;gap:10px;color:var(--gold);font-weight:900;font-size:12px}
.pulse{
  width:10px;height:10px;border-radius:50%;
  background:var(--gold);
  box-shadow:0 0 16px rgba(212,175,55,0.9);
  animation:pulse 1.2s infinite ease-in-out;
}
@keyframes pulse{
  0%,100%{transform:scale(1);opacity:1}
  50%{transform:scale(1.25);opacity:.7}
}
.hudBody{padding:14px; position:relative}
.scanline{
  position:absolute; left:0; right:0; top:-30%;
  height:40%;
  background: linear-gradient(180deg, transparent, rgba(212,175,55,0.10), transparent);
  animation: scan 3.6s linear infinite;
  pointer-events:none;
  opacity:0.9;
}
@keyframes scan{
  0%{transform:translateY(0)}
  100%{transform:translateY(420px)}
}

.hudRow{
  display:grid;
  grid-template-columns: 0.30fr 0.55fr 0.15fr;
  gap:10px;
  align-items:center;
  padding:10px 0;
}
.hudKey{color:var(--muted2);font-size:12px;font-weight:800}
.hudBar{
  height:10px;border-radius:999px;
  border:1px solid rgba(255,255,255,0.10);
  background:rgba(255,255,255,0.06);
  overflow:hidden;
}
.hudBar span{
  display:block;height:100%;
  background: linear-gradient(90deg, rgba(212,175,55,0.55), rgba(212,175,55,0.95));
  border-radius:999px;
}
.hudVal{font-weight:900;color:rgba(255,255,255,0.9);font-size:12px;text-align:right}

.hudConsole{
  margin-top:10px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.18);
  padding:12px;
}
.mono{
  font-family:var(--mono);
  font-size:12px;
  color: rgba(255,255,255,0.82);
  line-height:1.55;
}

.hudFoot{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  margin-top:12px;
  padding-top:12px;
  border-top:1px solid rgba(255,255,255,0.08);
}
.hudFootLeft{color:var(--muted2);font-size:12px;font-weight:700}
.btnGhost{
  display:inline-flex;align-items:center;justify-content:center;
  text-decoration:none;
  padding:10px 12px;border-radius:12px;
  border:1px solid rgba(212,175,55,0.35);
  color:var(--gold);
  font-weight:900;font-size:12px;
}
.btnGhost:hover{border-color:rgba(212,175,55,0.55)}

.section{margin-top:26px}
.sectionHead h2{margin:0;font-size:20px;letter-spacing:-0.2px}
.sectionHead p{margin:8px 0 0;color:var(--muted);font-size:13px;line-height:1.6}

.steps{
  margin-top:14px;
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:10px;
}
@media(max-width:860px){ .steps{grid-template-columns:1fr} }
.step{
  padding:14px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,0.10);
  background:rgba(255,255,255,0.04);
}
.stepNum{font-family:var(--mono); color:rgba(212,175,55,0.9); font-weight:800}
.stepTitle{margin-top:8px;font-weight:900}
.stepDesc{margin-top:8px;color:var(--muted);font-size:13px;line-height:1.55}

.card{
  border-radius:18px;
  border:1px solid rgba(255,255,255,0.10);
  background:rgba(255,255,255,0.04);
  padding:14px;
}
.formGrid{
  margin-top:14px;
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap:12px;
}
@media(max-width:980px){ .formGrid{grid-template-columns:1fr} }

.formCard{padding:16px}
.formRow{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
}
@media(max-width:720px){ .formRow{grid-template-columns:1fr} }

.field label{display:block;font-size:12px;font-weight:900;color:rgba(255,255,255,0.85)}
.field input, .field select, .field textarea{
  width:100%;
  margin-top:8px;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.20);
  color:var(--text);
  outline:none;
  font-family:var(--sans);
}
.field textarea{resize:vertical}
.field input:focus, .field select:focus, .field textarea:focus{
  border-color: rgba(212,175,55,0.55);
  box-shadow: 0 0 0 4px rgba(212,175,55,0.10);
}

.payRow{
  margin-top:12px;
  display:grid;
  grid-template-columns: 1fr 0.55fr;
  gap:10px;
  align-items:stretch;
}
@media(max-width:820px){ .payRow{grid-template-columns:1fr} }
.payMeta{
  border:1px solid rgba(255,255,255,0.08);
  border-radius:18px;
  background: rgba(0,0,0,0.18);
  padding:14px;
}
.payPrice{font-size:14px}
.payPrice .strike{opacity:0.6;text-decoration:line-through;margin-right:8px}
.payPrice b{font-size:18px}
.payHint{margin-top:8px;color:var(--muted);font-size:12px;line-height:1.5}
.payNote{margin-top:8px;color:var(--muted2);font-size:12px;line-height:1.5}

.status{
  margin-top:12px;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.25);
  color: rgba(255,255,255,0.92);
  font-size:13px;
  line-height:1.55;
}
.status strong{color:var(--gold)}

.sideCard{padding:16px}
.sideHead{display:flex;align-items:center;justify-content:space-between;gap:10px}
.sideTitle{font-weight:900}
.sideTag{
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(212,175,55,0.35);
  background: rgba(212,175,55,0.10);
  color: var(--gold);
  font-weight:900;
}
.sideList{margin:14px 0 0; padding:0 0 0 16px; color:var(--muted); font-size:13px; line-height:1.65}
.signature{
  margin-top:16px;
  padding-top:14px;
  border-top:1px solid rgba(255,255,255,0.08);
}
.sigTitle{font-size:12px;color:var(--muted2);font-weight:800}
.sigName{margin-top:6px;font-weight:900}
.sigEmail{margin-top:4px;color:var(--muted);font-size:13px}

.sideLegal{
  margin-top:12px;
  color:var(--muted2);
  font-size:12px;
  line-height:1.55;
}

.footer{
  margin-top:26px;
  display:flex;align-items:center;justify-content:space-between;
  gap:12px;
  padding-top:16px;
  border-top:1px solid rgba(255,255,255,0.08);
  color:rgba(255,255,255,0.55);
  font-size:12px;
}
.footLink{color:var(--gold);text-decoration:none;font-weight:900}
.sep{opacity:0.35;margin:0 8px}
.muted{opacity:0.75}
