/* Landing page ebook Content Landing Page. Màu, bo góc, bóng lấy từ token trong styles.css. */

/* ---- Hero 2 cột ---- */
.eb-hero{display:grid;gap:40px;align-items:center;text-align:left}
.eb-hero .hero-inner{z-index:1}
.eb-hero h1.hero-title,.eb-hero .hero-sub{margin-inline:0}
.eb-hero .hero-actions{justify-content:flex-start}
.eb-hero-visual{position:relative;margin:0;justify-self:center;max-width:420px}
.eb-hero-visual::before{content:"";position:absolute;inset:12% 6% 4%;border-radius:50%;background:var(--color-heat-soft);filter:blur(40px)}
.eb-hero-visual img{position:relative;width:100%;height:auto}
@media(min-width:900px){.eb-hero{grid-template-columns:1.15fr .85fr;gap:48px}.eb-hero h1.hero-title{font-size:50px}}
@media(max-width:899px){.eb-hero{text-align:center}.eb-hero h1.hero-title,.eb-hero .hero-sub{margin-inline:auto}.eb-hero .hero-actions,.eb-offer{justify-content:center}.eb-hero-visual{max-width:300px}}

/* ---- Giá + đếm ngược ---- */
.eb-offer{margin-top:24px;display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px}
.eb-offer-price{display:flex;align-items:baseline;flex-wrap:wrap;gap:10px}
.eb-offer-price--center{justify-content:center}
.eb-price-now{font-size:30px;font-weight:600;letter-spacing:-.02em;color:var(--color-foreground)}
.eb-price-old{font-size:15px;color:var(--color-faint)}
.eb-countdown{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.eb-countdown[hidden]{display:none}
.eb-countdown-label{font-family:var(--font-mono);font-size:11px;letter-spacing:.05em;text-transform:uppercase;color:var(--color-muted)}
.eb-countdown-cells{display:flex;gap:6px}
.eb-countdown-cells span{display:flex;flex-direction:column;align-items:center;min-width:46px;padding:6px 4px;border:1px solid var(--color-border-strong);border-radius:var(--radius-lg);background:var(--color-surface);font-size:10px;color:var(--color-muted)}
.eb-countdown-cells b{font-family:var(--font-mono);font-size:17px;font-weight:500;line-height:1.3;color:var(--color-heat-ink)}
.eb-countdown--card{margin-top:24px;justify-content:center;flex-direction:column;padding:16px;border-radius:var(--radius-xl);background:var(--color-heat-soft);border:1px solid var(--color-heat-border)}

/* ---- Nỗi đau ---- */
.eb-pain-grid{margin-top:40px;display:grid;gap:12px}
@media(min-width:768px){.eb-pain-grid{grid-template-columns:repeat(3,1fr)}}
.eb-pain{padding:24px;border:1px solid var(--color-border-strong);border-radius:var(--radius-2xl);background:var(--color-surface)}
.eb-pain h3{margin-top:16px;font-size:16px;font-weight:600;color:var(--color-foreground)}
.eb-pain p{margin-top:8px;font-size:14px;color:var(--color-muted)}

/* ---- Câu chuyện biên soạn ---- */
.eb-story{display:grid;gap:32px;align-items:center;padding:32px;border:1px solid var(--color-border-strong);border-radius:var(--radius-2xl);background:var(--color-surface);box-shadow:var(--shadow-card)}
@media(min-width:860px){.eb-story{grid-template-columns:320px 1fr;gap:48px;padding:40px}}
.eb-story-photo{margin:0;max-width:320px;justify-self:center}
.eb-story-photo img{width:100%;height:auto;border-radius:var(--radius-xl);background:var(--color-background)}
html.dark .eb-story-photo img{filter:brightness(.92)}
.eb-story-photo figcaption{margin-top:10px;font-size:12px;color:var(--color-faint);text-align:center}
.eb-story-copy h2.section-title{font-size:24px}
@media(min-width:640px){.eb-story-copy h2.section-title{font-size:28px}}
.eb-story-copy p:not(.eyebrow){margin-top:14px;font-size:15px;color:var(--color-body)}
.eb-story-copy strong{color:var(--color-foreground)}

/* ---- Số liệu ---- */
.eb-stats{margin-top:40px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:var(--color-border);border:1px solid var(--color-border);border-radius:var(--radius-2xl);overflow:hidden}
@media(min-width:900px){.eb-stats{grid-template-columns:repeat(4,1fr)}}
.eb-stat{padding:24px 18px;background:var(--color-surface)}
@media(min-width:640px){.eb-stat{padding:28px 22px}}
.eb-stat strong{display:block;font-size:32px;font-weight:600;letter-spacing:-.03em;line-height:1.1;color:var(--color-heat-ink)}
.eb-stat p{margin-top:10px;font-size:13px;color:var(--color-muted)}
.eb-stat b{font-weight:600;color:var(--color-foreground)}
.eb-stats-note{margin:28px auto 0;max-width:40rem;text-align:center;font-size:15px;color:var(--color-body)}
.eb-stats-note strong{color:var(--color-foreground)}

/* ---- Bộ công cụ ---- */
.eb-kit{margin-top:40px;display:grid;gap:24px;align-items:center}
@media(min-width:900px){.eb-kit{grid-template-columns:1fr 1fr;gap:40px}}
.eb-kit-media img{width:100%;height:auto;border-radius:var(--radius-2xl);border:1px solid var(--color-border-strong);box-shadow:var(--shadow-float)}
.eb-kit-list{margin-top:0}

/* ---- Mục lục ---- */
.eb-toc{margin-top:40px;display:grid;gap:32px;align-items:center}
@media(min-width:900px){.eb-toc{grid-template-columns:.8fr 1.2fr;gap:48px}}
.eb-toc-cover{margin:0;max-width:380px;justify-self:center}
.eb-toc-cover img{width:100%;height:auto}
.eb-toc-grid{display:grid;gap:12px}
@media(min-width:600px){.eb-toc-grid{grid-template-columns:repeat(2,1fr)}}
.eb-toc-group{padding:22px;border:1px solid var(--color-border-strong);border-radius:var(--radius-2xl);background:var(--color-surface)}
.eb-toc-num{font-family:var(--font-mono);font-size:11px;letter-spacing:.05em;text-transform:uppercase;color:var(--color-heat-ink)}
.eb-toc-group h3{margin-top:6px;font-size:16px;font-weight:600;color:var(--color-foreground)}
.eb-toc-group ul{margin-top:12px;display:flex;flex-direction:column;gap:8px}
.eb-toc-group li{position:relative;padding-left:16px;font-size:13px;color:var(--color-muted)}
.eb-toc-group li::before{content:"";position:absolute;left:0;top:.6em;width:6px;height:6px;border-radius:2px;background:var(--color-heat)}

/* ---- Đặt hàng ---- */
.eb-price-card{margin-top:40px}
.eb-price-card .price-tag{margin-top:6px}
.eb-credit{margin-top:24px;text-align:center;font-size:13px;color:var(--color-muted)}
.eb-credit strong{color:var(--color-foreground);font-weight:500}
@media(min-width:640px){.eb-stat strong{font-size:40px}}
