/* Trang giới thiệu Lịch Việt Nam. Dùng chung hệ thiết kế NASOFT (site.css). */

/* Đầu trang: biểu tượng app + tên */
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.brand b { display: block; font-size: 18px; font-weight: 800; letter-spacing: -.01em; line-height: 1.1; }
.brand small { display: block; font-size: 12px; color: var(--ink-3); font-weight: 600; letter-spacing: .02em; }
@media (max-width: 400px) { .brand small { display: none; } .brand img { width: 32px; height: 32px; } .brand b { font-size: 16px; } }

/* Khung điện thoại */
.phone { border-radius: 36px; padding: 8px; background: #0a1b2d; box-shadow: 0 40px 80px var(--shadow), 0 0 0 1px var(--line); }
.phone img { width: 100%; border-radius: 29px; }

/* Mở đầu */
.hero { background: var(--hero-bg); color: var(--hero-ink); position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -10%; bottom: -40%; width: 60%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(46, 158, 91, .22), transparent); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; padding-top: 88px; padding-bottom: 96px; }
.hero h1 { color: var(--hero-ink); font-size: clamp(38px, 5vw, 64px); }
.hero h1 span { display: block; white-space: nowrap; }
.hero .lead { color: var(--hero-ink-2); margin: 24px 0 36px; }
.hero .facts { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--hero-line); font-size: 15px; color: var(--hero-ink-2); }
.hero .facts span { display: inline-flex; align-items: center; gap: 8px; }
.hero .facts .i { width: 18px; height: 18px; stroke-width: 2.2; color: var(--hero-check); }
.duo { position: relative; display: flex; justify-content: center; gap: 24px; }
.duo .phone { width: 44%; max-width: 236px; }
.duo .phone:nth-child(2) { transform: translateY(48px); }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 88px; gap: 40px; }
  .duo { max-width: 520px; }
}
@media (max-width: 420px) { .hero h1 { font-size: 34px; } .duo { gap: 14px; } .phone { border-radius: 26px; padding: 5px; } .phone img { border-radius: 22px; } }

/* Mục */
.section { padding: 112px 0; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 56px; }
.section-head .lead { justify-self: end; }
@media (max-width: 900px) { .section { padding: 72px 0; } .section-head { grid-template-columns: 1fr; gap: 14px; margin-bottom: 36px; } .section-head .lead { justify-self: start; } }

/* Tính năng: danh sách bên trái, màn hình tương ứng bên phải */
.tour { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; }
.feats { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.feats li { border-bottom: 1px solid var(--line); }
.feats button { all: unset; box-sizing: border-box; width: 100%; cursor: pointer; display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 20px 16px 20px 0; border-radius: var(--r-sm); }
.feats button:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.feats .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); transition: background .2s, color .2s; }
.feats .ic .i { width: 22px; height: 22px; }
.feats b { display: block; font-size: 19px; font-weight: 700; line-height: 1.35; }
.feats span.t { display: block; color: var(--ink-2); font-size: 16px; margin-top: 4px; }
.feats button[aria-selected="true"] .ic { background: var(--green); color: #fff; }
.feats button[aria-selected="false"] b { color: var(--ink-2); }
.feats button:hover b { color: var(--ink); }
.viewer { position: relative; display: grid; place-items: center; padding: 48px 24px; border-radius: var(--r-lg); background: var(--shots-a); }
.viewer .phone { width: 72%; max-width: 300px; }
.viewer img { transition: opacity .25s; }
.viewer .cap { position: absolute; left: 24px; bottom: 18px; font-size: 14px; color: var(--ink-3); }
@media (prefers-reduced-motion: reduce) { .viewer img { transition: none; } }
@media (max-width: 900px) {
  .tour { grid-template-columns: 1fr; gap: 32px; }
  .viewer { order: -1; padding: 32px 16px; }
  .viewer .phone { width: 62%; }
}

/* Gói Nâng cao */
.premium { --band-bg: #0f2a44; --band-ink: #ffffff; --band-ink-2: rgba(255, 255, 255, .74); --band-line: rgba(255, 255, 255, .24); background: var(--band-bg); color: var(--band-ink); border-radius: var(--r-lg); display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 64px; overflow: hidden; position: relative; }
.premium .tag { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: #ffb47d; margin-bottom: 14px; }
.premium .tag .i { width: 18px; height: 18px; }
.premium .h2 { color: var(--band-ink); }
.premium .lead { color: var(--band-ink-2); margin: 16px 0 24px; font-size: 18px; }
.premium ul { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 12px; }
.premium li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 16px; }
.premium li .i { width: 20px; height: 20px; margin-top: 3px; stroke-width: 2.2; color: #6fd39a; }
.premium .note { font-size: 14px; color: var(--band-ink-2); margin: 20px 0 0; }
.premium .note a { color: var(--band-ink); }
.premium .duo .phone { box-shadow: 0 30px 60px rgba(0, 0, 0, .3); }
.premium .btn-quiet { background: transparent; color: var(--band-ink); box-shadow: inset 0 0 0 1px var(--band-line); }
.premium .btn-light { background: #fff; color: #0f2a44; }
.premium .btn-light:hover { background: #f1f5f2; }
@media (max-width: 900px) { .premium { grid-template-columns: 1fr; padding: 40px 24px; } }

/* Nơi dùng */
.where { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.where > div { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); border-radius: var(--r-md); padding: 28px; display: flex; flex-direction: column; }
.where .i { width: 30px; height: 30px; color: var(--accent-ink); margin-bottom: 18px; }
.where h3 { margin: 0 0 4px; font-size: 21px; }
.where .st { font-size: 14px; font-weight: 700; color: var(--tag-ink); margin: 0 0 12px; }
.where .st.ok { color: var(--accent-ink); }
.where p { color: var(--ink-2); font-size: 16px; margin: 0 0 20px; flex: 1; }
.where .btn { align-self: flex-start; height: 46px; padding: 0 20px; font-size: 15px; }
@media (max-width: 900px) { .where { grid-template-columns: 1fr; } }

/* Hỗ trợ ngắn */
.help { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.help dl { margin: 0; border-top: 1px solid var(--line); }
.help dl div { padding: 20px 0; border-bottom: 1px solid var(--line); }
.help dt { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; }
.help dt .i { color: var(--accent-ink); }
.help dd { margin: 6px 0 0 30px; color: var(--ink-2); font-size: 16px; }
.help .lead { margin: 16px 0 28px; }
@media (max-width: 900px) { .help { grid-template-columns: 1fr; gap: 28px; } }

/* Trang văn bản (Hỗ trợ, Chính sách) */
.doc-head { background: var(--panel-bg); color: var(--hero-ink); padding: 72px 0 64px; }
.doc-head .h2 { color: var(--hero-ink); font-size: clamp(32px, 4.4vw, 52px); }
.doc-head p { color: var(--hero-ink-2); margin: 16px 0 0; max-width: 40em; font-size: 17px; }
.doc-head .eff { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font-size: 15px; color: var(--hero-ink-2); }
.doc { max-width: 760px; margin: 0 auto; padding: 56px 24px 104px; }
.doc h2 { display: flex; align-items: center; gap: 12px; font-size: 23px; letter-spacing: -.01em; margin: 44px 0 12px; }
.doc h2 .i { width: 22px; height: 22px; color: var(--accent-ink); }
.doc p, .doc li { color: var(--ink-2); }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 8px; }
.doc li::marker { color: var(--accent-ink); }
.doc a { color: var(--accent-ink); text-underline-offset: 3px; }
.doc strong, .doc b { color: var(--ink); }
.doc .mail { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; }

/* Dải Nâng cao ở giao diện tối: tách khỏi nền trang bằng viền */
:root[data-mode="dark"] .premium { --band-bg: #0a1b2d; box-shadow: inset 0 0 0 1px var(--line); }
.premium::after { content: ""; position: absolute; right: -15%; top: -30%; width: 60%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(46, 158, 91, .22), transparent); pointer-events: none; }
.premium > * { position: relative; z-index: 1; }
