:root {
  --navy: #16243f;
  --navy-deep: #101a30;
  --teal: #fd6917;
  --teal-dark: #e55a0c;
  --teal-glow: #3a3480;
  --light: #f3f3f3;
  --white: #ffffff;
  --heading: #1a1d2f;
  --body: #4a4f63;
  --soft: #7b8094;
  --on-dark: rgba(255, 255, 255, .73);
  --line: rgba(26, 29, 47, .1);
  --radius: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "DM Sans", system-ui, sans-serif; color: var(--body); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: Montserrat, system-ui, sans-serif; color: var(--heading); margin: 0; line-height: 1.2; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
svg { display: block; }
.wrap { width: min(1180px, 100% - 32px); margin: 0 auto; }
section { scroll-margin-top: 72px; }

/* Nút */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 26px; border-radius: 60px; font-weight: 700; font-size: 16px; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, transform .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-dark); }
.btn-ghost { border-color: var(--teal); color: var(--teal); }
.btn-ghost:hover { background: var(--teal); color: #fff; }
.btn-sm { padding: 8px 20px; font-size: 15px; }

/* Thanh điều hướng */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(22, 36, 63, .94); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; font-family: Montserrat, sans-serif; font-weight: 700; font-size: 21px; }
.logo img { height: 34px; width: auto; display: block; }
.logo-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--teal); display: grid; place-items: center; }
.logo b { color: var(--teal); }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a:not(.btn) { color: var(--teal); font-family: Montserrat, sans-serif; font-size: 15px; }
.nav-links a:not(.btn):hover { color: #fff; }
.menu-btn { display: none; background: none; border: 0; color: #fff; cursor: pointer; padding: 6px; }

/* Đầu trang */
.hero { color: #fff; text-align: center; padding: 88px 0 0; overflow: hidden; background: radial-gradient(circle at 50% 30%, var(--teal-glow) 0%, var(--navy) 55%); }
.hero h1 { color: #fff; font-weight: 300; font-size: clamp(34px, 5.4vw, 60px); }
.hero h1 strong { display: block; font-weight: 700; }
.lead { color: var(--on-dark); font-size: clamp(17px, 1.8vw, 21px); font-weight: 500; max-width: 760px; margin: 22px auto 0; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.hero-note { margin-top: 14px; font-size: 14px; color: rgba(255, 255, 255, .55); }

/* Khung app minh họa */
.mock { margin: 60px auto -1px; width: min(1060px, 100%); border-radius: 16px 16px 0 0; overflow: hidden; background: #171a28; box-shadow: 0 -10px 60px rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .08); border-bottom: 0; text-align: left; }
.mock-top { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; background: #121522; }
.mock-top i { width: 11px; height: 11px; border-radius: 50%; background: #3a3f55; }
.mock-tabs { display: flex; gap: 6px; margin-left: 18px; }
.mock-tab { font-size: 12px; color: rgba(255, 255, 255, .55); padding: 6px 14px; border-radius: 8px 8px 0 0; white-space: nowrap; }
.mock-tab.on { background: #1f2333; color: #fff; }
.mock-body { display: grid; grid-template-columns: 230px 1fr; min-height: 400px; }
.mock-side { background: #1b1e2d; padding: 14px 12px; border-right: 1px solid rgba(255, 255, 255, .06); }
.mock-search { height: 32px; border-radius: 8px; background: #252a3c; margin-bottom: 10px; display: flex; align-items: center; padding: 0 10px; font-size: 12px; color: rgba(255, 255, 255, .4); }
.mock-group { font-size: 10px; letter-spacing: 1px; color: rgba(255, 255, 255, .45); font-weight: 700; margin: 12px 4px 6px; display: flex; justify-content: space-between; }
.mock-shop { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 9px; font-size: 13px; color: rgba(255, 255, 255, .85); }
.mock-shop.on { background: rgba(253, 105, 23, .16); box-shadow: inset 0 0 0 1px rgba(253, 105, 23, .5); }
.mock-shop span { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #fff; flex: none; }
.mock-shop small { display: block; font-size: 10.5px; color: rgba(255, 255, 255, .45); }
.mock-main { background: #1f2333; display: flex; flex-direction: column; }
.mock-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.mock-dots { display: flex; gap: 8px; }
.mock-dots i { width: 16px; height: 16px; border-radius: 4px; background: #2f3449; }
.mock-url { flex: 1; height: 30px; border-radius: 15px; background: #2a2f43; }
.mock-page { flex: 1; padding: 20px 22px; color: #fff; }
.mock-page h4 { color: #fff; font-size: 17px; margin-bottom: 14px; }
.mock-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.mock-card { background: #272c40; border-radius: 10px; padding: 12px; }
.mock-card small { font-size: 11px; color: rgba(255, 255, 255, .5); }
.mock-card b { display: block; font-size: 17px; margin-top: 4px; }
.mock-card em { font-style: normal; font-size: 11px; color: var(--teal); }
.mock-row { display: grid; grid-template-columns: 1.5fr 1fr; gap: 10px; margin-top: 10px; }
.mock-chart { background: #272c40; border-radius: 10px; padding: 14px; display: flex; align-items: flex-end; gap: 7px; height: 160px; }
.mock-chart i { flex: 1; border-radius: 4px 4px 1px 1px; background: rgba(139, 120, 255, .45); }
.mock-chart i:last-child { background: var(--teal); }
.mock-list { background: #272c40; border-radius: 10px; padding: 10px 14px; font-size: 12px; }
.mock-list div { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid rgba(255, 255, 255, .06); color: rgba(255, 255, 255, .8); }
.mock-list div:last-child { border: 0; }

/* Dải nền tảng */
.platforms { padding: 46px 0; text-align: center; border-bottom: 1px solid var(--line); }
.platforms p { font-size: 15px; color: var(--soft); margin-bottom: 18px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.chip { padding: 9px 20px; border-radius: 60px; background: var(--light); font-family: Montserrat, sans-serif; font-weight: 600; font-size: 15px; color: var(--heading); }

/* Khối chung */
.sec { padding: 100px 0; }
.sec-light { background: var(--light); }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 64px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }
.sec-head h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 500; }
.sec-head p { margin-top: 16px; font-size: 18px; }

/* Tính năng xen kẽ */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature + .feature { margin-top: 96px; }
.feature.rev .feature-text { order: 2; }
.feature h3 { font-size: clamp(24px, 2.6vw, 30px); font-weight: 600; margin-bottom: 16px; }
.feature p { font-size: 17px; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--heading); }
.ticks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.art { background: var(--white); border-radius: var(--radius); box-shadow: 0 20px 50px rgba(26, 29, 47, .1); padding: 26px; }

.iso { display: grid; gap: 12px; }
.iso-row { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); }
.iso-row .av { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; color: #fff; font-weight: 700; font-family: Montserrat, sans-serif; flex: none; }
.iso-row b { display: block; color: var(--heading); font-size: 15px; }
.iso-row small { color: var(--soft); font-size: 13px; }
.iso-row .tag { margin-left: auto; font-size: 12px; font-weight: 700; color: var(--teal); background: rgba(253, 105, 23, .12); padding: 5px 10px; border-radius: 30px; white-space: nowrap; }

.tabs-art .bar { display: flex; gap: 6px; background: #eef0f3; padding: 8px 8px 0; border-radius: 12px 12px 0 0; }
.tabs-art .t { background: #e2e5ea; border-radius: 8px 8px 0 0; padding: 8px 14px; font-size: 13px; color: #5b6075; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tabs-art .t.on { background: #fff; color: var(--heading); font-weight: 600; }
.tabs-art .url { border: 1px solid var(--line); border-top: 0; padding: 12px; font-size: 13px; color: var(--soft); border-radius: 0 0 12px 12px; }
.keys { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 18px; }
.key { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 10px; background: var(--light); font-size: 14px; color: var(--heading); }
kbd { font-family: inherit; font-size: 12px; font-weight: 700; background: #fff; border: 1px solid #d6d9e0; border-bottom-width: 2px; border-radius: 6px; padding: 2px 7px; white-space: nowrap; }

.move-art { display: grid; gap: 14px; }
.pc { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 14px; background: var(--light); }
.pc .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--navy); color: #fff; display: grid; place-items: center; flex: none; }
.pc b { display: block; color: var(--heading); }
.pc small { color: var(--soft); }
.arrow { text-align: center; color: var(--teal); font-weight: 700; font-size: 14px; }

/* Lưới thẻ */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: 0 16px 40px rgba(26, 29, 47, .08); transform: translateY(-2px); }
.card .ic { width: 50px; height: 50px; border-radius: 14px; background: rgba(253, 105, 23, .12); display: grid; place-items: center; color: var(--teal); margin-bottom: 20px; }
.card h3 { font-size: 20px; font-weight: 500; margin-bottom: 10px; }
.card p { font-size: 15.5px; }

/* Các bước */
.steps-sec { background: var(--navy); }
.steps-sec .sec-head h2 { color: #fff; }
.steps-sec .sec-head p { color: var(--on-dark); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); border-radius: var(--radius); padding: 32px 28px; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--teal); color: #fff; font-family: Montserrat, sans-serif; font-weight: 700; font-size: 18px; margin-bottom: 20px; }
.step h3 { color: #fff; font-size: 20px; font-weight: 500; margin-bottom: 10px; }
.step p { color: var(--on-dark); font-size: 15.5px; }

/* Bảng giá */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.price { position: relative; background: var(--white); border-radius: var(--radius); padding: 36px 30px; border: 1px solid var(--line); display: flex; flex-direction: column; }
.price.best { border: 2px solid var(--teal); box-shadow: 0 20px 50px rgba(253, 105, 23, .18); }
.badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--teal); color: #fff; font-size: 13px; font-weight: 700; padding: 5px 14px; border-radius: 60px; white-space: nowrap; }
.price h3 { font-size: 22px; font-weight: 600; }
.price .sub { font-size: 15px; color: var(--soft); margin-top: 6px; min-height: 48px; }
.amount { font-family: Montserrat, sans-serif; color: var(--heading); font-size: 40px; font-weight: 700; margin: 18px 0 4px; }
.amount small { font-size: 16px; font-weight: 500; color: var(--soft); }
.per { font-size: 14px; color: var(--teal); font-weight: 700; min-height: 22px; }
.price .ticks { margin: 22px 0 30px; flex: 1; }
.price .ticks li { font-size: 15px; }
.price .btn { width: 100%; }
.pay-note { text-align: center; margin-top: 30px; font-size: 15px; color: var(--soft); }

/* Hỏi đáp */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
details { background: var(--white); border-radius: 14px; border: 1px solid var(--line); padding: 0 24px; }
summary { list-style: none; cursor: pointer; padding: 22px 0; font-family: Montserrat, sans-serif; font-weight: 600; color: var(--heading); font-size: 17px; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--teal); font-size: 24px; line-height: 1; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 0 22px; font-size: 16px; }

/* Kêu gọi cuối trang */
.final { background: var(--navy); text-align: center; padding: 110px 0; background-image: radial-gradient(circle at 50% 100%, var(--teal-glow), transparent 60%); }
.final h2 { color: #fff; font-size: clamp(30px, 4.6vw, 56px); font-weight: 400; max-width: 900px; margin: 0 auto; }
.final p { color: var(--on-dark); font-size: 19px; margin: 20px auto 36px; max-width: 640px; }

/* Chân trang */
footer { background: var(--navy-deep); color: rgba(255, 255, 255, .6); padding: 56px 0 30px; font-size: 15px; }
.foot { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.foot h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.foot a { display: block; margin-bottom: 9px; }
.foot a:hover { color: var(--teal); }
.foot .logo { margin-bottom: 14px; }
.copy { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 40px; padding-top: 22px; font-size: 14px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* Cho phép nội dung trong lưới co lại, tránh tràn ngang trên màn hình nhỏ */
.feature > *, .grid > *, .pricing > *, .steps > *, .foot > *, .mock-body > * { min-width: 0; }

@media (max-width: 960px) {
  .feature, .feature.rev { grid-template-columns: 1fr; gap: 36px; }
  .feature.rev .feature-text { order: 0; }
  .grid, .pricing, .steps { grid-template-columns: 1fr 1fr; }
  .mock-body { grid-template-columns: 190px 1fr; }
  .mock-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--navy); padding: 10px 16px 20px; }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 12px 0; width: 100%; }
  .nav-links .btn { margin-top: 10px; width: 100%; }
  .menu-btn { display: block; }
  .hero { padding-top: 60px; }
  .sec { padding: 72px 0; }
  .grid, .pricing, .steps, .foot { grid-template-columns: 1fr; }
  .mock-body { grid-template-columns: 1fr; min-height: 0; }
  .mock-side { display: none; }
  .mock-row, .keys { grid-template-columns: 1fr; }
  .mock-tab:not(.on) { display: none; }
  .pricing { gap: 30px; }
  .btn { white-space: normal; text-align: center; }
  .hero-ctas .btn { width: 100%; }
  .art { padding: 18px; }
  .iso-row .tag { display: none; }
  .key { flex-wrap: wrap; }
}
