@font-face {
  font-family: "Be Vietnam Pro";
  src: url("/fonts/be-vietnam-pro-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Be Vietnam Pro";
  src: url("/fonts/be-vietnam-pro-semibold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Be Vietnam Pro";
  src: url("/fonts/be-vietnam-pro-bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Be Vietnam Pro";
  src: url("/fonts/be-vietnam-pro-extrabold.ttf") format("truetype");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

:root {
  --brand-blue: #247fd7;
  --brand-blue-deep: #0d5eae;
  --brand-cyan: #3db8ed;
  --brand-orange: #f47a20;
  --brand-pink: #ea74b3;
  --surface: #ffffff;
  --surface-soft: #f3f9ff;
  --text: #12304d;
  --text-muted: #587086;
  --success: #087d63;
  --success-soft: #e8faf4;
  --warning: #c63d3d;
  --warning-soft: #fff0ee;
  --border: #c8e4f8;
  --focus: #ff8a2b;
  --shadow: 0 22px 60px rgba(23, 103, 166, .14);
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--surface);
  color: var(--text);
  font-family: "Be Vietnam Pro", "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: inherit; }
button, input { font: inherit; }
.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
.skip-link {
  position: fixed; z-index: 100; left: 16px; top: 10px; padding: 10px 16px;
  border-radius: 10px; background: #fff; color: var(--brand-blue-deep); font-weight: 700;
  transform: translateY(-150%); box-shadow: var(--shadow);
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

.site-header { position: relative; z-index: 10; background: linear-gradient(100deg, var(--brand-blue-deep), var(--brand-blue) 52%, #4ba8e9); color: #fff; }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; min-height: 48px; align-items: center; gap: 15px; text-decoration: none; }
.brand img { width: 142px; height: auto; }
.brand-divider { width: 1px; height: 34px; background: rgba(255,255,255,.38); }
.brand-label { font-size: .72rem; font-weight: 600; line-height: 1.35; letter-spacing: .06em; text-transform: uppercase; }
.system-status { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 14px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; background: rgba(255,255,255,.12); font-size: .78rem; font-weight: 600; }
.status-dot { width: 9px; height: 9px; flex: none; border-radius: 50%; background: #ffd05c; box-shadow: 0 0 0 5px rgba(255,208,92,.16); }
.system-status[data-state="ready"] .status-dot { background: #7cf0c8; box-shadow: 0 0 0 5px rgba(124,240,200,.16); }
.system-status[data-state="error"] .status-dot { background: #ffaaa1; box-shadow: 0 0 0 5px rgba(255,170,161,.16); }

.hero { position: relative; isolation: isolate; overflow: hidden; padding: 78px 0 86px; background: linear-gradient(128deg, #f4fbff 0%, #eef8ff 38%, #fff2f8 72%, #f3efff 100%); }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; opacity: .42; background-image: radial-gradient(#8ecbf4 1px, transparent 1px); background-size: 25px 25px; mask-image: linear-gradient(90deg,#000,transparent 45%); }
.hero-shape { position: absolute; z-index: -1; border-radius: 50%; filter: blur(2px); opacity: .55; }
.hero-shape-one { width: 290px; height: 290px; right: -70px; top: -110px; background: radial-gradient(circle at 40% 40%, #9fe6ff, #86b9ff 45%, transparent 70%); }
.hero-shape-two { width: 220px; height: 220px; left: 42%; bottom: -150px; background: radial-gradient(circle, #ffc4df, transparent 70%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, .94fr) minmax(470px, 1.06fr); align-items: center; gap: clamp(50px, 7vw, 92px); }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 18px; color: var(--brand-blue-deep); font-size: .73rem; font-weight: 800; letter-spacing: .15em; }
.eyebrow > span { width: 24px; height: 3px; border-radius: 2px; background: linear-gradient(90deg,var(--brand-orange),#ffb04f); }
.hero h1 { max-width: 630px; margin: 0; font-size: clamp(2.35rem, 4.6vw, 4.25rem); line-height: 1.1; letter-spacing: -.045em; }
.hero h1 span { color: var(--brand-blue); }
.hero-lead { max-width: 630px; margin: 24px 0 30px; color: var(--text-muted); font-size: 1.04rem; }
.trust-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0; padding: 0; list-style: none; }
.trust-points li { display: flex; align-items: center; gap: 9px; min-width: 0; padding: 12px 10px; border: 1px solid rgba(169,214,245,.85); border-radius: 14px; background: rgba(255,255,255,.62); }
.trust-points svg { width: 27px; flex: none; fill: none; stroke: var(--brand-blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.trust-points strong, .trust-points small { display: block; }
.trust-points strong { font-size: .76rem; line-height: 1.3; }
.trust-points small { margin-top: 2px; color: var(--text-muted); font-size: .62rem; line-height: 1.3; }

.checker-card { position: relative; overflow: hidden; padding: 32px; border: 1px solid rgba(151,207,244,.8); border-radius: var(--radius-lg); background: rgba(255,255,255,.93); box-shadow: var(--shadow); backdrop-filter: blur(14px); }
.card-accent { position: absolute; inset: 0 0 auto; height: 6px; background: linear-gradient(90deg,var(--brand-blue-deep),var(--brand-cyan) 52%,var(--brand-pink)); }
.checker-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 25px; }
.checker-mark, .step-icon, .safety-icon { display: grid; place-items: center; flex: none; color: #fff; background: linear-gradient(145deg,var(--brand-blue),var(--brand-cyan)); box-shadow: 0 8px 22px rgba(36,127,215,.2); }
.checker-mark { width: 50px; height: 50px; border-radius: 15px; }
.checker-mark svg, .step-icon svg, .safety-icon svg { width: 27px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card-kicker { margin: 0 0 2px; color: var(--brand-blue); font-size: .66rem; font-weight: 800; letter-spacing: .12em; }
.checker-heading h2 { margin: 0; font-size: 1.25rem; line-height: 1.3; }
label { display: block; margin-bottom: 9px; font-size: .82rem; font-weight: 700; }
.input-wrap { position: relative; }
.input-wrap svg { position: absolute; left: 16px; top: 50%; width: 22px; transform: translateY(-50%); fill: none; stroke: var(--brand-blue); stroke-width: 1.7; }
input { width: 100%; min-height: 54px; padding: 12px 16px 12px 49px; border: 1.5px solid #afd7f2; border-radius: 13px; color: var(--text); background: #fbfdff; }
input::placeholder { color: #8ba0b1; }
input:hover:not(:disabled) { border-color: #75b9ea; }
input:focus { border-color: var(--brand-blue); box-shadow: 0 0 0 4px rgba(36,127,215,.12); outline: none; }
input[aria-invalid="true"] { border-color: var(--warning); box-shadow: 0 0 0 4px rgba(198,61,61,.1); }
input:disabled { cursor: not-allowed; opacity: .65; }
.input-help { margin: 7px 0 15px; color: var(--text-muted); font-size: .7rem; }
button { display: flex; width: 100%; min-height: 52px; align-items: center; justify-content: center; gap: 9px; border: 0; border-radius: 13px; color: #fff; background: linear-gradient(105deg,var(--brand-blue-deep),var(--brand-blue) 58%,var(--brand-cyan)); box-shadow: 0 10px 24px rgba(17,104,199,.23); font-weight: 700; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease; }
button svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
button:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 13px 29px rgba(17,104,199,.3); }
button:disabled { cursor: not-allowed; opacity: .58; box-shadow: none; }

.verification-result { display: grid; grid-template-columns: 44px 1fr; gap: 13px; margin-top: 20px; padding: 17px; border: 1px solid #d8e9f6; border-radius: 15px; background: var(--surface-soft); }
.verification-result.is-animating { animation: result-in .34s ease both; }
.result-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; color: var(--brand-blue); background: #e3f2fe; }
.result-icon svg { width: 27px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.result-symbol { display: none; }
.result-icon[data-icon="trusted"] .result-check, .result-icon[data-icon="untrusted"] .result-alert, .result-icon[data-icon="invalid"] .result-alert, .result-icon[data-icon="data-error"] .result-alert { display: block; }
.result-icon[data-icon="loading"] svg { animation: soft-pulse 1.1s ease-in-out infinite alternate; }
.result-eyebrow { margin: 0 0 1px; color: var(--brand-blue); font-size: .6rem; font-weight: 800; letter-spacing: .12em; }
.result-title { margin: 0; font-size: .9rem; line-height: 1.45; }
.result-description { margin: 4px 0 0; color: var(--text-muted); font-size: .71rem; line-height: 1.5; }
.result-hostname { overflow-wrap: anywhere; margin: 8px 0 0; padding: 5px 8px; border-radius: 7px; color: var(--text); background: rgba(255,255,255,.8); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .73rem; }
.verification-result[data-state="trusted"] { border-color: #9bdfca; background: var(--success-soft); }
.verification-result[data-state="trusted"] .result-icon { color: var(--success); background: #cdf3e6; }
.verification-result[data-state="trusted"] .result-eyebrow { color: var(--success); }
.verification-result[data-state="untrusted"], .verification-result[data-state="invalid"], .verification-result[data-state="data-error"] { border-color: #f0bfba; background: var(--warning-soft); }
.verification-result[data-state="untrusted"] .result-icon, .verification-result[data-state="invalid"] .result-icon, .verification-result[data-state="data-error"] .result-icon { color: var(--warning); background: #ffded9; }
.verification-result[data-state="untrusted"] .result-eyebrow, .verification-result[data-state="invalid"] .result-eyebrow, .verification-result[data-state="data-error"] .result-eyebrow { color: var(--warning); }
.privacy-note { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 14px 0 0; color: var(--text-muted); font-size: .67rem; text-align: center; }
.privacy-note svg { width: 16px; flex: none; fill: none; stroke: var(--success); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.section { padding: 88px 0; }
.section-heading { max-width: 660px; margin: 0 auto 42px; text-align: center; }
.eyebrow.centered { justify-content: center; }
.eyebrow.centered > span:last-child { background: linear-gradient(90deg,#ffb04f,var(--brand-orange)); }
.section-heading h2 { margin: 0; font-size: clamp(1.8rem,3.2vw,2.6rem); line-height: 1.2; letter-spacing: -.035em; }
.section-heading > p:last-child { margin: 13px 0 0; color: var(--text-muted); }
.process { background: #fff; }
.process-grid { position: relative; display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin: 0; padding: 0; list-style: none; }
.process-grid::before { content: ""; position: absolute; z-index: 0; left: 17%; right: 17%; top: 45px; border-top: 2px dashed #b8dcf4; }
.process-card { position: relative; z-index: 1; padding: 24px; border: 1px solid #d7eaf8; border-radius: var(--radius-md); background: #fff; text-align: center; box-shadow: 0 10px 30px rgba(36,127,215,.07); }
.step-number { position: absolute; top: 17px; right: 19px; color: #c4dded; font-size: 1rem; font-weight: 800; letter-spacing: .05em; }
.step-icon { width: 58px; height: 58px; margin: 0 auto 17px; border: 5px solid #fff; border-radius: 17px; outline: 1px solid #d3eaf9; }
.process-card h3, .commitment-grid h3 { margin: 0 0 7px; font-size: 1rem; }
.process-card p, .commitment-grid p { margin: 0; color: var(--text-muted); font-size: .78rem; }

.commitments { background: linear-gradient(180deg,#f5faff,#fafdff); }
.commitment-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.commitment-grid article { padding: 25px 21px; border: 1px solid #d4eafb; border-radius: var(--radius-md); background: #fff; box-shadow: 0 8px 26px rgba(32,118,188,.06); }
.commitment-grid svg { width: 42px; height: 42px; margin-bottom: 17px; padding: 9px; border-radius: 12px; color: #fff; background: linear-gradient(145deg,var(--brand-blue),var(--brand-cyan)); fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.safety { background: #fff; }
.safety-panel { display: grid; grid-template-columns: .82fr 1.18fr; gap: 50px; padding: 43px; border: 1px solid #b9ddf6; border-radius: var(--radius-lg); background: linear-gradient(125deg,#eff9ff,#fff8fb); box-shadow: 0 18px 50px rgba(36,127,215,.09); }
.safety-heading { display: flex; align-items: flex-start; gap: 15px; }
.safety-icon { width: 52px; height: 52px; border-radius: 16px; background: linear-gradient(145deg,var(--brand-orange),#ffb141); }
.safety-heading h2 { margin: 0; font-size: 1.45rem; line-height: 1.32; }
.safety-rules { display: grid; gap: 14px; }
.safety-rules p { position: relative; margin: 0; padding-left: 20px; color: var(--text-muted); font-size: .82rem; }
.safety-rules p::before { content: ""; position: absolute; left: 0; top: .67em; width: 7px; height: 7px; border-radius: 50%; background: var(--brand-orange); }
.safety-rules strong { color: var(--text); }
code { overflow-wrap: anywhere; color: var(--brand-blue-deep); font-size: .9em; }

.site-footer { padding: 38px 0; color: rgba(255,255,255,.78); background: #083f74; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.footer-brand { display: flex; align-items: center; gap: 18px; }
.footer-brand img { width: 128px; }
.footer-brand p, .legal { margin: 0; font-size: .73rem; }
.legal { max-width: 510px; text-align: right; }
.error-page { display: grid; min-height: 100vh; place-items: center; padding: 24px; background: linear-gradient(135deg,var(--brand-blue-deep),var(--brand-cyan)); }
.error-card { width: min(520px,100%); padding: 48px; border-radius: var(--radius-lg); background: #fff; text-align: center; box-shadow: var(--shadow); }
.error-card > img { padding: 5px 12px; margin: 0 auto 30px; border-radius: 12px; background: var(--brand-blue); }
.error-card h1 { margin: 0; font-size: 2.2rem; }
.error-card > p:not(.eyebrow) { color: var(--text-muted); }
.home-link { display: inline-flex; min-height: 48px; align-items: center; margin-top: 12px; padding: 10px 20px; border-radius: 12px; color: #fff; background: var(--brand-blue); font-weight: 700; text-decoration: none; }

@keyframes result-in { from { opacity: .35; transform: translateY(5px); } to { opacity: 1; transform: none; } }
@keyframes soft-pulse { from { opacity: .45; transform: scale(.94); } to { opacity: 1; transform: scale(1); } }

@media (max-width: 1024px) {
  .hero { padding: 64px 0 72px; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 38px; }
  .trust-points { grid-template-columns: 1fr; }
  .commitment-grid { grid-template-columns: repeat(2,1fr); }
  .safety-panel { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 768px) {
  .container { width: min(100% - 32px,var(--container)); }
  .header-inner { min-height: 74px; }
  .brand img { width: 120px; }
  .brand-divider, .brand-label { display: none; }
  .system-status { max-width: 190px; font-size: .65rem; line-height: 1.3; }
  .hero { padding-top: 52px; }
  .hero-grid { grid-template-columns: minmax(0,1fr); }
  .hero-copy { text-align: center; }
  .hero-copy .eyebrow { justify-content: center; }
  .hero-lead { margin-inline: auto; }
  .trust-points { grid-template-columns: repeat(3,1fr); text-align: left; }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid::before { display: none; }
  .section { padding: 68px 0; }
  .footer-inner, .footer-brand { flex-direction: column; text-align: center; }
  .footer-inner { gap: 20px; }
  .footer-brand { gap: 8px; }
  .legal { text-align: center; }
}

@media (max-width: 480px) {
  .container { width: min(100% - 24px,var(--container)); }
  .header-inner { gap: 8px; }
  .brand img { width: 104px; }
  .system-status { max-width: 166px; padding: 7px 9px; }
  .hero { padding: 42px 0 54px; }
  .hero h1 { font-size: 2.2rem; }
  .hero-lead { font-size: .9rem; }
  .trust-points { grid-template-columns: 1fr; }
  .checker-card { padding: 25px 18px 21px; border-radius: 20px; }
  .checker-mark { width: 44px; height: 44px; }
  .checker-heading h2 { font-size: 1.08rem; }
  .verification-result { grid-template-columns: 38px 1fr; padding: 14px 12px; }
  .result-icon { width: 38px; height: 38px; }
  .section-heading { margin-bottom: 30px; }
  .commitment-grid { grid-template-columns: 1fr; }
  .safety-panel { padding: 28px 20px; }
  .safety-heading { flex-direction: column; }
  .error-card { padding: 38px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@supports not (backdrop-filter: blur(14px)) {
  .checker-card { background: #fff; }
}

.result-title {
    font-size: 22px !important;
    font-weight: 800 !important;
}

/* 让 TẠI ĐÂY 变成超醒目的 Telegram 官方蓝色胶囊按钮 */
.result-description a {
    display: inline-block;
    background-color: #0088cc !important;  /* Telegram 经典鲜艳蓝 */
    color: #ffffff !important;             /* 纯白文字 */
    font-size: 14px !important;
    font-weight: 800 !important;           /* 特粗 */
    text-decoration: none !important;      /* 去掉死板下划线 */
    padding: 5px 16px !important;          /* 增加内边距变饱满 */
    border-radius: 999px !important;       /* 完美胶囊圆角 */
    margin-left: 8px !important;
    box-shadow: 0 3px 10px rgba(0, 136, 204, 0.45) !important; /* 悬浮立体阴影 */
    vertical-align: middle;
}

.result-description a:hover {
    background-color: #0077b5 !important;
    transform: translateY(-1px);
}

/* ================= 彻底解除高度封锁 · 恢复真实比例 ================= */

/* 1. 顶部 Logo：彻底解锁高度限制 + 纯白底衬，绝不再被压扁 */
.brand img {
    width: 125px !important;              /* 只管宽度，大小刚刚好 */
    height: auto !important;              /* 彻底解除高度锁死！由图片自身真实比例决定 */
    max-height: none !important;          /* 彻底解除最大高度封锁 */
    background-color: #ffffff !important; /* 纯白底衬，让蓝色的 WIN 清晰醒目 */
    padding: 6px 12px !important;         /* 留出舒适边距，做成精致徽标 */
    border-radius: 8px !important;        /* 圆角 */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

/* 2. 底部页脚 Logo：彻底解锁高度限制，恢复等比自然舒展 */
.footer-brand img {
    width: 155px !important;              /* 保持底部大尺寸醒目效果 */
    height: auto !important;              /* 彻底解除高度锁死！ */
    max-height: none !important;          /* 彻底解除限制 */
}

/* 3. 保持下方内容舒适间距 */
.hero {
    padding-top: 36px !important;
}