:root{
  --bg:#05070c;
  --panel:rgba(12,16,22,.72);
  --panel2:rgba(12,16,22,.88);
  --border:rgba(255,255,255,.10);
  --text:#eef2f6;
  --muted:#a7b0b8;
  --accent:#22c55e;
  --accent2:#4ade80;
  --shadow:0 18px 60px rgba(0,0,0,.45);
  --radius:18px;
  --trans:160ms ease;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Inter, "Helvetica Neue", Arial, "Noto Sans";
}

*{box-sizing:border-box}
html,body{height:100%}
html{color-scheme:dark}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:var(--font);
  -webkit-font-smoothing:antialiased;
  line-height:1.45;
}
body.modal-open{overflow:hidden}

body::before{
  content:"";
  position:fixed;
  inset:0;
  background:
    radial-gradient(820px 560px at 10% 8%, rgba(34,197,94,.18), transparent 60%),
    radial-gradient(820px 560px at 92% 10%, rgba(34,197,94,.10), transparent 62%),
    radial-gradient(860px 640px at 20% 84%, rgba(6,182,212,.12), transparent 64%),
    linear-gradient(180deg, rgba(10,13,18,.95), rgba(5,7,12,.96));
  z-index:0;
  pointer-events:none;
}

a{color:#d5ffe6; text-decoration:none}
a:hover{text-decoration:underline}
.hidden{display:none !important}
.muted{color:var(--muted)}
.small{font-size:12.5px}
.mt{margin-top:12px}
.h1{font-size:34px; line-height:1.1; margin:0 0 10px}
.h2{font-size:22px; margin:0}
.h3{font-size:16px; font-weight:800; margin:0}
.lead{font-size:16px; color:#d9e2ea; margin:0 0 18px}

.topbar{
  position:sticky; top:0; z-index:10;
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 18px;
  background:linear-gradient(to bottom, rgba(10,13,18,.88), rgba(10,13,18,.64));
  border-bottom:1px solid rgba(255,255,255,.06);
  backdrop-filter:saturate(120%) blur(8px);
}
.brand{display:flex; align-items:center; gap:12px; min-width:0}
.brand-logo{
  width:56px;
  height:56px;
  object-fit:contain;
  filter:drop-shadow(0 0 10px rgba(34,197,94,.18));
}
.brand-text{display:flex; flex-direction:column; line-height:1.05}
.brand-name{font-weight:900; letter-spacing:2px; text-transform:uppercase; color:#ffffff}
.brand-sub{font-size:12.5px; color:var(--muted); margin-top:6px}

.nav{display:flex; align-items:center; gap:10px; flex-wrap:wrap}
.nav-link{color:#d8e6f3; opacity:.9}
.nav-link:hover{opacity:1}

.btn{
  appearance:none;
  border:1px solid transparent;
  border-radius:14px;
  padding:10px 14px;
  font-weight:700;
  cursor:pointer;
  transition:transform var(--trans), filter var(--trans), background var(--trans), border-color var(--trans);
  color:var(--text);
  background:transparent;
}
.btn:hover{transform:translateY(-1px)}
.btn.solid{background:var(--accent); color:#062410}
.btn.ghost{border-color:rgba(255,255,255,.14); background:rgba(255,255,255,.04)}
.btn.xl{padding:14px 16px; border-radius:16px; font-size:15px}
.btn.block{width:100%}
.btn.icon{width:38px; height:38px; display:grid; place-items:center; font-size:18px; padding:0}

.container{max-width:1120px; margin:0 auto; padding:18px; position:relative; z-index:1}
body{padding-bottom:48px}

.hero{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:18px;
  align-items:stretch;
  margin-top:10px;
}
.hero-card{
  background:linear-gradient(180deg, rgba(12,16,22,.72), rgba(12,16,22,.88));
  border:1px solid rgba(255,255,255,.08);
  border-radius:24px;
  padding:22px;
  box-shadow:var(--shadow);
}
.hero-actions{display:flex; gap:12px; flex-wrap:wrap}
.chips{display:flex; gap:10px; flex-wrap:wrap; margin-top:14px}
.chip{
  font-size:12.5px;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
}
.hero-art{
  border-radius:24px;
  border:1px solid rgba(255,255,255,.08);
  background:
    url("/static/hero-user.webp") center/cover no-repeat,
    url("/static/hero-user.png") center/cover no-repeat,
    url("/static/hero-user.jpg") center/cover no-repeat,
    url("/static/hero-2026-01-15-2.svg") center/cover no-repeat,
    linear-gradient(180deg, rgba(12,16,22,.60), rgba(12,16,22,.86));
  box-shadow:var(--shadow);
}

.section{margin-top:22px}
.section-head{display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:12px}
.search{max-width:420px; width:100%}
.input{
  width:100%;
  background:rgba(12,16,22,.82);
  border:1px solid rgba(255,255,255,.12);
  border-radius:14px;
  padding:12px 12px;
  color:var(--text);
  font-size:16px;
  outline:0;
}
.input:focus{border-color:rgba(34,197,94,.45); box-shadow:0 0 0 2px rgba(34,197,94,.20)}

.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(240px, 1fr));
  gap:14px;
}
.country{
  display:flex; align-items:center; gap:12px;
  background:linear-gradient(180deg, rgba(12,16,22,.70), rgba(12,16,22,.88));
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  padding:14px;
  box-shadow:0 16px 42px rgba(0,0,0,.34);
  cursor:pointer;
  transition:transform var(--trans), border-color var(--trans);
}
.country:hover{transform:translateY(-3px); border-color:rgba(34,197,94,.35)}
.flag{font-size:22px; width:36px; text-align:center; display:grid; place-items:center}
.flag img{width:30px; height:22px; border-radius:6px; border:1px solid rgba(255,255,255,.14); box-shadow:0 10px 20px rgba(0,0,0,.35); object-fit:cover}
.flag span{font-size:22px}
.country .t{flex:1; min-width:0}
.country .n{font-weight:800}
.country .m{color:var(--muted); font-size:12.5px; margin-top:4px}
.pill{
  border-radius:999px;
  padding:8px 12px;
  background:rgba(34,197,94,.16);
  border:1px solid rgba(34,197,94,.28);
  color:#d7ffe8;
  font-weight:800;
  font-size:12.5px;
  white-space:nowrap;
}

.list{display:flex; flex-direction:column; gap:10px}
.row{
  display:grid;
  grid-template-columns:1fr auto;
  gap:12px;
  align-items:center;
  padding:14px 16px;
  border-radius:18px;
  background:linear-gradient(180deg, rgba(12,16,22,.70), rgba(12,16,22,.88));
  border:1px solid rgba(255,255,255,.08);
  cursor:pointer;
}
.row:hover{border-color:rgba(34,197,94,.35)}
.row .t1{font-weight:900}
.row .t2{color:var(--muted); font-size:12.5px; margin-top:4px}
.row .row-hint{
  grid-column:1 / -1;
  margin-top:2px;
  padding-top:10px;
  border-top:1px solid rgba(255,255,255,.08);
  color:rgba(34,197,94,.92);
  font-size:12.5px;
  line-height:1.35;
}
.price{font-weight:900}

.empty{
  margin-top:12px;
  padding:14px 16px;
  border-radius:18px;
  border:1px dashed rgba(255,255,255,.16);
  background:rgba(12,16,22,.56);
}

.order-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}
.card{
  background:linear-gradient(180deg, rgba(12,16,22,.72), rgba(12,16,22,.88));
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  padding:16px;
  box-shadow:0 16px 42px rgba(0,0,0,.34);
}
.kvs{display:grid; grid-template-columns:1fr 1fr; gap:10px}
.kv .v{font-weight:900; margin-top:4px}
.field{display:flex; flex-direction:column; gap:6px; margin-top:12px}
.label{font-size:12.5px; color:var(--muted)}
.bullets{margin:10px 0 0 18px; padding:0}
.bullets li{margin:6px 0}
.info{margin-top:10px}
.info-title{font-weight:900}

.steps-grid{display:grid; grid-template-columns:repeat(auto-fit, minmax(220px, 1fr)); gap:14px}
.step-card{
  background:rgba(12,16,22,.62);
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  padding:14px;
}
.step-n{
  width:34px; height:34px;
  border-radius:12px;
  display:grid; place-items:center;
  font-weight:900;
  background:rgba(34,197,94,.14);
  border:1px solid rgba(34,197,94,.24);
  color:#d7ffe8;
}
.step-t{margin-top:10px; font-weight:900}

.faq{
  margin-top:10px;
  background:rgba(12,16,22,.62);
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  padding:12px 14px;
}
.faq summary{cursor:pointer; font-weight:900}
.faq p{color:#d9e2ea}

.footer{
  margin-top:30px;
  padding:18px;
  border-top:1px solid rgba(255,255,255,.06);
  background:rgba(10,13,18,.92);
  position:relative;
  z-index:1;
}
.footer .muted{color:#d4dee7}
.footer-title{color:#ffffff}
.footer-grid{
  max-width:1120px;
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(240px, 1fr));
  gap:14px;
}
.footer-title{font-weight:900; margin-bottom:6px}
.links{display:flex; flex-direction:column; gap:8px}

.profiles{display:flex; flex-direction:column; gap:12px}
.profile{
  display:flex;
  gap:12px;
  align-items:flex-start;
  border-radius:18px;
  padding:14px 16px;
  background:linear-gradient(180deg, rgba(12,16,22,.70), rgba(12,16,22,.88));
  border:1px solid rgba(255,255,255,.08);
}
.profile .meta{flex:1; min-width:0}
.profile .title{font-weight:900}
.profile .sub{color:var(--muted); font-size:12.5px; margin-top:4px}
.profile .actions{display:flex; gap:8px; flex-wrap:wrap; justify-content:flex-end}
.btn.sm{padding:8px 10px; border-radius:12px; font-size:13px}

.modal{
  position:fixed; inset:0; z-index:50;
  background:rgba(0,0,0,.55);
  display:none;
  align-items:center;
  justify-content:center;
  padding:18px;
  overflow:hidden;
}
.modal[aria-hidden="false"]{display:flex}
.modal-inner{
  width:min(520px, 100%);
  border-radius:22px;
  background:linear-gradient(180deg, rgba(12,16,22,.92), rgba(12,16,22,.98));
  border:1px solid rgba(255,255,255,.12);
  box-shadow:var(--shadow);
  padding:14px;
  max-height:calc(100vh - 36px);
  display:flex;
  flex-direction:column;
  overflow:hidden;
}
.modal-inner.wide{width:min(980px, 100%)}
.modal-head{display:flex; align-items:center; justify-content:space-between; gap:10px; padding:6px 6px 10px}
.tabs{display:flex; gap:8px; padding:0 6px 10px}
.tab{
  flex:1;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
  color:var(--text);
  padding:10px 12px;
  font-weight:900;
  cursor:pointer;
}
.tab.is-active{border-color:rgba(34,197,94,.35); background:rgba(34,197,94,.10)}
.tabpane{display:none; padding:0 6px 10px; overflow:auto; min-height:0}
.tabpane.is-visible{display:block}
.tabpane .btn.block{margin-top:12px}
.tabpane .field:last-of-type{margin-bottom:12px}

.flow{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:14px;
  padding:0 6px 10px;
  overflow:auto;
  min-height:0;
  flex:1;
}
.flow-left,.flow-right{min-width:0}

@media (max-width: 860px){
  .hero{grid-template-columns:1fr}
  .hero-art{min-height:160px}
  .order-grid{grid-template-columns:1fr}
  .nav .nav-link{display:none}
  .flow{grid-template-columns:1fr}
}
