:root {
  --blue: #0b5ed7;
  --blue-dark: #084298;
  --navy: #0f2340;
  --ink: #1c2b3a;
  --muted: #5b6b7b;
  --bg: #f5f8fb;
  --card: #ffffff;
  --line: #e2e9f1;
  --green: #1a9e5c;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(15, 35, 64, 0.08);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
}
img { max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ---------- top bar ---------- */
.topbar { background: var(--navy); color: #cdd9e6; font-size: 13.5px; }
.topbar .container { display: flex; justify-content: space-between; padding-top: 7px; padding-bottom: 7px; }
.topbar a { color: #fff; }

/* ---------- header / nav ---------- */
header.site { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
header.site .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 21px; color: var(--navy); }
.logo:hover { text-decoration: none; }
.logo .mark {
  width: 38px; height: 38px; border-radius: 9px; background: linear-gradient(135deg, var(--blue), #3f8ef7);
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 19px; font-weight: 800;
}
.logo small { display: block; font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: .4px; }
nav.main ul { display: flex; gap: 26px; list-style: none; align-items: center; }
nav.main a { color: var(--ink); font-weight: 600; font-size: 15px; }
nav.main a:hover, nav.main a.active { color: var(--blue); text-decoration: none; }
.btn {
  display: inline-block; background: var(--blue); color: #fff !important; font-weight: 600; font-size: 15px;
  padding: 11px 22px; border-radius: 8px; border: none; cursor: pointer; transition: background .15s;
}
.btn:hover { background: var(--blue-dark); text-decoration: none; }
.btn.ghost { background: transparent; color: var(--blue) !important; border: 1.5px solid var(--blue); }
.btn.ghost:hover { background: rgba(11, 94, 215, .06); }
.btn.big { padding: 14px 30px; font-size: 16.5px; }
.btn.green { background: var(--green); }
.btn.green:hover { background: #157f4a; }
.nav-toggle { display: none; }

/* ---------- hero ---------- */
.hero { background: linear-gradient(135deg, #0f2340 0%, #123a6d 55%, #0b5ed7 130%); color: #fff; padding: 84px 0 96px; }
.hero .grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 { font-size: 42px; line-height: 1.15; font-weight: 800; margin-bottom: 18px; }
.hero h1 span { color: #7fb2ff; }
.hero p.lead { font-size: 18.5px; color: #c8d6e8; margin-bottom: 28px; max-width: 520px; }
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .trust { margin-top: 30px; font-size: 13.5px; color: #9fb4cc; }
.hero .trust b { color: #dbe7f5; }
.hero-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 16px;
  padding: 26px; backdrop-filter: blur(4px);
}
.hero-card .row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 14.5px; }
.hero-card .row:last-child { border-bottom: none; }
.hero-card .row b { color: #fff; }
.hero-card .row span { color: #9fb4cc; }
.hero-card .status { display: inline-flex; align-items: center; gap: 7px; color: #6ee7a8; font-weight: 600; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #34d399; display: inline-block; }

/* ---------- sections ---------- */
section.block { padding: 74px 0; }
section.block.alt { background: var(--bg); }
h2.title { font-size: 30px; font-weight: 800; color: var(--navy); text-align: center; margin-bottom: 10px; }
p.subtitle { text-align: center; color: var(--muted); max-width: 640px; margin: 0 auto 44px; font-size: 16.5px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(15,35,64,.12); }
.card .ico {
  width: 46px; height: 46px; border-radius: 10px; background: #e8f1fe; color: var(--blue);
  display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 16px;
}
.card h3 { font-size: 17.5px; color: var(--navy); margin-bottom: 8px; }
.card p { font-size: 14.5px; color: var(--muted); }

/* stats strip */
.stats { background: var(--navy); color: #fff; padding: 40px 0; }
.stats .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stats b { display: block; font-size: 34px; font-weight: 800; color: #7fb2ff; }
.stats span { font-size: 14px; color: #b9c9dd; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 24px 24px; }
.step .num {
  position: absolute; top: -18px; left: 22px; width: 36px; height: 36px; border-radius: 50%;
  background: var(--blue); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.step h3 { font-size: 17px; margin-bottom: 8px; color: var(--navy); }
.step p { font-size: 14.5px; color: var(--muted); }

/* testimonials */
.testi { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.testi .stars { color: #f5a623; letter-spacing: 2px; margin-bottom: 12px; }
.testi p { font-size: 15px; font-style: italic; color: var(--ink); margin-bottom: 16px; }
.testi .who { display: flex; align-items: center; gap: 12px; }
.testi .avatar {
  width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, #3f8ef7, #0b5ed7);
  color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 15px;
}
.testi .who b { display: block; font-size: 14.5px; color: var(--navy); }
.testi .who span { font-size: 13px; color: var(--muted); }

/* pricing */
.price { background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 30px; text-align: center; position: relative; }
.price.featured { border-color: var(--blue); box-shadow: 0 14px 40px rgba(11,94,215,.15); }
.price .tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--blue); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 14px; border-radius: 20px; }
.price h3 { font-size: 19px; color: var(--navy); }
.price .amount { font-size: 40px; font-weight: 800; color: var(--navy); margin: 12px 0 2px; }
.price .amount small { font-size: 15px; font-weight: 500; color: var(--muted); }
.price ul { list-style: none; margin: 20px 0 26px; text-align: left; }
.price li { padding: 8px 0 8px 28px; position: relative; font-size: 14.5px; color: var(--ink); border-bottom: 1px dashed var(--line); }
.price li::before { content: "✓"; position: absolute; left: 4px; color: var(--green); font-weight: 700; }

/* faq */
.faq-item { border: 1px solid var(--line); border-radius: 10px; margin-bottom: 12px; background: #fff; }
.faq-item summary { padding: 16px 20px; font-weight: 600; color: var(--navy); cursor: pointer; list-style: none; position: relative; padding-right: 44px; }
.faq-item summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 20px; color: var(--blue); }
.faq-item[open] summary::after { content: "–"; }
.faq-item .body { padding: 0 20px 18px; color: var(--muted); font-size: 14.5px; }

/* support page */
.support-hero { background: linear-gradient(135deg, #0f2340, #123a6d); color: #fff; padding: 64px 0; }
.support-hero h1 { font-size: 36px; margin-bottom: 12px; }
.support-hero p { color: #c8d6e8; max-width: 620px; }
.dl-panel { background: #fff; border-radius: 16px; box-shadow: 0 18px 50px rgba(15,35,64,.18); max-width: 560px; margin: -46px auto 0; padding: 34px; position: relative; }
.dl-panel h2 { font-size: 22px; color: var(--navy); margin-bottom: 6px; }
.dl-panel .ver { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.os-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.os-btn {
  border: 1.5px solid var(--line); border-radius: 10px; padding: 16px; background: #fff; cursor: pointer;
  font-size: 15px; font-weight: 600; color: var(--ink); text-align: left; transition: border-color .15s, background .15s;
}
.os-btn:hover { border-color: var(--blue); background: #f3f8ff; }
.os-btn .os-ico { font-size: 24px; display: block; margin-bottom: 6px; }
.os-btn small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; }
.dl-note { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 14px; }
.session-box { margin-top: 26px; border-top: 1px solid var(--line); padding-top: 22px; }
.session-box .code {
  font-family: Consolas, Menlo, monospace; font-size: 22px; letter-spacing: 3px; background: var(--bg);
  border: 1px dashed var(--line); border-radius: 8px; padding: 12px; text-align: center; color: var(--navy); margin: 12px 0;
}
.sec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.sec-item { text-align: center; padding: 22px 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.sec-item .ico { font-size: 30px; margin-bottom: 10px; }
.sec-item b { display: block; font-size: 14.5px; color: var(--navy); }
.sec-item span { font-size: 13px; color: var(--muted); }

/* about / contact */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 22px; }
.member { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.member .avatar { width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, #3f8ef7, #0b5ed7); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.member b { display: block; font-size: 15px; color: var(--navy); }
.member span { font-size: 13px; color: var(--muted); }
form.contact-form { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 30px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 8px; padding: 11px 13px; font-size: 14.5px;
  font-family: inherit; background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); }
.form-msg { display: none; background: #e6f6ec; border: 1px solid #bfe8cf; color: #14532d; border-radius: 8px; padding: 12px 14px; font-size: 14px; margin-bottom: 16px; }

/* footer */
footer.site { background: var(--navy); color: #9fb4cc; padding: 54px 0 0; font-size: 14px; }
footer.site .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 40px; }
footer.site h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
footer.site ul { list-style: none; }
footer.site li { margin-bottom: 9px; }
footer.site a { color: #9fb4cc; }
footer.site a:hover { color: #fff; }
footer.site .bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; display: flex; justify-content: space-between; font-size: 13px; flex-wrap: wrap; gap: 8px; }
.badges { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.badge { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: 6px; padding: 6px 10px; font-size: 12px; color: #cdd9e6; }

/* cookie banner */
#cookie {
  position: fixed; left: 0; right: 0; bottom: 0; background: var(--navy); color: #fff; z-index: 100;
  padding: 16px 20px; display: flex; align-items: center; gap: 18px; justify-content: center; font-size: 14px;
}
#cookie .actions { display: flex; gap: 10px; }
#cookie .btn { padding: 9px 18px; font-size: 13.5px; }

/* modal */
.modal-back { position: fixed; inset: 0; background: rgba(10, 20, 35, .55); z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-back.open { display: flex; }
.modal { background: #fff; border-radius: 16px; max-width: 460px; width: 100%; padding: 32px; text-align: center; position: relative; }
.modal .close { position: absolute; top: 12px; right: 16px; background: none; border: none; font-size: 24px; color: var(--muted); cursor: pointer; }
.modal h3 { color: var(--navy); font-size: 20px; margin-bottom: 8px; }
.modal p { color: var(--muted); font-size: 14.5px; }
.progress { height: 10px; background: var(--bg); border-radius: 6px; overflow: hidden; margin: 22px 0 10px; }
.progress .bar { height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), #3f8ef7); transition: width .3s; }
.modal .dl-status { font-size: 13px; color: var(--muted); }
.modal .success-ico { font-size: 52px; margin-bottom: 8px; }

/* chat widget */
#chat-widget { position: fixed; right: 22px; bottom: 22px; z-index: 90; }
#chat-bubble {
  width: 60px; height: 60px; border-radius: 50%; background: var(--blue); color: #fff; border: none; cursor: pointer;
  font-size: 26px; box-shadow: 0 10px 26px rgba(11,94,215,.4);
}
#chat-panel {
  display: none; position: absolute; right: 0; bottom: 72px; width: 320px; background: #fff; border-radius: 14px;
  box-shadow: 0 18px 50px rgba(15,35,64,.3); overflow: hidden;
}
#chat-widget.open #chat-panel { display: block; }
#chat-panel .head { background: var(--navy); color: #fff; padding: 14px 16px; }
#chat-panel .head b { display: block; }
#chat-panel .head span { font-size: 12.5px; color: #9fb4cc; }
#chat-panel .body { padding: 16px; font-size: 14px; color: var(--ink); }
#chat-panel .msg { background: var(--bg); border-radius: 10px; padding: 10px 12px; margin-bottom: 10px; }
#chat-panel input { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 9px 11px; font-size: 13.5px; margin-top: 6px; }

/* responsive */
@media (max-width: 900px) {
  .hero .grid, .about-grid { grid-template-columns: 1fr; }
  .cards, .steps, .sec-grid { grid-template-columns: 1fr 1fr; }
  .stats .grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  footer.site .cols { grid-template-columns: 1fr 1fr; }
  nav.main ul { display: none; }
  .hero h1 { font-size: 32px; }
}
@media (max-width: 560px) {
  .cards, .steps, .sec-grid, .os-row, .form-row, .team { grid-template-columns: 1fr; }
}
