* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #050505;
  color: #D6D6D6;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  line-height: 1.75;
  overflow-x: hidden;
}

body.drawer-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0 0 14px;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, #151515 0%, #080808 100%);
  border-bottom: 1px solid rgba(213,5,5,0.34);
  box-shadow: 0 10px 30px rgba(0,0,0,0.38);
}

.mobile-header {
  height: 64px;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
}

.desktop-header {
  display: none;
}

.menu-toggle {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  background: #111111;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: #FFFFFF;
  border-radius: 99px;
}

.mobile-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-logo img {
  max-height: 34px;
  width: auto;
}

.brand img,
.drawer-logo img,
.footer-brand img {
  max-height: 42px;
  width: auto;
}

.top-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 20px;
  border-radius: 999px;
  color: #FFFFFF;
  background: #D50505;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(213,5,5,0.25);
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}

.mobile-action {
  min-height: 36px;
  padding: 0 14px;
  font-size: 14px;
}

.top-action:hover,
.main-btn:hover {
  background: #B90404;
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(213,5,5,0.32);
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
  z-index: 80;
}

.drawer-overlay.show {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: min(84vw, 320px);
  height: 100vh;
  background: #0F0F10;
  border-right: 1px solid rgba(213,5,5,0.32);
  transform: translateX(-104%);
  transition: transform .28s ease;
  z-index: 90;
  padding: 18px;
  box-shadow: 20px 0 45px rgba(0,0,0,0.5);
  overflow-y: auto;
}

.mobile-drawer.open {
  transform: translateX(0);
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.drawer-close {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,0.12);
  background: #111111;
  color: #FFFFFF;
  border-radius: 12px;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.drawer-nav {
  display: grid;
  gap: 8px;
  padding: 18px 0;
}

.drawer-nav a {
  padding: 13px 14px;
  border-radius: 14px;
  color: #FFFFFF;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  font-weight: 650;
}

.drawer-nav a.active,
.drawer-nav a:hover {
  color: #FFFFFF;
  border-color: rgba(213,5,5,0.48);
  background: rgba(213,5,5,0.18);
}

.drawer-note {
  color: #D6D6D6;
  font-size: 14px;
  background: #111111;
  border: 1px solid rgba(213,5,5,0.32);
  border-radius: 16px;
  padding: 14px;
}

.section {
  padding: 58px 0;
}

.section.dark-panel {
  background: #0B0B0D;
}

.section-head {
  margin-bottom: 26px;
}

.eyebrow,
.status-tag,
.small-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 5px 10px;
  border-radius: 999px;
  color: #FF4A4A;
  background: rgba(213,5,5,0.12);
  border: 1px solid rgba(213,5,5,0.32);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
}

h1,
h2,
h3 {
  color: #FFFFFF;
  line-height: 1.22;
  margin: 0 0 14px;
}

h1 {
  font-size: clamp(34px, 8vw, 66px);
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(26px, 5.8vw, 42px);
  letter-spacing: -0.03em;
}

h3 {
  font-size: 20px;
}

.red {
  color: #FF2A2A;
}

.lead {
  font-size: 17px;
  color: #D6D6D6;
}

.muted {
  color: #A8A8A8;
}

.hero {
  padding: 56px 0 66px;
  background:
    radial-gradient(circle at 78% 20%, rgba(213,5,5,0.25), transparent 30%),
    linear-gradient(135deg, #050505 0%, #111111 55%, #1A0000 100%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.hero-grid,
.split-grid,
.app-grid,
.info-grid,
.inner-hero-grid {
  display: grid;
  gap: 28px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-tags,
.inline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}

.hero-visual,
.visual-card {
  position: relative;
  background: linear-gradient(145deg, #111111, #070707);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 28px;
  padding: 12px;
  overflow: hidden;
  box-shadow: 0 24px 55px rgba(0,0,0,0.44), 0 0 48px rgba(213,5,5,0.14);
}

.hero-visual img,
.visual-card img {
  border-radius: 22px;
  min-height: 260px;
  object-fit: cover;
  width: 100%;
}

.hero-floating {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.float-card {
  padding: 14px;
  border-radius: 18px;
  background: rgba(17,17,17,0.88);
  border: 1px solid rgba(213,5,5,0.28);
}

.float-card strong {
  display: block;
  color: #FFFFFF;
}

.float-card span {
  display: block;
  color: #A8A8A8;
  font-size: 14px;
}

.main-btn,
.outline-btn,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  font-weight: 750;
  transition: all .2s ease;
}

.main-btn {
  padding: 0 26px;
  background: #D50505;
  color: #FFFFFF;
  box-shadow: 0 12px 28px rgba(213,5,5,0.24);
}

.outline-btn {
  padding: 0 22px;
  border: 1px solid rgba(213,5,5,0.45);
  color: #FFFFFF;
  background: rgba(213,5,5,0.08);
}

.outline-btn:hover {
  border-color: rgba(213,5,5,0.72);
  background: rgba(213,5,5,0.16);
}

.text-link {
  min-height: auto;
  justify-content: flex-start;
  color: #FF4A4A;
  font-weight: 750;
}

.text-link:hover {
  color: #FFFFFF;
}

.category-grid {
  display: grid;
  gap: 16px;
}

.feature-card,
.match-card,
.data-card,
.faq-item,
.notice-card,
.content-card,
.guide-card {
  background: #111111;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  padding: 22px;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.feature-card:hover,
.match-card:hover,
.data-card:hover,
.content-card:hover,
.guide-card:hover {
  border-color: rgba(213,5,5,0.44);
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(0,0,0,0.28), 0 0 32px rgba(213,5,5,0.08);
}

.feature-card.large {
  min-height: 250px;
}

.card-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(213,5,5,0.14);
  color: #FF2A2A;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-weight: 900;
}

.match-grid,
.data-grid,
.security-grid,
.cards-grid,
.faq-grid,
.tips-grid,
.page-links {
  display: grid;
  gap: 16px;
}

.match-card .status-tag {
  margin-bottom: 12px;
}

.score-panel {
  display: grid;
  gap: 12px;
  background: #0B0B0D;
  border: 1px solid rgba(213,5,5,0.32);
  border-radius: 24px;
  padding: 18px;
}

.score-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 15px;
  border-radius: 16px;
  background: #111111;
  border: 1px solid rgba(255,255,255,0.08);
}

.score-row strong {
  color: #FFFFFF;
}

.score-row span {
  color: #FF4A4A;
  font-weight: 800;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  color: #D6D6D6;
  padding: 14px 14px 14px 42px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  background: #111111;
  position: relative;
}

.check-list li::before {
  content: "●";
  position: absolute;
  left: 17px;
  top: 13px;
  color: #FF2A2A;
  font-size: 14px;
}

.info-list {
  display: grid;
  gap: 14px;
}

.info-list article {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background: #111111;
}

.responsible-box,
.cta-box,
.inner-hero {
  background:
    radial-gradient(circle at top right, rgba(213,5,5,0.22), transparent 30%),
    linear-gradient(135deg, #111111 0%, #070707 55%, #170000 100%);
  border: 1px solid rgba(213,5,5,0.32);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 24px 55px rgba(0,0,0,0.34);
}

.cta-box {
  text-align: center;
}

.faq-item h3 {
  color: #FF2A2A;
}

.site-footer {
  background: #090909;
  border-top: 1px solid rgba(213,5,5,0.34);
  padding-top: 46px;
}

.footer-grid {
  display: grid;
  gap: 28px;
}

.footer-brand p {
  color: #D6D6D6;
}

.footer-warning {
  border-left: 3px solid #D50505;
  padding-left: 12px;
}

.footer-col {
  display: grid;
  gap: 9px;
  align-content: start;
}

.footer-col h3 {
  color: #FFFFFF;
  margin-bottom: 8px;
}

.footer-col a {
  color: #D6D6D6;
}

.footer-col a:hover {
  color: #FF2A2A;
}

.footer-bottom {
  margin-top: 34px;
  padding: 18px 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: #A8A8A8;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  text-align: center;
}

.inner-hero {
  margin: 34px auto 0;
}

.inner-hero h1 {
  font-size: clamp(32px, 7vw, 58px);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #A8A8A8;
  margin-bottom: 16px;
  font-size: 14px;
}

.breadcrumb a {
  color: #D6D6D6;
}

.breadcrumb a:hover {
  color: #FF2A2A;
}

.page-section {
  padding: 44px 0;
}

.content-card h2,
.guide-card h2 {
  color: #FF2A2A;
  font-size: 25px;
}

.link-card {
  display: block;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background: #111111;
}

.link-card strong {
  color: #FFFFFF;
  display: block;
  margin-bottom: 6px;
}

.link-card span {
  color: #A8A8A8;
  display: block;
}

.link-card:hover {
  border-color: rgba(213,5,5,0.45);
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 14px;
  margin: 24px 0;
}

.step {
  counter-increment: step;
  position: relative;
  padding: 18px 18px 18px 58px;
  border-radius: 18px;
  background: #111111;
  border: 1px solid rgba(255,255,255,0.08);
}

.step::before {
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 18px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #D50505;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

@media (min-width: 640px) {
  .category-grid,
  .match-grid,
  .data-grid,
  .security-grid,
  .cards-grid,
  .faq-grid,
  .tips-grid,
  .page-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-floating {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .mobile-header {
    display: none;
  }

  .desktop-header {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }

  .desktop-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex: 1;
  }

  .desktop-nav a {
    color: #D6D6D6;
    font-weight: 700;
    padding: 11px 14px;
    border-radius: 999px;
    position: relative;
  }

  .desktop-nav a.active,
  .desktop-nav a:hover {
    color: #FFFFFF;
    background: rgba(213,5,5,0.16);
  }

  .desktop-nav a.active::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 5px;
    height: 2px;
    border-radius: 99px;
    background: #D50505;
  }

  .hero {
    padding: 88px 0 90px;
  }

  .hero-grid,
  .split-grid,
  .app-grid,
  .inner-hero-grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  }

  .info-grid {
    grid-template-columns: .85fr 1.15fr;
  }

  .category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .feature-card.large {
    grid-column: span 2;
  }

  .match-grid,
  .data-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .security-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cards-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .faq-grid,
  .tips-grid,
  .page-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1.4fr repeat(3, .8fr);
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: center;
    gap: 24px;
  }
}

@media (min-width: 1180px) {
  .desktop-nav a {
    padding-left: 18px;
    padding-right: 18px;
  }
}
