:root{
  --bg:#f6f7f9;
  --bg2:#ffffff;
  --panel:#ffffff;
  --text:#111318;
  --muted: rgba(17,19,24,.68);
  --muted2: rgba(17,19,24,.52);
  --line: rgba(17,19,24,.10);

  --red:#d3162b;
  --red2:#ff3b30;
  --gray:#6b7280;

  --radius: 16px;
  --shadow: 0 18px 55px rgba(17,19,24,.10);
  --shadow2: 0 10px 35px rgba(17,19,24,.08);
  --max: 1160px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;
  background:
    radial-gradient(900px 600px at 10% 0%, rgba(211,22,43,.09), transparent 55%),
    radial-gradient(900px 600px at 90% 20%, rgba(17,19,24,.06), transparent 60%),
    var(--bg);
  color:var(--text);
  line-height:1.55;
}

a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }

.container{ width: min(100%, calc(var(--max) + 40px)); margin:0 auto; padding:0 20px; }

.topbar{
  position:sticky; top:0; z-index:50;
  background: rgba(246,247,249,.86);
  backdrop-filter: blur(12px);
  border-bottom:1px solid var(--line);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
  gap:14px;
  flex-wrap:nowrap;
}

.brand{
  display:flex; align-items:center; gap:12px;
  font-weight:800; letter-spacing:-.2px;
}
.brandMark{
  width:40px; height:40px;
  border-radius:14px;
  background: #fff;
  border:1px solid var(--line);
  box-shadow: var(--shadow2);
  display:grid; place-items:center;
  overflow:hidden;
}
.brandMark img{ width:28px; height:28px; }

.brand small{
  display:block;
  font-weight:700;
  color:var(--muted);
  font-size:12px;
  letter-spacing:.2px;
  margin-top:2px;
}

.navlinks{ display:flex; gap:10px; align-items:center; flex-wrap:wrap; justify-content:center; }
.navlinks a{
  color:var(--muted);
  font-size:14px;
  padding:8px 10px;
  border-radius:12px;
  transition:.18s ease;
}
.navlinks a:hover{ background: rgba(17,19,24,.05); color:var(--text); }
.navlinks a.active{
  color: var(--text);
  background: rgba(211,22,43,.10);
  border: 1px solid rgba(211,22,43,.18);
}

.right{
  display:flex; gap:10px; align-items:center;
}

.langSwitch{
  display:inline-flex; gap:6px; align-items:center;
  padding:6px;
  border:1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow2);
}
.langBtn{
  border:0;
  background: transparent;
  padding:6px 10px;
  border-radius:10px;
  font-weight:800;
  color:var(--muted);
  cursor:pointer;
  font-size:12px;
}
.langBtn.active{
  color: var(--text);
  background: rgba(17,19,24,.06);
}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding:10px 14px;
  border-radius:14px;
  border:1px solid var(--line);
  background: #fff;
  color:var(--text);
  font-weight:800;
  font-size:14px;
  transition:.18s ease;
  cursor:pointer;
  box-shadow: var(--shadow2);
}
.btn:hover{ transform: translateY(-1px); }
.btn.primary{
  background: linear-gradient(135deg, var(--red), var(--red2));
  border-color: rgba(211,22,43,.28);
  color:#fff;
  box-shadow: 0 16px 45px rgba(211,22,43,.22);
}
.btn.primary:hover{ box-shadow: 0 22px 60px rgba(211,22,43,.28); }
.btn.ghost{
  background: transparent;
  box-shadow:none;
}

.mobileToggle{
  display:none;
  background: #fff;
  border:1px solid var(--line);
  border-radius:14px;
  padding:10px 12px;
  color:var(--text);
  box-shadow: var(--shadow2);
}

.hero{
  padding:74px 0 30px;
}
.kicker{
  display:inline-flex; gap:8px; align-items:center;
  padding:8px 12px;
  border-radius:999px;
  background: #fff;
  border:1px solid var(--line);
  color:var(--muted);
  font-size:13px;
  box-shadow: var(--shadow2);
}
.dot{
  width:8px; height:8px; border-radius:999px;
  background: linear-gradient(135deg, var(--red), var(--red2));
  box-shadow: 0 0 0 6px rgba(211,22,43,.10);
}

.heroGrid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:18px;
  margin-top:18px;
  align-items:stretch;
}
.h1{
  font-size: clamp(34px, 4vw, 54px);
  line-height:1.05;
  margin:14px 0 10px;
  letter-spacing:-1px;
}
.lead{
  color:var(--muted);
  font-size:18px;
  max-width: 62ch;
}
.heroActions{ display:flex; gap:12px; margin-top:18px; flex-wrap:wrap; }

.panel{
  background: #fff;
  border:1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.heroCard{ padding:18px; }

.miniGrid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
  margin-top:14px;
}
.mini{
  padding:12px;
  border-radius:14px;
  border:1px solid var(--line);
  background: rgba(17,19,24,.02);
}
.mini h4{ margin:0 0 6px; font-size:13px; color:var(--muted); font-weight:900; }
.mini p{ margin:0; font-size:13px; color:var(--text); }

.trustRow{
  margin-top:18px;
  display:flex; flex-wrap:wrap; gap:10px;
  color:var(--muted2); font-size:13px;
}
.trustRow span{
  display:inline-flex; gap:10px; align-items:center;
  padding:8px 10px; border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  box-shadow: var(--shadow2);
}
.badgeOk{
  width:18px; height:18px; border-radius:999px;
  display:inline-grid; place-items:center;
  background: rgba(211,22,43,.10);
  border:1px solid rgba(211,22,43,.20);
  color: var(--red);
  font-weight:900;
}

.section{ padding:44px 0; }
.sectionHead{
  display:flex; align-items:flex-end; justify-content:space-between;
  gap:16px; margin-bottom:18px;
}
.sectionHead h2{ margin:0; font-size:22px; letter-spacing:-.2px; }
.sectionHead p{ margin:0; color:var(--muted); max-width:64ch; }

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

.card{
  padding:16px;
  border-radius: var(--radius);
  border:1px solid var(--line);
  background:#fff;
  box-shadow: var(--shadow2);
}
.card h3{ margin:0 0 8px; font-size:16px; letter-spacing:-.2px; }
.card p{ margin:0 0 12px; color:var(--muted); font-size:14px; }
.tagRow{ display:flex; flex-wrap:wrap; gap:8px; margin-top:10px; }
.tag{
  font-size:12px;
  color:var(--muted2);
  padding:6px 8px;
  border-radius:999px;
  border:1px solid var(--line);
  background: rgba(17,19,24,.02);
}

.split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
}

.steps{ display:grid; gap:10px; }
.step{
  display:flex; gap:12px; align-items:flex-start;
  padding:14px;
  border-radius: var(--radius);
  border:1px solid var(--line);
  background:#fff;
  box-shadow: var(--shadow2);
}
.num{
  width:28px; height:28px; border-radius:10px;
  display:grid; place-items:center;
  background: rgba(211,22,43,.10);
  border:1px solid rgba(211,22,43,.18);
  color: var(--red);
  font-weight:900;
  font-size:13px;
}
.step h4{ margin:0 0 4px; font-size:14px; }
.step p{ margin:0; color:var(--muted); font-size:13px; }

.ctaBand{
  margin:40px 0 0;
  padding:18px;
  border-radius: calc(var(--radius) + 6px);
  border:1px solid rgba(211,22,43,.18);
  background: linear-gradient(135deg, rgba(211,22,43,.10), rgba(17,19,24,.02));
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
  box-shadow: var(--shadow2);
}
.ctaBand h3{ margin:0; font-size:16px; }
.ctaBand p{ margin:4px 0 0; color:var(--muted); font-size:14px; }

.footer{
  padding:26px 0 40px;
  border-top:1px solid var(--line);
  color:var(--muted2);
  font-size:13px;
  background: rgba(255,255,255,.65);
}
.footerGrid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:14px;
}

.kbd{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size:12px;
  padding:2px 6px;
  border-radius:8px;
  border:1px solid var(--line);
  background: rgba(17,19,24,.03);
}

.form{ display:grid; gap:10px; }
.input{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  background: #fff;
  border:1px solid var(--line);
  color:var(--text);
  box-shadow: var(--shadow2);
}
textarea.input{ min-height:140px; resize:vertical; }

.help{ color:var(--muted2); font-size:12px; margin:0; }
.hr{ height:1px; background: var(--line); margin:18px 0; border:0; }

.notice{
  padding:12px 14px;
  border-radius:14px;
  border:1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size:14px;
  box-shadow: var(--shadow2);
}

.toast{
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: min(420px, calc(100% - 36px));
  padding: 14px 14px;
  border-radius: 16px;
  border:1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
  display:none;
  z-index: 200;
}
.toast.show{ display:block; }
.toast strong{ display:block; margin-bottom:6px; }
.toast p{ margin:0; color:var(--muted); font-size:14px; }

.loadingbar{
  position: fixed;
  top:0; left:0;
  height:2px;
  width: 0%;
  background: linear-gradient(90deg, var(--red), var(--red2));
  z-index: 150;
  opacity: 0;
  transition: opacity .2s ease;
}
.loadingbar.on{ opacity: 1; }

@media (max-width: 980px){
  .heroGrid{ grid-template-columns: 1fr; }
  .grid3{ grid-template-columns: 1fr; }
  .grid2{ grid-template-columns: 1fr; }
  .split{ grid-template-columns: 1fr; }
  .miniGrid{ grid-template-columns: 1fr; }
  .navlinks, .right{ display:none; }
  .mobileToggle{ display:inline-flex; }
  .nav.open .navlinks, .nav.open .right{
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:10px;
    width:100%;
    padding:12px 0 6px;
  }
  .nav.open{ flex-wrap:wrap; }
}

.fadeUp{
  opacity:0;
  transform: translateY(10px);
  transition: .55s ease;
}
.fadeUp.show{ opacity:1; transform: translateY(0); }
