/* =============================================================================
   EBOOK SINGLE PAGE — ebook-single.css
   Extends ebooks.css — place in /assets/css/ebook-single.css
   ============================================================================= */

/* ── Breadcrumb ──────────────────────────────────────────────────── */
.eb-breadcrumb {
    background: #ffffff;
    padding: 1.25rem 5%;
    border-bottom: 2px solid #e5e7eb;
}
.eb-breadcrumb__inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}
.eb-breadcrumb a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.25s;
}
.eb-breadcrumb a:hover { color: #1e40af; }
.eb-breadcrumb__sep { color: #9ca3af; font-size: 1rem; }
.eb-breadcrumb__current {
    color: #6b7280;
    font-weight: 600;
    font-size: 0.95rem;
    max-width: 300px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Hero ────────────────────────────────────────────────────────── */
.eb-hero {
    background: linear-gradient(180deg, #ffffff 0%, #fef3f2 50%, #fff7ed 100%);
    padding: 4rem 5%;
    position: relative;
    overflow: hidden;
}
.eb-hero::before {
    content: '';
    position: absolute;
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(59,130,246,0.08) 0%, transparent 70%);
    top: -220px;
    right: -160px;
    animation: float-blob 22s infinite ease-in-out;
    pointer-events: none;
}
.eb-hero__inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 4rem;
    align-items: start;
    position: relative;
    z-index: 1;
}

/* ── Cover Column ────────────────────────────────────────────────── */
.eb-hero__cover-col {
    position: sticky;
    top: 2rem;
}
.eb-cover-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.14);
    position: relative;
    margin-bottom: 1.5rem;
}
.eb-price-badge {
    position: absolute;
    top: -14px;
    right: -14px;
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-size: 1.45rem;
    font-weight: 900;
    box-shadow: 0 8px 24px rgba(16,185,129,0.4);
    transform: rotate(5deg);
    z-index: 10;
    animation: sticker-bounce 3s ease-in-out infinite;
}
.eb-price-badge.paid {
    background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
    box-shadow: 0 8px 24px rgba(249,115,22,0.4);
}
@keyframes sticker-bounce {
    0%,100% { transform: rotate(5deg) translateY(0);    }
    50%      { transform: rotate(5deg) translateY(-6px); }
}
.eb-cover-img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    display: block;
    transition: transform 0.4s ease;
}
.eb-cover-card:hover .eb-cover-img { transform: scale(1.03); }
.eb-cover-placeholder {
    width: 100%;
    min-height: 320px;
    background: linear-gradient(135deg, #3b82f6 0%, #7c3aed 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: #ffffff;
}

/* Quick specs below cover */
.eb-quick-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}
.eb-quick-spec {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 14px;
    padding: 0.9rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: border-color 0.25s, box-shadow 0.25s;
}
.eb-quick-spec:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 16px rgba(59,130,246,0.1);
}
.eb-quick-spec__icon { font-size: 1.4rem; flex-shrink: 0; }
.eb-quick-spec__val {
    display: block;
    font-size: 0.95rem;
    font-weight: 800;
    color: #1f2937;
    line-height: 1.2;
}
.eb-quick-spec__lbl {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

/* ── Content Column ──────────────────────────────────────────────── */
.eb-hero__content-col { padding: 1rem 0; }
.eb-hero__meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.75rem;
    flex-wrap: wrap;
}
.eb-cat-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #1e40af;
    padding: 0.55rem 1.3rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    border: 2px solid #bfdbfe;
}
.eb-year-badge {
    color: #6b7280;
    font-weight: 700;
    font-size: 0.95rem;
}
.eb-rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
    padding: 0.55rem 1.3rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    border: 2px solid #fcd34d;
}
.eb-rating-badge__count { opacity: 0.75; font-weight: 600; }
.eb-featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: linear-gradient(135deg, #fef3c7 0%, #fef08a 100%);
    color: #854d0e;
    padding: 0.55rem 1.3rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    border: 2px solid #fde047;
}
.eb-hero__title {
    font-size: 2.8rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}
.eb-hero__author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    color: #6b7280;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

/* Stars */
.eb-stars-row {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-bottom: 1.75rem;
}
.star { font-size: 1.4rem; }
.star.full  { color: #f59e0b; }
.star.half  { color: #f59e0b; font-size: 1.1rem; }
.star.empty { color: #d1d5db; }
.eb-stars-row__label  { color: #374151; font-size: 0.95rem; font-weight: 700; margin-left: 4px; }
.eb-stars-row__count  { color: #9ca3af; font-size: 0.85rem; margin-left: 2px; }

.eb-hero__excerpt {
    font-size: 1.1rem;
    color: #4b5563;
    line-height: 1.9;
    margin-bottom: 2rem;
}

/* Social proof */
.eb-social-proof {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 1.25rem 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}
.eb-proof-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}
.eb-proof-item__num {
    font-size: 1.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.eb-proof-item__lbl {
    font-size: 0.8rem;
    color: #9ca3af;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.eb-proof-divider { width: 1px; height: 40px; background: #e5e7eb; flex-shrink: 0; }

/* Action buttons */
.eb-hero__actions {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}
.btn-amazon {
    background: linear-gradient(135deg, #ff9900 0%, #ffb347 100%);
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(255,153,0,0.35);
    padding: 1.1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
    border: none;
    cursor: pointer;
}
.btn-amazon:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(255,153,0,0.45); }
.eb-guarantee {
    font-size: 0.88rem;
    color: #6b7280;
    font-weight: 600;
    line-height: 2;
}

/* ── Specs Bar ───────────────────────────────────────────────────── */
.eb-specs-bar { background: #ffffff; padding: 4rem 5%; }
.eb-specs-bar__inner { max-width: 1400px; margin: 0 auto; }
.eb-specs-bar__title {
    font-size: 2.2rem;
    font-weight: 900;
    color: #0f172a;
    text-align: center;
    margin-bottom: 2.5rem;
}
.eb-specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
}
.eb-spec-card {
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    border: 2px solid #e5e7eb;
    border-radius: 20px;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    transition: all 0.3s ease;
}
.eb-spec-card:hover { transform: translateY(-4px); border-color: #3b82f6; box-shadow: 0 12px 36px rgba(59,130,246,0.1); }
.eb-spec-card__icon { font-size: 2.2rem; }
.eb-spec-card__lbl  { font-size: 0.8rem; color: #6b7280; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.eb-spec-card__val  { font-size: 1.2rem; color: #1f2937; font-weight: 800; }

/* ── Description Section ─────────────────────────────────────────── */
.eb-description-section {
    background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
    padding: 5rem 5%;
}
.eb-description-section__inner { max-width: 1000px; margin: 0 auto; }
.eb-description-body {
    background: #ffffff;
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.07);
    font-size: 1.08rem;
    line-height: 2;
    color: #374151;
    margin-top: 0.5rem;
}
.eb-description-body h2 { font-size: 1.75rem; font-weight: 800; color: #1f2937; margin: 2rem 0 1rem; }
.eb-description-body h3 { font-size: 1.45rem; font-weight: 700; color: #1f2937; margin: 1.5rem 0 0.75rem; }
.eb-description-body h4 { font-size: 1.2rem;  font-weight: 700; color: #374151; margin: 1.25rem 0 0.5rem; }
.eb-description-body p  { margin-bottom: 1.5rem; }
.eb-description-body p:last-child { margin-bottom: 0; }
.eb-description-body strong { font-weight: 700; color: #1f2937; }
.eb-description-body em      { font-style: italic; color: #4b5563; }
.eb-description-body ul, .eb-description-body ol { margin: 1.5rem 0; padding-left: 2rem; }
.eb-description-body li      { margin-bottom: 0.6rem; }
.eb-description-body a       { color: #3b82f6; text-decoration: underline; font-weight: 600; }
.eb-description-body a:hover { color: #1e40af; }
.eb-description-body blockquote {
    border-left: 4px solid #3b82f6;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #6b7280;
    background: #eff6ff;
    border-radius: 0 12px 12px 0;
}
.eb-description-body code {
    background: #f3f4f6;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.92em;
    color: #ef4444;
}
.eb-description-body pre {
    background: #1e293b;
    color: #e2e8f0;
    padding: 1.5rem;
    border-radius: 12px;
    overflow-x: auto;
    margin: 1.5rem 0;
}
.eb-description-body pre code { background: none; color: inherit; padding: 0; }
.eb-description-body hr { border: none; border-top: 2px solid #e5e7eb; margin: 2.5rem 0; }
.eb-description-body table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.95rem; }
.eb-description-body th, .eb-description-body td { text-align: left; padding: 0.75rem 1rem; border: 1px solid #e5e7eb; }
.eb-description-body th { background: #f9fafb; font-weight: 700; color: #374151; }

/* ── Related eBooks ──────────────────────────────────────────────── */
.eb-related-section { background: #ffffff; padding: 5rem 5%; }
.eb-related-section__inner { max-width: 1400px; margin: 0 auto; }
.eb-related-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 2.5rem;
    justify-items: center;
    margin-top: 0.5rem;
}
.eb-related-count-2 { grid-template-columns: repeat(2,1fr); max-width: 900px; margin-left: auto; margin-right: auto; }
.eb-related-count-1 { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }

/* Shared section title */
.section-title {
    font-size: 2.2rem;
    font-weight: 900;
    color: #0f172a;
    text-align: center;
    margin-bottom: 2.5rem;
}

/* ── Email Modal ─────────────────────────────────────────────────── */
.email-modal {
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 99999;
    display: none;
    align-items: center; justify-content: center;
    padding: 2rem;
}
.email-modal.active { display: flex; }
.email-modal__overlay {
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(8px);
    z-index: 1;
}
.email-modal__container {
    position: relative; z-index: 2;
    background: #ffffff;
    border-radius: 24px;
    max-width: 500px; width: 100%;
    padding: 3rem 2.5rem;
    box-shadow: 0 25px 80px rgba(0,0,0,0.3);
    text-align: center;
}
.email-modal__close {
    position: absolute; top: 1.25rem; right: 1.25rem;
    width: 38px; height: 38px;
    border-radius: 50%;
    background: #f3f4f6; border: none;
    font-size: 1.6rem; cursor: pointer;
    transition: all 0.3s ease; color: #6b7280;
    display: flex; align-items: center; justify-content: center;
}
.email-modal__close:hover { background: #ef4444; color: #ffffff; transform: rotate(90deg); }
.email-modal__icon { font-size: 3.5rem; margin-bottom: 1.25rem; animation: bounce 2s infinite; }
@keyframes bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.email-modal__title    { font-size: 1.9rem; font-weight: 900; color: #1f2937; margin-bottom: 0.6rem; }
.email-modal__subtitle { font-size: 1rem; color: #6b7280; margin-bottom: 1.75rem; }
.email-modal__form { text-align: left; }
.email-modal__input-group { margin-bottom: 1.25rem; }
.email-modal__label { display: block; font-size: 0.9rem; font-weight: 700; color: #374151; margin-bottom: 0.4rem; }
.email-modal__input {
    width: 100%; padding: 0.9rem 1.25rem;
    border: 2px solid #e5e7eb; border-radius: 12px;
    font-size: 1rem; transition: all 0.3s ease; background: #ffffff;
}
.email-modal__input:focus { outline: none; border-color: #3b82f6; box-shadow: 0 0 0 4px rgba(59,130,246,0.1); }
.email-modal__benefits {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 2px solid #bfdbfe; border-radius: 12px;
    padding: 1.25rem; margin-bottom: 1.25rem;
}
.benefit-item { display: flex; align-items: center; gap: 0.65rem; margin-bottom: 0.65rem; font-size: 0.9rem; color: #1e40af; font-weight: 600; }
.benefit-item:last-child { margin-bottom: 0; }
.benefit-icon { width: 22px; height: 22px; background: #ffffff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; flex-shrink: 0; }
.email-modal__submit {
    width: 100%; padding: 1.1rem 2rem;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: #ffffff; border: none; border-radius: 50px;
    font-size: 1.05rem; font-weight: 800; cursor: pointer;
    transition: all 0.4s ease;
    display: flex; align-items: center; justify-content: center; gap: 0.75rem;
    box-shadow: 0 8px 24px rgba(30,64,175,0.3);
}
.email-modal__submit:hover  { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(30,64,175,0.4); }
.email-modal__submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.email-modal__note { text-align: center; font-size: 0.82rem; color: #6b7280; margin-top: 0.9rem; }
.email-modal__success { text-align: center; padding: 2rem 0; }
.success-icon { font-size: 3.5rem; margin-bottom: 0.75rem; animation: scaleIn 0.5s ease; }
@keyframes scaleIn { 0% { transform: scale(0); } 50% { transform: scale(1.2); } 100% { transform: scale(1); } }
.email-modal__success h4 { font-size: 1.4rem; font-weight: 800; color: #10b981; margin-bottom: 0.65rem; }
.email-modal__success p  { font-size: 0.95rem; color: #6b7280; line-height: 1.6; }

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .eb-hero__inner { grid-template-columns: 320px 1fr; gap: 3rem; }
    .eb-hero__title { font-size: 2.4rem; }
}
@media (max-width: 900px) {
    .eb-hero__inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .eb-hero__cover-col { position: static; max-width: 360px; margin: 0 auto; }
    .eb-hero__title { font-size: 2.2rem; }
    .eb-related-grid { grid-template-columns: repeat(2,1fr); }
    .eb-related-count-1 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .eb-hero { padding: 2.5rem 5%; }
    .eb-hero__title { font-size: 1.8rem; }
    .eb-hero__actions { flex-direction: column; }
    .eb-hero__actions .btn,
    .eb-hero__actions .btn-amazon { width: 100%; justify-content: center; }
    .eb-specs-grid { grid-template-columns: repeat(2,1fr); }
    .eb-description-body { padding: 1.75rem; }
    .eb-related-grid { grid-template-columns: 1fr; }
    .eb-social-proof { gap: 1rem; padding: 1rem 1.25rem; }
    .email-modal { padding: 1rem; }
    .email-modal__container { padding: 2rem 1.25rem; }
    .email-modal__title { font-size: 1.5rem; }
}

/* =============================================================================
   SELF-CONTAINED: Related Cards + Social Proof
   (copied here so this page works even if ebooks.css fails to load)
   ============================================================================= */

/* Related card grid items */
.related-card {
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    border: 2px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 420px;
}
.related-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(59,130,246,0.15);
    border-color: #3b82f6;
}
.related-cover {
    position: relative;
    padding: 2rem;
    background: #ffffff;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.related-cover img {
    width: 100%;
    max-width: 200px;
    height: auto;
    max-height: 240px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.related-price {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    color: #ffffff;
    padding: 0.4rem 1rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 900;
    box-shadow: 0 4px 12px rgba(16,185,129,0.3);
    z-index: 10;
}
.related-price.paid {
    background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
    box-shadow: 0 4px 12px rgba(249,115,22,0.3);
}
.related-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.related-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 0.75rem;
    line-height: 1.3;
    flex: 1;
}
.related-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}
.related-title a:hover { color: #3b82f6; }
.related-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.related-category {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.82rem;
    color: #1e40af;
    font-weight: 600;
}
.related-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.7rem 1.5rem;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    margin-top: auto;
}
.related-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30,64,175,0.3);
}

/* Cover placeholder inside related cards */
.related-cover .ebook-cover-placeholder {
    width: 100%;
    min-height: 200px;
    background: linear-gradient(135deg, #3b82f6 0%, #7c3aed 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: #ffffff;
}

/* Social proof bar — force proper flex layout */
.eb-social-proof {
    display: flex !important;
    align-items: center;
    gap: 2rem;
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 1.25rem 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}
.eb-proof-divider {
    width: 1px;
    height: 40px;
    background: #e5e7eb;
    flex-shrink: 0;
    display: block !important;
}

/* Ensure shared .btn styles exist even without ebooks.css */
.btn {
    padding: 1.1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}
.btn-primary {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(30,64,175,0.3);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(30,64,175,0.4); }
.btn-secondary {
    background: #ffffff;
    color: #1e40af;
    border: 2px solid #1e40af;
    box-shadow: 0 4px 16px rgba(30,64,175,0.1);
}
.btn-secondary:hover { background: #1e40af; color: #ffffff; transform: translateY(-3px); }
.btn-free {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(16,185,129,0.3);
}
.btn-free:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(16,185,129,0.4); }
.btn-buy {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(245,158,11,0.3);
}
.btn-buy:hover { transform: translateY(-3px); }

/* float-blob keyframe (used by eb-hero::before) */
@keyframes float-blob {
    0%,100% { transform: translate(0,0) scale(1);       }
    33%      { transform: translate(40px,-40px) scale(1.08); }
    66%      { transform: translate(-25px,25px) scale(0.95); }
}

/* ── Grab This eBook button ─────────────────────────────────────── */
.btn-grab {
    background: linear-gradient(135deg, #f97316 0%, #ef4444 100%);
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(249,115,22,0.35);
    font-size: 1.1rem;
    padding: 1.2rem 2.8rem;
    letter-spacing: 0.02em;
}
.btn-grab:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 32px rgba(249,115,22,0.45);
    color: #ffffff;
    text-decoration: none;
}

/* ── Proof item name (smaller font for author name) ─────────────── */
.eb-proof-item__num--sm {
    font-size: 1rem !important;
    font-weight: 700;
}
/* ── COMPREHENSIVE MOBILE RESPONSIVE ADDITIONS ── */
@media (max-width: 480px) {
    .eb-hero { padding: 2rem 5% 2.5rem; }
    .eb-hero__title { font-size: 1.5rem; line-height: 1.3; }
    .eb-hero__tagline { font-size: 0.9rem; }
    .eb-hero__cover-col { max-width: 260px; margin: 0 auto; }
    .eb-hero__actions { flex-direction: column; gap: 0.75rem; }
    .eb-hero__actions .btn,
    .eb-hero__actions .btn-amazon,
    .btn-grab { width: 100%; justify-content: center; }
    .eb-specs-grid { grid-template-columns: 1fr 1fr; }
    .eb-description-body { padding: 1.2rem; }
    .eb-social-proof { flex-direction: column; gap: 0.75rem; padding: 1rem; }
    .eb-proof-item { justify-content: center; }
    .eb-related-grid { grid-template-columns: 1fr; }
}

@media (max-width: 360px) {
    .eb-hero__title { font-size: 1.3rem; }
    .eb-specs-grid { grid-template-columns: 1fr; }
}
