/* QRLink.vn - SEO content pages, synchronized with homepage */

/* =========================================================
   HEADER / BRAND
   Keep the SEO pages visually identical to the homepage.
   ========================================================= */
.site-header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(255,255,255,.98) !important;
  color:var(--text) !important;
  border-bottom:1px solid #e8edf5 !important;
  box-shadow:0 2px 10px rgba(30,48,80,.04) !important;
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}
.site-header .nav{
  width:min(1180px,calc(100% - 28px));
  max-width:none;
  min-height:62px;
  margin:0 auto;
  padding:6px 0 !important;
  display:flex !important;
  align-items:center;
  justify-content:space-between;
  gap:22px;
  background:transparent !important;
}
.brand-wrap{
  display:inline-flex !important;
  align-items:center;
  gap:9px;
  min-width:0;
  color:inherit !important;
  text-decoration:none !important;
  flex:0 0 auto;
}
.brand-mark{
  width:33px !important;
  height:33px !important;
  flex:0 0 33px;
  color:#1769d3 !important;
  background:transparent !important;
  border:0 !important;
  border-radius:0 !important;
  padding:0 !important;
  box-shadow:none !important;
}
.brand-copy{min-width:0;line-height:1}
.brand{
  display:block !important;
  color:#125fb6 !important;
  font-size:23px !important;
  font-weight:850 !important;
  letter-spacing:-.55px;
  line-height:1 !important;
  white-space:nowrap;
}
.brand strong{color:#1769d3 !important;font-weight:850 !important}
.brand span{color:inherit !important}
.brand-sub{
  display:block !important;
  margin-top:3px;
  color:#7a8495 !important;
  font-size:10px !important;
  font-weight:500 !important;
  line-height:1.1;
  white-space:nowrap;
}
.site-header .nav-links{
  display:flex !important;
  align-items:center;
  justify-content:flex-end;
  gap:6px;
  margin-left:auto;
  flex-wrap:nowrap;
}
.site-header .nav-links>a{
  padding:8px 9px !important;
  border:0 !important;
  border-radius:9px;
  background:transparent !important;
  color:#34435a !important;
  box-shadow:none !important;
  font-size:13.5px;
  font-weight:700;
  line-height:1.2;
  text-decoration:none !important;
  white-space:nowrap;
  opacity:1 !important;
  transition:color .15s ease,background .15s ease;
}
.site-header .nav-links>a:hover{color:#1769d3 !important;background:#f3f7fd !important}
.site-header .nav-links>.nav-cta{
  margin-left:4px;
  padding:9px 14px !important;
  color:#1769d3 !important;
  background:#fff !important;
  border:1px solid #1769d3 !important;
  border-radius:999px !important;
  font-weight:800;
}
.site-header .nav-links>.nav-cta:hover{color:#fff !important;background:#1769d3 !important}

.index-menu{display:none;position:relative;flex:0 0 auto}
.index-menu summary{
  width:42px;height:42px;display:grid;place-items:center;color:#0e5ebd;
  border-radius:10px;cursor:pointer;list-style:none;user-select:none
}
.index-menu summary::-webkit-details-marker{display:none}
.index-menu summary:hover{background:#f0f5ff}
.index-menu-lines,.index-menu-lines::before,.index-menu-lines::after{
  display:block;width:24px;height:3px;border-radius:999px;background:currentColor;position:relative
}
.index-menu-lines::before,.index-menu-lines::after{content:"";position:absolute;left:0}
.index-menu-lines::before{top:-7px}.index-menu-lines::after{top:7px}
.index-menu-panel{
  position:absolute;top:48px;right:0;width:min(280px,calc(100vw - 28px));padding:7px;
  border:1px solid #e1e7f0;border-radius:13px;background:#fff;
  box-shadow:0 16px 40px rgba(21,32,51,.14)
}
.index-menu-panel a{
  display:block;padding:11px 12px;border-radius:9px;color:#26344e !important;
  font-size:14px;font-weight:650;text-decoration:none !important
}
.index-menu-panel a:hover{color:#1769d3 !important;background:#f5f8fd}
.index-menu-panel .mobile-login{
  margin-top:5px;color:#1769d3 !important;border:1px solid #d9e8fb;
  background:#f8fbff;font-weight:800;text-align:center
}

/* =========================================================
   SEO PAGE LAYOUT
   Same visual language as cards/features on the homepage.
   ========================================================= */
.seo-page{
  width:min(1120px,100%);
  max-width:1120px;
  margin:0 auto;
  padding:22px 22px 64px !important;
}
.breadcrumbs{
  display:flex;gap:7px;align-items:center;flex-wrap:wrap;
  font-size:12.5px;color:#7a8495;margin:2px 0 14px;padding:0 2px
}
.breadcrumbs a{color:#51617b;font-weight:650}
.breadcrumbs a:hover{color:#1769d3;text-decoration:none}

.seo-hero{
  position:relative;
  overflow:hidden;
  background:linear-gradient(135deg,#fff 0%,#fbfdff 62%,#eef5ff 100%);
  border:1px solid #e1e7f0;
  border-radius:20px;
  padding:30px 32px;
  box-shadow:0 12px 36px rgba(30,64,175,.065);
}
.seo-hero::after{
  content:"";position:absolute;right:-65px;top:-85px;width:240px;height:240px;border-radius:50%;
  background:radial-gradient(circle,rgba(36,87,255,.10) 0%,rgba(36,87,255,0) 70%);pointer-events:none
}
.seo-kicker{
  position:relative;z-index:1;display:inline-flex;align-items:center;gap:7px;
  padding:5px 10px;border-radius:999px;background:#edf4ff;color:#1769d3;
  border:1px solid #dbe9ff;font-weight:800;font-size:11.5px;margin-bottom:11px
}
.seo-hero h1{
  position:relative;z-index:1;font-size:clamp(32px,4.2vw,43px);line-height:1.08;
  letter-spacing:-1.2px;margin:0 0 11px;color:#162033;max-width:800px
}
.seo-hero p{
  position:relative;z-index:1;font-size:16px;line-height:1.6;color:#52627d;
  max-width:790px;margin:0 0 17px
}
.seo-actions{position:relative;z-index:1;display:flex;gap:10px;flex-wrap:wrap}
.seo-actions .btn{min-height:44px;border-radius:11px;padding:10px 16px}
.seo-note{
  position:relative;z-index:1;margin-top:12px;padding-left:21px;color:#667085;font-size:12.5px
}
.seo-note::before{content:"✓";position:absolute;left:0;color:#128553;font-weight:900}

.seo-section{
  margin-top:18px;background:#fff;border:1px solid #e3e8f2;border-radius:20px;
  padding:25px 28px;box-shadow:0 8px 24px rgba(30,64,175,.045)
}
.seo-section h2{font-size:25px;line-height:1.22;letter-spacing:-.45px;margin:0 0 11px;color:#1b2639}
.seo-section h3{font-size:18px;margin:20px 0 7px;color:#26344e}
.seo-section p{margin:8px 0;color:#405170}
.seo-section ul,.seo-section ol{padding-left:22px}
.seo-section li{margin:8px 0;color:#405170}

.step-list{counter-reset:steps;list-style:none !important;padding:0 !important;margin:16px 0 0;display:grid;gap:10px}
.step-list li{
  counter-increment:steps;position:relative;padding:14px 16px 14px 52px;
  border:1px solid #e3e8f2;border-radius:14px;background:#fbfdff;margin:0
}
.step-list li::before{
  content:counter(steps);position:absolute;left:14px;top:13px;width:27px;height:27px;border-radius:50%;
  display:grid;place-items:center;background:#e8efff;color:#2457ff;font-weight:900;font-size:12px
}
.tip-box,.warning-box{border-radius:14px;padding:14px 16px;margin:16px 0}
.tip-box{background:#eef7ff;border:1px solid #d7eafa}
.warning-box{background:#fff8e8;border:1px solid #f2dfae}
.tip-box strong,.warning-box strong{display:block;margin-bottom:4px;color:#26344e}

.use-grid,.related-grid,.choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}
.use-card,.related-card,.choice-card{
  border:1px solid #e1e7f0;border-radius:15px;padding:17px;background:#fbfdff
}
.use-card h3,.related-card h3,.choice-card h3{margin:0 0 5px;font-size:16px}
.use-card p,.related-card p,.choice-card p{margin:0;color:#667085;font-size:13.5px}
.related-card{display:block;color:inherit;transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease,background .15s ease}
.related-card:hover{text-decoration:none;transform:translateY(-1px);border-color:#bacbf0;background:#fff;box-shadow:0 8px 20px rgba(30,64,175,.07)}
.related-card strong{display:block;color:#1769d3;margin-top:8px;font-size:12.5px}

.comparison{width:100%;border-collapse:separate;border-spacing:0;margin-top:14px;font-size:13.5px;overflow:hidden;border:1px solid #e1e7f0;border-radius:14px}
.comparison th,.comparison td{text-align:left;padding:11px 12px;border-bottom:1px solid #e8edf4;vertical-align:top}
.comparison th{background:#f4f7fb;color:#344054}.comparison tr:last-child td{border-bottom:0}

.faq-list{margin-top:3px}
.faq-list details{border-top:1px solid #e5eaf2;padding:14px 0}
.faq-list details:first-child{border-top:0}
.faq-list summary{cursor:pointer;font-weight:800;color:#26344e;padding-right:25px}
.faq-list p{margin:7px 0 0;color:#52627d}

.inline-cta{
  margin-top:18px;border:1px solid #d9e6ff;border-radius:20px;padding:22px 24px;
  background:linear-gradient(100deg,#f4f8ff,#edf5ff);color:#162033;
  display:flex;justify-content:space-between;gap:20px;align-items:center;
  box-shadow:0 8px 24px rgba(30,64,175,.04)
}
.inline-cta h2{font-size:19px;margin:0 0 4px;color:#162033}
.inline-cta p{margin:0;color:#667085;font-size:13.5px}
.inline-cta .btn{background:#fff;color:#1769d3;border:1px solid #cfdcf0;flex:0 0 auto}
.inline-cta .btn:hover{background:#1769d3;color:#fff;border-color:#1769d3}

/* Guide hub */
.guide-hub-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin-top:15px}
.guide-hub-card{
  position:relative;display:block;min-height:145px;padding:19px 20px 18px 68px;
  border:1px solid #e1e7f0;border-radius:17px;background:linear-gradient(180deg,#fff,#fbfdff);
  color:inherit;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease
}
.guide-hub-card::before{
  content:"QR";position:absolute;left:18px;top:20px;width:36px;height:36px;border-radius:11px;
  display:grid;place-items:center;background:#eaf1ff;color:#1769d3;font-size:11px;font-weight:900
}
.guide-hub-card:nth-child(2)::before{content:"DOC";background:#eaf9f1;color:#128553}
.guide-hub-card:nth-child(3)::before{content:"G";background:#fff5e6;color:#b15f00}
.guide-hub-card:nth-child(4)::before{content:"f";background:#eef4ff;color:#1877f2;font-size:20px}
.guide-hub-card:nth-child(5)::before{content:"1+";background:#f1edff;color:#7256d8}
.guide-hub-card:hover{text-decoration:none;transform:translateY(-2px);border-color:#b9caee;box-shadow:0 10px 24px rgba(30,64,175,.075)}
.guide-hub-card .eyebrow{font-size:11px;font-weight:800;color:#1769d3;margin-bottom:4px;text-transform:uppercase;letter-spacing:.03em}
.guide-hub-card h2{font-size:19px;margin:0 0 6px;color:#26344e}
.guide-hub-card p{font-size:13.5px;color:#667085;margin:0;line-height:1.5}

/* Homepage guide block uses the same card system */
.home-guide-section{
  margin-top:18px;background:#fff;border:1px solid #e3e8f2;border-radius:20px;
  padding:22px 24px;box-shadow:0 8px 24px rgba(30,64,175,.05)
}
.home-guide-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:13px}
.home-guide-head h2{margin:0 0 4px;font-size:21px;color:#1b2639}
.home-guide-head p{margin:0;color:var(--muted);font-size:13.5px}
.home-guide-head>a{font-size:13px;font-weight:800;white-space:nowrap}
.home-guide-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
.home-guide-card{
  display:block;padding:14px 15px;border:1px solid #e1e7f0;border-radius:14px;
  background:#fbfdff;color:inherit;transition:.15s border-color,.15s background,.15s transform
}
.home-guide-card:hover{text-decoration:none;border-color:#bdcbee;background:#fff;transform:translateY(-1px)}
.home-guide-card strong{display:block;font-size:14.5px;color:#26344e;margin-bottom:3px}
.home-guide-card span{display:block;font-size:12.5px;color:#667085;line-height:1.45}

@media(max-width:920px){
  .site-header .nav{width:min(100%,760px);padding:8px 14px !important}
  .site-header .nav-links{display:none !important}
  .index-menu{display:block}
}
@media(max-width:760px){
  .seo-page{padding:18px 14px 50px !important}
  .breadcrumbs{margin-bottom:11px}
  .seo-hero{padding:23px 20px;border-radius:17px}
  .seo-hero h1{font-size:31px;letter-spacing:-.8px}
  .seo-hero p{font-size:15px}
  .seo-section{padding:20px 18px;border-radius:17px}
  .seo-section h2{font-size:22px}
  .use-grid,.related-grid,.choice-grid,.guide-hub-grid,.home-guide-grid{grid-template-columns:1fr}
  .guide-hub-card{min-height:0;padding:17px 17px 17px 64px}
  .guide-hub-card::before{left:16px;top:18px}
  .inline-cta{align-items:flex-start;flex-direction:column;padding:20px}
  .home-guide-head{align-items:flex-start;flex-direction:column}
  .comparison{font-size:12.5px;display:block;overflow-x:auto}
}
@media(max-width:390px){.brand{font-size:22px !important}.brand-sub{font-size:9.5px !important}}
@media(max-width:350px){.brand-sub{display:none !important}}
