/* =========================================================
   Shared by light pages (bang-gia, dich-vu): light header,
   hand-written notes and the CSS device mockups drawn by mockups.js
   ========================================================= */

body.page-light { background: #fff; --ink-2: #0b1f3a; --soft: #f4f8fd; --line-2: #e3eaf5; }

/* ---------- Light header ---------- */
.page-light .header {
  color: var(--ink-2);
  background: rgba(255,255,255,.88);
  border-bottom: 1px solid rgba(150,181,225,.28);
  backdrop-filter: blur(16px);
}
.page-light .header.scrolled { background: rgba(255,255,255,.96); box-shadow: 0 8px 30px rgba(12,52,96,.08); }
.page-light .nav a { opacity: .85; }
.page-light .nav a.active { color: var(--blue); opacity: 1; }
.page-light .nav a::after { background: var(--blue); }
.page-light .header .brand-text { color: #0b2a5b; }
.page-light .icon-btn { border-color: #d5e0ea; background: #fff; color: var(--ink-2); }
.page-light .icon-btn:hover { background: #f1f6fb; }

/* ---------- Shared bits ---------- */
.play-dot.light { border-color: #bcd0e6; color: var(--blue); }
.page-light .outline-dark { border-color: #b9cadb; background: rgba(255,255,255,.6); }
.hand-note {
  position: absolute; z-index: 4;
  font-family: var(--script); font-size: 23px; line-height: 1.12; color: #0a6cff;
  transform: rotate(-7deg); pointer-events: none;
}
.hand-note.light { color: #fff; }
.hand-arrow { display: block; width: 64px; height: 40px; margin-top: 4px; }

/* ---------- Device mockups (rendered by pricing.js) ---------- */
.dv-stage { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.dv { position: absolute; filter: drop-shadow(0 22px 26px rgba(9,40,80,.28)); }
.dv-screen { position: relative; overflow: hidden; background: #fff; container-type: inline-size; }
.dv-laptop .dv-screen { aspect-ratio: 16 / 10; border: 8px solid #0e1620; border-bottom-width: 12px; border-radius: 12px 12px 3px 3px; }
.dv-base { height: 12px; margin: 0 -9%; background: linear-gradient(180deg, #e3e9ee, #8f9aa3); border-radius: 2px 2px 14px 14px; }
.dv-tablet .dv-screen { aspect-ratio: 3 / 4; border: 6px solid #0e1620; border-radius: 12px; }
.dv-phone .dv-screen { aspect-ratio: 9 / 19; border: 5px solid #0e1620; border-radius: 16px; }
.dv-screen::after { /* glass reflection */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(120deg, rgba(255,255,255,.22) 0%, transparent 30%);
}

/* The mini website shown on each screen (sizes in container units so it scales with the device) */
.ms { position: absolute; inset: 0; display: flex; flex-direction: column; font-family: var(--display); }
.ms-bar { height: 7cqw; min-height: 6px; display: flex; align-items: center; gap: 3cqw; padding: 0 4cqw; background: #fff; }
.ms-bar span { width: 6cqw; height: .8cqw; border-radius: 2px; background: #c8d3de; }
.ms-bar .ms-logo { width: 7cqw; height: 2cqw; border-radius: 2px; background: linear-gradient(90deg, #0a6cff, #1ee6f2); margin-right: auto; }
.ms-bar b { width: 9cqw; height: 3cqw; border-radius: 99px; background: #0a6cff; }
.ms-hero { position: relative; flex: 1; padding: 6cqw 5cqw; background: center / cover no-repeat; }
.ms-hero::before { content: ""; position: absolute; inset: 0; }
.ms-hero > * { position: relative; }
.ms-title { margin: 0 0 3cqw; font-size: 6cqw; line-height: 1.08; font-weight: 700; letter-spacing: -.02em; }
.ms-line { display: block; width: 36cqw; height: .9cqw; border-radius: 2px; margin-bottom: 1.4cqw; }
.ms-line + .ms-line { width: 26cqw; }
.ms-btn { display: block; width: 15cqw; height: 4cqw; margin-top: 2.6cqw; border-radius: 99px; background: linear-gradient(90deg, #0a6cff, #1ec8f2); }
.ms-cards { height: 13cqw; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2cqw; padding: 2.4cqw 4cqw; }
.ms-cards i { border-radius: 1.2cqw; }
.ms-dark .ms-bar { background: #081626; }
.ms-dark .ms-bar span { background: #36506a; }
.ms-dark .ms-hero::before { background: linear-gradient(90deg, rgba(4,18,36,.88), rgba(4,18,36,.25) 75%); }
.ms-dark .ms-title { color: #fff; }
.ms-dark .ms-line { background: rgba(255,255,255,.45); }
.ms-dark .ms-cards { background: #0a1a2d; }
.ms-dark .ms-cards i { background: #16304b; }
.ms-light .ms-hero::before { background: linear-gradient(90deg, rgba(255,255,255,.96) 38%, rgba(255,255,255,0) 72%); }
.ms-light .ms-title { color: #0b1f3a; }
.ms-light .ms-line { background: #c3cfdb; }
.ms-light .ms-cards { background: #f2f6fa; }
.ms-light .ms-cards i { background: #dfe7ef; }
.ms-compact .ms-bar span, .ms-compact .ms-cards { display: none; }
.ms-compact .ms-bar { height: 12cqw; }
.ms-compact .ms-bar .ms-logo { width: 22cqw; height: 5cqw; }
.ms-compact .ms-bar b { width: 18cqw; height: 6cqw; }
.ms-compact .ms-hero { padding: 12cqw 8cqw; display: flex; flex-direction: column; justify-content: flex-end; }
.ms-compact.ms-light .ms-hero::before { background: linear-gradient(0deg, rgba(255,255,255,.95) 35%, rgba(255,255,255,0) 70%); }
.ms-compact.ms-dark .ms-hero::before { background: linear-gradient(0deg, rgba(4,18,36,.9) 30%, rgba(4,18,36,.1) 75%); }
.ms-compact .ms-title { font-size: 12cqw; }
.ms-compact .ms-line { width: 60cqw; height: 2cqw; margin-bottom: 3cqw; }
.ms-compact .ms-line + .ms-line { width: 42cqw; }
.ms-compact .ms-btn { width: 40cqw; height: 9cqw; }


@media (max-width: 1180px) {
  .page-light .header, .page-light .header.scrolled { background: rgba(255,255,255,.97); backdrop-filter: none; }
  .page-light .nav { background: #fff; }
  .page-light .nav.open { box-shadow: -20px 0 60px rgba(8,30,60,.18); }
  .page-light .nav a { color: var(--ink-2); border-bottom-color: #eef2f6; }
  .page-light .nav a.active { color: var(--blue); }
}

/* Second phone (optional) */
.dv-phone2 { z-index: 2; }

/* Mini dashboard shown inside a device screen */
.md { position: absolute; inset: 0; display: flex; background: #f4f7fb; font-size: 0; }
.md-side { width: 16cqw; background: #fff; border-right: 1px solid #e6edf5; padding: 3cqw 2.4cqw; display: flex; flex-direction: column; gap: 2.4cqw; }
.md-side .md-logo { width: 9cqw; height: 2.2cqw; border-radius: 2px; background: linear-gradient(90deg, #0a6cff, #1ee6f2); margin-bottom: 1.5cqw; }
.md-side span { height: 1cqw; border-radius: 2px; background: #d6dfea; }
.md-side span:nth-child(3) { background: #0a6cff; }
.md-main { flex: 1; padding: 3cqw; display: flex; flex-direction: column; gap: 2.4cqw; min-width: 0; }
.md-top { display: flex; justify-content: space-between; align-items: center; }
.md-top span { width: 22cqw; height: 1.6cqw; border-radius: 2px; background: #c9d4e2; }
.md-top b { width: 9cqw; height: 3cqw; border-radius: 99px; background: #0a6cff; }
.md-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.8cqw; }
.md-stats i { height: 8cqw; border-radius: 1.2cqw; background: #fff; box-shadow: 0 .3cqw 1cqw rgba(20,60,110,.08); position: relative; }
.md-stats i::after { content: ""; position: absolute; left: 1.6cqw; bottom: 1.6cqw; width: 50%; height: 1.3cqw; border-radius: 2px; background: #0a6cff; opacity: .75; }
.md-stats i:nth-child(2)::after { background: #12c2a4; }
.md-stats i:nth-child(3)::after { background: #f5a524; }
.md-row { flex: 1; display: grid; grid-template-columns: 1.6fr 1fr; gap: 1.8cqw; min-height: 0; }
.md-chart { background: #fff; border-radius: 1.2cqw; padding: 2cqw 2cqw 1.6cqw; display: flex; align-items: flex-end; gap: 1.4cqw; box-shadow: 0 .3cqw 1cqw rgba(20,60,110,.08); }
.md-chart i { flex: 1; border-radius: .6cqw .6cqw 0 0; background: linear-gradient(180deg, #3d8bff, #9cc4ff); }
.md-rings { background: #fff; border-radius: 1.2cqw; display: flex; align-items: center; justify-content: space-evenly; box-shadow: 0 .3cqw 1cqw rgba(20,60,110,.08); }
.md-rings i { width: 9cqw; aspect-ratio: 1; border-radius: 50%; background: conic-gradient(#0a6cff calc(var(--p) * 1%), #e3ebf5 0); -webkit-mask: radial-gradient(circle, transparent 52%, #000 54%); mask: radial-gradient(circle, transparent 52%, #000 54%); }
.md-rings i + i { background: conic-gradient(#12c2a4 calc(var(--p) * 1%), #e3ebf5 0); }
.md-table { display: grid; gap: 1.2cqw; background: #fff; border-radius: 1.2cqw; padding: 1.8cqw; }
.md-table span { height: 1.2cqw; border-radius: 2px; background: #e3ebf5; }
.md-table span:first-child { width: 60%; background: #c9d4e2; }
.md-compact .md-side { display: none; }
.md-compact .md-stats { grid-template-columns: 1fr 1fr; }
.md-compact .md-stats i { height: 16cqw; }
.md-compact .md-row { grid-template-columns: 1fr; }
.md-compact .md-rings { display: none; }
.md-compact .md-top span { width: 40cqw; height: 3cqw; }
.md-compact .md-top b { width: 18cqw; height: 6cqw; }
