:root{
  --bg:#0b1220;
  --stroke:rgba(255,255,255,.10);
  --text:#e5e7eb;
  --muted:#94a3b8;
  --muted2:#cbd5e1;
  --shadow: 0 10px 30px rgba(0,0,0,.45);
  --r22:22px;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background:
    radial-gradient(1200px 900px at 80% -10%, rgba(45,108,255,.22), transparent 55%),
    radial-gradient(900px 600px at 10% 10%, rgba(94,234,212,.12), transparent 55%),
    var(--bg);
  color:var(--text);
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
}
.app{
  max-width:460px;
  margin:0 auto;
  min-height:100vh;
  padding: env(safe-area-inset-top) 14px env(safe-area-inset-bottom) 14px;
  display:flex;
  flex-direction:column;
}
.topbar{
  display:flex;
  gap:10px;
  align-items:center;
  justify-content:space-between;
  padding:10px 2px 8px;
}
.brand{display:flex;gap:10px;align-items:center}
.brandMark{
  width:38px;height:38px;border-radius:14px;
  display:grid;place-items:center;
  background:linear-gradient(135deg, rgba(45,108,255,.9), rgba(94,234,212,.75));
  color:#061018;font-weight:900;
  box-shadow:0 8px 18px rgba(0,0,0,.35);
}
.brandName{font-weight:900;letter-spacing:.4px}
.brandTag{font-size:12px;color:var(--muted);margin-top:1px}

.acctToggle{
  display:flex; gap:6px; align-items:center;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  border-radius:999px;
  padding:4px;
}
.acctBtn{
  border:none; cursor:pointer;
  padding:9px 10px;
  border-radius:999px;
  background:transparent;
  color:var(--muted2);
  font-weight:900;
  font-size:12px;
}
.acctBtn.isActive{
  background:linear-gradient(90deg, rgba(45,108,255,.95), rgba(94,234,212,.55));
  color:#061018;
}

.main{flex:1; padding-bottom:86px;}
.view{display:none; animation:fade .16s ease-out;}
.viewActive{display:block}
@keyframes fade{from{opacity:.2; transform:translateY(6px)} to{opacity:1; transform:none}}

.hero{padding:6px 2px 10px}
.heroTitle{font-size:28px;font-weight:900;letter-spacing:.2px}
.heroSub{color:var(--muted);margin-top:6px;line-height:1.35}

.card{
  background:linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.05));
  border:1px solid var(--stroke);
  border-radius:var(--r22);
  padding:14px;
  box-shadow:var(--shadow);
}

.trustCard{margin:10px 0}
.trustRow{display:flex;gap:12px;align-items:flex-start;padding:8px 0;border-top:1px solid rgba(255,255,255,.08)}
.trustRow:first-child{border-top:none}
.trustDot{width:10px;height:10px;border-radius:999px;background:rgba(45,108,255,.9);margin-top:6px}
.dot2{background:rgba(94,234,212,.8)}
.dot3{background:rgba(255,255,255,.40)}
.trustTitle{font-weight:900}
.trustText{font-size:12px;color:var(--muted);margin-top:2px;line-height:1.35}

.formCard{margin-top:8px}
.field{display:flex;flex-direction:column;gap:6px;margin-bottom:10px}
label{font-size:12px;color:var(--muted)}
input, select{
  border:1px solid rgba(255,255,255,.12);
  background:rgba(0,0,0,.25);
  color:var(--text);
  border-radius:14px;
  padding:12px 12px;
  outline:none;
}
input::placeholder{color:rgba(148,163,184,.75)}
.row2{display:grid;grid-template-columns:1fr 1fr;gap:10px}

.pmHead{margin-top:8px}
.pmTitle{font-weight:900}
.pmSub{font-size:12px;color:var(--muted);margin-top:3px}

.budgetBlock{
  margin-top:10px;
  padding:12px;
  border-radius:18px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
}
.budgetTop{display:flex;justify-content:space-between;align-items:center;gap:10px}
.budgetLbl{font-weight:900}
.budgetVal{font-weight:900;color:var(--muted2)}
.budgetHint{font-size:12px;color:var(--muted);margin-top:8px}

.dualRange{position:relative;height:34px;margin-top:10px}
.dualTrack{
  position:absolute;left:0;right:0;top:50%;
  transform:translateY(-50%);
  height:6px;border-radius:999px;
  background:rgba(255,255,255,.10);
}
.dualFill{
  position:absolute;top:50%;
  transform:translateY(-50%);
  height:6px;border-radius:999px;
  background:linear-gradient(90deg, rgba(45,108,255,.95), rgba(94,234,212,.65));
}
.dualRange input[type="range"]{
  position:absolute;left:0;top:0;width:100%;height:34px;margin:0;
  background:transparent;pointer-events:none;-webkit-appearance:none;
}
.dualRange input[type="range"]::-webkit-slider-thumb{
  -webkit-appearance:none;pointer-events:auto;
  width:18px;height:18px;border-radius:50%;
  background:rgba(229,231,235,.95);
  border:2px solid rgba(0,0,0,.35);
  box-shadow:0 6px 14px rgba(0,0,0,.35);
}
.dualRange input[type="range"]::-moz-range-thumb{
  pointer-events:auto;width:18px;height:18px;border-radius:50%;
  background:rgba(229,231,235,.95);
  border:2px solid rgba(0,0,0,.35);
  box-shadow:0 6px 14px rgba(0,0,0,.35);
}

.pmGrid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}
.pmCard{
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.05);
  border-radius:18px;
  padding:12px;
  cursor:pointer;
  display:flex;gap:10px;align-items:flex-start;
  text-align:left;
}
.pmCard.isActive{border-color:rgba(94,234,212,.40); background:rgba(94,234,212,.08)}
.pmIco{width:26px;height:26px;border-radius:10px;background:rgba(45,108,255,.25);border:1px solid rgba(255,255,255,.10)}
.ico2{background:rgba(94,234,212,.18)}
.ico3{background:rgba(255,255,255,.10)}
.ico4{background:rgba(45,108,255,.15)}
.pmName{font-weight:900}
.pmDesc{font-size:12px;color:var(--muted);margin-top:2px;line-height:1.3}

.primaryBtn,.secondaryBtn{
  width:100%;
  border:none;
  border-radius:16px;
  padding:13px 14px;
  font-weight:900;
  cursor:pointer;
  margin-top:12px;
}
.primaryBtn{
  background:linear-gradient(90deg, rgba(45,108,255,.95), rgba(94,234,212,.55));
  color:#061018;
}
.secondaryBtn{
  background:rgba(255,255,255,.08);
  border:1px solid var(--stroke);
  color:var(--text);
}
.hint{font-size:12px;color:var(--muted);margin-top:10px;line-height:1.35}
code{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:12px}

.sectionHead{display:flex;align-items:center;justify-content:space-between;margin:16px 2px 10px}
.sectionTitle{font-weight:900}
.badge{
  font-size:12px;font-weight:900;
  padding:7px 10px;border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.05);
  color:var(--muted2);
}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.miniTile{
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.05);
  border-radius:18px;
  padding:12px;
  cursor:pointer;
  text-align:left;
}
.tileImg{height:76px;border-radius:14px;background:radial-gradient(120px 90px at 70% 30%, rgba(94,234,212,.16), transparent 60%), radial-gradient(140px 100px at 30% 70%, rgba(45,108,255,.20), transparent 60%), rgba(0,0,0,.25);border:1px solid rgba(255,255,255,.10)}
.tileLbl{margin-top:10px;font-weight:900}
.tileSub{margin-top:4px;font-size:12px;color:var(--muted);line-height:1.25}

.voyusCard{margin-top:12px}
.voyusTitle{font-weight:900}
.voyusList{margin:10px 0 0; padding-left:18px; color:var(--muted2); line-height:1.55}
.voyusList li{margin:6px 0}

.pageTitle{font-size:26px;font-weight:900;margin:10px 2px 0}
.pageSub{color:var(--muted);margin:6px 2px 12px}

.filtersCard{padding:12px; position:sticky; top:10px; z-index:2}
.filterRow{display:flex;gap:8px;flex-wrap:wrap}
.pill{
  padding:8px 10px;border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
  color:var(--muted2);
  font-weight:900;
  font-size:12px;
  cursor:pointer;
}
.pill.isActive{background:rgba(94,234,212,.12); border-color:rgba(94,234,212,.30)}
.metaRow{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.metaPill{padding:8px 10px;border-radius:999px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.10);font-size:12px}
.metaKey{color:var(--muted)}
.listGrid{display:flex;flex-direction:column;gap:12px; margin-top:12px}

.vCard{
  display:flex;gap:12px;align-items:center;
  padding:12px;border-radius:22px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
  cursor:pointer;
}
.vImg{width:86px;height:62px;border-radius:16px;background:linear-gradient(135deg, rgba(255,255,255,.10), rgba(45,108,255,.20));border:1px solid rgba(255,255,255,.12)}
.vName{font-weight:900}
.vMeta{font-size:12px;color:var(--muted);margin-top:3px}
.vRight{margin-left:auto;text-align:right}
.vPrice{font-weight:900}
.vCap{font-size:12px;color:var(--muted)}

.mapCard{padding:0;overflow:hidden}
.mapMock{height:180px;background:
  radial-gradient(260px 160px at 25% 40%, rgba(45,108,255,.25), transparent 60%),
  radial-gradient(240px 160px at 70% 60%, rgba(94,234,212,.16), transparent 60%),
  linear-gradient(180deg, rgba(255,255,255,.06), rgba(0,0,0,.20));
}
.routeLine{height:3px;background:linear-gradient(90deg, rgba(45,108,255,.9), rgba(94,234,212,.7));}
.routeCard{margin-top:12px}
.routeRow{display:flex;gap:12px;align-items:flex-start;padding:10px 0}
.pin{width:14px;height:14px;border-radius:50%;background:rgba(45,108,255,.9);margin-top:4px}
.pin2{background:rgba(94,234,212,.8)}
.routeMain{font-weight:900}
.routeSub{font-size:12px;color:var(--muted);margin-top:2px}

.selectedCard{margin-top:12px}
.selTop{display:flex;gap:12px;align-items:center}
.selImg{width:96px;height:70px;border-radius:18px;background:linear-gradient(135deg, rgba(255,255,255,.10), rgba(94,234,212,.14));border:1px solid rgba(255,255,255,.12)}
.selName{font-size:18px;font-weight:900}
.selSub{font-size:12px;color:var(--muted);margin-top:2px}
.selPrice{margin-left:auto;text-align:right}
.selPrice strong{font-size:18px}
.btnRow{display:grid;grid-template-columns:1fr 1.2fr;gap:12px;margin-top:14px}

.heroVehicle{padding:0;overflow:hidden}
.heroVehicleImg{height:170px;background:radial-gradient(240px 160px at 70% 40%, rgba(45,108,255,.28), transparent 60%), radial-gradient(240px 160px at 20% 70%, rgba(94,234,212,.14), transparent 60%), rgba(0,0,0,.25)}
.heroVehicleBody{padding:14px}
.heroVehicleTitle{font-size:20px;font-weight:900}
.heroVehicleSub{color:var(--muted);margin-top:4px}

.summaryCard .sumRow, .payCard .payRow{display:flex;justify-content:space-between;align-items:center;padding:10px 0;border-top:1px solid rgba(255,255,255,.08)}
.summaryCard .sumRow:first-child, .payCard .payRow:first-child{border-top:none}
.sumLbl,.payLbl{color:var(--muted);font-size:12px}
.sumVal,.payVal{font-weight:900}
.payRow.small{display:block}
.payHint{font-size:12px;color:var(--muted);margin-top:8px;line-height:1.35}

.tabbar{
  position:fixed;
  left:50%;
  transform:translateX(-50%);
  bottom:0;
  width:min(460px, 100%);
  background:rgba(11,18,32,.86);
  backdrop-filter: blur(10px);
  border-top:1px solid rgba(255,255,255,.10);
  padding:10px 16px calc(10px + env(safe-area-inset-bottom));
  display:flex;
  justify-content:space-between;
  gap:8px;
}
.tab{
  flex:1;
  border:none;
  background:none;
  color:var(--muted);
  padding:8px 0;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:6px;
  cursor:pointer;
}
.tab .ico{width:22px;height:22px;border-radius:8px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.10)}
.tab.active{color:var(--text)}
.tab.active .ico{background:linear-gradient(135deg, rgba(45,108,255,.95), rgba(94,234,212,.55));border:none}

/* Tablet / larger screens */
.homeGrid{display:block}
@media (min-width:768px){
  .app{max-width:1080px}
  .main{padding-bottom:92px}
  .homeGrid{display:grid;grid-template-columns:1.2fr 0.8fr;gap:18px;align-items:start}
  .listGrid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
  .tabbar{width:min(1080px,100%)}
}
