/* Website giới thiệu dashshipvietnam.com — màu thương hiệu lấy theo logo (#e8490f). */
:root {
  --brand: #e8490f;
  --brand-dark: #c53d0a;
  --brand-soft: #fff1ea;
  --ink: #1d1d1f;
  --text: #3a3a3c;
  --muted: #6e6e73;
  --line: #ececf0;
  --bg: #ffffff;
  --bg-soft: #f7f7f9;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(29, 29, 31, .07);
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { color: var(--ink); line-height: 1.25; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -.01em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 1.15rem; }
.brand:hover { text-decoration: none; }
.brand img { width: 38px; height: 38px; border-radius: 10px; }
.brand span b { color: var(--brand); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--text); font-weight: 500; padding: 8px 12px; border-radius: 10px; }
.nav a:hover, .nav a.active { color: var(--brand); background: var(--brand-soft); text-decoration: none; }
.nav .btn { margin-left: 8px; }
.menu-toggle { display: none; }
.menu-toggle svg { width: 22px; height: 22px; display: block; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 12px; font-weight: 600; border: 1px solid transparent;
  cursor: pointer; transition: background .15s, transform .15s; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.store-btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 12px;
  background: var(--ink); color: #fff; min-width: 180px;
}
.store-btn:hover { text-decoration: none; background: #000; }
.store-btn svg { width: 26px; height: 26px; flex: none; }
.store-btn small { display: block; font-size: .7rem; opacity: .8; line-height: 1.2; }
.store-btn strong { display: block; font-size: 1rem; line-height: 1.2; }
.store-btn.disabled { background: #b8b8bd; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, #ffe2d3 0%, transparent 60%), var(--bg); padding: 72px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-block; background: var(--brand-soft); color: var(--brand); font-weight: 600;
  font-size: .85rem; padding: 6px 12px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 em { font-style: normal; color: var(--brand); }
.hero .lead { font-size: 1.15rem; color: var(--muted); max-width: 540px; margin-bottom: 28px; }
.hero-visual { display: flex; justify-content: center; }
.phone {
  width: 280px; border-radius: 40px; background: #111; padding: 12px; box-shadow: 0 30px 60px rgba(232, 73, 15, .25);
}
.phone-screen { background: var(--bg-soft); border-radius: 30px; padding: 22px 16px; min-height: 520px; }
.phone-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.phone-head img { width: 36px; height: 36px; border-radius: 10px; }
.phone-head b { color: var(--ink); }
.phone-search { background: #fff; border-radius: 12px; padding: 10px 12px; color: var(--muted); font-size: .85rem; margin-bottom: 16px; box-shadow: var(--shadow); }
.phone-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.phone-grid div { background: #fff; border-radius: 14px; padding: 12px 4px; text-align: center; font-size: .72rem; color: var(--ink); font-weight: 600; }
.phone-grid svg { width: 26px; height: 26px; margin: 0 auto 6px; display: block; color: var(--brand); }
.phone-banner { margin-top: 16px; background: linear-gradient(135deg, var(--brand), #ff8a3d); color: #fff; border-radius: 16px; padding: 16px; font-size: .85rem; }
.phone-banner b { display: block; font-size: 1rem; }

/* Sections */
.section { padding: 72px 0; }
.section.soft { background: var(--bg-soft); }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card p { color: var(--muted); margin: 0; }
.icon-badge {
  width: 48px; height: 48px; border-radius: 14px; background: var(--brand-soft); color: var(--brand);
  display: grid; place-items: center; margin-bottom: 14px;
}
.icon-badge svg { width: 24px; height: 24px; }

.app-card { display: flex; flex-direction: column; gap: 14px; }
.app-card .app-top { display: flex; align-items: center; gap: 14px; }
.app-card .app-top img { width: 56px; height: 56px; border-radius: 14px; }
.app-card .app-top small { display: block; color: var(--muted); }
.app-card ul { margin: 0; padding-left: 1.1rem; color: var(--text); }
.app-card li { margin-bottom: 4px; }
.app-card .btn-row { margin-top: auto; }
.app-card .store-btn { min-width: 0; flex: 1 1 150px; }
.link-more { font-weight: 600; }

.steps { counter-reset: step; }
.steps .card { position: relative; padding-top: 56px; }
.steps .card::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 20px; left: 24px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: .9rem;
}

.cta {
  background: linear-gradient(135deg, var(--brand), #ff7a2e); color: #fff; border-radius: 24px;
  padding: clamp(28px, 5vw, 48px); display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
.cta h2, .cta h3 { color: #fff; }
.cta p { color: rgba(255, 255, 255, .9); }
.cta .btn-ghost { border-color: transparent; }

/* Content pages */
.page-hero { background: var(--bg-soft); padding: 48px 0 32px; border-bottom: 1px solid var(--line); }
.page-hero p { color: var(--muted); max-width: 680px; margin: 0; }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 12px; }
.crumbs a { color: var(--muted); }
.prose { max-width: 780px; padding: 40px 16px 72px; margin: 0 auto; word-break: break-word; }
.prose h2 { font-size: 1.35rem; margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .4em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0; display: block; overflow-x: auto; }
.prose td, .prose th { border: 1px solid var(--line); padding: .55rem .7rem; text-align: left; vertical-align: top; }
.prose .ql-align-center { text-align: center; }
.prose .ql-align-right { text-align: right; }
.prose .ql-align-justify { text-align: justify; }
.meta { color: var(--muted); font-size: .9rem; margin-top: 10px; }
.list-cards { padding: 40px 0 72px; }
.list-cards .card { display: block; color: inherit; transition: border-color .15s, box-shadow .15s; }
.list-cards .card:hover { text-decoration: none; border-color: var(--brand); box-shadow: var(--shadow); }
.list-cards .card h3 { margin-bottom: .3em; }
.empty { color: var(--muted); padding: 24px 0; }

/* Download page */
.download-card { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.download-card.recommended { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.qr { width: 132px; text-align: center; font-size: .75rem; color: var(--muted); }
.qr canvas, .qr img { width: 120px !important; height: 120px !important; margin: 0 auto 6px; }
.apk-meta { font-size: .85rem; color: var(--muted); margin-top: 8px; }
.note {
  background: #fff8e6; border-left: 4px solid #f0b429; border-radius: 10px; padding: 14px 16px; margin: 16px 0;
}
.how-install { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.how-install ol { padding-left: 1.2rem; margin: 0; }
.how-install li { margin-bottom: 6px; }

/* Footer */
.site-footer { background: #151517; color: #c7c7cc; padding: 56px 0 28px; font-size: .92rem; }
.site-footer a { color: #e5e5ea; }
.site-footer h4 { color: #fff; margin: 0 0 12px; font-size: 1rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-company p { margin: 0 0 6px; }
.footer-bottom { border-top: 1px solid #2c2c2e; margin-top: 36px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; }
.bct img { height: 44px; width: auto; }

/* Responsive */
@media (max-width: 960px) {
  .hero .wrap, .cta, .how-install { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding-top: 48px; }
}
@media (max-width: 760px) {
  .menu-toggle {
    display: inline-flex; margin-left: auto; background: none; border: 1px solid var(--line);
    border-radius: 10px; padding: 8px; cursor: pointer; color: var(--ink);
  }
  .nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff;
    flex-direction: column; align-items: stretch; padding: 12px 16px 20px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav .btn { margin: 8px 0 0; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .download-card { grid-template-columns: 1fr; }
  .qr { display: none; }
  .section { padding: 56px 0; }
  .phone { width: 250px; }
  .phone-screen { min-height: 460px; }
}
