*{margin:0;padding:0;box-sizing:border-box}
:root{
  --c1:#1a1a2e;--acc:#e94560;--acc2:#f5a623;--grn:#10b981;
  --purple:#7c3aed;
  --txt:#1e293b;--muted:#64748b;--bg:#f8f9fa;--white:#fff;
  --rad:14px;--shadow:0 4px 24px rgba(0,0,0,.06);

  /* Typography scale */
  --text-xs:11px;--text-sm:12px;--text-base:13px;--text-md:14px;
  --text-lg:16px;--text-xl:20px;--text-2xl:24px;--text-3xl:30px;
  --text-hero:clamp(28px,4vw,48px);
  --fw-normal:400;--fw-medium:600;--fw-bold:700;--fw-black:800;
  --text-price:20px;--text-price-lg:28px;
  --color-price:#e94560;--color-price-old:#bbb;
}
body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Helvetica,sans-serif;background:var(--bg);color:var(--txt);font-size:var(--text-base);line-height:1.6;padding-bottom:70px}
h1{font-size:var(--text-hero);font-weight:var(--fw-black)}
h2{font-size:var(--text-2xl);font-weight:var(--fw-black)}
h3{font-size:var(--text-xl);font-weight:var(--fw-bold)}
.price-sale{font-size:var(--text-price);font-weight:var(--fw-black);color:var(--color-price)!important}
.price-old{font-size:var(--text-sm);color:var(--color-price-old)!important;text-decoration:line-through}
.price-badge{background:#EAF3DE;color:#27500A;font-size:var(--text-xs);font-weight:var(--fw-bold);padding:2px 8px;border-radius:20px}
a{text-decoration:none;color:inherit}
img{max-width:100%;height:auto;display:block}

/* ── NAV ── */
#navbar{background:var(--c1);position:sticky;top:0;z-index:99;backdrop-filter:blur(12px)}
.nav-inner{max-width:1200px;margin:0 auto;padding:0 5%;display:flex;align-items:center;justify-content:space-between;height:58px}
.nav-logo{color:#fff;font-size:20px;font-weight:800;letter-spacing:-.5px}
.nav-logo span{color:var(--acc2)}
.nav-links{display:flex;gap:20px;align-items:center}
.nav-links a{color:rgba(255,255,255,.75);font-size:14px;transition:.2s;font-weight:500}
.nav-links a:hover{color:#fff}

/* ── SECTION ── */
.section{padding:56px 5%}
.section-inner{max-width:1200px;margin:0 auto}
.section-header{text-align:center;margin-bottom:36px}
.section-tag{display:inline-block;background:rgba(233,69,96,.08);color:var(--acc);font-size:11px;font-weight:700;padding:4px 14px;border-radius:20px;margin-bottom:10px;text-transform:uppercase;letter-spacing:.5px}
.section-header h2{font-size:clamp(22px,3.5vw,32px);font-weight:800;color:var(--c1);margin-bottom:6px;line-height:1.2}
.section-header p{color:var(--muted);font-size:15px;max-width:520px;margin:0 auto}
/* Section heading hierarchy */
.section-eyebrow{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:1.2px;color:var(--acc);margin-bottom:8px;display:block}
.section-title{font-size:clamp(20px,2.5vw,28px);font-weight:800;color:var(--c1);line-height:1.2;margin-bottom:8px}
.section-subtitle{font-size:14px;color:var(--muted);line-height:1.6}

/* ── BUTTONS (unified sizing) ── */
.btn-primary,.btn-shopee,.btn-tiktok,.btn-ebook,.btn-ghost,.btn-purple,.btn-buy{height:44px;padding:0 20px;font-size:14px;font-weight:700;border-radius:10px;border:none;cursor:pointer;transition:all .2s;display:inline-flex;align-items:center;justify-content:center;gap:6px;text-decoration:none;white-space:nowrap}
.btn-primary{background:var(--acc);color:#fff}
.btn-primary:hover{background:#d63651;transform:translateY(-1px);box-shadow:0 6px 20px rgba(233,69,96,.3)}
.btn-sec{background:rgba(255,255,255,.1);color:#fff;height:44px;padding:0 20px;border-radius:10px;font-weight:600;font-size:14px;border:1.5px solid rgba(255,255,255,.25);cursor:pointer;transition:.2s;display:inline-flex;align-items:center;justify-content:center;gap:6px}
.btn-sec:hover{background:rgba(255,255,255,.2)}
.btn-shopee{background:#ee4d2d;color:#fff;flex:1}
.btn-shopee:hover{background:#d6391e;transform:translateY(-1px)}
.btn-tiktok{background:#111;color:#fff;flex:1}
.btn-tiktok:hover{background:#333;transform:translateY(-1px)}
.btn-ebook{background:var(--acc);color:#fff;flex:1}
.btn-ebook:hover{background:#d63651;transform:translateY(-1px)}
.btn-buy{background:var(--acc);color:#fff;width:100%}
.btn-buy:hover{background:#d63651;transform:translateY(-1px);box-shadow:0 4px 16px rgba(233,69,96,.25)}
.btn-ghost{background:#fff;color:#374151;border:1.5px solid #e2e8f0!important}
.btn-ghost:hover{border-color:var(--c1)!important;color:var(--c1)}
.btn-purple{background:#f5f3ff;color:var(--purple);border:1.5px solid #ddd6fe!important}
.btn-purple:hover{background:#ede9fe}
.btn-icon{width:44px!important;height:44px!important;padding:0!important;border-radius:10px!important;font-size:16px!important}

/* ── PRODUCT CARD (new high-conversion style) ── */
.product-card{background:#fff;border-radius:var(--rad);overflow:hidden;box-shadow:var(--shadow);transition:transform .25s,box-shadow .25s;border:1px solid #f0f0f0;cursor:pointer;display:flex;flex-direction:column}
.product-card:hover{transform:translateY(-4px);box-shadow:0 12px 32px rgba(0,0,0,.1)}
.product-cover{aspect-ratio:4/3;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;background:#f8f7f4}
.product-cover img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.product-card:hover .product-cover img{transform:scale(1.04)}
.product-cover-fallback{width:100%;height:100%;display:flex;align-items:center;justify-content:center;color:rgba(255,255,255,.12);font-size:56px;font-weight:900}
.product-badge{position:absolute;top:12px;left:12px;font-size:10px;font-weight:800;padding:4px 10px;border-radius:20px;z-index:1}
.product-badge-hot{background:var(--acc);color:#fff}
.product-badge-ebook{background:var(--purple);color:#fff}
.product-badge-video{position:absolute;top:12px;right:12px;background:rgba(0,0,0,.6);color:#fff;font-size:10px;font-weight:700;padding:4px 10px;border-radius:20px;backdrop-filter:blur(4px)}
.product-discount{position:absolute;bottom:12px;right:12px;background:var(--acc);color:#fff;font-size:11px;font-weight:800;padding:4px 10px;border-radius:8px}
.product-body{padding:16px;flex:1;display:flex;flex-direction:column}
.product-cat{font-size:10px;color:var(--purple);text-transform:uppercase;letter-spacing:.5px;margin-bottom:6px;font-weight:700}
.product-title{font-size:16px;font-weight:700;color:var(--c1);margin-bottom:4px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.product-author{font-size:12px;color:var(--muted);margin-bottom:8px}
.product-rating{display:flex;align-items:center;gap:4px;margin-bottom:10px;font-size:12px}
.product-rating .stars-val{color:var(--acc2);font-size:13px}
.product-rating .rating-num{font-weight:700;color:var(--txt)}
.product-rating .rating-count{color:var(--muted)}
.product-price-row{display:flex;align-items:baseline;gap:8px;margin-bottom:12px;margin-top:auto}
.product-price{font-size:20px;font-weight:800;color:var(--acc)}
.product-price-old{font-size:13px;color:#bbb;text-decoration:line-through}
.product-cta{display:flex;gap:8px}

/* ── HERO PRODUCT (large featured card) ── */
.hero-product{display:grid;grid-template-columns:1fr 1fr;gap:0;background:#fff;border-radius:18px;overflow:hidden;box-shadow:0 8px 40px rgba(0,0,0,.08);border:1px solid #f0f0f0;max-width:1000px;margin:0 auto}
.hero-product-cover{position:relative;min-height:420px;overflow:hidden}
.hero-product-cover img{width:100%;height:100%;object-fit:cover}
.hero-product-cover-fallback{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,var(--c1),#0f3460);color:rgba(255,255,255,.1);font-size:80px;font-weight:900}
.hero-product-body{padding:36px;display:flex;flex-direction:column;justify-content:center}

/* ── TRUST BAR ── */
.trust-bar{display:flex;justify-content:center;gap:32px;padding:20px 5%;background:#fff;border-bottom:1px solid #f0f0f0;flex-wrap:wrap}
.trust-item{display:flex;align-items:center;gap:10px;font-size:13px;color:var(--txt);font-weight:600}
.trust-item .trust-icon{font-size:20px;flex-shrink:0}
.trust-item .trust-label{font-size:13px;color:var(--muted);font-weight:500}

/* ── FILTER ── */
.filter-chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:28px;justify-content:center}
.chip{padding:8px 18px;border-radius:24px;font-size:13px;cursor:pointer;border:1.5px solid #e2e8f0;background:#fff;color:var(--muted);transition:.2s;font-weight:600}
.chip.active{background:var(--c1);color:#fff;border-color:var(--c1)}
.chip:hover:not(.active){border-color:var(--c1);color:var(--c1)}

/* ── GRID LAYOUTS ── */
.products-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:22px}
.ebook-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:20px}

/* ── WHY / FEATURE CARDS ── */
.why-section{padding:56px 5%;background:#fff}
.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;max-width:900px;margin:0 auto}
.feature-card{background:#fff;border-radius:16px;padding:28px 24px;text-align:center;border:1px solid #f0ece4;transition:.2s}
.feature-card:hover{transform:translateY(-2px);box-shadow:0 8px 24px rgba(0,0,0,.06)}
.feature-icon{width:52px;height:52px;border-radius:14px;display:flex;align-items:center;justify-content:center;font-size:24px;margin:0 auto 16px}
.feature-title{font-size:15px;font-weight:700;color:var(--c1);margin-bottom:8px}
.feature-desc{font-size:13px;color:var(--muted);line-height:1.65}

/* ── EBOOK STRIP ── */
.ebook-strip{padding:56px 5%;background:linear-gradient(135deg,#f5f3ff,#ede9fe)}
.ebook-strip-inner{max-width:1200px;margin:0 auto}

/* ── STICKY CTA ── */
.sticky{position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid #eee;padding:10px 5%;display:flex;align-items:center;justify-content:space-between;z-index:100;box-shadow:0 -4px 20px rgba(0,0,0,.06)}
.sticky-info{font-size:13px;font-weight:600;color:var(--c1)}
.sticky-btns{display:flex;gap:8px}

/* ── FOOTER ── */
.footer{background:var(--c1);color:rgba(255,255,255,.7);padding:48px 5% 24px;margin-bottom:70px}
.footer-inner{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:2fr 1fr 1fr 1.5fr;gap:40px;margin-bottom:28px}
.footer-logo{color:#fff;font-size:20px;font-weight:800;margin-bottom:10px}
.footer-inner p{font-size:13px;line-height:1.6;margin-bottom:12px}
.aff-note{background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);border-radius:8px;padding:10px 12px;font-size:11px;line-height:1.5}
.footer-heading{color:#fff;font-size:13px;font-weight:700;margin-bottom:12px;text-transform:uppercase;letter-spacing:.5px}
.footer-inner a{display:block;font-size:13px;color:rgba(255,255,255,.6);margin-bottom:8px;transition:.2s}
.footer-inner a:hover{color:#fff}
.footer-bottom{border-top:1px solid rgba(255,255,255,.1);padding-top:18px;text-align:center;font-size:12px;color:rgba(255,255,255,.5)}

/* ── LOADING ── */
.loading{text-align:center;padding:40px;color:var(--muted);font-size:14px}

/* ══════════ GLOBAL RULES ══════════ */

/* ── Smooth transitions ── */
button,a{transition:all .18s ease}
.book-card,.ebook-card,.feature-card,.product-card,[class*="card"]{transition:transform .2s ease,box-shadow .2s ease}
.book-card:hover,.ebook-card:hover{transform:translateY(-4px);box-shadow:0 12px 32px rgba(0,0,0,.09)}

/* ── Focus states ── */
button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid var(--acc);outline-offset:2px}

/* ── Page background ── */
body{background:#f5f4ef!important}
.bg-white{background:#fff}
.bg-dark{background:#0f172a}

/* ── Container ── */
.container{max-width:1200px;margin:0 auto;padding:0 5%}

/* ── Section spacing ── */
.section-sm{padding:36px 5%}

/* ── Scrollbar (Webkit) ── */
::-webkit-scrollbar{width:6px;height:6px}
::-webkit-scrollbar-track{background:#f5f4ef}
::-webkit-scrollbar-thumb{background:#d4cfc8;border-radius:3px}
::-webkit-scrollbar-thumb:hover{background:#a8a39c}

/* ── Selection color ── */
::selection{background:rgba(233,69,96,.15);color:#1a1a2e}

/* ── Image loading ── */
img:not([src]),img[src=""]{background:linear-gradient(135deg,#f5f4ef,#e8e4dc);min-height:100px}

/* ══════════ RESPONSIVE ══════════ */
@media(max-width:768px){
  .nav-links{display:none}
  .footer-inner{grid-template-columns:1fr}
  .section{padding:40px 4%}
  .section-sm{padding:24px 4%}
  .container{padding:0 4%}
  #hero-grid{grid-template-columns:1fr!important;gap:24px!important}
  .hero-product{grid-template-columns:1fr}
  .hero-product-cover{min-height:280px}
  .hero-product-body{padding:24px}
  .products-grid{grid-template-columns:repeat(2,1fr)!important;gap:10px!important}
  .product-cover{height:180px}
  .trust-bar{gap:16px;padding:16px 4%;flex-direction:column;align-items:flex-start}
  .trust-item{font-size:12px}
  .feature-grid{grid-template-columns:1fr}
  #ctv-grid{grid-template-columns:1fr!important}
  .hero-layout,[class*="hero-grid"]{grid-template-columns:1fr!important}
  .product-layout{grid-template-columns:1fr!important}
}
@media(max-width:480px){
  .ebook-grid{grid-template-columns:1fr!important}
}

