:root {
  --theme: #27376b;
  --theme-dark: #1d2a54;
  --theme-deep: #121a38;
  --theme-light: #eef2fb;
  --theme-soft: #f7f9fe;
  --theme-hover: #1f2f62;
  --theme-border: rgba(39,55,107,0.18);
  --text-main: #162033;
  --text-muted: #596579;
  --on-theme: #ffffff;
  --on-dark: #f7f9ff;
  --white: #ffffff;
  --shadow-soft: 0 18px 45px rgba(18,26,56,0.13);
}
* { box-sizing: border-box; }
html,
body {
  margin: 0;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}
body {
  background: var(--theme-light);
  color: var(--text-main);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.7;
}
a { text-decoration: none; transition: all .2s ease; }
img { max-width: 100%; height: auto; }
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 9999;
  background: var(--theme-dark);
  color: var(--on-dark);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  min-height: 68px;
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
}
.logo { display: flex; align-items: center; justify-content: center; justify-self: center; }
.logo img,
.footer-brand img,
.drawer-logo img {
  display: block;
  height: auto;
  max-width: 180px;
}
.logo img { max-height: 46px; object-fit: contain; }
.main-nav { display: none; }
.main-nav a {
  color: var(--on-dark);
  padding: 10px 11px;
  border-radius: 999px;
  font-size: 14px;
  white-space: nowrap;
}
.main-nav a.active,
.main-nav a:hover {
  color: var(--on-dark);
  background: rgba(255,255,255,0.12);
  box-shadow: inset 0 -2px 0 var(--theme-light);
}
.header-actions { display: flex; justify-content: flex-end; align-items: center; }
.main-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--theme);
  color: var(--on-theme);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  padding: 10px 18px;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,0.2);
}
.main-btn:hover {
  background: var(--theme-hover);
  transform: translateY(-1px);
}
.mobile-menu-toggle {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.08);
  color: var(--on-dark);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.mobile-menu-toggle span { width: 20px; height: 2px; background: var(--on-dark); border-radius: 4px; }
.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 82%;
  max-width: 320px;
  height: 100vh;
  transform: translateX(-100%);
  transition: transform .28s ease;
  z-index: 10001;
  background: var(--theme-dark);
  color: var(--on-dark);
  padding: 18px;
  overflow-y: auto;
  box-shadow: 18px 0 45px rgba(0,0,0,0.3);
}
.mobile-drawer.is-open { transform: translateX(0); }
.drawer-overlay {
  position: fixed;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  z-index: 10000;
  background: rgba(0,0,0,0.48);
  transition: opacity .25s ease, visibility .25s ease;
}
.drawer-overlay.is-open { opacity: 1; visibility: visible; }
body.menu-open { overflow: hidden; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,0.16); }
.drawer-logo img { max-height: 50px; }
.drawer-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
  color: var(--on-dark);
  font-size: 24px;
  cursor: pointer;
}
.mobile-nav { display: grid; gap: 8px; padding-top: 16px; }
.mobile-nav a { color: var(--on-dark); padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,0.06); }
.mobile-nav a:hover { background: rgba(255,255,255,0.14); }
.site-main { background: var(--theme-light); }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.section { padding: 58px 0; }
.hero,
.hero-section,
.banner {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 88% 18%, rgba(39,55,107,0.19), transparent 34%), linear-gradient(135deg, var(--theme-soft), var(--theme-light));
}
.hero { padding: 72px 0 46px; }
.hero-grid { display: grid; gap: 28px; align-items: center; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.hero-badge,
.zone-tag,
.mini-tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(39,55,107,0.1);
  color: var(--theme-dark);
  border: 1px solid var(--theme-border);
  font-weight: 700;
  font-size: 13px;
}
h1, h2, h3, .section-title, .category-number, .highlight { color: var(--theme-dark); }
h1 { font-size: clamp(34px, 6vw, 58px); line-height: 1.14; margin: 0 0 18px; letter-spacing: -1px; }
h2 { font-size: clamp(25px, 4vw, 38px); line-height: 1.22; margin: 0 0 18px; }
h3 { font-size: 21px; margin: 0 0 12px; }
p { margin: 0 0 16px; }
ul, ol { margin: 0; padding-left: 20px; }
.lead { font-size: 18px; color: var(--text-main); }
.muted { color: var(--text-muted); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 24px 0; }
.text-link { color: var(--theme); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.text-link:hover { color: var(--theme-hover); }
.hero-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; }
.hero-mini-card,
.card,
.zone-card,
.info-card,
.faq-item,
.notice {
  background: var(--white);
  color: var(--text-main);
  border: 1px solid var(--theme-border);
  box-shadow: var(--shadow-soft);
  border-radius: 24px;
}
.hero-mini-card { padding: 16px; }
.hero-mini-card strong { display: block; color: var(--theme-dark); margin-bottom: 6px; }
.visual-card { background: linear-gradient(145deg, var(--theme-dark), var(--theme)); color: var(--on-dark); border-radius: 32px; padding: 28px; box-shadow: var(--shadow-soft); min-height: 360px; display: grid; align-content: space-between; position: relative; overflow: hidden; }
.visual-card:before { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,0.12); top: -80px; right: -80px; }
.visual-card * { position: relative; }
.visual-card h2, .visual-card h3 { color: var(--on-dark); }
.visual-stat { display: grid; gap: 12px; }
.visual-stat div { background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.16); border-radius: 18px; padding: 16px; }
.category-pills { display: grid; gap: 14px; }
.category-pill { display: grid; gap: 8px; background: var(--white); border: 1px solid var(--theme-border); border-radius: 22px; padding: 18px; box-shadow: var(--shadow-soft); }
.category-pill:hover { transform: translateY(-2px); border-color: rgba(39,55,107,0.38); }
.category-number { font-size: 14px; font-weight: 800; }
.service-strip { background: linear-gradient(135deg, var(--white), var(--theme-soft)); border: 1px solid var(--theme-border); box-shadow: var(--shadow-soft); border-radius: 28px; padding: 24px; }
.grid { display: grid; gap: 18px; }
.info-card, .card, .zone-card { padding: 24px; }
.info-card .number, .card .number { display: inline-flex; width: 38px; height: 38px; border-radius: 50%; align-items: center; justify-content: center; background: rgba(39,55,107,0.11); color: var(--theme-dark); font-weight: 800; margin-bottom: 14px; }
.feature-grid { display: grid; gap: 18px; }
.feature-list { display: grid; gap: 10px; margin-top: 16px; padding-left: 0; list-style: none; }
.feature-list li { padding-left: 22px; position: relative; }
.feature-list li:before { content: ""; position: absolute; left: 0; top: 12px; width: 8px; height: 8px; border-radius: 50%; background: var(--theme); }
.content-split { display: grid; gap: 24px; align-items: center; margin: 28px 0; }
.split-visual { min-height: 260px; border-radius: 30px; background: linear-gradient(150deg, rgba(39,55,107,0.12), var(--white)); border: 1px solid var(--theme-border); box-shadow: var(--shadow-soft); padding: 26px; display: grid; align-content: center; }
.split-visual strong { display: block; color: var(--theme-dark); font-size: 22px; margin-bottom: 12px; }
.split-visual .line { height: 12px; border-radius: 99px; background: rgba(39,55,107,0.16); margin: 12px 0; }
.zone-grid { display: grid; gap: 18px; }
.app-section { background: linear-gradient(135deg, var(--white), var(--theme-soft)); border: 1px solid var(--theme-border); box-shadow: var(--shadow-soft); border-radius: 34px; padding: 24px; display: grid; gap: 24px; align-items: center; }
.app-section img, .content-img { max-width: 100%; height: auto; object-fit: contain; border-radius: 24px; }
.app-image { display: flex; justify-content: center; align-items: center; }
.app-image img { max-height: 420px; }
.security-section { display: grid; gap: 18px; }
.faq { display: grid; gap: 16px; }
.faq-item { padding: 22px; }
.notice { padding: 22px; background: linear-gradient(135deg, var(--white), var(--theme-soft)); }
.notice strong { color: var(--theme-dark); }
.page-hero { padding: 58px 0 28px; background: linear-gradient(135deg, var(--theme-soft), var(--theme-light)); }
.page-hero .container { display: grid; gap: 14px; }
.article-body { padding: 28px 0 64px; }
.article-grid { display: grid; gap: 20px; }
.link-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.related-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.related-links a { background: rgba(39,55,107,0.08); border: 1px solid var(--theme-border); border-radius: 999px; padding: 9px 13px; }
.check-list { list-style: none; padding-left: 0; display: grid; gap: 10px; }
.check-list li { background: rgba(39,55,107,0.06); border: 1px solid var(--theme-border); padding: 12px 14px; border-radius: 16px; }
.footer { background: var(--theme-deep); color: var(--on-dark); padding: 48px 0 24px; }
.footer-inner { width: min(1180px, calc(100% - 32px)); margin: 0 auto; display: grid; gap: 28px; }
.footer a { color: var(--on-dark); }
.footer a:hover { color: var(--theme-light); }
.footer-brand img { max-height: 54px; margin-bottom: 14px; }
.footer-brand p { color: rgba(247,249,255,0.86); }
.footer-warning { font-weight: 800; }
.footer-links { display: grid; gap: 20px; }
.footer-links h2 { color: var(--on-dark); font-size: 18px; margin: 0 0 12px; }
.footer-links a { display: block; padding: 5px 0; color: rgba(247,249,255,0.88); }
.footer-legal { width: min(1180px, calc(100% - 32px)); margin: 28px auto 0; border-top: 1px solid rgba(255,255,255,0.14); padding-top: 18px; color: rgba(247,249,255,0.84); }
@media (min-width: 768px) {
  .hero-grid, .content-split, .app-section, .security-section { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .grid.two { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .grid.three, .feature-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .grid.four { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .category-pills { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .zone-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-inner { grid-template-columns: 1.1fr 1.5fr; }
  .footer-links { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (min-width: 1024px) {
  .header-inner { display: flex; min-height: 72px; padding: 0 24px; }
  .logo { justify-self: auto; }
  .mobile-menu-toggle { display: none; }
  .main-nav { display: flex; align-items: center; justify-content: center; gap: 3px; flex: 1; }
  .grid.four { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .category-pills { grid-template-columns: repeat(6, minmax(0,1fr)); }
  .zone-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .hero { padding-top: 88px; }
}
@media (max-width: 767px) {
  .header-inner { min-height: 64px; padding: 0 12px; }
  .logo img { max-width: 132px; }
  .main-btn { padding: 9px 14px; font-size: 14px; }
  .hero { padding: 48px 0 30px; }
  .hero-cards { grid-template-columns: 1fr; }
  .visual-card { min-height: 280px; }
  .section { padding: 42px 0; }
  .category-pills { grid-template-columns: 1fr; }
}
