:root {
  --ink: #f4f5f8;
  --muted: #9da2b2;
  --dim: #696f7f;
  --bg: #0a0b0f;
  --panel: #111319;
  --panel-2: #171a22;
  --line: rgba(255,255,255,.1);
  --line-soft: rgba(255,255,255,.065);
  --violet: #7168ff;
  --violet-hi: #918bff;
  --violet-soft: rgba(113,104,255,.13);
  --green: #62d59b;
  --orange: #ffb35c;
  --max: 1180px;
  --radius: 22px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 15px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { display: block; max-width: 100%; }
::selection { background: var(--violet); color: #fff; }

.skip-link { position: fixed; left: 16px; top: -60px; z-index: 300; padding: 10px 15px; border-radius: 8px; background: #fff; color: #111; }
.skip-link:focus { top: 12px; }
.section-shell { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 90; transition: background .25s, border-color .25s; border-bottom: 1px solid transparent; }
.site-header.scrolled { background: rgba(10,11,15,.82); backdrop-filter: blur(18px); border-color: var(--line-soft); }
.nav-shell { width: min(calc(100% - 48px), var(--max)); height: 76px; margin: auto; display: flex; align-items: center; gap: 32px; }
.site-logo { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 750; letter-spacing: -.035em; white-space: nowrap; }
.site-logo img { border-radius: 8px; }
.site-logo > span > span { color: var(--violet-hi); }
.site-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; color: var(--muted); font-size: 13px; }
.site-nav a, .text-link, .footer-links a { transition: color .15s; }
.site-nav a:hover, .text-link:hover, .footer-links a:hover { color: #fff; }
.nav-actions { display: flex; align-items: center; gap: 20px; font-size: 13px; }
.landing-language {
  width: 104px; height: 36px; padding: 0 28px 0 10px; border: 1px solid var(--line); border-radius: 9px;
  color: #d8dae2; font: inherit; cursor: pointer;
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  background: #12141a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='12' height='12' fill='none' stroke='%239da2b2' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center;
  background-size: 12px 12px;
}
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 12px 9px; cursor: pointer; }
.nav-toggle span { display: block; height: 1px; background: #fff; margin: 6px 0; transition: transform .2s; }
.mobile-nav-actions, .mobile-cta-bar { display: none; }
.mobile-copy { display: none; }

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 22px;
  border: 1px solid var(--violet);
  border-radius: 11px;
  background: var(--violet);
  color: #fff;
  font-weight: 650;
  font-size: 14px;
  box-shadow: 0 10px 30px rgba(91,83,255,.18);
  transition: background .18s, border-color .18s, box-shadow .18s;
}
.button:hover { background: var(--violet-hi); border-color: var(--violet-hi); box-shadow: 0 12px 34px rgba(91,83,255,.26); }
.button-small { min-height: 38px; padding-inline: 17px; border-radius: 9px; font-size: 13px; }
.button-large { min-height: 54px; padding-inline: 25px; }
.button-ghost { background: rgba(255,255,255,.025); border-color: var(--line); color: #d8dae2; box-shadow: none; }
.button-ghost:hover, .button-outline:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.22); }
.button-outline { width: 100%; background: transparent; border-color: var(--line); box-shadow: none; }

.hero { min-height: 100vh; padding: 150px 24px 0; position: relative; isolation: isolate; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -3; background: radial-gradient(circle at 50% 4%, rgba(115,105,255,.08), transparent 32%), linear-gradient(180deg, #0c0d12, #090a0d 82%); }
.hero::after { content: ''; position: absolute; inset: 76px 0 auto; height: 700px; z-index: -2; opacity: .32; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 74px 74px; mask-image: linear-gradient(to bottom, #000, transparent 85%); }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(110px); z-index: -1; opacity: .25; }
.hero-glow-one { width: 440px; height: 320px; background: #6355ff; left: 7%; top: 290px; }
.hero-glow-two { width: 380px; height: 280px; background: #2d4c9e; right: 4%; top: 410px; }
.hero-copy { width: min(900px, 100%); margin: 0 auto 74px; text-align: center; }
.eyebrow, .section-kicker { color: #b6b1ff; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 11px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 7px 11px; border: 1px solid rgba(146,139,255,.22); border-radius: 999px; background: rgba(113,104,255,.065); }
.eyebrow span { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin: 27px 0 26px; font-size: clamp(45px, 6.3vw, 82px); line-height: 1.03; letter-spacing: -.065em; font-weight: 760; }
h1 em, h2 em { font-style: normal; color: var(--violet-hi); }
.hero-copy > p { max-width: 710px; margin: 0 auto; color: #aeb2bf; font-size: clamp(17px, 2vw, 20px); line-height: 1.65; }
.hero-actions { margin: 36px 0 24px; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.hero-note { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; color: var(--dim); font-size: 12px; }
.hero-note span { color: var(--green); margin-right: -14px; }
/* Tải app macOS (mac-app/SlateFrame) — ẩn trên điện thoại vì không cài được. */
.mac-link { display: inline-flex; align-items: center; gap: 6px; }
.hero-mac {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 26px;
  padding: 10px 16px; border: 1px solid var(--line); border-radius: 14px;
  background: rgba(255,255,255,.03); color: var(--muted); text-align: left;
  transition: border-color .15s, color .15s, background .15s;
}
.hero-mac:hover { color: var(--ink); border-color: var(--violet); background: var(--violet-soft); }
.hero-mac > svg:first-child { color: var(--violet-hi); flex: none; }
.hero-mac-text { display: flex; flex-direction: column; gap: 2px; }
.hero-mac-text b { color: var(--ink); font-size: 13px; font-weight: 600; }
.hero-mac-text small { color: var(--dim); font-size: 11px; }

.product-window { width: min(1120px, 100%); aspect-ratio: 16/8.8; min-height: 510px; margin: auto; overflow: hidden; border: 1px solid rgba(255,255,255,.14); border-radius: 20px 20px 0 0; background: #0d0f14; box-shadow: 0 -1px 0 rgba(255,255,255,.08), 0 40px 100px rgba(0,0,0,.6), 0 0 100px rgba(91,83,255,.12); }
.window-bar { height: 56px; padding: 0 18px; display: flex; align-items: center; gap: 20px; background: rgba(20,22,29,.92); border-bottom: 1px solid var(--line-soft); }
.window-brand { display: flex; align-items: center; gap: 9px; font-size: 12px; }
.window-brand img { border-radius: 6px; }
.window-brand span { color: var(--violet-hi); }
.window-project { color: #9da2b0; font-size: 11px; padding-left: 18px; border-left: 1px solid var(--line); }
.window-user { margin-left: auto; width: 29px; height: 29px; display: grid; place-items: center; border-radius: 50%; background: #2f2a63; color: #cbc7ff; font-size: 9px; font-weight: 700; }
.window-body { min-height: calc(100% - 56px); display: flex; position: relative; }
.window-sidebar { width: 184px; flex: none; padding: 25px 15px; border-right: 1px solid var(--line-soft); color: #7e8494; font-size: 10px; }
.side-label { padding: 0 9px 9px; color: #555b69; font-size: 8px; letter-spacing: .14em; }
.side-label.second { margin-top: 24px; }
.side-item { display: flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 9px; margin: 2px 0; border-radius: 7px; }
.side-item i { width: 11px; height: 11px; border: 1px solid #626879; border-radius: 3px; }
.side-item b { margin-left: auto; font-weight: 500; font-size: 9px; }
.side-item.active { color: #dedfeb; background: rgba(113,104,255,.12); }
.side-item.active i { border-color: var(--violet-hi); background: var(--violet); }
.side-item.muted { color: #606575; }
.gallery-area { min-width: 0; flex: 1; padding: 24px 24px 50px; }
.gallery-head { display: flex; align-items: center; margin-bottom: 19px; }
.gallery-head strong { display: block; font-size: 14px; }
.gallery-head span { display: block; color: #656b7a; font-size: 9px; margin-top: 2px; }
.gallery-head button { margin-left: auto; border: 0; border-radius: 7px; padding: 7px 13px; background: var(--violet); font-size: 9px; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.photo { aspect-ratio: 1.28; position: relative; border-radius: 6px; overflow: hidden; background: #242733; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.photo::before, .photo::after { content: ''; position: absolute; }
.photo::before { inset: 0; background: linear-gradient(145deg, transparent 32%, rgba(0,0,0,.34)); }
.photo::after { inset: 0; border-block: 7px solid rgba(0,0,0,.68); box-shadow: inset 0 0 22px rgba(0,0,0,.24); }
.photo > span { position: absolute; z-index: 2; left: 7px; bottom: 5px; color: rgba(255,255,255,.65); font-size: 8px; }
.photo > b { position: absolute; z-index: 3; right: 6px; top: 6px; min-width: 17px; height: 17px; padding: 0 4px; display: grid; place-items: center; border-radius: 50%; background: var(--violet); color: white; font-size: 8px; }
.photo.selected { box-shadow: inset 0 0 0 2px var(--violet); }
.photo.commented > b { background: rgba(12,13,17,.88); border: 1px solid rgba(255,255,255,.28); }
.p1 { background: linear-gradient(165deg,#071119 28%,#1f5962 29% 48%,#d17142 49% 53%,#151923 54%); }.p2 { background: radial-gradient(circle at 67% 40%,#f5c977 0 5%,transparent 6%),linear-gradient(145deg,#0d1523,#364e69 55%,#10131a); }.p3 { background: linear-gradient(155deg,#15171e 20%,#7b2023 21% 36%,#c59673 37% 48%,#20232c 49%); }.p4 { background: radial-gradient(ellipse at 50% 65%,#686f7c 0 18%,transparent 19%),linear-gradient(150deg,#090b0f,#2f3d4c 52%,#bb8154); }
.p5 { background: linear-gradient(120deg,#10131a 28%,#39463a 29% 56%,#d2a767 57% 61%,#121720 62%); }.p6 { background: radial-gradient(circle at 35% 42%,#d7d9dd 0 7%,transparent 8%),linear-gradient(145deg,#11151c,#706654 50%,#1c2732); }.p7 { background: linear-gradient(160deg,#0d1017 23%,#345173 24% 47%,#d87845 48% 52%,#1a1e26 53%); }.p8 { background: radial-gradient(ellipse at 72% 56%,#b22f35 0 14%,transparent 15%),linear-gradient(145deg,#171a21,#4b5360 45%,#11141a); }
.comment-card { position: absolute; width: 276px; right: 24px; bottom: 17px; padding: 14px; border: 1px solid rgba(255,255,255,.13); border-radius: 12px; background: rgba(27,29,38,.93); box-shadow: 0 20px 50px rgba(0,0,0,.45); backdrop-filter: blur(12px); font-size: 10px; }
.comment-top { display: flex; align-items: center; gap: 8px; }
.comment-avatar { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: #654f79; font-weight: 700; }
.comment-top b, .comment-top small { display: block; line-height: 1.25; }
.comment-top small { color: #656b78; font-size: 8px; }
.resolved { margin-left: auto; color: var(--green); font-size: 8px; }
.comment-card p { margin: 10px 0; color: #c6c8d1; line-height: 1.45; }
.comment-pin { color: #9d98ff; font-family: ui-monospace, monospace; }
.comment-pin span { float: right; color: #737988; font-family: inherit; }
.trust-strip { width: min(980px, 100%); margin: 0 auto; min-height: 110px; display: flex; align-items: center; justify-content: space-around; gap: 20px; color: #515664; letter-spacing: .13em; font-size: 9px; }
.trust-strip i { width: 3px; height: 3px; border-radius: 50%; background: #3c414d; }

.problem-section { padding-block: 140px 130px; }
.problem-grid { margin-top: 24px; display: grid; grid-template-columns: 1.3fr .7fr; gap: 80px; align-items: end; }
.section-heading h2, .center-heading h2, .feature-intro h2, .faq-heading h2, .final-cta h2 { margin: 0; font-size: clamp(34px, 4.8vw, 58px); line-height: 1.08; letter-spacing: -.052em; }
.section-lead p, .feature-intro > p { margin: 0; color: var(--muted); font-size: 17px; }
.benefit-row { margin-top: 74px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.benefit-row article { padding: 32px 32px 0 0; border-right: 1px solid var(--line); }
.benefit-row article + article { padding-left: 32px; }
.benefit-row article:last-child { border-right: 0; }
.benefit-no { color: var(--violet-hi); font-family: ui-monospace, monospace; font-size: 11px; }
.benefit-row h3 { margin: 26px 0 10px; font-size: 18px; }
.benefit-row p { color: var(--muted); font-size: 14px; }

.workflow-section { padding: 130px 0; background: #0e1015; border-block: 1px solid var(--line-soft); }
.center-heading { max-width: 760px; margin: 0 auto 70px; text-align: center; }
.center-heading h2 { margin-top: 18px; }
.workflow-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.workflow-grid article { padding: 14px 14px 28px; border: 1px solid var(--line-soft); border-radius: 18px; background: rgba(255,255,255,.018); }
.step-visual { height: 230px; display: grid; place-items: center; position: relative; overflow: hidden; border-radius: 11px; margin-bottom: 24px; background: #151821; border: 1px solid rgba(255,255,255,.045); }
.step-visual::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px); background-size: 28px 28px; }
.upload-ring { width: 70px; height: 70px; display: grid; place-items: center; z-index: 1; border: 1px dashed #625cd0; border-radius: 50%; color: #a7a2ff; font-size: 25px; }
.upload-line { position: absolute; width: 55%; height: 4px; bottom: 55px; border-radius: 4px; background: #292c36; overflow: hidden; }.upload-line span { display: block; width: 68%; height: 100%; background: var(--violet); }
.upload-visual small { position: absolute; bottom: 28px; color: #6f7583; font-size: 9px; }
.link-pill { position: relative; z-index: 1; width: 82%; padding: 13px; border: 1px solid #353946; border-radius: 8px; background: #0e1015; color: #aaaeb9; font: 9px ui-monospace, monospace; box-shadow: 0 15px 40px rgba(0,0,0,.25); }
.link-pill::after { content: 'Sao chép'; float: right; color: #9a94ff; }
.share-options { position: absolute; bottom: 42px; display: flex; gap: 16px; color: #727888; font-size: 9px; }.share-options span::first-letter { color: var(--green); }
.review-visual { background: linear-gradient(165deg,#0a111b 22%,#263e55 23% 47%,#ca7448 48% 53%,#131821 54%); }
.review-visual::after { content: ''; position: absolute; inset: 0; border-block: 18px solid rgba(0,0,0,.68); box-shadow: inset 0 0 50px rgba(0,0,0,.25); }
.review-dot { position: absolute; z-index: 3; width: 17px; height: 17px; border-radius: 50%; background: var(--violet); border: 3px solid rgba(255,255,255,.8); }.review-dot.d1 { left: 42%; top: 35%; }.review-dot.d2 { right: 23%; top: 50%; }
.review-note { position: absolute; z-index: 4; right: 13px; bottom: 14px; padding: 8px 11px; border-radius: 7px; background: rgba(13,14,18,.84); color: #9da2b0; font-size: 8px; }.review-note b { color: #e2e3e9; font-weight: 600; }
.step-tag { color: #8e88ff; font: 10px ui-monospace, monospace; letter-spacing: .06em; }
.workflow-grid h3 { margin: 12px 7px 9px; font-size: 20px; line-height: 1.3; }
.workflow-grid article > p { margin: 0 7px; color: var(--muted); font-size: 13.5px; }

.features-section { padding-block: 140px; }
.feature-intro { display: grid; grid-template-columns: 1fr .62fr; gap: 100px; align-items: end; margin-bottom: 70px; }
.feature-intro h2 { margin-top: 17px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.feature-grid article { min-height: 260px; padding: 28px; border: 1px solid var(--line-soft); border-radius: 17px; background: linear-gradient(150deg,rgba(255,255,255,.03),rgba(255,255,255,.012)); }
.feature-grid h3 { margin: 45px 0 10px; font-size: 19px; }
.feature-grid p { color: var(--muted); font-size: 13.5px; }
.feature-icon { display: inline-flex; min-width: 35px; height: 35px; align-items: center; justify-content: center; padding: 0 8px; border: 1px solid rgba(145,139,255,.25); border-radius: 8px; background: var(--violet-soft); color: #aaa5ff; font: 10px ui-monospace, monospace; }
.feature-grid .feature-large { grid-column: span 2; min-height: 360px; display: grid; grid-template-columns: .78fr 1.22fr; gap: 30px; overflow: hidden; padding: 34px; }
.feature-large h3 { margin-top: 72px; }
.version-demo { min-height: 290px; position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,.09); border-radius: 11px; background: #1a1d25; transform: rotate(2deg) translate(18px,16px); }
.version-pane { position: absolute; inset: 0; overflow: hidden; }
.version-pane::before { content: ''; position: absolute; width: 54%; height: 24%; left: 23%; bottom: 18%; border-radius: 48% 14% 10% 12%; background: #a8afb8; box-shadow: -54px 28px 0 -20px #0b0d12, 54px 28px 0 -20px #0b0d12; }
.version-pane.before { background: linear-gradient(165deg,#0a121d 28%,#243b53 29% 53%,#ce784b 54% 58%,#151922 59%); filter: saturate(.62) brightness(.8); }
.version-pane.after { left: 51%; background: linear-gradient(165deg,#0e1725 28%,#3a5a76 29% 53%,#ee925d 54% 58%,#1a2029 59%); }
.version-pane span { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 3px 7px; border-radius: 5px; background: rgba(0,0,0,.5); font-size: 8px; }
.version-divider { position: absolute; inset: 0 auto 0 51%; width: 1px; background: #fff; z-index: 3; }.version-divider i { position: absolute; width: 26px; height: 26px; left: -13px; top: 45%; border-radius: 50%; background: #fff; box-shadow: 0 4px 20px rgba(0,0,0,.4); }.version-divider i::before,.version-divider i::after { content: ''; position: absolute; top: 9px; width: 6px; height: 6px; border-left: 1px solid #333; border-bottom: 1px solid #333; transform: rotate(45deg); }.version-divider i::before { left: 7px; }.version-divider i::after { right: 7px; transform: rotate(225deg); }

.pricing-section { padding-block: 140px 120px; background: #0e1015; border-block: 1px solid var(--line-soft); }
.pricing-heading { margin-bottom: 58px; }.pricing-heading > p { max-width: 640px; margin: 20px auto 0; color: var(--muted); }
.billing-toggle { width: max-content; max-width: 100%; margin: 28px auto 0; padding: 4px; display: flex; gap: 4px; border: 1px solid var(--line); border-radius: 11px; background: #0b0d11; }
.billing-toggle button { min-height: 38px; padding: 0 15px; border: 0; border-radius: 7px; background: transparent; color: #777d8b; cursor: pointer; font-size: 12px; }
.billing-toggle button.on { background: #242731; color: #fff; box-shadow: 0 5px 16px rgba(0,0,0,.22); }
.billing-toggle button span { margin-left: 5px; color: var(--green); font-size: 9px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.price-card { position: relative; padding: 30px; border: 1px solid var(--line); border-radius: 18px; background: #12141a; }
.price-card.featured { border-color: rgba(113,104,255,.62); background: linear-gradient(180deg,rgba(113,104,255,.105),#12141a 38%); box-shadow: 0 22px 70px rgba(36,30,102,.2); }
.popular { position: absolute; top: -13px; right: 22px; padding: 5px 10px; border-radius: 999px; background: var(--violet); color: #fff; font-size: 8px; font-weight: 800; letter-spacing: .12em; }
.price-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan-name { color: #aca7ff; font: 700 12px ui-monospace, monospace; letter-spacing: .08em; }
.plan-fit { color: #626878; font-size: 10px; }
.price { min-height: 75px; margin: 28px 0 8px; display: flex; align-items: baseline; gap: 7px; }
.price strong { font-size: 32px; letter-spacing: -.04em; white-space: nowrap; }.price span { color: #666c7b; font-size: 11px; }
.price-saving { min-height: 20px; margin: -16px 0 12px; color: var(--green); font-size: 10px; }
.price-card > p { min-height: 70px; color: var(--muted); font-size: 13px; }
.price-card .button { margin: 12px 0 26px; width: 100%; }
.price-card ul { list-style: none; margin: 0; padding: 24px 0 0; border-top: 1px solid var(--line-soft); color: #aeb2bf; font-size: 12.5px; }
.price-card li { margin: 10px 0; padding-left: 22px; position: relative; }.price-card li::before { content: '✓'; position: absolute; left: 0; color: var(--green); }.price-card li b { color: #e4e5eb; }
.pricing-note { margin: 25px 0 0; text-align: center; color: #5f6573; font-size: 11px; }
.storage-addons { margin-top: 22px; padding: 27px 30px; display: grid; grid-template-columns: .75fr 1.25fr; gap: 36px; align-items: center; border: 1px solid var(--line); border-radius: 17px; background: rgba(255,255,255,.018); }
.storage-addons h3 { margin: 7px 0 4px; font-size: 18px; }.storage-addons p { margin: 0; color: var(--muted); font-size: 12px; }
.addon-options { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }.addon-options > div { min-height: 80px; padding: 14px; border-radius: 10px; background: #181a21; border: 1px solid var(--line-soft); }.addon-options b,.addon-options span { display: block; }.addon-options b { margin-bottom: 5px; color: #deddff; font-size: 13px; }.addon-options span { color: #777d8b; font-size: 10px; line-height: 1.55; }

.faq-section { padding-block: 140px; display: grid; grid-template-columns: .65fr 1.35fr; gap: 100px; }
.faq-heading h2 { margin-top: 14px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { min-height: 78px; display: flex; align-items: center; gap: 20px; cursor: pointer; list-style: none; font-size: 16px; font-weight: 600; }
.faq-list summary::-webkit-details-marker { display: none; }.faq-list summary span { margin-left: auto; color: #777d8b; font-size: 23px; font-weight: 300; transition: transform .2s; }.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { padding: 0 50px 24px 0; color: var(--muted); font-size: 13.5px; }

.final-cta { position: relative; overflow: hidden; text-align: center; padding: 130px 0 140px; border-top: 1px solid var(--line-soft); }
.final-cta::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(circle at center,#000,transparent 72%); }
.cta-glow { position: absolute; width: 660px; height: 300px; left: 50%; bottom: -180px; transform: translateX(-50%); border-radius: 50%; background: #5b53ff; filter: blur(130px); opacity: .24; }
.final-cta .section-shell { position: relative; }
.cta-mark { width: 76px; height: 76px; margin: 0 auto 32px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.12); border-radius: 22px; background: rgba(255,255,255,.03); box-shadow: 0 20px 60px rgba(60,52,180,.2); }
.final-cta h2 { font-size: clamp(40px,5.4vw,68px); }.final-cta p { max-width: 620px; margin: 26px auto 34px; color: var(--muted); font-size: 17px; }

.site-footer { border-top: 1px solid var(--line-soft); padding: 35px 0 calc(35px + var(--safe-b)); }
.footer-grid { display: flex; align-items: center; gap: 28px; }.footer-grid p { margin: 0; color: #646a78; font-size: 12px; }.footer-links { margin-left: auto; display: flex; gap: 24px; color: #7f8593; font-size: 12px; }.footer-grid small { color: #4d5260; font-size: 10px; }

@media (max-width: 900px) {
  .nav-shell { height: 68px; }
  .nav-toggle { display: block; margin-left: auto; }
  .site-nav { display: none; position: absolute; left: 20px; right: 20px; top: 66px; padding: 16px; flex-direction: column; align-items: stretch; gap: 0; border: 1px solid var(--line); border-radius: 13px; background: rgba(17,19,25,.98); box-shadow: 0 24px 60px rgba(0,0,0,.55); }
  .site-nav a { padding: 12px; }
  .menu-open .site-nav { display: flex; }
  .menu-open .nav-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }.menu-open .nav-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .nav-actions .text-link { display: none; }
  .hero { padding-top: 125px; }
  .window-sidebar { display: none; }
  .product-window { min-height: 470px; }
  .problem-grid, .feature-intro, .faq-section { grid-template-columns: 1fr; gap: 28px; }
  .workflow-grid { grid-template-columns: 1fr; }.workflow-grid article { display: grid; grid-template-columns: 280px 1fr; column-gap: 26px; }.step-visual { grid-row: span 3; margin: 0; }.workflow-grid h3 { margin-top: 14px; }
  .feature-grid { grid-template-columns: repeat(2,1fr); }.feature-grid .feature-large { grid-column: span 2; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 600px; margin-inline: auto; }.price-card > p { min-height: 0; }
  .storage-addons { grid-template-columns: 1fr; }
  .faq-section { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  html { scroll-padding-top: 74px; }
  body { padding-bottom: calc(72px + var(--safe-b)); }
  .section-shell { width: min(calc(100% - 32px), var(--max)); }
  .site-header { background: rgba(10,11,15,.9); backdrop-filter: blur(18px); border-color: var(--line-soft); }
  .nav-shell { width: calc(100% - 24px); height: 64px; gap: 12px; }
  .site-logo { font-size: 16px; }.site-logo img { width: 28px; height: 28px; }
  .site-nav { left: 12px; right: 12px; top: 60px; padding: 10px; border-radius: 14px; }
  .site-nav > a { min-height: 44px; display: flex; align-items: center; padding: 0 12px; border-radius: 8px; }
  .site-nav > a:hover { background: rgba(255,255,255,.04); }
  .mobile-nav-actions { display: grid; grid-template-columns: .8fr 1.2fr; gap: 8px; margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--line-soft); }
  .mobile-nav-actions a { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 9px; }
  .mobile-nav-actions .mobile-login { border: 1px solid var(--line); color: #d8dae2; }
  .mobile-nav-actions .button { padding-inline: 10px; }
  .nav-actions .button { display: none; }
  .landing-language { width: 88px; padding-left: 8px; font-size: 11px; }
  .desktop-copy { display: none; }.mobile-copy { display: inline; }
  .hero { min-height: auto; padding: 94px 12px 0; }
  .eyebrow { padding: 7px 10px; font-size: 10px; line-height: 1.5; }
  h1 { margin: 24px 0 20px; font-size: clamp(38px, 12vw, 50px); line-height: 1.01; }
  .hero-copy { margin-bottom: 30px; }.hero-copy > p { font-size: 15px; line-height: 1.55; }
  .hero-actions { margin: 24px 0 0; }.hero-actions .button { width: 100%; min-height: 50px; }
  .hero-actions .button-ghost, .hero-note, .trust-strip, .hero-mac { display: none; }
  .product-window { min-height: 300px; aspect-ratio: auto; border-radius: 13px; }
  .window-bar { height: 48px; padding: 0 12px; gap: 10px; }.window-brand { font-size: 10px; }.window-brand img { width: 19px; height: 19px; }.window-project { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-left: 10px; }.window-user { width: 25px; height: 25px; }
  .window-body { min-height: calc(100% - 48px); }.gallery-area { padding: 15px 10px 56px; }.gallery-head { margin-bottom: 13px; }.gallery-head strong { font-size: 12px; }.gallery-head span { display: none; }.gallery-head button { padding: 6px 10px; }.gallery-grid { grid-template-columns: repeat(2,1fr); gap: 7px; }.photo:nth-child(n+5) { display: none; }
  .comment-card { width: calc(100% - 20px); right: 10px; bottom: 9px; padding: 10px; }.comment-card p { margin: 7px 0; line-height: 1.35; }
  .problem-section { display: none; }
  .features-section, .faq-section { padding-block: 56px; }
  .section-heading h2, .center-heading h2, .feature-intro h2, .faq-heading h2, .final-cta h2 { font-size: 32px; line-height: 1.1; letter-spacing: -.045em; }
  .section-lead p, .feature-intro > p { font-size: 15px; }.benefit-row { margin-top: 36px; grid-template-columns: 1fr; }.benefit-row article, .benefit-row article + article { padding: 22px 0; border-right: 0; border-bottom: 1px solid var(--line-soft); }.benefit-row h3 { margin-top: 10px; }
  .workflow-section, .pricing-section { padding-block: 56px; }.center-heading { margin-bottom: 28px; }
  .workflow-grid { counter-reset: mobile-step; gap: 9px; }.workflow-grid article { counter-increment: mobile-step; display: grid; grid-template-columns: 38px 1fr; align-items: center; gap: 0 12px; padding: 17px 18px; }.workflow-grid article::before { content: "0" counter(mobile-step); grid-column: 1; grid-row: 1; color: #928cff; font: 700 12px ui-monospace, monospace; }.step-visual, .workflow-grid .step-tag, .workflow-grid article > p { display: none; }.workflow-grid h3 { grid-column: 2; grid-row: 1; margin: 0; font-size: 16px; }
  .billing-toggle { width: 100%; margin-top: 22px; }.billing-toggle button { flex: 1; padding-inline: 8px; }.billing-toggle button span { display: block; margin: -3px 0 0; }
  .pricing-heading > p, .price-card > p { display: none; }
  .pricing-grid { gap: 12px; }.price-card { padding: 22px; }.price { min-height: 54px; margin: 18px 0 4px; }.price strong { font-size: 29px; }.price-card .button { margin: 12px 0 16px; }.price-card ul { padding-top: 14px; }.price-card li:nth-child(n+4) { display: none; }
  .storage-addons { padding: 18px; gap: 14px; }.storage-addons p { display: none; }.addon-options { grid-template-columns: 1fr; }.addon-options > div { min-height: 0; display: flex; align-items: center; justify-content: space-between; }.addon-options b { margin: 0; }.addon-options span { text-align: right; }
  .feature-intro { margin-bottom: 26px; }.feature-intro > p { display: none; }.feature-grid { grid-template-columns: 1fr; gap: 9px; }.feature-grid article:nth-child(4), .feature-grid article:nth-child(6), .feature-grid article:nth-child(7) { display: none; }.feature-grid .feature-large { grid-column: auto; display: grid; grid-template-columns: 42px 1fr; align-items: center; gap: 12px; min-height: 0; }.version-demo, .feature-grid p { display: none; }.feature-grid article { min-height: 0; display: grid; grid-template-columns: 42px 1fr; align-items: center; gap: 12px; padding: 17px 18px; }.feature-grid h3, .feature-large h3 { margin: 0; font-size: 16px; }.feature-large .feature-copy { display: contents; }
  .faq-list details:nth-child(n+3) { display: none; }.faq-list summary { min-height: 60px; font-size: 14px; line-height: 1.4; }.faq-list details p { padding-right: 10px; }
  .final-cta { display: none; }
  .site-footer { padding-block: 24px; }.footer-grid { gap: 16px; }.footer-grid p, .footer-links { display: none; }.footer-grid small { margin-left: auto; }
  .mobile-cta-bar {
    position: fixed; z-index: 85; inset: auto 0 0; min-height: 64px; display: grid; grid-template-columns: auto 1fr;
    align-items: center; gap: 12px; padding: 8px 12px calc(8px + var(--safe-b)); border-top: 1px solid var(--line);
    background: rgba(10,11,15,.92); backdrop-filter: blur(18px); box-shadow: 0 -14px 40px rgba(0,0,0,.32);
    transition: transform .2s ease;
  }
  .nav-open .mobile-cta-bar { transform: translateY(110%); }
  .mobile-cta-bar > a:first-child { padding: 10px 4px; color: #b6bac6; font-size: 12px; }
  .mobile-cta-bar .button { min-height: 44px; padding-inline: 12px; font-size: 12.5px; }
}

/* Điện thoại — tinh chỉnh 2026-09-28: sửa ô ngôn ngữ bị cắt chữ, nút menu về sát phải, tiêu đề ngắt
   dòng cân, hiện 1 dòng mô tả cho quy trình/tính năng, bảng giá vuốt ngang, chân trang có đủ link. */
@media (max-width: 640px) {
  .nav-shell { gap: 8px; }
  .nav-actions { margin-left: auto; gap: 8px; }
  .nav-toggle { order: 3; margin-left: 0; margin-right: -8px; }
  .site-nav { background: #111319; }
  .landing-language { width: auto; max-width: 132px; height: 34px; padding: 0 28px 0 10px; font-size: 12px; background-position: right 9px center; }

  h1, .section-heading h2, .center-heading h2, .feature-intro h2, .faq-heading h2 { text-wrap: balance; }
  .eyebrow { text-wrap: balance; }

  .workflow-grid article { align-items: start; row-gap: 4px; }
  .workflow-grid article::before { line-height: 22px; }
  .workflow-grid article > p { display: block; grid-column: 2; grid-row: 2; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.45; }

  .feature-intro, .faq-heading { text-align: center; }
  .feature-grid article, .feature-grid .feature-large { grid-template-columns: 42px 1fr; align-items: start; row-gap: 4px; padding: 17px 18px; }
  .feature-grid .feature-icon { grid-row: span 2; }
  .feature-grid p { display: block; grid-column: 2; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
  .feature-grid h3, .feature-large h3 { align-self: end; }

  /* Bảng giá: vuốt ngang thay vì 3 thẻ xếp chồng dài ~1.700px; thẻ sau ló ra mép phải để gợi ý vuốt */
  .pricing-grid {
    display: flex; gap: 12px; max-width: none; margin: 0 -16px; padding: 14px 16px 6px;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px;
    overscroll-behavior-x: contain; scrollbar-width: none;
  }
  .pricing-grid::-webkit-scrollbar { display: none; }
  .price-card { flex: 0 0 86%; scroll-snap-align: start; }
  .price-card li:nth-child(n+4) { display: list-item; }

  .faq-list details:nth-child(n+3) { display: block; }

  .footer-grid { flex-wrap: wrap; justify-content: space-between; row-gap: 14px; }
  .footer-links { display: flex; flex-wrap: wrap; order: 3; width: 100%; margin: 0; gap: 10px 18px; font-size: 12.5px; }
  .footer-links a[href="#features"], .footer-links a[href="#pricing"], .footer-links a[href="/app"], .footer-links a[download] { display: none; }
}

@media (max-width: 360px) {
  .section-shell { width: calc(100% - 24px); }
  .hero { padding-inline: 10px; }
  h1 { font-size: 38px; }
  .eyebrow { font-size: 9px; letter-spacing: .1em; }
  .price-card { padding: 19px; }
  .billing-toggle button { font-size: 11px; }
  .mobile-cta-bar { gap: 8px; padding-inline: 10px; }
}

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