/* BrightLabs — sửa bảng màu và thông số chung tại đây. */
:root {
  color-scheme: dark;
  --bg: #0a0b10;
  --bg-secondary: #0f1118;
  --card: #11131c;
  --cyan: #00f0ff;
  --red: #ff003c;
  --red-text: #ff5277;
  --orange: #ff5500;
  --text: #f5f7fa;
  --muted: #939bad;
  --border: rgba(0, 240, 255, .15);
  --line: rgba(255, 255, 255, .09);
  --mono: 'JetBrains Mono', monospace;
  --heading: 'Space Grotesk', 'Inter', sans-serif;
  --body: 'Inter', sans-serif;
  --container: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.modal-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
button:disabled { cursor: wait; }
button, input, textarea, select { border-radius: 0; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { line-height: 1.2; }
h2 { font-size: clamp(2rem, 3.2vw, 2.85rem); font-weight: 650; letter-spacing: -.045em; }
h3 { font-weight: 600; }
::selection { background: var(--cyan); color: var(--bg); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 5px; }
[hidden] { display: none !important; }
.container { width: min(var(--container), calc(100% - 96px)); margin-inline: auto; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon, .shield-icon, .comparison-icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.cyan { color: var(--cyan); }
.red { color: var(--red-text); }
.text-muted { color: var(--muted); }
.mono, .eyebrow, .severity { font-family: var(--mono); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; padding: 12px 20px; background: var(--cyan); color: var(--bg); z-index: 200; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.status-dot { display: inline-block; width: 6px; height: 6px; background: var(--cyan); border-radius: 50%; box-shadow: 0 0 10px rgba(0, 240, 255, .35); flex-shrink: 0; animation: status-pulse 3s ease-in-out infinite; }
.status-dot.orange { background: var(--orange); box-shadow: 0 0 10px #ff55004d; }
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 500; letter-spacing: .12em; line-height: 1.7; }
.section-index { color: var(--cyan); margin-right: 5px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 13px 22px; border: 1px solid transparent; font-size: 14px; font-weight: 600; line-height: 1.5; position: relative; overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s, background .25s; }
.button .icon { width: 18px; height: 18px; }
.button-primary { background: var(--cyan); color: #041317; border-color: var(--cyan); }
.button-primary::after { content: ''; position: absolute; inset: -50% auto -50% -80%; width: 35%; background: linear-gradient(90deg, transparent, #ffffff70, transparent); transform: skewX(-22deg); transition: left .55s; pointer-events: none; }
.button-primary:hover { transform: translateY(-2px); box-shadow: 0 0 28px #00f0ff30; }
.button-primary:hover::after { left: 150%; }
.button-secondary { background: #0c1017; border-color: #ffffff20; }
.button-secondary:hover { border-color: var(--cyan); transform: translateY(-2px); }
.button-outline { color: var(--cyan); border-color: #00f0ff45; background: #00f0ff06; }
.button-outline:hover { background: #00f0ff12; box-shadow: 0 0 20px #00f0ff10; }
.button-mark { font-family: var(--mono); font-size: 19px; }
.text-button { display: inline-flex; align-items: center; gap: 18px; min-height: 44px; border: 0; padding: 4px 0; background: none; color: var(--cyan); font-size: 14px; font-weight: 500; text-align: left; }
.text-button:hover { color: white; }
.text-button .icon { width: 16px; height: 16px; }

/* Header */
.site-header { height: 88px; position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); background: #0a0b10e8; backdrop-filter: blur(18px); transition: height .3s, background .3s; }
.site-header.is-scrolled { height: 72px; background: #0a0b10f2; }
.header-inner { display: flex; height: 100%; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; font-family: var(--heading); font-size: 24px; font-weight: 700; letter-spacing: -.07em; white-space: nowrap; }
.brand > span:first-child { color: var(--cyan); margin-inline: 2px; }
.brand-dot { align-self: flex-start; margin: 4px 0 0 5px; color: var(--muted); font: 10px var(--body); }
.navigation { display: flex; gap: 27px; align-items: center; }
.nav-link { position: relative; font-size: 13px; color: #aab0be; padding-block: 12px; white-space: nowrap; }
.nav-link::after { content: ''; position: absolute; height: 2px; bottom: 3px; left: 0; right: 0; background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav-link:hover, .nav-link.is-active { color: var(--text); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.header-cta { min-height: 42px; font-size: 12px; padding: 10px 16px; }
.menu-toggle, .mobile-cta { display: none; }
.reading-progress { position: absolute; bottom: -1px; left: 0; width: 100%; height: 1px; transform: scaleX(0); transform-origin: left; background: var(--cyan); }

/* Hero: geometric diagnostic UI, no image or animation dependencies. */
.hero { min-height: min(850px, calc(100svh - 88px)); position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; }
.hero-grid, .contact-grid { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(#6774930c 1px, transparent 1px), linear-gradient(90deg, #6774930c 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(90deg, #0009, #000, #0006); }
.hero-grid::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 98%, #00f0ff35); height: 40%; animation: background-scan 12s linear infinite; opacity: .4; }
.ambient { position: absolute; width: 520px; height: 520px; border-radius: 50%; z-index: -1; pointer-events: none; will-change: transform; }
.ambient-cyan { right: 0; top: -70px; background: radial-gradient(circle, #00bcc613 0, transparent 68%); }
.ambient-red { left: -320px; bottom: -260px; background: radial-gradient(circle, #ff003c0e 0, transparent 70%); }
.hero-layout { display: grid; grid-template-columns: 1.02fr 1fr; align-items: center; gap: 62px; padding-top: 82px; padding-bottom: 86px; flex: 1; }
.hero-copy { position: relative; z-index: 2; }
.hero-copy .eyebrow { color: #e2a48b; font-size: 11px; letter-spacing: .105em; margin-bottom: 25px; }
.label-line { width: 46px; height: 1px; background: #ff55005c; }
h1 { font-size: clamp(3.7rem, 5.05vw, 4.8rem); font-weight: 750; letter-spacing: -.055em; line-height: 1.16; }
.hero-line { display: block; }
.hero-line.cyan { font-size: 1.14em; line-height: 1.12; }
.title-question { display: inline-block; margin-left: 7px; }
.hero-answer { font-size: .67em; letter-spacing: -.045em; margin-top: 15px; white-space: nowrap; }
.hero-kicker { font-size: 19px; color: #c4c9d3; margin-top: 10px; letter-spacing: -.025em; }
.hero-description { color: var(--muted); max-width: 465px; margin-top: 23px; font-size: 15px; line-height: 1.9; }
.hero-actions { display: flex; gap: 12px; margin-top: 30px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 21px; margin-top: 29px; }
.trust-row > span { display: flex; align-items: center; gap: 7px; font-size: 11px; color: #a7afbd; font-family: var(--mono); }
.trust-row .icon { width: 14px; height: 14px; color: var(--cyan); }
.hero-visual { min-width: 0; position: relative; padding-top: 30px; padding-bottom: 80px; animation: terminal-enter 1s .3s both; }
.visual-coordinate { font: 10px var(--mono); letter-spacing: .15em; color: #7b879a; position: absolute; top: 4px; left: 1px; }
.diagnostic-window { background: linear-gradient(125deg, #101822f5, #0c1018f2 50%, #0e1720f5); border: 1px solid #00f0ff3d; box-shadow: 0 0 0 6px #00f0ff02, 0 24px 80px #0008, 0 0 65px #00f0ff06; position: relative; animation: float 7s ease-in-out infinite; }
.diagnostic-window:hover, .diagnostic-window:focus-within { animation-play-state: paused; }
.diagnostic-window::before, .diagnostic-window::after { position: absolute; content: ''; width: 13px; height: 13px; border-color: var(--cyan); pointer-events: none; }
.diagnostic-window::before { top: -1px; left: -1px; border-top: 2px solid; border-left: 2px solid; color: var(--cyan); }
.diagnostic-window::after { bottom: -1px; right: -1px; border-bottom: 2px solid; border-right: 2px solid; color: var(--cyan); }
.window-bar { display: flex; justify-content: space-between; align-items: center; min-height: 39px; gap: 12px; padding: 8px 17px; border-bottom: 1px solid #ffffff0b; color: #8b96a7; font: 10px var(--mono); background: #ffffff02; }
.window-dots { display: flex; gap: 5px; }
.window-dots i { width: 6px; height: 6px; border-radius: 50%; background: #f46366; }
.window-dots i:nth-child(2) { background: #dba04e; }
.window-dots i:nth-child(3) { background: #31b58b; }
.window-version { color: #647187; }
.diagnostic-body { padding: 20px 24px 18px; }
.terminal-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; font: 10px var(--mono); letter-spacing: .1em; color: #b7c9d2; }
.terminal-heading > span:first-child { display: flex; align-items: center; gap: 8px; }
.demo-label { color: #8d9cae; border: 1px solid #8d9cae35; padding: 2px 5px; font-size: 9px; }
.scanner { width: 100%; height: 192px; position: relative; display: grid; place-items: center; overflow: hidden; }
.scanner::before { content: ''; width: 155px; height: 155px; border: 1px dashed #00f0ff33; border-radius: 50%; position: absolute; }
.scanner::after { content: ''; width: 105px; height: 105px; border: 1px solid #00f0ff18; border-radius: 50%; position: absolute; }
.scanner-crosshair { position: absolute; width: 205px; height: 170px; background: linear-gradient(90deg, transparent calc(50% - .5px), #00f0ff15 50%, transparent calc(50% + .5px)), linear-gradient(transparent calc(50% - .5px), #00f0ff15 50%, transparent calc(50% + .5px)); }
.scanner-orbit { position: absolute; width: 137px; height: 137px; border: 2px solid transparent; border-top-color: #00f0ff70; border-bottom-color: #00f0ff35; border-radius: 50%; animation: orbit 18s linear infinite; }
.orbit-two { width: 174px; height: 174px; border-width: 1px; border-top-color: #00f0ff25; border-bottom-color: transparent; animation-direction: reverse; }
.scanner-sweep { width: 153px; height: 153px; background: conic-gradient(from 0deg, transparent 65%, #00f0ff15 95%, #00f0ff50); border-radius: 50%; position: absolute; animation: orbit 8s linear infinite; }
.scanner-core { width: 77px; height: 77px; border: 1px solid #00f0ff36; border-radius: 20px; display: grid; place-items: center; background: #092c34d9; box-shadow: 0 0 45px #00f0ff10; z-index: 1; }
.shield-icon { color: var(--cyan); width: 43px; height: 43px; stroke-width: 1.2; }
.scanner-point { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 9px var(--cyan); }
.point-one { top: 39px; left: calc(50% - 54px); }
.point-two { right: calc(50% - 72px); bottom: 55px; background: var(--red); box-shadow: 0 0 9px var(--red); }
.scanner-label { position: absolute; color: #6c8397; font: 8px/1.8 var(--mono); letter-spacing: .04em; }
.label-left { left: 1px; top: 58px; }
.label-right { right: 0; bottom: 53px; text-align: right; }
.scanner-coordinate { position: absolute; bottom: 0; font: 8px var(--mono); color: #4ca2ad; letter-spacing: .15em; }
.terminal-log { min-height: 144px; margin-top: 20px; font: 11px/2.1 var(--mono); color: #b2c1cb; }
.log-line { opacity: 0; transform: translateX(-4px); transition: opacity .25s, transform .25s; white-space: nowrap; }
.log-line.is-visible { opacity: 1; transform: none; animation: type-line .65s steps(32) both; }
.log-time { color: #607184; margin-right: 4px; }
.log-prefix { color: var(--cyan); margin-right: 4px; }
.terminal-caret { color: var(--cyan); animation: caret 1s steps(2) infinite; }
.scan-progress-label { display: flex; justify-content: space-between; font: 10px var(--mono); color: var(--muted); margin: 9px 0; }
#scan-percent { color: var(--cyan); }
.scan-progress { height: 3px; background: #ffffff0d; overflow: hidden; }
.scan-progress > span { display: block; width: 100%; height: 100%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform .25s linear; }
.terminal-checks { display: flex; justify-content: space-between; gap: 5px; margin-top: 15px; font: 8px var(--mono); color: #8293a5; }
.terminal-checks > span { display: flex; align-items: center; gap: 4px; }
.terminal-checks i { display: inline-block; width: 4px; height: 4px; background: #4b6570; border-radius: 50%; }
.terminal-checks .checked i { background: var(--cyan); box-shadow: 0 0 6px #00f0ff80; }
.terminal-bottom { display: flex; align-items: center; gap: 10px; justify-content: space-between; padding: 8px 20px; border-top: 1px solid #00f0ff14; background: #00f0ff03; font: 9px var(--mono); color: #8492a5; }
.terminal-state { display: flex; align-items: center; gap: 7px; color: #eea16f; font-size: 9px; letter-spacing: .02em; }
.terminal-state.threat { color: var(--red-text); }
.terminal-state.threat .status-dot { background: var(--red); }
.terminal-state.secure { color: var(--cyan); }
.terminal-replay { background: transparent; border: 0; display: grid; place-items: center; padding: 7px; margin-left: auto; min-width: 32px; min-height: 32px; color: var(--muted); }
.terminal-replay:hover { color: var(--cyan); }
.terminal-replay .icon { width: 13px; height: 13px; }
.floating-note { display: flex; gap: 11px; align-items: center; position: absolute; bottom: 7px; left: -25px; background: #101b24f5; border: 1px solid #00f0ff2b; padding: 15px 18px; box-shadow: 0 12px 30px #0005; animation: float 7s 1s ease-in-out infinite; }
.note-icon { width: 35px; height: 35px; background: #00f0ff10; display: grid; place-items: center; color: var(--cyan); }
.note-icon .icon { width: 21px; height: 21px; }
.floating-note strong { font-size: 11px; font-weight: 550; display: block; }
.floating-note small { display: block; color: #8496a8; font: 9px var(--mono); margin-top: 4px; }
.note-check { color: var(--cyan); margin-left: 16px; }
.visual-caption { position: absolute; bottom: -16px; right: 0; color: #778496; font-size: 9px; }
.hero-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; border-top: 1px solid var(--line); font: 9px var(--mono); letter-spacing: .1em; color: #8d98a9; }
.hero-bottom > span:first-child { display: flex; gap: 9px; align-items: center; }
.hero-bottom a { color: #c4ccd6; display: flex; gap: 20px; align-items: center; }
.hero-bottom a span { color: var(--cyan); font-size: 19px; }
.expertise-strip { background: #0e1016; border-block: 1px solid var(--line); }
.expertise-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; padding-block: 28px; }
.expertise-inner > .mono { font-size: 9px; letter-spacing: .08em; line-height: 1.7; color: #7f889c; padding-right: 35px; border-right: 1px solid var(--line); }
.expertise-inner strong { font-weight: 500; color: #a1abba; }
.platform { color: #949aab; font: 600 20px var(--heading); display: flex; align-items: center; gap: 8px; letter-spacing: -.04em; }
.wordpress { font-size: 28px; }
.wordpress span { font-family: Georgia, serif; font-size: 20px; font-weight: 400; }
.platform-slash { color: #566170; font-size: 18px; margin-left: 2px; }
.woo { font-size: 18px; }
.server-platform { font: 13px var(--mono); letter-spacing: -.04em; }
.server-platform .icon { width: 21px; height: 21px; }

/* Section system and interactive cards. */
.section { padding-block: 108px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 43px; }
.section-heading .eyebrow { margin-bottom: 20px; color: #9ea7b7; }
.section-heading > p { font-size: 14px; color: var(--muted); line-height: 1.9; padding-bottom: 4px; max-width: 380px; }
.problem-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.problem-card { display: flex; flex-direction: column; background: #0f1219; border: 1px solid var(--line); padding: 25px 23px 18px; position: relative; min-width: 0; transition: transform .3s, border-color .3s, box-shadow .3s; }
.spotlight { isolation: isolate; overflow: hidden; }
.spotlight::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(280px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), #00f0ff0c, transparent 70%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.spotlight:hover::before { opacity: 1; }
.problem-card:hover, .service-card:hover { border-color: #00f0ff5c; transform: translateY(-5px); box-shadow: 0 12px 30px #0003; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 25px; }
.card-top .icon { color: #b8c5d0; width: 25px; height: 25px; transition: color .3s, transform .3s; }
.problem-card:hover .card-top .icon { color: var(--cyan); transform: rotate(-5deg); }
.severity { font-size: 8px; letter-spacing: .04em; color: #a1adc1; padding: 3px 6px; border: 1px solid #7888a025; background: #7888a008; line-height: 1.5; white-space: nowrap; }
.severity.critical { color: #ff6686; border-color: #ff003c28; background: #ff003c08; }
.severity.warning { color: #fca36f; border-color: #ff55002b; background: #ff550008; }
.severity.secured { color: var(--cyan); border-color: #00f0ff35; background: #00f0ff0b; }
.problem-card h3 { font-size: 16px; letter-spacing: -.025em; margin-bottom: 11px; }
.problem-card p { font-size: 13px; color: var(--muted); line-height: 1.85; }
.card-bottom { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #ffffff08; margin-top: auto; padding-top: 16px; color: #708095; font: 10px var(--mono); }
.problem-card p + .card-bottom { margin-top: 22px; }
.card-bottom span { font-size: 18px; color: #8b99aa; }
.problem-card:hover .card-bottom span { color: var(--cyan); }
.section-footnote { display: flex; justify-content: center; align-items: center; gap: 24px; margin-top: 28px; }
.section-footnote > span { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 13px; }
.services { background: var(--bg-secondary); border-block: 1px solid var(--line); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { padding: 29px; border: 1px solid var(--line); background: var(--card); transition: transform .3s, border-color .3s, box-shadow .3s; position: relative; display: flex; flex-direction: column; min-width: 0; }
.service-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.service-number { font: 400 34px var(--mono); color: #3b4657; letter-spacing: -.07em; }
.service-top .icon { color: #8ba5b4; }
.service-card h3 { font: 600 23px/1.3 var(--heading); letter-spacing: -.045em; margin-bottom: 14px; }
.service-card p { font-size: 14px; color: var(--muted); line-height: 1.85; }
.service-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; padding-top: 23px; }
.service-tags span { font: 8px var(--mono); color: #8c9caf; padding: 5px 8px; background: #ffffff03; border: 1px solid #ffffff08; }
.service-link { display: flex; justify-content: space-between; align-items: center; padding: 18px 0 0; margin-top: 25px; border: 0; border-top: 1px solid var(--line); color: #c8d4dc; width: 100%; background: none; font-size: 12px; text-align: left; }
.service-link span { font-size: 20px; color: var(--cyan); }
.service-link:hover { color: var(--cyan); }
.service-featured { border-color: #ff003c33; background: linear-gradient(135deg, #ff003c05, transparent), var(--card); }
.service-featured .service-number { color: #8f4053; }

/* Sticky scrollytelling, updated in one animation frame per scroll. */
.recovery { position: relative; border-bottom: 1px solid var(--line); background: radial-gradient(ellipse at 15% 42%, #00f0ff04, transparent 50%); }
.recovery-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 140px; align-items: start; }
.recovery-sticky { position: sticky; top: 130px; }
.recovery-sticky .eyebrow { color: var(--muted); font-size: 11px; margin-bottom: 24px; }
.recovery-sticky h2 { font: 600 clamp(2.8rem, 4vw, 3.6rem)/1.13 var(--heading); letter-spacing: -.06em; }
.recovery-sticky > p:not(.eyebrow) { font-size: 14px; color: var(--muted); margin-top: 24px; line-height: 1.9; }
.recovery-console { margin-top: 34px; border: 1px solid var(--border); background: #0c121a; padding: 20px; position: relative; transition: background .6s, border-color .6s; }
.console-bar { display: flex; justify-content: space-between; gap: 15px; font: 9px var(--mono); color: #98a6b8; }
.console-bar > span:first-child { display: flex; gap: 7px; align-items: center; }
.console-bar .status-dot { width: 4px; height: 4px; }
#recovery-counter { color: var(--cyan); }
.recovery-display { display: flex; gap: 16px; align-items: center; color: var(--cyan); padding: 30px 0 20px; }
#recovery-icon { display: grid; place-items: center; width: 46px; height: 46px; background: #00f0ff08; border: 1px solid #00f0ff20; }
.recovery-display .mono { font-size: 12px; letter-spacing: .04em; }
.recovery-console code { display: block; color: #9daebb; font: 10px/1.8 var(--mono); overflow-wrap: anywhere; }
.protocol-segments { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; margin: 24px 0 12px; }
.protocol-segments span { height: 3px; background: #24303c; transition: background .5s; }
.protocol-segments .active { background: var(--cyan); box-shadow: 0 0 8px #00f0ff22; }
.recovery-console > small { color: #7d8a9e; font: 8px var(--mono); }
.scroll-hint { display: flex; align-items: center; gap: 30px; margin-top: 25px; color: #8595a7; font-size: 9px; letter-spacing: .1em; }
.scroll-hint span { color: var(--cyan); font-size: 20px; }
.recovery-steps { position: relative; padding-left: 52px; }
.recovery-rail { position: absolute; width: 1px; top: 15px; bottom: 85px; left: 15px; background: #ffffff12; }
.recovery-rail > span { width: 100%; height: 100%; display: block; transform: scaleY(0); transform-origin: top; background: var(--cyan); box-shadow: 0 0 12px #00f0ff40; }
.recovery-step { position: relative; padding-bottom: 75px; opacity: .4; transition: opacity .45s, transform .45s; min-height: 275px; }
.recovery-step:last-child { padding-bottom: 0; }
.recovery-step.is-active { opacity: 1; }
.recovery-step.is-complete { opacity: .7; }
.step-node { position: absolute; left: -52px; top: 0; width: 31px; height: 31px; border: 1px solid #34404e; display: grid; place-items: center; font: 10px var(--mono); color: #98a8b8; background: var(--bg); transition: border-color .3s, color .3s, box-shadow .3s; }
.is-active .step-node, .is-complete .step-node { color: var(--cyan); border-color: #00f0ff60; box-shadow: 0 0 15px #00f0ff0a; }
.step-label { color: #9ba9bc; font: 9px var(--mono); letter-spacing: .1em; padding-top: 8px; }
.recovery-step h3 { font: 500 38px var(--heading); letter-spacing: -.045em; margin-top: 15px; }
.recovery-step h3 span { color: var(--cyan); }
.recovery-step h4 { font-size: 15px; margin-top: 12px; }
.recovery-step > p:not(.step-label) { font-size: 13px; color: var(--muted); margin-top: 12px; max-width: 350px; line-height: 1.9; }
.step-tag { display: inline-block; font: 8px var(--mono); color: var(--cyan); border: 1px solid #00f0ff25; padding: 5px 9px; margin-top: 20px; background: #00f0ff04; }

/* Before/after: two fully sized panels, one clipped by the accessible range. */
.transformation { background: #0d0f15; }
.comparison { position: relative; min-height: 396px; border: 1px solid #ffffff1a; --split: 50%; overflow: hidden; }
.comparison-panel { min-height: 396px; }
.before-panel { background: radial-gradient(ellipse at 50% 65%, #ff003c09, transparent 70%), #101118; }
.comparison-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 25px; font: 10px var(--mono); letter-spacing: .08em; border-bottom: 1px solid var(--line); }
.before-panel .comparison-head { color: #f38499; }
.browser-url { margin: 21px auto 0; width: 72%; padding: 8px 12px; display: flex; align-items: center; gap: 9px; color: #a8afbd; background: #ffffff03; border: 1px solid #ffffff08; font: 10px var(--mono); }
.browser-url > span:last-child { margin-left: auto; font-size: 8px; color: #e4798f; }
.browser-url .icon { width: 12px; height: 12px; color: var(--cyan); }
.comparison-content { text-align: center; padding: 25px 30px 35px; }
.comparison-icon { width: 35px; height: 35px; color: var(--red-text); }
.comparison-content h3 { font: 500 25px var(--heading); letter-spacing: -.035em; margin-top: 10px; }
.comparison-content p { color: var(--muted); font-size: 12px; margin-top: 4px; }
.comparison-content ul { list-style: none; padding: 0; margin: 23px auto 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 40px; max-width: 450px; text-align: left; }
.comparison-content li { font: 11px var(--mono); color: var(--red-text); display: flex; gap: 8px; }
.comparison-content li span { color: #acb5c4; }
.comparison-after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--split)); }
.after-panel { background: radial-gradient(ellipse at 50% 65%, #00f0ff0a, transparent 70%), #0c181e; }
.after-panel .comparison-head, .after-panel .browser-url > span:last-child, .after-panel .comparison-icon, .after-panel li { color: var(--cyan); }
.comparison-divider { position: absolute; top: 0; bottom: 0; width: 1px; left: var(--split); background: var(--cyan); box-shadow: 0 0 15px #00f0ff60; pointer-events: none; }
.comparison-divider > span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 36px; height: 44px; display: grid; place-items: center; background: var(--cyan); color: #03171b; font: 18px var(--mono); letter-spacing: 3px; }
.comparison-controls { display: flex; align-items: center; gap: 22px; padding-top: 22px; }
.comparison-controls > .mono { font-size: 9px; letter-spacing: .07em; }
.comparison-controls input { flex: 1; min-width: 50px; height: 32px; accent-color: var(--cyan); cursor: ew-resize; }
.comparison-controls .text-button { margin-left: 22px; font-size: 12px; }

/* Process and trust. */
.process { border-block: 1px solid var(--line); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 38px; position: relative; padding-top: 10px; }
.process-line { position: absolute; top: 29px; height: 1px; left: 0; right: 0; background: var(--line); }
.process-line > span { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, var(--cyan), #00f0ff18); transform: scaleX(0); transform-origin: left; }
.process-card { position: relative; padding-top: 65px; }
.process-number { display: grid; place-items: center; position: absolute; top: 0; left: 0; width: 40px; height: 40px; background: #102128; border: 1px solid #00f0ff45; color: var(--cyan); font: 12px var(--mono); }
.process-card > .icon { position: absolute; top: 73px; right: 0; color: #486373; width: 20px; height: 20px; }
.process-card h3 { font-size: 20px; letter-spacing: -.03em; }
.process-card p { font-size: 13px; color: var(--muted); margin-top: 15px; max-width: 230px; line-height: 1.9; }
.process-card > .mono { display: block; font-size: 8px; color: #7a8da0; margin-top: 20px; letter-spacing: .06em; }
.why { background: #0f1118; }
.why-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; align-items: center; }
.why-copy .eyebrow { color: var(--muted); font-size: 10px; margin-bottom: 23px; }
.why-copy h2 { font-size: 42px; line-height: 1.25; }
.why-copy > p:not(.eyebrow) { font-size: 14px; color: var(--muted); margin-top: 23px; line-height: 1.9; }
.why-copy .text-button { margin-top: 22px; font-size: 12px; }
.benefit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 16px; padding-bottom: 33px; }
.benefit-grid > span { display: flex; align-items: center; gap: 9px; color: #bac2d0; font-size: 12px; }
.benefit-grid .icon { width: 15px; height: 15px; color: var(--cyan); }
.metrics { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.metrics > div { display: flex; flex-direction: column; padding: 20px 0; }
.metrics > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.metrics strong { font: 500 42px/1.2 var(--heading); letter-spacing: -.06em; }
.metrics strong > small { font: 12px var(--mono); letter-spacing: -.04em; }
.metrics > div > span { color: #8c9caf; font: 9px var(--mono); margin-top: 9px; }
.metrics-note { color: #8c94a4; font-size: 10px; margin-top: 9px; }
.soc-section { border-block: 1px solid var(--border); background: #0b151a; }
.soc-inner { display: flex; justify-content: space-between; gap: 26px; padding-block: 29px; align-items: center; }
.soc-title { display: flex; align-items: center; gap: 11px; font: 9px/1.8 var(--mono); color: #b6c9d2; }
.soc-title > .icon { width: 28px; height: 28px; color: var(--cyan); }
.soc-title > small { font: 8px var(--mono); color: #77939c; align-self: flex-start; }
.soc-status { display: flex; flex-direction: column; gap: 7px; font: 9px var(--mono); }
.soc-status > span { color: #8b9dac; font-size: 8px; letter-spacing: .05em; }
.soc-status strong { color: var(--cyan); font-weight: 400; display: flex; gap: 7px; align-items: center; }
.soc-status .status-dot { width: 4px; height: 4px; }
.soc-status:nth-child(2n) .status-dot { animation-delay: 1s; }

/* Accessible accordion. */
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; }
.faq-intro .eyebrow { font-size: 10px; color: var(--muted); margin-bottom: 22px; }
.faq-intro h2 { font-family: var(--heading); font-size: 43px; }
.faq-intro > p:not(.eyebrow) { margin-top: 20px; font-size: 14px; color: var(--muted); }
.faq-intro .text-button { margin-top: 23px; font-size: 12px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-question { display: flex; align-items: center; gap: 17px; width: 100%; padding: 23px 0; background: none; border: 0; text-align: left; font-size: 14px; font-weight: 500; line-height: 1.6; }
.faq-question:hover, .faq-question[aria-expanded="true"] { color: var(--cyan); }
.faq-index { color: #7e91a3; font: 9px var(--mono); }
.faq-plus { width: 22px; height: 22px; position: relative; margin-left: auto; flex-shrink: 0; transition: transform .3s; }
.faq-plus::before, .faq-plus::after { content: ''; position: absolute; width: 11px; height: 1px; background: #86a0b3; left: 6px; top: 10px; }
.faq-plus::after { transform: rotate(90deg); transition: transform .3s; }
.faq-question[aria-expanded="true"] .faq-plus { transform: rotate(180deg); }
.faq-question[aria-expanded="true"] .faq-plus::after { transform: rotate(0); }
.faq-answer { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .35s, opacity .35s; }
.faq-answer > div { min-height: 0; overflow: hidden; }
.faq-answer.is-open { grid-template-rows: 1fr; opacity: 1; }
.faq-answer p { color: var(--muted); font-size: 13px; line-height: 1.9; padding: 0 35px 23px 30px; }

/* Final call to action and footer. */
.contact-section { padding-bottom: 100px; }
.contact-box { position: relative; isolation: isolate; overflow: hidden; text-align: center; padding: 64px 40px 37px; border: 1px solid #00f0ff30; background: radial-gradient(ellipse at 50% 110%, #00f0ff10, transparent 65%), radial-gradient(circle at 95% 0, #ff003c07, transparent 35%), #0c131a; }
.contact-grid { background-size: 44px 44px; mask-image: radial-gradient(ellipse at center, #0002, #000); }
.contact-box > .eyebrow { justify-content: center; color: #94b6c0; font-size: 10px; margin-bottom: 24px; }
.contact-box h2 { font-size: clamp(2rem, 3.6vw, 3.15rem); line-height: 1.28; }
.contact-box > p:not(.eyebrow) { font-size: 14px; color: var(--muted); margin-top: 23px; line-height: 1.85; }
.contact-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 29px; }
.contact-assurances { display: flex; justify-content: center; flex-wrap: wrap; gap: 27px; margin-top: 28px; color: #889da9; font-size: 10px; }
.contact-assurances span::before { content: '+'; color: var(--cyan); margin-right: 7px; }
.contact-scan { position: absolute; inset: 0; width: 25%; background: linear-gradient(90deg, transparent, #00f0ff03, transparent); animation: contact-scan 12s linear infinite; pointer-events: none; z-index: -1; }
.footer { border-top: 1px solid var(--line); background: #0c0d13; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr .8fr 1.15fr; gap: 50px; padding-block: 55px; }
.footer-brand > p { color: #929bad; font-size: 13px; margin-top: 15px; line-height: 1.75; }
.footer-tagline { display: block; color: #677b8d; font-size: 8px; letter-spacing: .07em; margin-top: 25px; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-links h3 { font: 500 12px var(--heading); margin: 7px 0 8px; }
.footer-links a { color: #939fb0; font-size: 12px; transition: color .2s; }
.footer-links a:hover, .footer-bottom a:hover { color: var(--cyan); }
.footer-status { padding-top: 7px; }
.footer-status > .mono { display: flex; align-items: center; gap: 8px; color: var(--cyan); font-size: 9px; }
.footer-status p { color: #94a3b4; font-size: 12px; line-height: 1.85; margin-top: 20px; }
.footer-status small { display: block; font-size: 9px; color: #718093; margin-top: 8px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid var(--line); padding-block: 21px; font-size: 10px; color: #7e8da2; }
.footer-bottom .mono { font-size: 8px; letter-spacing: .08em; }
.footer-bottom a { color: #b6bfcb; }
.footer-bottom a span { margin-left: 15px; color: var(--cyan); }

/* Liên hệ nhanh: hai nút cố định, chừa vùng an toàn trên điện thoại. */
.quick-contact {
  position: fixed;
  right: calc(28px + env(safe-area-inset-right, 0px));
  bottom: calc(28px + env(safe-area-inset-bottom, 0px));
  z-index: 45;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  transition: opacity .2s, visibility .2s;
}
.quick-contact-link {
  --contact-color: 0, 240, 255;
  position: relative;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border: 1px solid rgba(var(--contact-color), .75);
  border-radius: 50%;
  color: #05171c;
  background: rgb(var(--contact-color));
  box-shadow: 0 7px 25px #0006, 0 0 20px rgba(var(--contact-color), .18);
  transition: transform .25s, box-shadow .25s;
}
.quick-contact-link::before,
.quick-contact-link::after {
  content: '';
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(var(--contact-color), .45);
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
  animation: contact-ripple 4s ease-out infinite;
}
.quick-contact-link::after { animation-delay: 1.1s; }
.quick-contact-zalo {
  --contact-color: 0, 104, 255;
  color: white;
  border-color: #5a9eff;
}
.quick-contact-zalo::before { animation-delay: 1.8s; }
.quick-contact-zalo::after { animation-delay: 2.9s; }
.quick-contact-icon { width: 27px; height: 27px; pointer-events: none; }
.quick-contact-phone .quick-contact-icon { animation: contact-ring 5s ease-in-out infinite; }
.quick-contact-zalo .quick-contact-icon { width: 39px; height: 39px; animation: contact-bob 5s 1.5s ease-in-out infinite; }
.quick-contact-label {
  position: absolute;
  right: calc(100% + 16px);
  top: 50%;
  padding: 8px 13px;
  background: #111b26;
  color: var(--text);
  border: 1px solid rgba(var(--contact-color), .35);
  border-radius: 5px;
  box-shadow: 0 5px 20px #0004;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translate(6px, -50%);
  transition: opacity .2s, transform .2s, visibility .2s;
  pointer-events: none;
}
.quick-contact-link:focus-visible {
  outline: 2px solid white;
  outline-offset: 5px;
}
.quick-contact-link:focus-visible .quick-contact-label {
  opacity: 1;
  visibility: visible;
  transform: translate(0, -50%);
}
.quick-contact-link:focus-visible .quick-contact-icon { animation-play-state: paused; }
.quick-contact-link:active { transform: scale(.95); }
body.modal-open .quick-contact { opacity: 0; visibility: hidden; pointer-events: none; transition: none; }
@media (hover: hover) and (pointer: fine) {
  .quick-contact-link:hover { transform: translateY(-4px); box-shadow: 0 10px 28px #0007, 0 0 30px rgba(var(--contact-color), .35); }
  .quick-contact-link:hover .quick-contact-icon { animation-play-state: paused; }
  .quick-contact-link:hover .quick-contact-label { opacity: 1; visibility: visible; transform: translate(0, -50%); }
}
@keyframes contact-ripple {
  0% { opacity: .55; transform: scale(.95); }
  65%, 100% { opacity: 0; transform: scale(1.35); }
}
@keyframes contact-ring {
  0%, 16%, 100% { transform: rotate(0); }
  3%, 9% { transform: rotate(-12deg); }
  6%, 12% { transform: rotate(12deg); }
}
@keyframes contact-bob {
  0%, 25%, 100% { transform: translateY(0); }
  12% { transform: translateY(-3px); }
}

/* Contact dialog uses native focus trapping and Escape handling. */
.contact-dialog { width: min(570px, calc(100% - 32px)); max-height: calc(100dvh - 40px); border: 1px solid #00f0ff45; padding: 0; color: var(--text); background: #10151e; box-shadow: 0 30px 100px #000b; overscroll-behavior: contain; }
.contact-dialog::backdrop { background: #02050bcc; backdrop-filter: blur(6px); }
.dialog-inner { padding: 35px; position: relative; }
.dialog-close { position: absolute; right: 12px; top: 10px; background: none; border: 0; font-size: 27px; width: 38px; height: 38px; color: var(--muted); }
.dialog-close:hover { color: var(--cyan); }
.dialog-inner > .eyebrow { color: var(--cyan); font-size: 10px; margin-bottom: 16px; padding-right: 20px; }
.dialog-inner h2 { font-size: 27px; letter-spacing: -.04em; padding-right: 20px; }
.dialog-inner > p:not(.eyebrow) { color: var(--muted); font-size: 13px; margin: 15px 0 24px; }
#request-form { display: flex; flex-direction: column; }
#request-form label { font-size: 12px; color: #cbd4df; margin-bottom: 7px; }
#request-form label > span { color: var(--cyan); }
#request-form input, #request-form select, #request-form textarea, #request-text { width: 100%; background: #0a1018; border: 1px solid #ffffff20; padding: 11px 12px; color: var(--text); margin: 0 0 16px; font-size: 14px; min-width: 0; }
#request-form textarea { resize: vertical; min-height: 85px; }
#request-form input:focus, #request-form select:focus, #request-form textarea:focus { border-color: var(--cyan); }
.form-submit { margin-top: 4px; width: 100%; }
.form-note { margin-top: 13px; color: #95a3b5; font-size: 11px; line-height: 1.75; }
.form-status { font-size: 13px; color: var(--cyan); line-height: 1.75; margin-top: 12px; }
.form-status:empty { display: none; }
.form-status.is-error { color: #ff8da6; }
.form-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); pointer-events: none; }
#request-form .copy-draft { justify-content: center; margin-top: 6px; font-size: 12px; }
#request-form button:disabled { opacity: .6; cursor: wait; }
#request-form #draft-text { margin-top: 10px; min-height: 150px; font: 12px/1.8 var(--mono); }
.result-title { display: flex; align-items: center; gap: 8px; color: var(--cyan); font-size: 19px; }
.request-result > p:not(.result-title) { font-size: 13px; color: var(--muted); margin-block: 14px; }
#request-text { font: 12px/1.8 var(--mono); resize: vertical; }
.result-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.result-actions .button { min-height: 44px; font-size: 12px; }
#copy-status { min-height: 23px; }
.noscript-note { padding: 15px; text-align: center; color: #d5dce6; background: #172632; font-size: 13px; }

/* Motion is progressive enhancement: without JS, all content stays visible. */
.js-ready .reveal, .js-ready .reveal-left, .js-ready .reveal-right, .js-ready .reveal-scale { opacity: 0; transform: translateY(28px); filter: blur(5px); transition: opacity .7s, transform .7s, filter .7s; transition-delay: var(--stagger, 0ms); }
.js-ready .reveal-left { transform: translateX(-24px); }
.js-ready .reveal-right { transform: translateX(24px); }
.js-ready .reveal-scale { transform: scale(.97); }
.js-ready .is-visible { opacity: 1; transform: none; filter: none; }
.js-ready .problem-card.is-visible:hover, .js-ready .service-card.is-visible:hover { transform: translateY(-5px); transition-delay: 0ms; }
.hero-enter { animation: rise-in .8s both; }
.hero-copy .eyebrow { animation-delay: .05s; }
.hero-line { animation: line-reveal .85s both; }
.hero-line:nth-child(2) { animation-delay: .13s; }
.hero-line:nth-child(3) { animation-delay: .24s; }
.hero-kicker { animation-delay: .3s; }
.hero-description { animation-delay: .4s; }
.hero-actions { animation-delay: .5s; }
.trust-row { animation-delay: .6s; }
.header-inner > .brand { animation: logo-in .7s both; }
@keyframes rise-in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes line-reveal { from { opacity: 0; transform: translateY(20px); filter: blur(5px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes logo-in { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@keyframes terminal-enter { from { opacity: 0; transform: translateX(25px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes caret { 50% { opacity: 0; } }
@keyframes type-line { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes status-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@keyframes background-scan { from { transform: translateY(-100%); } to { transform: translateY(350%); } }
@keyframes contact-scan { from { transform: translateX(-110%); } to { transform: translateX(500%); } }

/* Laptop */
@media (min-width: 1450px) {
  .hero-layout { padding-top: 90px; padding-bottom: 100px; }
}
@media (max-width: 1199px) {
  .container { width: calc(100% - 64px); }
  .header-inner { gap: 20px; }
  .brand { font-size: 22px; }
  .navigation { gap: 20px; }
  .nav-link { font-size: 12px; }
  .header-cta { font-size: 11px; padding-inline: 12px; }
  .hero-layout { gap: 38px; padding-top: 65px; padding-bottom: 75px; }
  h1 { font-size: 58px; }
  .hero-kicker { font-size: 17px; }
  .hero-actions .button { font-size: 12px; padding-inline: 15px; }
  .trust-row { gap: 15px; }
  .trust-row > span { font-size: 9px; }
  .diagnostic-body { padding-inline: 18px; }
  .terminal-log { font-size: 10px; }
  .problem-card { padding: 22px 18px 16px; }
  .problem-card h3 { font-size: 15px; }
  .severity { font-size: 7px; }
  .section { padding-block: 85px; }
  .recovery-layout { gap: 85px; }
  .why-layout, .faq-layout { gap: 65px; }
  .benefit-grid > span { font-size: 11px; }
  .service-card { padding: 24px; }
  .service-card h3 { font-size: 21px; }
  .expertise-inner { gap: 20px; }
  .expertise-inner > .mono { padding-right: 20px; }
  .platform { font-size: 18px; }
  .woo { font-size: 16px; }
  .server-platform { font-size: 11px; }
}

/* Tablet and navigation drawer */
@media (max-width: 980px) {
  .site-header { height: 76px; }
  .header-cta { margin-left: auto; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 6px; border: 1px solid var(--line); background: #11161e; width: 44px; height: 44px; padding: 11px; position: relative; z-index: 2; }
  .menu-toggle span { display: block; width: 20px; height: 1px; background: var(--text); transition: transform .25s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .navigation { position: absolute; top: 100%; left: 0; right: 0; padding: 24px 32px 30px; background: #0e141dfc; border-bottom: 1px solid var(--border); flex-direction: column; align-items: stretch; gap: 5px; visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s; }
  .navigation.is-open { visibility: visible; opacity: 1; transform: none; }
  .nav-link { padding: 12px 0; font-size: 15px; }
  .nav-link::after { right: auto; width: 25px; }
  .mobile-cta { display: inline-flex; margin-top: 16px; }
  .hero-layout { gap: 30px; }
  h1 { font-size: 49px; }
  .hero-copy .eyebrow { font-size: 9px; letter-spacing: .04em; }
  .hero-description { font-size: 13px; }
  .hero-kicker { font-size: 14px; }
  .hero-actions { flex-wrap: wrap; }
  .hero-actions .button { min-height: 46px; }
  .trust-row { column-gap: 14px; row-gap: 10px; }
  .trust-row > span { font-size: 8px; }
  .hero-visual { padding-top: 25px; }
  .visual-coordinate { font-size: 8px; }
  .window-bar { padding-inline: 12px; font-size: 8px; gap: 8px; }
  .window-version { display: none; }
  .diagnostic-body { padding-inline: 14px; }
  .terminal-log { font-size: 9px; min-height: 123px; }
  .terminal-heading { font-size: 8px; }
  .terminal-checks { font-size: 6px; }
  .scanner-label { font-size: 6px; }
  .terminal-bottom { padding-inline: 12px; font-size: 7px; }
  .terminal-state { font-size: 7px; }
  .floating-note { left: -15px; padding: 12px; }
  .floating-note strong { font-size: 9px; }
  .floating-note small { font-size: 8px; }
  .visual-caption { font-size: 8px; }
  .hero-bottom { font-size: 8px; letter-spacing: .02em; }
  .expertise-inner { justify-content: center; gap: 25px; }
  .expertise-inner > .mono { display: none; }
  .platform { font-size: 17px; }
  .wordpress span { font-size: 18px; }
  .woo { font-size: 14px; }
  .server-platform { font-size: 10px; }
  .section-heading { gap: 25px; }
  .section-heading > p { font-size: 12px; }
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .problem-card h3 { font-size: 17px; }
  .severity { font-size: 8px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card h3 { font-size: 24px; }
  .recovery-layout { gap: 50px; }
  .recovery-sticky { top: 105px; }
  .recovery-sticky .eyebrow { font-size: 8px; }
  .recovery-sticky h2 { font-size: 43px; }
  .recovery-console { padding: 16px; }
  .console-bar { font-size: 8px; }
  .recovery-display .mono { font-size: 10px; }
  .recovery-console code { font-size: 9px; }
  .recovery-step { min-height: 290px; }
  .process-grid { gap: 24px; }
  .process-card h3 { font-size: 17px; }
  .process-card p { font-size: 12px; }
  .process-card > .icon { display: none; }
  .why-layout { grid-template-columns: 1fr; gap: 40px; }
  .why-copy h2 br:nth-child(2) { display: none; }
  .benefit-grid > span { font-size: 14px; }
  .metrics { grid-template-columns: repeat(4, 1fr); }
  .metrics > div:nth-child(-n+2) { border-bottom: 0; }
  .metrics strong { font-size: 36px; }
  .metrics > div > span { font-size: 8px; }
  .soc-inner { gap: 20px; flex-wrap: wrap; }
  .soc-title { flex-basis: 100%; }
  .faq-layout { grid-template-columns: .8fr 1.2fr; gap: 35px; }
  .faq-intro h2 { font-size: 34px; }
  .faq-intro .eyebrow { font-size: 8px; }
  .faq-question { font-size: 13px; gap: 12px; }
  .footer-top { gap: 30px; grid-template-columns: 1.2fr 1fr .6fr; }
  .footer-status { grid-column: 1 / -1; display: flex; align-items: center; gap: 30px; padding-top: 15px; border-top: 1px solid var(--line); }
  .footer-status p { margin-top: 0; }
  .footer-status p br { display: none; }
  .footer-status small { margin: 0; }
  .footer-bottom .mono { display: none; }
}

/* Mobile */
@media (max-width: 700px) {
  .quick-contact { right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); gap: 16px; }
  .quick-contact-link { width: 48px; height: 48px; }
  .quick-contact-icon { width: 24px; height: 24px; }
  .quick-contact-zalo .quick-contact-icon { width: 35px; height: 35px; }
  html { scroll-padding-top: 88px; }
  .container { width: calc(100% - 40px); }
  .site-header, .site-header.is-scrolled { height: 70px; }
  .header-inner { gap: 14px; }
  .brand { font-size: 23px; }
  .header-cta { display: none; }
  .menu-toggle { margin-left: auto; }
  .navigation { padding-inline: 20px; }
  .hero { min-height: auto; }
  .hero-layout { grid-template-columns: 1fr; gap: 37px; padding-top: 43px; padding-bottom: 49px; }
  .hero-copy .eyebrow { font-size: 9px; letter-spacing: .075em; margin-bottom: 24px; }
  .label-line { width: 30px; }
  h1 { font-size: clamp(3rem, 10vw, 4.6rem); letter-spacing: -.06em; }
  .hero-line.cyan { font-size: 1.1em; }
  .hero-answer { font-size: .66em; margin-top: 16px; }
  .hero-kicker { font-size: 16px; margin-top: 12px; }
  .hero-description { font-size: 14px; margin-top: 22px; max-width: 470px; }
  .hero-actions { gap: 10px; margin-top: 26px; }
  .hero-actions .button { font-size: 12px; padding-inline: 17px; min-height: 49px; }
  .hero-actions .button .icon { width: 16px; height: 16px; }
  .trust-row { margin-top: 23px; gap: 16px; }
  .trust-row > span { font-size: 8px; gap: 5px; }
  .trust-row .icon { width: 12px; height: 12px; }
  .hero-visual { width: 100%; max-width: 490px; margin: 0 auto; padding: 30px 0 90px; }
  .visual-coordinate { font-size: 8px; letter-spacing: .1em; }
  .window-bar { font-size: 9px; padding-inline: 14px; }
  .window-version { display: inline; }
  .diagnostic-body { padding: 20px 18px 17px; }
  .terminal-heading { font-size: 9px; }
  .scanner { height: 190px; }
  .scanner-label { font-size: 7px; }
  .terminal-log { font-size: 10px; min-height: 134px; margin-top: 17px; }
  .terminal-checks { font-size: 7px; }
  .terminal-state { font-size: 8px; }
  .terminal-bottom { font-size: 8px; padding-inline: 15px; }
  .floating-note { left: 13px; bottom: 9px; padding: 12px 14px; }
  .floating-note strong { font-size: 10px; }
  .floating-note small { font-size: 8px; }
  .visual-caption { font-size: 8px; bottom: -11px; left: 0; right: 0; text-align: center; }
  .hero-bottom { padding-block: 15px; font-size: 7px; gap: 10px; }
  .hero-bottom > span:last-child { display: none; }
  .hero-bottom a { gap: 9px; }
  .hero-bottom a span { font-size: 16px; }
  .expertise-inner { padding-block: 23px; gap: 19px 25px; }
  .platform { font-size: 17px; }
  .wordpress span { font-size: 17px; }
  .woo { font-size: 15px; }
  .server-platform { font-size: 10px; }
  .section { padding-block: 65px; }
  h2 { font-size: 30px; line-height: 1.25; }
  .section-heading { display: block; margin-bottom: 28px; }
  .section-heading .eyebrow { font-size: 9px; letter-spacing: .08em; margin-bottom: 17px; }
  .section-heading > p { font-size: 13px; margin-top: 18px; }
  .section-heading > p br { display: none; }
  .problem-grid { gap: 12px; }
  .problem-card { padding: 19px 16px 13px; }
  .card-top { margin-bottom: 22px; flex-wrap: wrap; gap: 12px; }
  .card-top .icon { width: 23px; height: 23px; }
  .severity { font-size: 7px; padding: 3px 5px; }
  .problem-card h3 { font-size: 15px; line-height: 1.4; }
  .problem-card p { font-size: 12px; line-height: 1.8; }
  .card-bottom { font-size: 9px; padding-top: 11px; }
  .problem-card p + .card-bottom { margin-top: 17px; }
  .section-footnote { flex-direction: column; gap: 5px; margin-top: 23px; }
  .section-footnote > span { font-size: 12px; }
  .section-footnote .text-button { font-size: 12px; }
  .service-grid { grid-template-columns: 1fr; gap: 15px; }
  .service-card { padding: 25px; }
  .service-top { margin-bottom: 21px; }
  .service-number { font-size: 32px; }
  .service-card h3 { font-size: 25px; }
  .service-card p { font-size: 14px; }
  .service-tags span { font-size: 8px; }
  .service-link { font-size: 13px; margin-top: 22px; }
  .recovery-layout { display: block; }
  .recovery-sticky { position: relative; top: auto; }
  .recovery-sticky .eyebrow { font-size: 9px; }
  .recovery-sticky h2 { font-size: 44px; }
  .recovery-sticky > p:not(.eyebrow) { font-size: 14px; margin-top: 19px; }
  .recovery-console { max-width: 460px; padding: 20px; margin-top: 26px; }
  .console-bar { font-size: 9px; }
  .recovery-display .mono { font-size: 12px; }
  .recovery-console code { font-size: 10px; }
  .scroll-hint { margin-top: 15px; }
  .recovery-steps { margin-top: 39px; padding-left: 48px; }
  .recovery-step { min-height: 260px; padding-bottom: 46px; }
  .recovery-step:last-child { min-height: 220px; }
  .recovery-step > p:not(.step-label) { max-width: none; }
  .step-node { left: -48px; }
  .recovery-rail { bottom: 100px; }
  .comparison, .comparison-panel { min-height: 417px; }
  .comparison-head { padding: 16px 14px; font-size: 8px; letter-spacing: .03em; }
  .browser-url { width: calc(100% - 34px); font-size: 8px; padding: 10px; gap: 6px; }
  .browser-url > span:last-child { font-size: 6px; }
  .comparison-content { padding: 25px 20px 27px; }
  .comparison-content h3 { font-size: 24px; }
  .comparison-content p { font-size: 11px; }
  .comparison-content ul { grid-template-columns: 1fr; gap: 12px; width: max-content; margin-top: 25px; }
  .comparison-content li { font-size: 10px; }
  .comparison-divider > span { width: 29px; height: 38px; font-size: 15px; }
  .comparison-controls { gap: 12px; flex-wrap: wrap; padding-top: 17px; }
  .comparison-controls .text-button { margin: 0 auto; justify-content: center; width: 100%; }
  .process-grid { grid-template-columns: 1fr; gap: 32px; padding: 0 0 0 60px; }
  .process-card { padding-top: 0; min-height: 118px; }
  .process-number { left: -60px; }
  .process-line { left: 19px; top: 0; bottom: 20px; width: 1px; height: auto; }
  .process-line > span { transform-origin: top; }
  .process-card h3 { font-size: 20px; padding-top: 6px; }
  .process-card > .icon { display: block; top: 9px; }
  .process-card p { font-size: 14px; max-width: none; margin-top: 12px; }
  .process-card > .mono { margin-top: 16px; }
  .why-layout { gap: 32px; }
  .why-copy .eyebrow { font-size: 9px; }
  .why-copy h2 { font-size: 34px; }
  .why-copy h2 br:nth-child(2) { display: initial; }
  .benefit-grid { gap: 19px 13px; }
  .benefit-grid > span { font-size: 11px; align-items: flex-start; }
  .benefit-grid .icon { width: 14px; height: 14px; margin-top: 2px; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .metrics strong { font-size: 40px; }
  .metrics > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .metrics > div > span { font-size: 8px; }
  .soc-inner { gap: 22px 20px; display: grid; grid-template-columns: repeat(3, 1fr); padding-block: 25px; }
  .soc-title { grid-column: 1 / -1; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
  .soc-status { font-size: 10px; }
  .faq-layout { display: block; }
  .faq-intro .eyebrow { font-size: 9px; }
  .faq-intro h2 { font-size: 35px; }
  .faq-intro h2 br { display: none; }
  .faq-intro > p:not(.eyebrow) br { display: none; }
  .faq-intro .text-button { margin-top: 12px; }
  .faq-list { margin-top: 25px; }
  .faq-question { font-size: 14px; padding-block: 20px; gap: 12px; }
  .faq-answer p { font-size: 13px; padding: 0 15px 22px 25px; }
  .contact-section { padding-bottom: 60px; }
  .contact-box { padding: 40px 20px 28px; }
  .contact-box > .eyebrow { font-size: 8px; letter-spacing: .05em; gap: 7px; }
  .contact-box h2 { font-size: 28px; line-height: 1.35; }
  .contact-box > p:not(.eyebrow) { font-size: 13px; }
  .contact-box > p:not(.eyebrow) br { display: none; }
  .contact-actions { flex-direction: column; gap: 11px; }
  .contact-actions .button { font-size: 13px; min-height: 50px; }
  .contact-assurances { gap: 10px 16px; font-size: 9px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; padding-block: 40px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand > p br { display: none; }
  .footer-tagline { margin-top: 14px; }
  .footer-links h3 { font-size: 14px; }
  .footer-links a { font-size: 13px; }
  .footer-status { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-status > .mono { font-size: 10px; }
  .footer-status p { font-size: 11px; }
  .footer-bottom { font-size: 9px; gap: 15px; }
  .footer-bottom a { white-space: nowrap; }
  .dialog-inner { padding: 28px 22px; }
  .dialog-inner h2 { font-size: 24px; }
  #request-form input, #request-form select, #request-form textarea { font-size: 16px; }
  .js-ready .reveal-left, .js-ready .reveal-right { transform: translateY(25px); }
  .js-ready .is-visible { transform: none; }
}
@media (max-width: 370px) {
  .container { width: calc(100% - 32px); }
  .hero-copy .eyebrow { font-size: 8px; gap: 8px; }
  h1 { font-size: 44px; }
  .hero-kicker { font-size: 14px; }
  .hero-actions .button { padding-inline: 12px; font-size: 11px; gap: 7px; }
  .hero-actions .button .icon { width: 14px; height: 14px; }
  .trust-row { gap: 9px; }
  .trust-row > span { font-size: 7px; }
  .terminal-log { font-size: 9px; }
  .terminal-checks { font-size: 6px; }
  .window-version { display: none; }
  .terminal-bottom > span:last-child { font-size: 6px; }
  .problem-grid { grid-template-columns: 1fr; }
  .problem-card p { font-size: 14px; }
  .card-top { margin-bottom: 18px; }
  .problem-card h3 { font-size: 18px; }
  .severity { font-size: 8px; }
  .contact-box h2 { font-size: 25px; }
  .hero-bottom { font-size: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js-ready .reveal, .js-ready .reveal-left, .js-ready .reveal-right, .js-ready .reveal-scale { opacity: 1; transform: none; filter: none; }
  .recovery-step { opacity: 1; }
  .ambient { will-change: auto; }
}
@media print {
  .quick-contact { display: none !important; }
  body { background: white; color: black; }
  .site-header, .hero-visual, .ambient, .hero-grid, .contact-dialog, .menu-toggle, .reading-progress { display: none !important; }
  .section, .contact-section { padding-block: 25px; }
  .hero-layout, .recovery-layout, .why-layout, .faq-layout { display: block; }
  .recovery-sticky { position: static; }
  .reveal, .reveal-left, .reveal-right, .reveal-scale, .recovery-step { opacity: 1 !important; transform: none !important; filter: none !important; }
  .faq-answer { grid-template-rows: 1fr; opacity: 1; }
}
