/* Style Evon (đồng bộ ảnh/video social): nền sáng, Inter 500 tracking chặt, nhãn mono [ ],
   lưới mảnh có dấu "+", card trắng, accent tím PiP. */
:root {
  --bg: #f9f9f9; --bg-alt: #f3f3f5; --card: #fff; --line: #e7e7ea; --line-2: #d9d9de;
  --fg: #19191d; --muted: #66666f; --dim: #9a9aa3;
  --accent: #6d5dfc; --accent-2: #5847f0; --accent-soft: rgba(109,93,252,0.09);
  --mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  --radius: 16px; --rail: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--fg); font: 500 16px/1.6 Inter, -apple-system, 'Segoe UI', sans-serif;
  letter-spacing: -0.011em; -webkit-font-smoothing: antialiased;
  /* 2 đường ray dọc theo mép nội dung */
  background:
    linear-gradient(var(--line), var(--line)) calc(50% - var(--rail) / 2) 0 / 1px 100% no-repeat,
    linear-gradient(var(--line), var(--line)) calc(50% + var(--rail) / 2) 0 / 1px 100% no-repeat,
    var(--bg); }
a { color: var(--accent); }
img { max-width: 100%; display: block; }
svg { flex-shrink: 0; }
h1, h2, h3 { font-weight: 500; }
.wrap { max-width: var(--rail); margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.accent { color: var(--accent); }
.label, .kicker { font: 400 14px/1.4 var(--mono); letter-spacing: 0.02em; color: var(--muted); }
.kicker { display: block; text-align: center; margin: 0 0 14px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 22px;
  border-radius: 12px; font: 500 15.5px Inter, sans-serif; letter-spacing: -0.01em; color: #fff; text-decoration: none;
  background: var(--accent); box-shadow: 0 1px 0 rgba(255,255,255,0.25) inset, 0 8px 22px rgba(109,93,252,0.28);
  transition: transform .15s, background .15s, box-shadow .15s; }
.btn:hover { background: var(--accent-2); transform: translateY(-1px); }
.btn svg { width: 20px; height: 20px; }
.btn-lg { padding: 15px 26px; font-size: 16.5px; border-radius: 13px; }
.btn-sm { padding: 8px 15px; font-size: 14px; box-shadow: none; }
.btn-ghost { color: var(--fg); background: var(--card); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { background: #fff; box-shadow: inset 0 0 0 1px var(--fg); }
.full { width: 100%; }

/* ---------- Top bar (không menu) ---------- */
.top, .nav { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(14px) saturate(1.3);
  background: rgba(249,249,249,0.82); border-bottom: 1px solid var(--line); }
.top-in, .nav-in { display: flex; align-items: center; justify-content: space-between; height: 62px; gap: 28px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16.5px; color: var(--fg); text-decoration: none; }
.logo img { border-radius: 7px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 76px 0 92px; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(640px 380px at 80% 30%, rgba(109,93,252,0.12), transparent 70%); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
h1 { font-size: clamp(42px, 5.4vw, 68px); line-height: 1.02; letter-spacing: -0.045em; margin: 18px 0 22px; }
.lead { font-size: 19px; line-height: 1.55; color: var(--muted); max-width: 540px; margin: 0; }
.center .lead { margin: 0 auto; }
.platforms { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.platforms li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  font-size: 14px; background: var(--card); border: 1px solid var(--line-2); }
.soon { font: normal 400 11.5px var(--mono); color: var(--accent); padding: 1px 7px; border-radius: 999px; background: var(--accent-soft); }
.cta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.trust { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.trust li { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.trust svg { width: 17px; height: 17px; color: var(--accent); }

/* ---------- Stage: desktop + PiP demo ---------- */
.stage { position: relative; height: 560px; }
.desk { position: absolute; left: 0; top: 30px; width: 88%; height: 440px; border-radius: 14px; overflow: hidden;
  background: #fff; box-shadow: 0 30px 80px rgba(25,25,40,0.14), 0 0 0 1px var(--line); }
.desk-bar { height: 38px; background: #eef0f4; display: flex; align-items: center; gap: 14px; padding: 0 14px; }
.dots { display: flex; gap: 7px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; display: block; background: #ff5f57; }
.dots i:nth-child(2) { background: #febc2e; } .dots i:nth-child(3) { background: #28c840; }
.desk-url { flex: 1; height: 24px; border-radius: 12px; background: #fff; font-size: 12px; color: #6b7080; display: flex; align-items: center; padding-left: 12px; max-width: 320px; }
.desk-body { display: flex; height: calc(100% - 38px); }
.desk-side { width: 120px; background: #f6f7f9; padding: 20px 14px; border-right: 1px solid var(--line); }
.desk-side b { display: block; height: 10px; border-radius: 5px; background: #dfe2e9; margin-bottom: 14px; }
.desk-side b:first-child { background: #d6d0ff; }
.desk-page { flex: 1; padding: 30px 34px; }
.desk-h { width: 46%; height: 18px; border-radius: 6px; background: #cfd3dc; margin-bottom: 20px; }
.desk-l { height: 9px; border-radius: 5px; background: #e7e9ef; margin-bottom: 11px; }
.desk-chart { display: flex; align-items: flex-end; gap: 12px; height: 110px; margin: 22px 0; }
.desk-chart i { flex: 1; display: block; border-radius: 6px 6px 0 0; background: linear-gradient(#b3a9ff, var(--accent)); }

.demo-pip { position: absolute; right: 0; top: 0; width: 280px; aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden;
  background: #000; z-index: 5; box-shadow: 0 34px 80px rgba(25,25,40,0.32), 0 0 0 1px rgba(0,0,0,0.08);
  transition: opacity .25s, transform .25s; }
.demo-pip.closed { opacity: 0; transform: scale(0.92); pointer-events: none; }
.demo-titlebar { position: absolute; top: 0; left: 0; right: 0; height: 30px; z-index: 30; display: flex; align-items: center; gap: 7px;
  padding: 0 10px; font-size: 11.5px; color: rgba(255,255,255,0.9); cursor: grab; user-select: none;
  background: linear-gradient(rgba(0,0,0,0.6), transparent); }
.demo-titlebar img { width: 14px; height: 14px; border-radius: 3px; }
.demo-titlebar span { margin-left: auto; opacity: .55; font-size: 10.5px; }
.demo-titlebar:active { cursor: grabbing; }
.demo-frame { position: absolute; inset: 0; }
.demo-note { position: absolute; left: 50%; top: 44%; transform: translate(-50%, -50%) scale(.96); z-index: 40;
  padding: 8px 14px; border-radius: 10px; background: rgba(15,15,25,0.9); color: #fff; font-size: 13px; font-weight: 600;
  white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.demo-note.show { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.demo-reopen { position: absolute; right: 40px; top: 40%; z-index: 6; display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 16px; border: 0; border-radius: 12px; cursor: pointer; font: 500 14px Inter, sans-serif; color: #fff;
  background: var(--accent); box-shadow: 0 8px 22px rgba(109,93,252,0.3); }
.demo-reopen svg { width: 18px; height: 18px; }
.demo-reopen[hidden] { display: none; }
.stage-hint { position: absolute; left: 0; bottom: 0; margin: 0; font: 400 13px var(--mono); color: var(--dim); }

/* ---------- Sections: đường kẻ ngang + dấu "+" ở giao điểm với ray ---------- */
.section, .final { position: relative; padding: 104px 0; border-top: 1px solid var(--line); }
.section::before, .section::after, .final::before, .final::after { content: '+'; position: absolute; top: -13px;
  font: 300 22px/1 var(--mono); color: var(--dim); }
.section::before, .final::before { left: calc(50% - var(--rail) / 2 - 7px); }
.section::after, .final::after { left: calc(50% + var(--rail) / 2 - 6px); }
.section.alt { background: var(--bg-alt); }
.h2 { font-size: clamp(30px, 4vw, 46px); letter-spacing: -0.04em; line-height: 1.08; margin: 0 auto 52px; text-align: center; max-width: 820px; }

.card { padding: 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(25,25,40,0.04); }
.card > svg { width: 24px; height: 24px; color: var(--accent); padding: 9px; box-sizing: content-box; border-radius: 11px; background: var(--accent-soft); }
.card h3 { font-size: 19px; margin: 18px 0 6px; letter-spacing: -0.02em; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.pains, .promise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pain > svg { color: #e5484d; background: rgba(229,72,77,0.08); }

/* Thẻ theo nền tảng: nhãn Free / PRO + danh sách gạch đầu dòng */
.site h3 { margin-top: 0; font-size: 22px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.site .tier { margin: 16px 0 6px; font: 400 12px var(--mono); color: var(--muted); }
.site .pro-tier { color: var(--accent); }
.site ul { list-style: none; padding: 0; margin: 0; }
.site li { position: relative; padding: 4px 0 4px 20px; font-size: 15px; color: var(--fg); }
.site li::before { content: ''; position: absolute; left: 2px; top: 11px; width: 9px; height: 5px;
  border-left: 2px solid var(--line-2); border-bottom: 2px solid var(--line-2); transform: rotate(-45deg); }
.site .pro-tier + ul li::before { border-color: var(--accent); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 64px; }
.step b { font: 400 14px var(--mono); color: var(--accent); }
.step h3 { margin-top: 12px; }

.usps { display: grid; gap: 18px; }
.usp { display: grid; grid-template-columns: 1.15fr 1fr; gap: 44px; align-items: center; padding: 22px; border-radius: 22px; }
.usp:nth-child(even) > :first-child { order: 2; }
.usp > img { width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); }
.usp h3 { font-size: 27px; margin: 10px 0 10px; letter-spacing: -0.035em; }
.usp p { font-size: 17px; }
.kbd-art, .subs-art { height: 300px; border-radius: 14px; display: flex; align-items: center; justify-content: center; gap: 18px;
  background: radial-gradient(360px 200px at 50% 50%, var(--accent-soft), transparent 70%), var(--bg); border: 1px solid var(--line); }
.kbd-art span { font-size: 28px; color: var(--dim); }
kbd { font: 500 32px Inter, sans-serif; color: var(--fg); min-width: 96px; text-align: center; padding: 22px 26px; border-radius: 16px;
  background: #fff; border: 1px solid var(--line-2); box-shadow: 0 5px 0 var(--line-2), 0 14px 30px rgba(25,25,40,0.08); }

/* Minh hoạ phụ đề trong cửa sổ nổi (ảnh tĩnh + dòng phụ đề HTML) */
.subs-art { overflow: hidden; }
.subs-win { position: relative; width: 62%; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: #000;
  box-shadow: 0 24px 60px rgba(25,25,40,0.25); }
.subs-frame { width: 100%; height: 100%; object-fit: cover; }
.subs-bar { position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 6px; padding: 6px 9px;
  font-size: 11px; color: rgba(255,255,255,0.9); background: linear-gradient(rgba(0,0,0,0.55), transparent); }
.subs-bar img { width: 13px; height: 13px; border-radius: 3px; }
.subs-line { position: absolute; left: 6%; right: 6%; bottom: 9%; margin: 0; text-align: center; color: #fff;
  font: 500 clamp(12px, 1.35vw, 16px)/1.55 Inter, sans-serif; letter-spacing: 0; }
.subs-line span { padding: 2px 8px; background: rgba(0,0,0,0.72); border-radius: 4px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 880px; margin: 0 auto; }
.plan { position: relative; padding: 34px; border-radius: 22px; display: flex; flex-direction: column; }
.plan.pro { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 30px 80px rgba(109,93,252,0.16); }
.plan h3 { margin: 0; font: 400 15px var(--mono); color: var(--muted); }
.price { font-size: 54px; font-weight: 500; letter-spacing: -0.05em; margin: 6px 0 22px; display: flex; align-items: baseline; gap: 10px; }
.price small { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; flex: 1; }
.plan li { padding: 8px 0 8px 28px; position: relative; color: var(--fg); font-size: 15.5px; border-bottom: 1px dashed var(--line); }
.plan li:last-child { border-bottom: 0; }
.plan li b { font-weight: 600; }
.plan li::before { content: ''; position: absolute; left: 2px; top: 15px; width: 11px; height: 6px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.badge { position: absolute; top: 24px; right: 24px; font: 400 12px var(--mono); padding: 4px 10px; border-radius: 999px;
  color: var(--accent); background: var(--accent-soft); }
.fine { font-size: 13px; color: var(--muted); margin: 14px 0 0; text-align: center; }

/* ---------- FAQ ---------- */
details { border-bottom: 1px solid var(--line); padding: 20px 0; }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; font-size: 17.5px; letter-spacing: -0.02em; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-family: var(--mono); color: var(--muted); font-size: 22px; line-height: 1; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 12px 0 0; color: var(--muted); }

/* ---------- Final CTA ---------- */
.final { padding: 112px 0; background: radial-gradient(640px 320px at 50% 100%, rgba(109,93,252,0.14), transparent 70%), var(--bg); }
.final .h2 { margin: 14px auto 14px; }
.final .btn { margin-top: 30px; }

/* ---------- Footer ---------- */
.foot { padding: 44px 0 40px; border-top: 1px solid var(--line); }
.foot-in { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.foot .fine { text-align: left; }
.foot-links { display: flex; gap: 22px; }
.foot-links a { color: var(--muted); text-decoration: none; font-size: 14px; }
.foot-links a:hover { color: var(--fg); }
.foot .disclaimer { margin: 28px auto 0; }

/* ---------- Welcome (sau khi cài) ---------- */
.welcome { padding: 56px 28px 80px; }
.welcome h1 { font-size: clamp(34px, 5vw, 52px); letter-spacing: -0.045em; margin: 12px 0 10px; }
.welcome-steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 12px; }
.welcome-steps li { display: flex; gap: 18px; align-items: flex-start; }
.welcome-steps b { font: 400 14px var(--mono); color: var(--accent); padding-top: 3px; }
.welcome-steps h3 { margin: 0 0 4px; }
.welcome-try { font-size: 24px; letter-spacing: -0.03em; margin: 44px 0 14px; }
.welcome-links { display: flex; flex-wrap: wrap; gap: 10px; }
.welcome-tips { margin-top: 36px; }
.welcome-tips h3 { margin-top: 0; }
.welcome-tips ul { padding-left: 18px; margin: 8px 0 0; color: var(--muted); }
.welcome-tips li { margin: 6px 0; }
.welcome-tips .fine { text-align: left; }

/* ---------- Legal pages ---------- */
.links { display: flex; gap: 24px; margin-left: auto; }
.links a { color: var(--muted); text-decoration: none; font-size: 15px; }
.links a:hover { color: var(--fg); }
.legal { padding: 64px 28px 80px; }
.legal h1 { font-size: clamp(32px, 5vw, 46px); margin: 0 0 6px; }
.legal h2 { font-size: 21px; margin: 36px 0 8px; letter-spacing: -0.02em; }
.legal p, .legal li { color: #3c3c44; }
.legal .muted { color: var(--muted); }
.legal code { font-size: 14px; padding: 1px 6px; border-radius: 5px; background: var(--bg-alt); border: 1px solid var(--line); }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) { body { background: var(--bg); } .section::before, .section::after, .final::before, .final::after { display: none; } }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .stage { height: 520px; }
  .desk { width: 92%; height: 380px; }
  .usp { grid-template-columns: 1fr; gap: 22px; }
  .usp:nth-child(even) > :first-child { order: 0; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .pains, .steps, .promise, .plans { grid-template-columns: 1fr; }
  .section { padding: 76px 0; }
  .hero { padding: 44px 0 64px; }
  .cta .btn, .final .btn { width: 100%; }
  .desk { display: none; }
  .stage { height: auto; display: flex; flex-direction: column; align-items: center; gap: 14px; }
  .demo-pip { position: relative; width: min(300px, 82vw); }
  .demo-titlebar span { display: none; }
  .stage-hint { position: static; text-align: center; }
  .demo-reopen { position: static; }
  .links { display: none; }
  .nav-in .btn-sm { margin-left: auto; }
  .foot-in { flex-direction: column; }
  .kbd-art, .subs-art { height: 220px; }
  .subs-win { width: 92%; }
  .subs-line { font-size: 10.5px; left: 3%; right: 3%; }
  kbd { font-size: 26px; min-width: 76px; padding: 16px 20px; }
  .usp h3 { font-size: 23px; }
}
