
*{box-sizing:border-box}
html{scroll-behavior:smooth}
:root{
  --bg:#f5f7fb;
  --bg-2:#eef2f7;
  --surface:#ffffff;
  --surface-soft:#f8fafc;
  --line:#d8e1ee;
  --ink:#101a2e;
  --muted:#5e6a80;
  --primary:#143dff;
  --primary-soft:#e7eeff;
  --navy:#0b1733;
  --navy-2:#132347;
  --shadow:0 22px 60px rgba(14,24,44,.08);
  --shadow-strong:0 36px 100px rgba(10,18,36,.18);
  --radius-xl:34px;
  --radius-lg:28px;
  --radius-md:22px;
  --container:1280px;
}
html,body{margin:0;padding:0}
body{
  font-family:Inter,"PingFang SC","Microsoft YaHei",Arial,sans-serif;
  color:var(--ink);
  background:
    radial-gradient(circle at top right, rgba(20,61,255,.08), transparent 18%),
    linear-gradient(180deg,#fbfcfe 0%,#f4f6fb 36%,#eef2f7 100%);
  line-height:1.75;
}
a{text-decoration:none;color:inherit}
img{display:block;max-width:100%;height:auto}
button{font:inherit}
.container{width:min(var(--container), calc(100% - 32px));margin:0 auto}
.small-title{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size:12px;
  font-weight:900;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--primary);
}
.small-title::before{
  content:"";
  width:24px;
  height:2px;
  border-radius:999px;
  background:linear-gradient(90deg,var(--primary),transparent);
}
h1,h2,h3,p{margin:0}
p{color:var(--muted)}
.section-head{max-width:780px;margin:0 auto 24px}
.section-head.center{text-align:center}
.section-head h2,
.hero-copy h1,
.page-hero-shell h1,
.feature-text h2,
.compare-copy h2,
.footer-brand h2,
.security-banner-shell h2,
.modal-card h2{
  margin:16px 0 12px;
  letter-spacing:-.06em;
  line-height:.95;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border:1px solid transparent;
  border-radius:999px;
  padding:14px 22px;
  font-weight:900;
  cursor:pointer;
  transition:transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.btn:hover{transform:translateY(-1px)}
.btn-dark{
  background:linear-gradient(135deg,var(--navy),var(--primary));
  color:#fff;
  box-shadow:0 18px 42px rgba(20,61,255,.18);
}
.btn-light{
  background:#fff;
  color:var(--ink);
  border-color:var(--line);
  box-shadow:var(--shadow);
}
.btn-ghost{
  background:transparent;
  color:var(--ink);
  border-color:rgba(16,26,46,.18);
}

/* Header */
.site-header{
  position:sticky;
  top:0;
  z-index:120;
  background:rgba(251,252,254,.86);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(16,26,46,.06);
}
.header-wrap{
  min-height:84px;
  display:flex;
  align-items:center;
  gap:18px;
  position:relative;
}
.brand{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:max-content;
}
.brand-mark{
  width:50px;
  height:50px;
  border-radius:16px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,var(--navy),var(--primary));
  color:#fff;
  font-size:24px;
  font-weight:900;
  box-shadow:0 16px 34px rgba(20,61,255,.2);
}
.brand-text{
  display:flex;
  flex-direction:column;
  gap:2px;
}
.brand-text strong{font-size:18px;line-height:1.1}
.brand-text em{font-style:normal;color:#77839b;font-size:12px;letter-spacing:.14em}
.main-nav{
  display:flex;
  align-items:center;
  gap:18px;
  margin-left:auto;
}
.main-nav a,.nav-btn{
  border:0;
  background:transparent;
  padding:0;
  cursor:pointer;
  font-size:14px;
  font-weight:800;
  color:var(--ink);
}
.main-nav a:hover,.nav-btn:hover{color:var(--primary)}
.header-actions{
  display:flex;
  gap:10px;
}
.nav-toggle{
  display:none;
  margin-left:auto;
  border:0;
  background:transparent;
  padding:0;
  cursor:pointer;
}
.nav-toggle span{
  display:block;
  width:24px;
  height:2px;
  background:var(--ink);
  border-radius:999px;
  margin:5px 0;
}

/* Hero */
.hero-section{padding:34px 0 28px}
.hero-shell{
  display:grid;
  grid-template-columns:1.02fr .98fr;
  gap:18px;
}
.hero-copy,.hero-showcase{
  border:1px solid var(--line);
  border-radius:40px;
  box-shadow:var(--shadow);
}
.hero-copy{
  background:#fff;
  padding:40px;
}
.hero-copy h1{
  font-size:clamp(50px,6vw,92px);
}
.hero-desc{
  font-size:17px;
  max-width:720px;
}
.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:28px;
}
.hero-pills{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:30px;
}
.hero-pills span,
.mini-tag{
  padding:10px 14px;
  border-radius:999px;
  border:1px solid var(--line);
  background:var(--surface-soft);
  font-size:13px;
  font-weight:800;
}
.hero-showcase{
  background:
    linear-gradient(180deg,#fbfcff 0%,#f2f6fc 100%);
  overflow:hidden;
  display:grid;
  grid-template-rows:1fr auto;
}
.hero-panel.top{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
  padding:28px;
  border-bottom:1px solid var(--line);
}
.panel-copy small{
  display:block;
  font-size:12px;
  letter-spacing:.16em;
  text-transform:uppercase;
  font-weight:900;
  color:var(--primary);
}
.panel-copy h2{
  margin:14px 0 10px;
  font-size:56px;
  line-height:.94;
  letter-spacing:-.06em;
}
.panel-image{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:8px;
}
.panel-image img{
  max-height:290px;
  object-fit:contain;
  filter:drop-shadow(0 24px 32px rgba(18,35,71,.16));
}
.hero-panel.bottom{
  padding:18px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
}
.mini-portal{
  background:#fff;
  border:1px solid var(--line);
  border-radius:22px;
  padding:18px;
}
.mini-portal strong{
  display:block;
  font-size:18px;
  line-height:1.1;
}
.mini-portal span{
  display:block;
  margin-top:8px;
  color:var(--muted);
  word-break:break-word;
}

/* General sections */
.portal-section,
.featured-section,
.compare-preview,
.service-strip,
.faq-section,
.page-hero,
.matrix-section,
.compare-table-section,
.selection-section,
.support-entry-section,
.support-flow-section,
.support-info-section,
.security-grid-section,
.security-banner{padding:30px 0}

.portal-grid,
.product-gallery,
.faq-grid,
.matrix-grid,
.selection-grid,
.support-entry-grid,
.flow-grid,
.support-info-grid,
.security-grid{
  display:grid;
  gap:16px;
}
.portal-grid{grid-template-columns:repeat(4,1fr)}
.portal-card{
  text-align:left;
  border:0;
  cursor:pointer;
  background:#fff;
  border:1px solid var(--line);
  border-radius:30px;
  padding:28px;
  box-shadow:var(--shadow);
}
.portal-card b,
.flow-card b{
  display:inline-grid;
  place-items:center;
  width:48px;height:48px;
  border-radius:16px;
  background:var(--primary-soft);
  color:var(--navy);
  font-size:18px;
  font-weight:900;
}
.portal-card h3,
.product-tile h3,
.service-card h3,
.selection-card h3,
.flow-card h3,
.support-box h3,
.security-card h2,
.matrix-copy h2{
  margin:18px 0 10px;
  font-size:32px;
  line-height:.98;
  letter-spacing:-.05em;
}

.feature-wrap{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:18px;
  margin-bottom:18px;
}
.feature-text{
  max-width:760px;
}
.feature-text h2{font-size:clamp(42px,5vw,72px)}
.feature-link{
  min-width:max-content;
  padding:14px 20px;
  border-radius:999px;
  background:#fff;
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  font-weight:900;
}
.product-gallery{
  grid-template-columns:1fr 1fr;
}
.product-tile{
  background:#fff;
  border:1px solid var(--line);
  border-radius:34px;
  padding:28px;
  box-shadow:var(--shadow);
  display:grid;
  grid-template-columns:1fr;
  gap:18px;
}
.product-tile.large{
  min-height:420px;
}
.tile-copy{max-width:520px}
.tile-media{
  min-height:230px;
  border-radius:26px;
  background:linear-gradient(180deg,#fcfdff,#edf3fb);
  border:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px;
}
.tile-media img{
  max-height:250px;
  object-fit:contain;
  filter:drop-shadow(0 24px 30px rgba(18,35,71,.14));
}
.tile-media.compact img{max-height:190px}

.compare-shell{
  display:grid;
  grid-template-columns:.92fr 1.08fr;
  gap:18px;
}
.compare-copy,.compare-list{
  background:#fff;
  border:1px solid var(--line);
  border-radius:34px;
  padding:30px;
  box-shadow:var(--shadow);
}
.compare-copy h2{font-size:clamp(40px,4.8vw,70px)}
.compare-list{
  display:grid;
  gap:12px;
}
.compare-list div{
  padding:18px 20px;
  border-radius:22px;
  background:var(--surface-soft);
  border:1px solid var(--line);
}
.compare-list strong{
  display:block;
  font-size:20px;
}
.compare-list span{color:var(--muted)}

.service-grid,
.support-info-grid,
.security-grid,
.selection-grid{grid-template-columns:repeat(3,1fr)}
.service-card,
.support-box,
.security-card,
.selection-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:30px;
  padding:28px;
  box-shadow:var(--shadow);
}

.faq-grid{grid-template-columns:repeat(2,1fr)}
.faq-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:30px;
  padding:22px 24px;
  box-shadow:var(--shadow);
}
.faq-card summary{
  list-style:none;
  cursor:pointer;
  font-size:18px;
  font-weight:900;
  color:var(--ink);
}
.faq-card summary::-webkit-details-marker{display:none}
.faq-card p{margin-top:10px}

/* Page hero */
.page-hero-shell{
  background:#fff;
  border:1px solid var(--line);
  border-radius:34px;
  padding:34px;
  box-shadow:var(--shadow);
}
.crumbs{
  display:flex;
  gap:10px;
  align-items:center;
  margin-bottom:14px;
  font-size:14px;
  color:var(--muted);
}
.crumbs strong{color:var(--ink)}
.page-hero-shell h1{font-size:clamp(44px,5vw,76px)}

.matrix-grid{grid-template-columns:repeat(2,1fr)}
.matrix-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:34px;
  overflow:hidden;
  box-shadow:var(--shadow);
}
.matrix-media{
  min-height:300px;
  background:linear-gradient(180deg,#fcfdff,#edf3fb);
  border-bottom:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:28px;
}
.matrix-media img{
  max-height:220px;
  object-fit:contain;
  filter:drop-shadow(0 22px 30px rgba(18,35,71,.16));
}
.matrix-copy{padding:26px}
.matrix-copy ul{
  margin:18px 0 0;
  padding-left:18px;
  color:var(--muted);
}
.matrix-copy li{margin:6px 0}

.compare-table{
  background:#fff;
  border:1px solid var(--line);
  border-radius:30px;
  overflow:hidden;
  box-shadow:var(--shadow);
}
.compare-row{
  display:grid;
  grid-template-columns:1.2fr .9fr 1.2fr 1fr .9fr .6fr;
  gap:14px;
  align-items:center;
  padding:18px 20px;
  border-top:1px solid var(--line);
}
.compare-row.head{
  background:var(--primary-soft);
  border-top:0;
  font-weight:900;
}
.compare-row strong{font-size:18px}
.mini-tag{
  border:0;
  background:var(--primary-soft);
  color:var(--primary);
  cursor:pointer;
}

.support-entry-grid{grid-template-columns:repeat(4,1fr)}
.support-entry{
  background:#fff;
  border:1px solid var(--line);
  border-radius:30px;
  padding:28px;
  box-shadow:var(--shadow);
  min-height:290px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}
.support-entry h2{
  margin:18px 0 10px;
  font-size:34px;
  line-height:.98;
  letter-spacing:-.05em;
}
.support-entry strong{
  display:block;
  margin-top:22px;
  word-break:break-word;
}

.flow-grid{grid-template-columns:repeat(4,1fr)}
.flow-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:30px;
  padding:28px;
  box-shadow:var(--shadow);
}

.security-banner-shell{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:32px;
  background:linear-gradient(135deg,#ffffff 0%,#eff5ff 100%);
  border:1px solid var(--line);
  border-radius:34px;
  box-shadow:var(--shadow);
}
.security-banner-shell h2{font-size:clamp(36px,4vw,64px)}

.site-footer{padding-top:10px}
.footer-top{
  display:flex;
  justify-content:space-between;
  gap:24px;
  padding:34px 0 26px;
  border-top:1px solid rgba(16,26,46,.08);
}
.footer-brand h2{font-size:48px}
.footer-brand p{max-width:720px}
.footer-links{
  display:flex;
  flex-direction:column;
  gap:12px;
  align-items:flex-end;
}
.footer-contact{
  padding:12px 18px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  cursor:pointer;
  font-weight:900;
}
.footer-bottom{
  padding:0 0 34px;
}
.footer-bottom p{
  font-size:14px;
  color:#77839b;
}

/* Modal */
.contact-modal{
  position:fixed;
  inset:0;
  z-index:160;
  display:none;
  align-items:center;
  justify-content:center;
}
.contact-modal.open{display:flex}
.modal-mask{
  position:absolute;
  inset:0;
  background:rgba(10,18,36,.64);
  backdrop-filter:blur(10px);
}
.modal-card{
  position:relative;
  z-index:2;
  width:min(460px,calc(100% - 24px));
  background:#fff;
  border:1px solid var(--line);
  border-radius:34px;
  padding:30px;
  text-align:center;
  box-shadow:var(--shadow-strong);
}
.modal-close{
  position:absolute;
  right:14px;
  top:10px;
  border:0;
  background:transparent;
  font-size:30px;
  cursor:pointer;
  color:var(--ink);
}
.modal-card h2{font-size:48px}
.qr-shell{
  width:min(300px,100%);
  margin:18px auto 0;
  padding:14px;
  border-radius:26px;
  background:linear-gradient(180deg,#fcfdff,#eff4fb);
  border:1px solid var(--line);
}
.qr-shell img{width:100%}
.modal-card p{margin-top:14px}
.modal-actions{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:12px;
  margin-top:20px;
}
.float-contact{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:130;
  border:0;
  border-radius:999px;
  padding:14px 18px;
  background:linear-gradient(135deg,var(--navy),var(--primary));
  color:#fff;
  font-weight:900;
  cursor:pointer;
  box-shadow:0 20px 44px rgba(20,61,255,.24);
}
body.lock{overflow:hidden}

/* animations */
.reveal{
  opacity:0;
  transform:translateY(20px);
  transition:opacity .7s ease, transform .7s ease;
}
.reveal.visible{
  opacity:1;
  transform:none;
}

/* responsive */
@media (max-width:1180px){
  .main-nav,.header-actions{display:none}
  .nav-toggle{display:block}
  .header-wrap.open .main-nav{
    display:flex;
    position:absolute;
    left:0;right:0;top:76px;
    flex-direction:column;
    gap:0;
    padding:10px;
    background:#fff;
    border:1px solid var(--line);
    border-radius:24px;
    box-shadow:var(--shadow);
  }
  .header-wrap.open .main-nav a,
  .header-wrap.open .nav-btn{
    text-align:left;
    padding:12px 14px;
  }
  .header-wrap.open .header-actions{
    display:flex;
    position:absolute;
    left:0;right:0;top:324px;
    padding:12px;
    background:#fff;
    border:1px solid var(--line);
    border-radius:24px;
    box-shadow:var(--shadow);
  }

  .hero-shell,
  .compare-shell,
  .security-banner-shell{grid-template-columns:1fr;display:grid}
  .hero-panel.bottom,
  .portal-grid,
  .support-entry-grid,
  .flow-grid{grid-template-columns:repeat(2,1fr)}
  .product-gallery,
  .matrix-grid,
  .service-grid,
  .support-info-grid,
  .security-grid,
  .selection-grid,
  .faq-grid{grid-template-columns:repeat(2,1fr)}
  .footer-top{flex-direction:column;align-items:flex-start}
  .footer-links{align-items:flex-start}
}
@media (max-width:760px){
  .container{width:min(var(--container), calc(100% - 22px))}
  .hero-copy,
  .portal-card,
  .product-tile,
  .compare-copy,
  .compare-list,
  .service-card,
  .faq-card,
  .page-hero-shell,
  .matrix-copy,
  .support-entry,
  .flow-card,
  .support-box,
  .security-card,
  .selection-card,
  .modal-card{padding:22px}
  .hero-actions,
  .modal-actions{flex-direction:column}
  .hero-shell,
  .hero-panel.top,
  .hero-panel.bottom,
  .portal-grid,
  .product-gallery,
  .compare-shell,
  .service-grid,
  .faq-grid,
  .matrix-grid,
  .selection-grid,
  .support-entry-grid,
  .flow-grid,
  .support-info-grid,
  .security-grid{grid-template-columns:1fr}
  .panel-copy h2{font-size:42px}
  .hero-copy h1,
  .page-hero-shell h1,
  .feature-text h2,
  .compare-copy h2,
  .security-banner-shell h2,
  .footer-brand h2{font-size:42px}
  .compare-row{grid-template-columns:1fr}
  .compare-row.head{display:none}
  .compare-table{
    background:transparent;
    border:0;
    box-shadow:none;
  }
  .compare-row{
    background:#fff;
    border:1px solid var(--line);
    border-radius:22px;
    margin-bottom:12px;
  }
  .btn{width:100%}
}
