:root{
  --bg:#070a0f;
  --bg2:#0b0f14;
  --text:#e9eef6;
  --muted:#a7b1c0;
  --line:rgba(255,255,255,.08);
  --accent:rgba(239,159,39,.22);
  --shadow:0 18px 60px rgba(0,0,0,.35);
  --radius:16px;
}

*{box-sizing:border-box}
html,body{
  margin:0;
  padding:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial;
  color:var(--text);
  background-image: url('background.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
}

body::before{
  content:"";
  position: fixed;
  inset: 0;
  background: rgba(5,7,10,.78);
  pointer-events: none;
  z-index: 0;
}

a{color:inherit;text-decoration:none}
.container{max-width:1050px;margin:0 auto;padding:0 18px;position:relative;z-index:1}

/* HEADER */
.header{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(10px);
  background:rgba(7,10,15,.55);
  border-bottom:1px solid var(--line);
}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0}

.brand{display:flex;align-items:center;gap:12px}
.brand-logo{
  width:42px;height:42px;border-radius:12px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.03);
  object-fit:contain;
}
.brand-name{font-weight:900;font-size:18px}
.brand-sub{color:var(--muted);font-size:12px}

.nav{display:flex;gap:14px;flex-wrap:wrap}
.nav a{color:var(--muted);font-size:14px}
.nav a:hover{color:var(--text)}

/* HERO */
.hero{padding:44px 0 16px}
.hero-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:16px;align-items:stretch}
h1{font-size:40px;line-height:1.1;margin:0 0 12px}
.lead{color:var(--muted);font-size:16px;line-height:1.6;max-width:62ch}

/* SECTIONS */
.section{padding:34px 0}
.section.alt{background:rgba(255,255,255,.02); border-top:1px solid var(--line); border-bottom:1px solid var(--line);}
.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:10px}

h2{margin:0 0 6px;font-size:26px}
h3{margin:0 0 6px;font-size:18px;color:#ef9f27}

.card{
  background:linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.02));
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:16px;
  box-shadow:var(--shadow);
}

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

.muted{color:var(--muted)}
.small{font-size:13px}

/* CTA BUTTONS */
.cta{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0 10px}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:11px 14px;
  border-radius:14px;
  border:1px solid var(--accent);
  background:rgba(239,159,39,.12);
  color:var(--text);
  font-weight:800;
  cursor:pointer;
}
.btn:hover{transform:translateY(-1px);transition:.12s}
.btn.ghost{
  border:1px solid var(--line);
  background:rgba(255,255,255,.03);
}
.btn.small{padding:9px 12px;border-radius:12px}
.btn.full{width:100%;margin-top:12px}

/* CHIPS */
.chips{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.chip{
  font-size:12px;color:var(--muted);
  border:1px solid var(--line);
  background:rgba(255,255,255,.03);
  padding:7px 10px;border-radius:999px;
}

/* HOW IT WORKS LIST */
.steps{margin:10px 0 0;padding-left:18px;color:var(--muted);line-height:1.7}

/* PRODUCTS */
.product{position:relative}
.top{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.price{
  font-weight:900;
  padding:8px 10px;border-radius:12px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.03);
  white-space:nowrap;
  color:#ef9f27;
}
.list{margin:10px 0 0;padding-left:18px;color:var(--muted);line-height:1.7}

/* POLICY BAR */
.policy-bar{
  display:flex;gap:10px;justify-content:center;align-items:center;
  margin-top:18px; padding-top:16px;
  border-top:1px solid var(--line);
  color:var(--muted);
}
.policy-bar a:hover{color:var(--text)}
.policy-bar span{opacity:.5}

/* FOOTER */
.footer{padding:18px 0}
.footer-inner{
  display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;
  border-top:1px solid var(--line); padding-top:14px;
}

/* ===== Modal (Bank Transfer) ===== */
.overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.65);
  display:none;
  z-index:90;
}
.overlay.show{display:block}

.modal{
  position:fixed;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  width:92%;
  max-width:520px;
  background:#0f1622;
  border:1px solid rgba(255,255,255,.10);
  border-radius:16px;
  box-shadow:0 25px 80px rgba(0,0,0,.65);
  display:none;
  z-index:100;
}
.modal.show{display:block}

.modal-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  padding:16px 16px 10px;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.modal-top h3{margin:0 0 6px;font-size:18px}

.icon-btn{
  width:36px;height:36px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  color:#fff;
  cursor:pointer;
}
.icon-btn:hover{background:rgba(255,255,255,.07)}

.modal-body{padding:14px 16px 6px}

.info-row{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:10px 0;
}
.label{color:var(--muted);font-size:13px}
.value{font-weight:900}

.mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace}

.line{
  border:none;
  border-top:1px solid rgba(255,255,255,.08);
  margin:10px 0 12px;
}

.copy-block{
  background:rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.08);
  border-radius:14px;
  padding:12px;
  margin-bottom:12px;
}
.copy-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.status{
  color:#7ff5a5;
  font-size:13px;
  padding-top:8px;
  min-height:18px;
}
.note{margin-top:8px;line-height:1.5}

.modal-actions{
  padding:12px 16px 16px;
  border-top:1px solid rgba(255,255,255,.08);
}

/* RESPONSIVE */
@media (max-width: 900px){
  .hero-grid{grid-template-columns:1fr}
  h1{font-size:34px}
  .grid-3{grid-template-columns:1fr}
}
/* FIX: make modal/overlay appear when JS adds .show */
.overlay{ display:none; }
.overlay.show{ display:block; }

.modal{ display:none; }
.modal.show{ display:block; }
