:root {
  --primary: #4f46e5;
  --primary-dark: #3730a3;
  --primary-soft: #eef2ff;
  --ink: #0f172a;
  --text: #334155;
  --muted: #64748b;
  --line: #cbd5e1;
  --light: #f8fafc;
  --lighter: #f1f5f9;
  --soft: #e2e8f0;
  --shadow: 0 20px 48px rgba(79, 70, 229, 0.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.75;
  overflow-x: hidden;
}
body.drawer-open { overflow: hidden; }
a { color: var(--primary-dark); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 3px solid rgba(79,70,229,.35); outline-offset: 3px; }

.skip-link { position: fixed; left: 16px; top: -100px; z-index: 12000; padding: 10px 16px; color: #fff; background: var(--primary-dark); border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky; top: 0; width: 100%; z-index: 9999;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--soft);
  box-shadow: 0 4px 16px rgba(79,70,229,.06);
}
.header-inner { max-width: 1240px; min-height: 70px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.site-logo { display: inline-flex; flex: 0 0 auto; }
.site-logo img { display: block; max-height: 44px; width: auto; object-fit: contain; }
.nav-core { display: flex; align-items: center; justify-content: center; gap: 8px; flex: 1; white-space: nowrap; }
.nav-core a { color: var(--text); text-decoration: none; padding: 8px 10px; border-radius: 10px; font-size: 15px; }
.nav-core a:hover, .nav-core a.active { color: var(--primary-dark); background: var(--primary-soft); }
.header-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }

.main-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 22px; color: #fff;
  background: var(--primary); border-radius: 12px;
  text-decoration: none; box-shadow: 0 10px 28px rgba(79,70,229,.22);
  position: relative; z-index: 2; pointer-events: auto;
  touch-action: manipulation; transition: .2s ease;
  border: 1px solid transparent; font-weight: 700;
}
.main-btn:hover { color: #fff; background: var(--primary-dark); transform: translateY(-2px); }
.main-btn.secondary {
  background: #fff; color: var(--primary-dark);
  border-color: var(--primary); box-shadow: none;
}
.main-btn.secondary:hover { background: var(--primary-soft); }

.secondary-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 20px;
  border: 1px solid var(--primary); color: var(--primary-dark);
  background: #fff; border-radius: 12px;
  text-decoration: none; font-weight: 700;
}
.secondary-btn:hover { background: var(--primary-soft); }

.menu-button {
  width: 44px; height: 44px; border: 1px solid var(--line);
  border-radius: 10px; background: #fff;
  display: inline-flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 4px;
  cursor: pointer; position: relative; z-index: 3;
}
.menu-button span { width: 19px; height: 2px; border-radius: 2px; background: var(--ink); display: block; }

.drawer-overlay { position: fixed; inset: 0; z-index: 10000; background: rgba(15,23,42,.48); opacity: 0; transition: opacity .22s ease; }
.drawer-overlay.is-open { opacity: 1; }
.site-drawer { position: fixed; top: 0; right: 0; z-index: 10001; width: min(390px, 90vw); height: 100dvh; padding: 18px 20px 26px; background: #fff; box-shadow: -20px 0 48px rgba(15,23,42,.16); transform: translateX(105%); transition: transform .25s ease; overflow-y: auto; }
.site-drawer.is-open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid #e2e8f0; }
.drawer-logo img { display: block; max-height: 42px; width: auto; }
.drawer-close { width: 44px; height: 44px; border: 0; background: var(--light); color: var(--ink); font-size: 30px; line-height: 1; border-radius: 50%; cursor: pointer; }
.drawer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 20px 0; }
.drawer-nav a { min-height: 44px; display: flex; align-items: center; padding: 9px 12px; border-radius: 10px; color: var(--text); text-decoration: none; background: var(--light); }
.drawer-nav a:hover { background: var(--primary-soft); color: var(--primary-dark); }
.drawer-download { width: 100%; }

main { min-height: 60vh; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: 96px 0; }
.section-light { background: var(--light); }
.section-soft { background: var(--lighter); }
.section-overlap { margin-top: -40px; padding-top: 0; position: relative; z-index: 3; }

.section-heading { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.eyebrow { display: inline-block; margin-bottom: 10px; color: var(--primary); font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
h1, h2, h3, .section-title { color: var(--ink); line-height: 1.28; margin-top: 0; }
h1 { font-size: clamp(38px, 5vw, 64px); letter-spacing: -.03em; }
h2 { font-size: clamp(28px, 3.2vw, 42px); }
h3 { font-size: 21px; }
p { margin: 0 0 1em; }
.lead { font-size: 18px; color: var(--muted); }

.hero { position: relative; overflow: hidden; padding: 100px 0 110px; background: linear-gradient(165deg,#fff 0%,#eef2ff 60%,#e0e7ff 100%); }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.hero::before { width: 420px; height: 420px; right: -180px; top: -140px; background: rgba(79,70,229,.10); }
.hero::after { width: 260px; height: 260px; left: -120px; bottom: -120px; background: rgba(79,70,229,.06); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 60px; }
.hero-copy { max-width: 650px; }
.hero-copy h1 { margin-bottom: 18px; }
.hero-copy .lead { font-size: 21px; color: var(--text); margin-bottom: 18px; font-weight: 500; }
.hero-copy p { color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.hero-links { display: flex; flex-wrap: wrap; gap: 20px; font-size: 14px; }
.hero-links a { color: var(--primary-dark); text-decoration: none; font-weight: 600; }
.hero-badges { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; margin-top: 26px; }
.hero-badge { padding: 12px 14px; border: 1px solid #c7d2fe; border-radius: 12px; background: rgba(255,255,255,.9); color: var(--text); font-size: 14px; font-weight: 500; }

.hero-visual { display: flex; justify-content: center; align-items: center; min-width: 0; }
.hero-visual-frame { position: relative; filter: drop-shadow(0 28px 38px rgba(79,70,229,.16)); }
.hero-visual-frame::before { content: ""; position: absolute; inset: -24px; background: linear-gradient(135deg, rgba(79,70,229,.12), rgba(99,102,241,.06)); border-radius: 32px; z-index: -1; transform: rotate(-3deg); }
.hero-visual img { display: block; width: min(100%, 460px); object-fit: contain; }

.info-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.info-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 8px 24px rgba(79,70,229,.06); padding: 28px;
  display: flex; flex-direction: column; transition: .25s ease;
}
.info-card:hover { transform: translateY(-4px); border-color: #c7d2fe; }
.info-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; margin-bottom: 16px; background: var(--primary-soft); color: var(--primary-dark); }
.info-card strong { display: block; color: var(--ink); font-size: 18px; margin-bottom: 8px; }
.info-card p { color: var(--muted); font-size: 15px; margin: 0; line-height: 1.7; }

.category-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.category-card {
  padding: 28px; min-height: 190px; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 4px 12px rgba(79,70,229,.04); transition: .25s ease;
  position: relative; overflow: hidden;
}
.category-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark)); opacity: 0; transition: .25s ease;
}
.category-card:hover { border-color: var(--primary); transform: translateY(-5px); box-shadow: var(--shadow); }
.category-card:hover::before { opacity: 1; }
.category-card h3 { color: var(--primary-dark); margin-bottom: 8px; }
.category-card p { color: var(--muted); margin-bottom: 20px; font-size: 15px; line-height: 1.7; }
.category-card a { margin-top: auto; text-decoration: none; font-weight: 700; font-size: 14px; }
.category-card a:hover { text-decoration: underline; }
.category-card.wide { grid-column: 1 / -1; min-height: 150px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { min-width: 0; }
.media-frame { background: linear-gradient(135deg, var(--primary-soft), #fff); border-radius: 24px; padding: 32px; border: 1px solid #e0e7ff; }
.split-media img { display: block; width: 100%; max-height: 420px; object-fit: contain; }
.split-copy p { color: var(--muted); line-height: 1.8; }

.dual-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.content-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 4px 16px rgba(79,70,229,.04); padding: 32px;
  position: relative; overflow: hidden;
}
.content-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
}
.content-card img { width: 100%; height: 220px; object-fit: contain; margin-bottom: 22px; }
.content-card h3 { margin-bottom: 12px; }
.content-card p { color: var(--muted); line-height: 1.8; }
.content-media { background: var(--light); border-radius: 12px; padding: 24px; margin-bottom: 24px; text-align: center; }
.content-flat { box-shadow: none; }
.content-flat::before { display: none; }
.link-arrow { font-weight: 700; text-decoration: none; }

.review-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.review-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 28px; position: relative; transition: .2s ease;
}
.review-card:hover { border-color: #c7d2fe; }
.review-quote { font-size: 48px; line-height: 1; color: var(--primary); opacity: .2; font-family: Georgia, serif; position: absolute; top: 16px; left: 20px; }
.review-card p { color: var(--muted); position: relative; z-index: 1; margin-bottom: 20px; line-height: 1.75; }
.review-card strong { color: var(--ink); font-size: 14px; }

.faq-list { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
details.faq-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: .2s ease; }
details.faq-card:hover { border-color: #c7d2fe; }
details.faq-card summary { cursor: pointer; padding: 20px 24px; list-style: none; color: var(--ink); font-weight: 700; display: flex; justify-content: space-between; gap: 16px; font-size: 16px; }
details.faq-card summary::after { content: "+"; color: var(--primary); font-size: 24px; line-height: 1; font-weight: 400; transition: .2s ease; }
details.faq-card[open] summary::after { content: "−"; }
details.faq-card p { margin: 0; padding: 0 24px 22px; color: var(--muted); font-size: 15px; line-height: 1.75; }

.notice { border-left: 4px solid var(--primary); background: var(--primary-soft); padding: 22px 24px; border-radius: 0 14px 14px 0; font-size: 15px; line-height: 1.7; }
.notice.warning { border-left-color: #d97706; background: #fffbeb; }

.cta-band {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; border-radius: 24px; padding: 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
}
.cta-text h2, .cta-text p { color: #fff; }
.cta-text p { opacity: .9; margin: 0; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-band .secondary-btn { border-color: rgba(255,255,255,.6); color: #fff; background: rgba(255,255,255,.1); }
.cta-band .secondary-btn:hover { background: rgba(255,255,255,.2); }

.page-hero { padding: 70px 0 58px; background: linear-gradient(180deg,#f0fdfa 0%,#fff 100%); border-bottom: 1px solid #e2e8f0; }
.page-hero .container { max-width: 900px; }
.page-hero h1 { font-size: clamp(34px,4vw,54px); margin-bottom: 16px; }
.page-hero p { font-size: 18px; color: var(--muted); max-width: 780px; }
.breadcrumb { font-size: 14px; margin-bottom: 18px; color: var(--muted); }
.breadcrumb a { text-decoration: none; }
.article-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 42px; align-items: start; }
.article { min-width: 0; }
.article h2 { margin-top: 46px; font-size: 30px; scroll-margin-top: 100px; }
.article h3 { margin-top: 30px; }
.article p, .article li { color: #526578; }
.article ul, .article ol { padding-left: 22px; }
.article img { display: block; width: 100%; max-height: 460px; object-fit: contain; margin: 28px 0; }
.side-nav { position: sticky; top: 96px; padding: 22px; background: var(--light); border: 1px solid var(--line); border-radius: 12px; }
.side-nav h2 { font-size: 18px; }
.side-nav a { display: block; padding: 8px 0; text-decoration: none; border-bottom: 1px solid #e2e8f0; }
.side-nav a:last-child { border-bottom: 0; }
.steps { counter-reset: step; display: grid; gap: 18px; margin: 24px 0; }
.step { position: relative; padding: 22px 22px 22px 66px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 20px; top: 22px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; }

.news-list { display: grid; gap: 18px; }
.news-item { padding: 26px; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: .2s ease; }
.news-item:hover { border-color: #c7d2fe; }
.news-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-size: 14px; color: var(--muted); }
.tag { display: inline-flex; min-height: 28px; align-items: center; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.tag-security { background: #fef2f2; color: #b91c1c; }
.tag-network { background: #eff6ff; color: #1d4ed8; }
.tag-product { background: #f0fdf4; color: #15803d; }
.news-item h3 { margin-bottom: 10px; font-size: 19px; }
.news-item p { color: var(--muted); margin: 0; font-size: 15px; line-height: 1.7; }

.contact-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.contact-card { padding: 26px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }

.site-footer { background: #0f172a; color: #fff; }
.footer-inner { width: min(1160px, calc(100% - 40px)); margin: 0 auto; padding: 62px 0 42px; display: grid; grid-template-columns: 1.1fr 1.9fr; gap: 58px; }
.footer-brand img { display: block; max-height: 44px; width: auto; filter: brightness(0) invert(1); }
.footer-brand p { max-width: 440px; margin-top: 18px; color: rgba(255,255,255,.75); font-size: 15px; line-height: 1.7; }
.footer-links { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.footer-col h2 { color: #fff; font-size: 17px; margin-bottom: 14px; font-weight: 700; }
.footer-col a { display: block; color: rgba(255,255,255,.7); text-decoration: none; margin: 9px 0; font-size: 15px; transition: .2s ease; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-risk { width: min(1160px, calc(100% - 40px)); margin: 0 auto; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.85); font-size: 14px; line-height: 1.7; }
.footer-bottom { padding: 20px; text-align: center; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.6); font-size: 14px; }

@media (max-width: 1060px) {
  .nav-core { display: none; }
  .info-grid { grid-template-columns: repeat(2,1fr); }
  .category-grid { grid-template-columns: repeat(2,1fr); }
  .category-card.wide { grid-column: 1 / -1; }
  .review-grid { grid-template-columns: repeat(2,1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .side-nav { position: static; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .header-inner { min-height: 62px; padding: 0 14px; gap: 10px; }
  .site-logo img { max-height: 34px; max-width: 132px; }
  .header-actions { gap: 7px; }
  .header-download { min-height: 44px; padding: 0 13px; font-size: 14px; }
  .menu-button { width: 44px; height: 44px; }
  .drawer-nav { grid-template-columns: 1fr; }
  .container { width: min(100% - 32px, 1160px); }
  .section { padding: 64px 0; }
  .section-overlap { margin-top: 0; padding-top: 32px; }
  .hero { padding: 48px 0 58px; }
  .hero-grid, .split, .dual-grid { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse .split-media { order: 0; }
  .hero-copy { text-align: left; }
  .hero-copy .lead { font-size: 18px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions a { width: 100%; }
  .hero-links { gap: 12px 18px; }
  .hero-badges { grid-template-columns: 1fr; }
  .hero-visual img { max-height: 420px; }
  .info-grid { grid-template-columns: 1fr; margin-top: 0; }
  .category-grid, .review-grid, .contact-grid { grid-template-columns: 1fr; gap: 16px; }
  .category-card.wide { grid-column: auto; }
  .content-card { padding: 24px; }
  .cta-band { padding: 32px 24px; flex-direction: column; align-items: flex-start; }
  .page-hero { padding: 48px 0 42px; }
  .article h2 { font-size: 27px; }
  .footer-inner { padding-top: 48px; }
  .footer-links { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 420px) {
  .site-logo img { max-width: 108px; }
  .header-download { padding: 0 10px; font-size: 13px; }
  h1 { font-size: 34px; }
  .footer-links { grid-template-columns: 1fr; }
}