:root {
  --blue: #0066b3;
  --blue-dark: #004e91;
  --sky: #eef8ff;
  --red: #ed1c24;
  --ink: #17202a;
  --muted: #68727d;
  --shadow: 0 14px 34px rgba(8, 60, 104, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.narrow { max-width: 790px; }
.centered { text-align: center; }
.section { padding: 108px 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.97);
  box-shadow: 0 3px 16px rgba(19,60,92,.08);
  backdrop-filter: blur(14px);
}
.header-inner { height: 78px; display: flex; align-items: center; gap: 28px; }
.brand { margin-right: auto; }
.brand img { width: 126px; height: auto; }
.desktop-nav { display: flex; align-items: center; height: 100%; }
.desktop-nav a { position: relative; padding: 28px 15px; font-size: 15px; font-weight: 600; color: #424a53; }
.desktop-nav a:hover, .desktop-nav a.active { color: var(--red); }
.desktop-nav a.active::after { content: ""; position: absolute; left: 15px; right: 15px; bottom: 0; height: 3px; background: var(--red); border-radius: 3px 3px 0 0; }
.desktop-nav span { font-size: 13px; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.icon-button, .menu-button { border: 0; background: transparent; color: var(--blue); padding: 8px; cursor: pointer; }
.icon-button svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.divider { width: 1px; height: 26px; background: #dfe6eb; }
.flag { width: 23px; }
.menu-button { display: none; width: 42px; }
.menu-button span { display: block; height: 2px; background: var(--blue); margin: 5px 0; transition: .25s; }
.mobile-nav { display: none; }

.search-panel { position: fixed; inset: 0; z-index: 100; display: none; align-items: flex-start; justify-content: center; padding-top: 140px; background: rgba(2,21,38,.68); }
.search-panel.open { display: flex; }
.search-box { width: min(680px, calc(100% - 32px)); position: relative; background: #fff; border-radius: 18px; padding: 22px; box-shadow: 0 22px 80px rgba(0,0,0,.24); }
.search-box input { width: 100%; height: 58px; border: 1px solid #d9e4ec; border-radius: 12px; padding: 0 54px 0 20px; outline: none; font-size: 17px; }
.search-box input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,102,179,.1); }
.search-box > button { position: absolute; right: 35px; top: 29px; border: 0; background: none; font-size: 31px; color: #7d8790; cursor: pointer; }
.search-results { display: grid; gap: 8px; margin-top: 12px; max-height: 340px; overflow: auto; }
.search-results a { padding: 13px 15px; border-radius: 10px; background: #f5f9fc; color: var(--blue-dark); font-weight: 600; }
.search-results a:hover { background: #e8f4fc; }

.hero { position: relative; overflow: hidden; background: #d51022; aspect-ratio: 1903/734; min-height: 430px; }
.slides, .slide { position: absolute; inset: 0; }
.slide { opacity: 0; transition: opacity .7s ease; }
.slide.active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide.active img { animation: heroZoom 5.5s ease-out both; }
.hero-top { position: relative; z-index: 3; padding-top: 24px; }
.breadcrumb { color: #fff; font-size: 14px; display: flex; gap: 14px; text-shadow: 0 1px 2px rgba(0,0,0,.15); }
.breadcrumb a:hover { text-decoration: underline; }
.hero-arrow { position: absolute; z-index: 4; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--red); font-size: 34px; line-height: 1; cursor: pointer; box-shadow: 0 4px 18px rgba(0,0,0,.12); }
.hero-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.hero-arrow.prev { left: 28px; }
.hero-arrow.next { right: 28px; }
.dots { position: absolute; z-index: 4; bottom: 28px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; }
.dots button { width: 34px; height: 4px; border: 0; border-radius: 6px; padding: 0; background: rgba(255,255,255,.45); cursor: pointer; }
.dots button.active { background: #fff; }

.section-title { margin: 0 auto 20px; max-width: 720px; color: var(--blue); font-size: clamp(30px, 3.2vw, 46px); line-height: 1.15; font-weight: 750; }
.section-title span, .content h2 span, .bills h2 span, .download h2 span { color: var(--red); }
.section-lead { margin: 0 auto; color: var(--muted); line-height: 1.65; font-size: 16px; }
.service-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 50px; }
.service-card { position: relative; overflow: hidden; min-height: 175px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 18px; padding: 22px 12px; background: #fff; border: 1px solid #edf1f4; box-shadow: 0 10px 26px rgba(31,69,96,.07); transition: .25s ease; }
.service-card:hover { transform: translateY(-7px); border-color: #b9e0fa; box-shadow: var(--shadow); }
.service-card:focus-visible, .promo-card:focus-visible, .interactive-benefit:focus-visible { outline: 3px solid rgba(0,132,210,.28); outline-offset: 3px; }
.service-card img { width: 62px; height: 62px; object-fit: contain; }
.service-card span { font-size: 14px; font-weight: 600; text-align: center; }
.service-card:hover img { transform: scale(1.09) rotate(-3deg); }
.service-card img { transition: transform .25s ease; }

.payment { padding-top: 42px; }
.two-column { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 70px; }
.visual img { width: 100%; }
.content .mini-logo { width: 130px; margin-bottom: 18px; }
.content .vnshop-logo { width: 150px; }
.content h2, .bills h2 { margin: 0 0 18px; color: var(--blue); font-size: clamp(34px, 4vw, 54px); line-height: 1.13; }
.content > p, .bills-copy > p { margin: 0 0 28px; color: var(--muted); font-size: 16px; line-height: 1.65; }
.benefit-list { display: grid; gap: 13px; margin: 26px 0; }
.benefit-list div { position: relative; overflow: hidden; min-height: 72px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px; padding: 16px 20px; background: #fff; box-shadow: 0 8px 24px rgba(26,71,103,.1); transition: .28s ease; }
.benefit-list img { width: 38px; height: 38px; object-fit: contain; }
.benefit-list strong { font-size: 15px; line-height: 1.4; }
.interactive-benefit { cursor: pointer; }
.interactive-benefit::after { content: attr(data-detail); flex-basis: 100%; max-height: 0; margin-left: 56px; color: var(--muted); font-size: 13px; line-height: 1.5; opacity: 0; transform: translateY(-5px); transition: .28s ease; }
.interactive-benefit.selected { border-left: 4px solid var(--red); background: linear-gradient(100deg, #fff, #f4faff); transform: translateX(5px); }
.interactive-benefit.selected::after { max-height: 70px; margin-top: -7px; opacity: 1; transform: none; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 700; margin-top: 10px; }
.text-link span { font-size: 22px; transition: transform .2s; }
.text-link:hover span { transform: translateX(4px); }

.bills { position: relative; overflow: hidden; background: #edf8ff; padding-top: 105px; }
.bills-copy { position: relative; z-index: 2; }
.bills h2 { font-size: clamp(31px, 3.6vw, 48px); }
.pill-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 28px auto 18px; max-width: 820px; }
.pill-list span { padding: 10px 18px; border-radius: 30px; color: #fff; background: linear-gradient(110deg, #0075c9, #00a4e6); font-size: 14px; font-weight: 700; box-shadow: 0 5px 14px rgba(0,123,202,.14); }
.bill-visual { width: 100%; margin-top: 48px; }

.vnshop { padding-bottom: 78px; }
.vnshop .two-column { grid-template-columns: 1fr .9fr; }
.compact div { min-height: 66px; }
.partners { padding-top: 24px; }
.simple-title { text-align: center; color: var(--blue); font-size: 28px; margin: 0 0 45px; }
.partner-grid { display: grid; grid-template-columns: repeat(6, 1fr); align-items: center; gap: 44px 48px; }
.partner-grid img { max-width: 118px; max-height: 50px; margin: auto; object-fit: contain; filter: saturate(.95); transition: .25s; }
.partner-grid img:hover { transform: scale(1.08); filter: saturate(1.15); }

.promotions { background: #fbfdff; text-align: center; }
.promotions .section-title { max-width: 650px; }
.promo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; margin-top: 48px; text-align: left; }
.promo-card { position: relative; overflow: hidden; background: #fff; box-shadow: 0 10px 32px rgba(12,58,91,.12); transition: transform .25s, box-shadow .25s; cursor: pointer; }
.promo-card:hover { transform: translateY(-7px); }
.promo-card::after { content: "Xem chi tiết  →"; position: absolute; inset: auto 0 0; padding: 13px 20px; color: #fff; background: linear-gradient(90deg, rgba(0,85,153,.96), rgba(0,146,213,.96)); font-size: 13px; font-weight: 750; transform: translateY(100%); transition: transform .25s; }
.promo-card:hover::after, .promo-card:focus-visible::after { transform: translateY(0); }
.promo-card > img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.promo-body { padding: 20px 20px 22px; }
.eyebrow { color: var(--red); font-size: 12px; font-weight: 800; }
.promo-body h3 { min-height: 64px; margin: 10px 0 18px; font-size: 16px; line-height: 1.42; }
.promo-body time { color: #8a939b; font-size: 12px; }
.primary-button { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 12px; margin-top: 42px; padding: 15px 34px; color: #fff; background: linear-gradient(100deg, #0067b4, #0089d2); box-shadow: 0 8px 20px rgba(0,103,180,.22); font-weight: 700; transition: .2s; }
.primary-button:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0,103,180,.28); }

.download { position: relative; min-height: 390px; overflow: hidden; background: #e9f7ff; }
.download > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.download-copy { position: relative; z-index: 1; padding-top: 100px; }
.download-copy p { margin: 0 0 2px; color: var(--blue); font-size: 24px; }
.download-copy h2 { margin: 0; color: var(--blue); font-size: clamp(34px, 4vw, 52px); line-height: 1.12; }
.store-links { display: flex; gap: 12px; margin-top: 24px; }
.store-links img { height: 42px; width: auto; }

footer { background: #075184; color: #d9edf9; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1.2fr 1fr; gap: 54px; padding: 72px 0 58px; }
.footer-grid h3 { color: #fff; font-size: 17px; margin: 0 0 22px; }
.footer-grid > div:not(.company) > a { display: block; padding: 7px 0; color: #d9edf9; font-size: 14px; }
.footer-grid a:hover { color: #fff; text-decoration: underline; }
.company > img { width: 150px; filter: brightness(0) invert(1); margin-bottom: 22px; }
.company p { font-size: 13px; line-height: 1.6; margin: 7px 0; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 36px; height: 36px; display: grid; place-items: center; background: #fff; border-radius: 50%; }
.socials img { width: 20px; height: 20px; }
.footer-stores { display: grid; gap: 10px; }
.footer-stores img { width: 140px; }
.copyright { padding: 18px 20px; text-align: center; background: #053f68; font-size: 13px; }
.back-to-top { position: fixed; z-index: 30; right: 24px; bottom: 24px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--red); color: #fff; font-size: 22px; box-shadow: 0 8px 22px rgba(120,0,0,.22); cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(10px); transition: .25s; }
.back-to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }

.reveal { opacity: 1; transform: none; transition: transform .35s ease; }
.reveal.visible { animation: riseIn .65s ease both; }

.ripple { position: absolute; z-index: 5; width: 14px; height: 14px; border-radius: 50%; pointer-events: none; background: rgba(0,129,202,.2); transform: translate(-50%,-50%) scale(0); animation: ripple .6s ease-out forwards; }

.detail-modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 20px; background: rgba(3,25,43,.7); opacity: 0; visibility: hidden; transition: .25s ease; }
.detail-modal.open { opacity: 1; visibility: visible; }
.detail-dialog { position: relative; width: min(560px, 100%); max-height: min(760px, calc(100vh - 40px)); overflow: auto; padding: 38px; border-radius: 24px; background: #fff; box-shadow: 0 25px 90px rgba(0,0,0,.3); transform: translateY(24px) scale(.97); transition: .3s ease; }
.detail-modal.open .detail-dialog { transform: none; }
.modal-close { position: absolute; right: 18px; top: 14px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: #edf5fa; color: #65737d; font-size: 27px; line-height: 1; cursor: pointer; }
.modal-close:hover { color: var(--red); background: #fff0f1; }
.modal-icon-wrap { width: 74px; height: 74px; display: grid; place-items: center; margin-bottom: 20px; border-radius: 20px; background: linear-gradient(145deg, #eff9ff, #dff1ff); }
.modal-icon-wrap img { width: 48px; height: 48px; object-fit: contain; }
.modal-tag { color: var(--red); font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.detail-dialog h2 { margin: 8px 0 12px; color: var(--blue); font-size: 32px; line-height: 1.2; }
.detail-dialog > p { margin: 0 0 20px; color: var(--muted); line-height: 1.65; }
.detail-dialog ul { display: grid; gap: 10px; margin: 0 0 25px; padding: 0; list-style: none; }
.detail-dialog li { position: relative; padding: 11px 14px 11px 38px; border-radius: 11px; background: #f3f9fd; color: #29485f; font-size: 14px; }
.detail-dialog li::before { content: "✓"; position: absolute; left: 14px; color: #00a0d9; font-weight: 800; }
.modal-action { position: relative; overflow: hidden; width: 100%; border: 0; border-radius: 12px; padding: 15px 20px; color: #fff; background: linear-gradient(105deg, #0065ad, #00a0dc); font-weight: 750; cursor: pointer; box-shadow: 0 8px 20px rgba(0,103,180,.2); }
.modal-action span { display: inline-block; margin-left: 8px; transition: transform .2s; }
.modal-action:hover span { transform: translateX(4px); }

@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.018); } }
@keyframes riseIn { from { opacity: .15; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes ripple { to { transform: translate(-50%,-50%) scale(22); opacity: 0; } }

@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .menu-button { display: block; }
  .mobile-nav { display: grid; max-height: 0; overflow: hidden; padding: 0 24px; background: #fff; transition: max-height .3s, padding .3s; }
  .mobile-nav.open { max-height: 380px; padding: 8px 24px 20px; border-top: 1px solid #edf1f4; }
  .mobile-nav a { padding: 13px 0; border-bottom: 1px solid #edf1f4; font-weight: 650; }
  .hero { aspect-ratio: 1903/734; min-height: 390px; }
  .section { padding: 82px 0; }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .two-column, .vnshop .two-column { grid-template-columns: 1fr; gap: 38px; }
  .payment .visual, .vnshop .visual { max-width: 650px; margin: auto; }
  .payment .content, .vnshop .content { max-width: 700px; margin: auto; }
  .partner-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-stores { display: flex; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 30px, 1180px); }
  .header-inner { height: 66px; gap: 10px; }
  .brand img { width: 106px; }
  .divider { display: none; }
  .hero { aspect-ratio: 1/1; min-height: auto; }
  .hero-top { padding-top: 15px; }
  .breadcrumb { font-size: 11px; gap: 7px; }
  .hero-arrow { width: 36px; height: 36px; font-size: 28px; }
  .hero-arrow.prev { left: 10px; }
  .hero-arrow.next { right: 10px; }
  .dots { bottom: 14px; gap: 6px; }
  .dots button { width: 22px; height: 3px; }
  .section { padding: 64px 0; }
  .section-title { font-size: 30px; }
  .section-lead { font-size: 14px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 36px; }
  .service-card { min-height: 145px; }
  .service-card img { width: 54px; height: 54px; }
  .payment { padding-top: 10px; }
  .content h2, .bills h2 { font-size: 34px; }
  .content > p, .bills-copy > p { font-size: 14px; }
  .benefit-list div { padding: 14px; min-height: 64px; }
  .benefit-list img { width: 32px; height: 32px; }
  .benefit-list strong { font-size: 13px; }
  .bills { padding-top: 64px; }
  .pill-list span { font-size: 12px; padding: 8px 12px; }
  .bill-visual { width: 130%; max-width: none; margin-left: -15%; margin-top: 36px; }
  .partner-grid { grid-template-columns: repeat(3, 1fr); gap: 30px 18px; }
  .promo-grid { grid-template-columns: 1fr; gap: 20px; }
  .promo-body h3 { min-height: auto; }
  .download { min-height: 480px; }
  .download > img { object-position: 64% center; opacity: .52; }
  .download-copy { padding-top: 58px; }
  .download-copy p { font-size: 19px; }
  .download-copy h2 { font-size: 36px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; padding: 54px 0; }
  .footer-grid > div:last-child { grid-column: auto; }
  .back-to-top { right: 14px; bottom: 14px; }
  .detail-dialog { padding: 30px 22px 24px; border-radius: 20px; }
  .detail-dialog h2 { font-size: 27px; }
  .interactive-benefit::after { margin-left: 0; }
}

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