/* ============================================================
   EchoBooks AI — Sales / Funnel pages · "Apple White" premium
   Long-form landing style. Dùng chung: FE, 4 OTO, JV.
   ============================================================ */
:root{
  --bg:#F5F5F7; --card:#fff; --ink:#1D1D1F; --muted:#86868B; --line:#E3E3E8;
  --blue:#0071E3; --blue-h:#0077ED; --green:#1D7A3E; --amber:#B25A00;
  --red:#D70015; --radius:20px;
  --shadow:0 1px 2px rgba(0,0,0,.04),0 10px 34px rgba(0,0,0,.06);
  --wrap:1080px;
}
*{box-sizing:border-box;margin:0}
html{scroll-behavior:smooth}
body{
  font-family:-apple-system,BlinkMacSystemFont,'SF Pro Display','SF Pro Text','Segoe UI',Inter,sans-serif;
  background:var(--bg); color:var(--ink); line-height:1.55; -webkit-font-smoothing:antialiased;
}
img{max-width:100%}
h1,h2,h3{letter-spacing:-.022em; font-weight:700; line-height:1.1}
a{color:var(--blue); text-decoration:none}
.wrap{max-width:var(--wrap); margin:0 auto; padding:0 22px}
.narrow{max-width:760px; margin:0 auto; padding:0 22px}
section{padding:64px 0}
.center{text-align:center}
.muted{color:var(--muted)}
.eyebrow{font-size:13px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--blue)}
.ph{outline:2px dashed #C9C9D0; outline-offset:3px; border-radius:10px; background:#fff;
    color:var(--muted); font-weight:600; padding:14px 16px; font-size:14px}
.ph::before{content:"✎ "; color:var(--blue)}

/* ---- Announcement / launch bar ---- */
.topbar{background:var(--ink); color:#fff; text-align:center; font-size:13.5px; font-weight:600; padding:9px 16px}
.topbar b{color:#5AC8FA}

/* ---- Buttons ---- */
.btn{display:inline-block; border:0; cursor:pointer; font:inherit; font-weight:600;
  border-radius:999px; padding:16px 34px; font-size:17px; transition:transform .1s, background .15s, box-shadow .15s;}
.btn:active{transform:scale(.98)}
.btn.buy{background:var(--blue); color:#fff; box-shadow:0 8px 22px rgba(0,113,227,.32)}
.btn.buy:hover{background:var(--blue-h)}
.btn.big{padding:19px 46px; font-size:19px}
.btn.gold{background:linear-gradient(180deg,#FFB300,#F59300); color:#3a2600; box-shadow:0 8px 22px rgba(245,147,0,.32)}
.btn.ghost{background:#EDEDF0; color:var(--ink)}
.btn.decline{background:transparent; color:var(--muted); font-size:14px; padding:8px 10px; text-decoration:underline}
.cta-note{font-size:13px; color:var(--muted); margin-top:12px}

/* ---- Hero ---- */
.hero{padding:56px 0 40px; text-align:center}
.hero h1{font-size:clamp(30px,5.2vw,54px); margin:16px 0 14px}
.hero .sub{font-size:clamp(17px,2.4vw,21px); color:#3a3a3c; max-width:720px; margin:0 auto 26px; font-weight:500}
.hl{color:var(--blue)}
.video-ph{max-width:820px; margin:30px auto 0; aspect-ratio:16/9; border-radius:var(--radius);
  background:linear-gradient(160deg,#1d1d1f,#3a3a3c); color:#fff; display:flex; align-items:center; justify-content:center;
  flex-direction:column; gap:12px; box-shadow:var(--shadow)}
.video-ph .play{width:78px; height:78px; border-radius:50%; background:rgba(255,255,255,.16);
  display:flex; align-items:center; justify-content:center; font-size:30px; backdrop-filter:blur(4px)}
.video-ph small{opacity:.7; font-weight:600}

/* ---- Trust row ---- */
.trust{display:flex; gap:26px; justify-content:center; flex-wrap:wrap; color:var(--muted); font-weight:600; font-size:14px}
.trust span{display:inline-flex; align-items:center; gap:7px}

/* ---- Cards / grids ---- */
.card{background:var(--card); border-radius:var(--radius); box-shadow:var(--shadow); padding:30px}
.grid{display:grid; gap:22px}
.g2{grid-template-columns:1fr 1fr}
.g3{grid-template-columns:repeat(3,1fr)}
.g4{grid-template-columns:repeat(4,1fr)}
@media(max-width:820px){.g2,.g3,.g4{grid-template-columns:1fr}}
.feature .ic{font-size:30px}
.feature h3{font-size:18px; margin:12px 0 6px}
.feature p{color:var(--muted); font-size:14.5px; font-weight:500}

/* ---- Section headings ---- */
.h-sec{font-size:clamp(24px,3.4vw,36px); text-align:center; margin-bottom:10px}
.sub-sec{text-align:center; color:var(--muted); font-weight:500; max-width:640px; margin:0 auto 40px; font-size:16.5px}

/* ---- Live demo (QR) ---- */
.demo{background:var(--ink); color:#fff; border-radius:24px; padding:44px; display:flex; gap:40px;
  align-items:center; flex-wrap:wrap; justify-content:center}
.demo h2{font-size:28px; color:#fff}
.demo p{color:#c7c7cc; font-weight:500; max-width:420px; margin:10px 0 0}
.demo .qr{background:#fff; border-radius:18px; padding:18px; flex-shrink:0}
.demo .qr canvas,.demo .qr img{display:block; width:190px; height:190px}
.demo .qr div{color:var(--ink); text-align:center; font-weight:700; font-size:13px; margin-top:8px}

/* ---- Value stack ---- */
.stack{max-width:640px; margin:0 auto}
.stack .row{display:flex; justify-content:space-between; gap:14px; padding:15px 4px; border-bottom:1px solid var(--line); font-weight:600}
.stack .row .v{color:var(--muted); white-space:nowrap}
.stack .row .k{display:flex; gap:10px}
.stack .row .k::before{content:"✓"; color:var(--green); font-weight:800}
.stack .total{display:flex; justify-content:space-between; padding:18px 4px 0; font-size:20px; font-weight:800}
.stack .total .old{color:var(--muted); text-decoration:line-through}
.price-box{text-align:center; margin-top:34px}
.price-box .big{font-size:58px; font-weight:800; letter-spacing:-.03em}
.price-box .big small{font-size:20px; color:var(--muted); font-weight:700}
.price-box .was{color:var(--muted); font-weight:600; margin-bottom:6px}

/* ---- Guarantee ---- */
.guarantee{display:flex; gap:26px; align-items:center; flex-wrap:wrap; justify-content:center; text-align:left}
.guarantee .seal{width:120px; height:120px; border-radius:50%; flex-shrink:0;
  background:radial-gradient(circle at 50% 40%,#fff,#eef4ff); border:3px solid var(--blue);
  display:flex; flex-direction:column; align-items:center; justify-content:center; color:var(--blue); font-weight:800; text-align:center; line-height:1.1}
.guarantee .seal b{font-size:30px}
.guarantee .txt{max-width:560px}

/* ---- FAQ ---- */
.faq{max-width:760px; margin:0 auto}
.faq details{background:#fff; border:1px solid var(--line); border-radius:14px; padding:0; margin-bottom:12px; overflow:hidden}
.faq summary{list-style:none; cursor:pointer; padding:18px 22px; font-weight:700; display:flex; justify-content:space-between; align-items:center}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+"; color:var(--blue); font-size:22px; font-weight:400}
.faq details[open] summary::after{content:"−"}
.faq .a{padding:0 22px 20px; color:var(--muted); font-weight:500}

/* ---- OTO specific ---- */
.oto-bar{background:#FFF3E0; color:var(--amber); text-align:center; font-weight:700; padding:12px; font-size:15px; border-bottom:1px solid #FADFB0}
.oto-head{text-align:center; padding:40px 0 10px}
.oto-head .warn{color:var(--red); font-weight:800; letter-spacing:.02em; text-transform:uppercase; font-size:14px}
.oto-head h1{font-size:clamp(26px,4vw,42px); margin:12px 0}
.yesno{max-width:620px; margin:36px auto 0; text-align:center}
.yesno .yes{display:block; width:100%; margin-bottom:14px}
.warnbox{background:#fff; border:1px solid var(--line); border-left:4px solid var(--amber); border-radius:12px;
  padding:16px 20px; max-width:620px; margin:26px auto 0; font-weight:500; color:#3a3a3c; font-size:14.5px}

/* ---- JV specific ---- */
.jv-hero{background:linear-gradient(165deg,#000,#1d1d1f); color:#fff; text-align:center; padding:70px 0 56px}
.jv-hero h1{font-size:clamp(30px,5vw,52px); margin:14px 0}
.jv-hero .sub{color:#c7c7cc; font-size:19px; max-width:640px; margin:0 auto; font-weight:500}
.jv-stats{display:grid; grid-template-columns:repeat(4,1fr); gap:18px; max-width:900px; margin:36px auto 0}
@media(max-width:820px){.jv-stats{grid-template-columns:1fr 1fr}}
.jv-stat{background:rgba(255,255,255,.08); border-radius:16px; padding:22px; text-align:center}
.jv-stat .n{font-size:34px; font-weight:800; color:#5AC8FA}
.jv-stat .l{font-size:13px; color:#c7c7cc; font-weight:600; margin-top:4px}
.tbl{width:100%; border-collapse:collapse; background:#fff; border-radius:16px; overflow:hidden; box-shadow:var(--shadow)}
.tbl th,.tbl td{text-align:left; padding:14px 18px; border-bottom:1px solid var(--line); font-size:15px}
.tbl th{background:#fafafc; font-size:12.5px; text-transform:uppercase; letter-spacing:.06em; color:var(--muted)}
.tbl tr:last-child td{border-bottom:0}
.tbl td b{font-weight:700}
.timeline{max-width:620px; margin:0 auto; border-left:2px solid var(--line); padding-left:26px}
.timeline .ev{position:relative; padding:0 0 26px}
.timeline .ev::before{content:""; position:absolute; left:-33px; top:4px; width:12px; height:12px; border-radius:50%; background:var(--blue)}
.timeline .ev .d{font-weight:700}
.timeline .ev .t{color:var(--muted); font-size:14.5px; font-weight:500}

/* ---- Footer (chuẩn compliance, căn giữa như mẫu leosterling.net) ---- */
.foot{background:#fff; border-top:1px solid var(--line); padding:46px 0 40px; color:var(--muted); font-size:13px; font-weight:400}
.foot .wrap{display:flex; flex-direction:column; align-items:center; gap:16px; text-align:center; max-width:1180px}
.foot .disc{line-height:1.75; max-width:1120px; margin:0}
.foot .links{display:flex; flex-direction:column; gap:6px; align-items:center}
.foot .links a{color:var(--muted); text-decoration:none; font-size:13.5px}
.foot .links a:hover{color:var(--ink); text-decoration:underline}
.foot .copy{font-size:12.5px; opacity:.85}
.wplus_spdisclaimer{max-width:1120px; margin:0 auto; font-size:12.5px; line-height:1.7; color:var(--muted)}
.wplus_spdisclaimer:empty{display:none}
.logo{font-weight:800; font-size:22px; color:var(--ink)}
.logo .b{color:var(--blue)}
.sticky-cta{position:sticky; bottom:0; z-index:20; background:rgba(255,255,255,.9); backdrop-filter:blur(14px);
  border-top:1px solid var(--line); padding:12px 22px; display:flex; align-items:center; justify-content:center; gap:16px; flex-wrap:wrap}
.sticky-cta .p{font-weight:700}

/* ---- Nút mua chính chủ WarriorPlus (ảnh) ---- */
.wbtn-wrap{text-align:center; margin:18px auto 0; max-width:560px}
.wbtn{display:inline-block; line-height:0; border-radius:14px; overflow:hidden;
  box-shadow:0 10px 26px rgba(0,0,0,.14); transition:transform .12s}
.wbtn:hover{transform:translateY(-2px)}
.wbtn img{display:block; width:100%; height:auto; max-width:520px}


/* ---- Khối người sáng lập (Attractive Character) ---- */
.creator{display:flex; gap:34px; align-items:center; flex-wrap:wrap; justify-content:center; text-align:left}
.creator img{width:170px; height:170px; border-radius:50%; object-fit:cover; flex-shrink:0;
  box-shadow:0 10px 30px rgba(0,0,0,.16)}
.creator .who{max-width:620px}
.creator .who .name{font-size:22px; font-weight:700; letter-spacing:-.02em}
.creator .who .role{color:var(--blue); font-weight:600; font-size:14px; margin:2px 0 12px}
.creator .who p{color:#3a3a3c; font-weight:500; margin-bottom:10px}
.creator .who .mail{font-weight:600; font-size:14.5px}
@media(max-width:700px){.creator{text-align:center} .creator .who{text-align:center}}
/* JV contact */
.jvcontact{display:flex; gap:22px; align-items:center; justify-content:center; flex-wrap:wrap;
  background:#fff; border-radius:var(--radius); box-shadow:var(--shadow); padding:26px 30px; max-width:640px; margin:26px auto 0}
.jvcontact img{width:110px; height:110px; border-radius:50%; object-fit:cover}
.jvcontact .t{text-align:left}
.jvcontact .t b{font-size:19px; display:block}
.jvcontact .t span{color:var(--muted); font-size:14px}
.jvcontact .t a{font-weight:600}
