:root {
  --ink: #101828;
  --text: #1f2a44;
  --muted: #667085;
  --line: #e4e7ec;
  --soft: #f6f8fb;
  --paper: #ffffff;
  --blue: #1570ef;
  --blue-soft: #e8f1ff;
  --cyan: #0ea5d7;
  --red: #ff3131;
  --shadow: 0 16px 40px rgba(16, 24, 40, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--soft);
  font-family: "Be Vietnam Pro", Arial, sans-serif;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  text-transform: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 78px;
  padding: 6px clamp(18px, 5vw, 56px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.menu-toggle {
  position: relative;
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(16, 24, 40, 0.08);
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 999px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle span:nth-child(1) {
  transform: translateY(-7px);
}

.menu-toggle span:nth-child(3) {
  transform: translateY(7px);
}

body.nav-open .menu-toggle span:nth-child(1) {
  transform: rotate(45deg);
}

body.nav-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .menu-toggle span:nth-child(3) {
  transform: rotate(-45deg);
}

.logo-link {
  display: flex;
  align-items: center;
  justify-self: start;
  width: 82px;
  height: 62px;
  overflow: hidden;
}

.logo-link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.header-hotline {
  display: inline-flex;
  gap: 6px;
  align-items: baseline;
  justify-self: start;
  color: #111827;
  font-size: clamp(0.76rem, 0.9vw, 0.88rem);
  font-weight: 400;
  white-space: nowrap;
}

.header-hotline strong {
  color: #0787ff;
  font-weight: 600;
}

.header-hotline:hover,
.header-hotline:hover strong {
  color: #075cd8;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #075cd8;
  background: #e8f1ff;
  border: 1px solid #cfe1ff;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.15;
  text-align: center;
}

.category-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  gap: clamp(14px, 1.8vw, 24px);
  flex-wrap: wrap;
}

.category-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 4px 0;
  color: #111827;
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: clamp(0.88rem, 1vw, 0.98rem);
  font-weight: 500;
  text-transform: none;
  transition: color 160ms ease;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 14px;
  color: #075cd8;
  background: var(--blue-soft);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  text-transform: none;
}

.category-nav a:hover,
.toc a:hover {
  color: #004bb8;
}

.category-nav a.is-current {
  color: #111827;
  background: transparent;
  border: 0;
}

.category-nav a.is-current:hover,
.category-pill:hover {
  color: #004bb8;
}

.header-slogan {
  justify-self: end;
  max-width: 300px;
  margin: 0;
  background: linear-gradient(90deg, #5277ff 0%, #8d6df2 42%, #ff5bb8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(0.82rem, 1.05vw, 0.98rem);
  font-weight: 500;
  line-height: 1.35;
  text-align: right;
}

.blog-shell {
  padding: 56px 18px 72px;
}

.home-banner {
  width: 100%;
  background: #eaf7ff;
  overflow: hidden;
}

.home-banner a,
.home-banner img {
  display: block;
  width: 100%;
}

.home-banner img {
  height: auto;
}

.post {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.post-header {
  max-width: 940px;
}

.post-header h1 {
  margin: 18px 0 16px;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.45rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: 0;
  text-transform: none;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: #475467;
  font-size: 0.95rem;
  font-weight: 400;
}

.post-meta span {
  position: relative;
}

.post-meta span + span::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -10px;
  width: 4px;
  height: 4px;
  background: #98a2b3;
  border-radius: 50%;
  transform: translateY(-50%);
}

.lead {
  margin: 28px 0 0;
  padding: 20px 24px;
  color: #23395d;
  background: #eef6ff;
  border-left: 4px solid var(--blue);
  border-radius: 0 8px 8px 0;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  font-weight: 400;
  line-height: 1.8;
}

.cover,
.wide-image {
  margin: 34px 0;
}

.cover img,
.wide-image img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.wide-image img.contain-image {
  aspect-ratio: auto;
  height: auto;
  object-fit: contain;
}

figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
}

.toc {
  width: min(580px, 100%);
  margin: 34px 0;
  padding: 24px 28px;
  background: var(--paper);
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(16, 24, 40, 0.06);
}

.toc h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 600;
  text-transform: none;
}

.toc ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 22px;
}

.toc a {
  color: #075cd8;
  font-weight: 400;
}

.post-section {
  max-width: 900px;
  margin: 46px 0 0;
}

.post-section h2 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: 0;
  text-transform: none;
}

.post-section h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 500;
  text-transform: none;
}

.post-section p,
.post-section li {
  color: var(--text);
  font-size: 1.03rem;
  line-height: 1.86;
}

.post-section p {
  margin: 0 0 16px;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.benefit-grid section {
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.benefit-grid p {
  margin: 0;
}

.section-heading-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.62fr);
  gap: 22px;
  align-items: end;
  margin-bottom: 22px;
}

.section-heading-row h2 {
  margin-bottom: 0;
}

.section-heading-row p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.72;
}

.section-kicker {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--cyan);
  font-size: 0.88rem;
  font-weight: 600;
}

.testimonial-section {
  max-width: 1000px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.testimonial-card {
  display: grid;
  gap: 14px;
  min-width: 0;
  padding: 22px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.06);
}

.testimonial-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  display: block;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-profile div {
  display: grid;
  gap: 3px;
}

.testimonial-profile strong {
  color: var(--ink);
  font-size: 0.98rem;
}

.testimonial-profile span {
  color: var(--muted);
  font-size: 0.86rem;
}

.rating {
  color: #f59e0b;
  font-size: 1rem;
  letter-spacing: 0;
}

.testimonial-card p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.78;
}

.testimonial-card span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.consult-section {
  display: grid;
  gap: 18px;
  align-items: start;
  max-width: 640px;
  margin: 42px 0 0;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(16, 24, 40, 0.06);
}

.consult-section h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  font-weight: 600;
  line-height: 1.18;
}

.facebook-fallback {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.76;
}

.facebook-page-box {
  display: grid;
  gap: 10px;
  justify-items: center;
}

.fanpage-name {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #1d3f8f;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
}

.verified-badge {
  position: relative;
  display: inline-flex;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  background: #1877f2;
  clip-path: polygon(
    50% 0%,
    59% 10%,
    71% 6%,
    77% 18%,
    90% 20%,
    90% 34%,
    100% 43%,
    92% 55%,
    96% 68%,
    83% 75%,
    80% 88%,
    66% 88%,
    57% 100%,
    45% 91%,
    32% 96%,
    25% 83%,
    12% 80%,
    12% 66%,
    0% 57%,
    9% 45%,
    4% 32%,
    17% 25%,
    20% 12%,
    34% 12%
  );
}

.verified-badge::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 4px;
  width: 6px;
  height: 9px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.facebook-page-box iframe {
  width: 100%;
  max-width: 500px;
  min-height: 420px;
  background: #ffffff;
  border-radius: 8px;
}

.facebook-fallback {
  text-align: center;
  font-size: 0.92rem;
}

.facebook-fallback a {
  color: #075cd8;
  font-weight: 500;
}

.destination-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-left: 22px;
}

.note-section {
  padding: 24px 28px;
  background: #fff7e8;
  border: 1px solid #fedf89;
  border-radius: 8px;
}

.device-page .post {
  width: min(1160px, 100%);
}

.device-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 34px;
  align-items: center;
  max-width: none;
}

.device-hero-card {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.device-hero-card img {
  width: 100%;
  max-height: 520px;
  aspect-ratio: auto;
  object-fit: contain;
}

.device-check {
  margin: 36px 0 8px;
  padding: 26px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(16, 24, 40, 0.06);
}

.device-check h2 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  font-weight: 600;
}

.check-grid,
.model-board,
.split-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.check-grid div,
.model-board section,
.split-list section {
  min-width: 0;
  padding: 20px;
  background: #fbfcff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.check-number {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--cyan);
  font-size: 0.9rem;
  font-weight: 600;
}

.device-check h3,
.model-board h3,
.split-list h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 1.04rem;
  font-weight: 600;
}

.device-check p,
.split-list p {
  margin: 0;
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.75;
}

.model-board {
  margin-top: 22px;
}

.model-board ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 20px;
}

.model-board li {
  font-size: 0.98rem;
  line-height: 1.72;
}

.split-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 20px;
}

.brand-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.brand-cloud span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 13px;
  color: #164c63;
  background: #e8fbff;
  border: 1px solid #bceaf5;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 500;
}

.guide-summary {
  margin: 36px 0 8px;
  padding: 26px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(16, 24, 40, 0.06);
}

.guide-summary h2 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  font-weight: 600;
}

.guide-steps,
.setup-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.setup-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 20px;
}

.guide-steps section,
.setup-grid section {
  min-width: 0;
  padding: 20px;
  background: #fbfcff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.guide-steps span,
.instruction-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  color: #ffffff;
  background: var(--blue);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
}

.guide-steps h3,
.setup-grid h3 {
  margin: 14px 0 8px;
  color: var(--ink);
  font-size: 1.04rem;
  font-weight: 600;
}

.guide-steps p,
.setup-grid p {
  margin: 0;
  color: var(--text);
  font-size: 0.96rem;
  line-height: 1.72;
}

.instruction-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.instruction-list section {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 20px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.instruction-list p {
  margin: 2px 0 0;
}

.warning-section {
  padding: 24px 28px;
  background: #fff1f0;
  border: 1px solid #ffccc7;
  border-radius: 8px;
}

.faq details {
  margin-top: 12px;
  padding: 18px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.faq summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 500;
}

.faq p {
  margin: 12px 0 0;
}

.site-footer {
  padding: 42px clamp(18px, 6vw, 72px) 28px;
  color: #d0d8e8;
  background: #101828;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(180px, 0.9fr) minmax(220px, 1fr) minmax(280px, 1.2fr);
  gap: 28px;
  width: min(1120px, 100%);
  margin: 0 auto;
}

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

.footer-col h2 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  text-transform: none;
}

.footer-col p,
.footer-bottom p {
  margin: 0;
  line-height: 1.7;
}

.footer-col a,
.footer-bottom a {
  color: #8bdcff;
  font-weight: 500;
}

.footer-col a:hover,
.footer-bottom a:hover {
  color: #ffffff;
}

.footer-form form {
  display: grid;
  gap: 9px;
}

.footer-form label {
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 500;
}

.footer-form input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
}

.footer-form input:focus {
  border-color: #8bdcff;
  outline: 3px solid rgba(139, 220, 255, 0.2);
}

.footer-form button {
  min-height: 44px;
  margin-top: 4px;
  color: #ffffff;
  background: var(--blue);
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

strong {
  font-weight: 600;
}

.footer-form button:hover {
  background: #005ecb;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(1120px, 100%);
  margin: 30px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.94rem;
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    justify-items: stretch;
    gap: 6px 10px;
    min-height: 56px;
    padding: 5px 12px;
  }

  .logo-link {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    justify-self: start;
    width: 52px;
    height: 42px;
  }

  .menu-toggle {
    grid-column: 3;
    grid-row: 1;
    align-self: center;
    justify-self: end;
    display: inline-flex;
  }

  .header-hotline {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    justify-self: start;
    gap: 4px;
    font-size: 0.68rem;
  }

  .category-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 14px;
    left: auto;
    display: grid;
    justify-content: stretch;
    width: min(292px, calc(100vw - 28px));
    gap: 8px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 18px 40px rgba(16, 24, 40, 0.16);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .category-nav a {
    width: 100%;
    justify-content: flex-start;
    min-height: 34px;
    padding: 9px 12px;
    color: #111827;
    background: transparent;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    font-size: 0.9rem;
    white-space: nowrap;
  }

  .category-nav a:last-child {
    border-bottom: 0;
  }

  .category-nav a.is-current {
    color: #075cd8;
  }

  .header-slogan {
    display: none;
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    justify-self: start;
    max-width: 175px;
    font-size: 0.74rem;
    text-align: left;
  }

  body.nav-open .category-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .blog-shell {
    padding-top: 36px;
  }

  .post-header h1 {
    font-size: 1.78rem;
  }

  .lead {
    padding: 18px;
  }

  .cover img,
  .wide-image img {
    aspect-ratio: 4 / 3;
  }

  .wide-image img.contain-image {
    aspect-ratio: auto;
  }

  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .section-heading-row,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .device-hero,
  .check-grid,
  .model-board,
  .split-list,
  .guide-steps,
  .setup-grid {
    grid-template-columns: 1fr;
  }

  .device-check,
  .guide-summary {
    padding: 20px;
  }

  .instruction-list section {
    padding: 16px;
  }

  .consult-section {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .toc,
  .note-section {
    padding: 20px;
  }

  .site-footer {
    padding: 36px 18px 26px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
