/* ==========================================================================
   🎨 WORLD-CLASS UI/UX REDESIGN - DRAWING EBOOK COMBO LANDING PAGE
   Designed by Senior Lead UI/UX Engineer & CRO Specialist
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* Premium Color System */
    --brand-primary: #ff3b30;
    --brand-primary-hover: #e02d23;
    --brand-gradient: linear-gradient(135deg, #ff3b30 0%, #ff6b00 100%);
    --brand-gradient-glow: linear-gradient(135deg, rgba(255, 59, 48, 0.35) 0%, rgba(255, 107, 0, 0.35) 100%);
    --brand-accent: #ff9500;
    
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-400: #94a3b8;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --slate-50:  #f8fafc;

    --emerald-500: #10b981;
    --emerald-600: #059669;
    --emerald-50:  #ecfdf5;

    --amber-500: #f59e0b;
    --amber-50:  #fffbeb;

    /* Glassmorphism & Elevation Shadow System */
    --glass-bg: rgba(255, 255, 255, 0.88);
    --glass-border: rgba(226, 232, 240, 0.8);
    --shadow-soft: 0 10px 30px -10px rgba(15, 23, 42, 0.05);
    --shadow-card: 0 20px 40px -15px rgba(15, 23, 42, 0.08);
    --shadow-hover: 0 30px 60px -20px rgba(15, 23, 42, 0.15);
    --shadow-cta: 0 16px 36px -8px rgba(255, 59, 48, 0.4);

    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
}

/* Reset & Global Rules */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    background-color: #f6f9fc;
    color: var(--slate-900);
    line-height: 1.6;
    padding-bottom: 80px;
    overflow-x: hidden;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Top Urgency Announcement Header Bar */
.top-urgency-bar {
    background: linear-gradient(90deg, #1e293b, #0f172a, #1e293b);
    color: #ffffff;
    padding: 12px 20px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.92rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #ff3b30;
    border-radius: 50%;
    box-shadow: 0 0 12px #ff3b30;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 10px rgba(255, 59, 48, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 59, 48, 0); }
}

.countdown-box {
    background: rgba(255, 59, 48, 0.15);
    border: 1px solid rgba(255, 59, 48, 0.4);
    padding: 4px 14px;
    border-radius: 20px;
    color: #ff6b60;
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

/* Redesigned Hero Section */
.hero-section {
    background: radial-gradient(circle at 50% 0%, rgba(255, 59, 48, 0.05) 0%, rgba(246, 249, 252, 0) 70%), #ffffff;
    padding: 60px 0 70px 0;
    border-bottom: 1px solid var(--slate-200);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
    align-items: center;
}

.hero-badge-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}

.rating-badge {
    background: var(--amber-50);
    color: #b45309;
    border: 1px solid #fde68a;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.88rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hot-badge {
    background: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fca5a5;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.88rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hero-headline {
    font-family: var(--font-heading);
    font-size: 2.85rem;
    font-weight: 800;
    line-height: 1.18;
    color: var(--slate-900);
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-headline span {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-subhead {
    font-size: 1.15rem;
    color: var(--slate-600);
    margin-bottom: 32px;
    line-height: 1.65;
}

/* Glassmorphism Price Card */
.price-card {
    background: var(--slate-50);
    border: 2px dashed #cbd5e1;
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    margin-bottom: 32px;
    box-shadow: var(--shadow-soft);
}

.price-card-header {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 8px;
}

.original-price {
    font-size: 1.45rem;
    color: var(--slate-400);
    text-decoration: line-through;
    font-weight: 600;
}

.current-price {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--brand-primary);
    line-height: 1;
}

.discount-tag {
    background: var(--emerald-500);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-savings {
    font-size: 1rem;
    color: var(--emerald-600);
    font-weight: 700;
}

/* High-Converting CTA Button */
.cta-button {
    width: 100%;
    background: var(--brand-gradient);
    color: #ffffff;
    border: none;
    padding: 22px 36px;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    border-radius: var(--radius-md);
    cursor: pointer;
    box-shadow: var(--shadow-cta);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px -10px rgba(255, 59, 48, 0.5);
}

.cta-button:active {
    transform: translateY(-1px);
}

.cta-subtext {
    font-size: 0.84rem;
    font-weight: 600;
    text-transform: none;
    opacity: 0.95;
    margin-top: 4px;
    font-family: var(--font-body);
}

/* Payment Chips & Trust */
.trust-badges {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.payment-icons {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: var(--slate-500);
    font-weight: 600;
    flex-wrap: wrap;
}

.payment-chip {
    background: var(--slate-100);
    border: 1px solid var(--slate-200);
    padding: 5px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    color: var(--slate-800);
    font-weight: 700;
}

/* Hero Media Card */
.hero-media {
    position: relative;
}

.hero-img-wrap {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-hover);
    background: #ffffff;
    padding: 12px;
    border: 1px solid var(--slate-200);
    transition: transform 0.4s ease;
}

.hero-img-wrap:hover {
    transform: translateY(-6px);
}

.hero-img-wrap img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-lg);
}

/* Section Header Styling */
.section-title {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--slate-900);
    text-align: center;
    margin-bottom: 12px;
    letter-spacing: -0.8px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--slate-500);
    text-align: center;
    margin-bottom: 50px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

/* Books Breakdown Section with 3D Mockup Cards */
.books-section {
    padding: 85px 0;
    background: #ffffff;
}

.book-card-item {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 45px;
    background: var(--slate-50);
    border-radius: var(--radius-xl);
    padding: 40px;
    margin-bottom: 40px;
    border: 1px solid var(--slate-200);
    box-shadow: var(--shadow-card);
    align-items: center;
    transition: all 0.4s ease;
}

.book-card-item:hover {
    box-shadow: var(--shadow-hover);
    border-color: rgba(255, 59, 48, 0.3);
    transform: translateY(-4px);
}

/* 3D Book Mockup Wrapper */
.book-mockup-wrapper {
    perspective: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.book-mockup {
    position: relative;
    width: 100%;
    max-width: 250px;
    border-radius: 8px 18px 18px 8px;
    box-shadow: 
        -14px 18px 32px rgba(15, 23, 42, 0.2),
        -4px 4px 12px rgba(15, 23, 42, 0.1);
    transform: rotateY(-10deg) rotateX(4deg);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
    background: #ffffff;
    padding: 6px;
    border: 1px solid rgba(226, 232, 240, 0.9);
}

.book-mockup:hover {
    transform: rotateY(0deg) rotateX(0deg) scale(1.05);
    box-shadow: 0 25px 45px rgba(15, 23, 42, 0.25);
}

.book-mockup img {
    width: 100%;
    display: block;
    border-radius: 4px 14px 14px 4px;
}

.book-mockup::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 16px;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.28) 0%, rgba(0,0,0,0.06) 50%, rgba(255,255,255,0.45) 100%);
    border-radius: 8px 0 0 8px;
    pointer-events: none;
    z-index: 2;
}

.book-card-content h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--slate-900);
    margin-bottom: 12px;
    letter-spacing: -0.4px;
}

.book-card-content .book-num-badge {
    display: inline-block;
    background: #e0f2fe;
    color: #0369a1;
    font-weight: 800;
    font-size: 0.85rem;
    padding: 6px 18px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.book-card-content p {
    color: var(--slate-600);
    font-size: 1.05rem;
    margin-bottom: 22px;
    line-height: 1.65;
}

.book-features-list {
    list-style: none;
}

.book-features-list li {
    font-size: 1rem;
    color: var(--slate-800);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.book-features-list li::before {
    content: "✓";
    background: var(--emerald-50);
    color: var(--emerald-600);
    border: 1px solid #a7f3d0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* Highlights Section Grid */
.highlights-section {
    padding: 85px 0;
    background: var(--slate-50);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 28px;
}

.highlight-card {
    background: #ffffff;
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--slate-200);
    transition: all 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card);
    border-color: rgba(255, 59, 48, 0.4);
}

.highlight-icon {
    width: 58px;
    height: 58px;
    background: #fee2e2;
    color: var(--brand-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 20px;
}

.highlight-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--slate-900);
}

.highlight-card p {
    font-size: 0.98rem;
    color: var(--slate-500);
    line-height: 1.6;
}

/* Customer Testimonials */
.testimonials-section {
    padding: 85px 0;
    background: #ffffff;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 28px;
}

.review-card {
    background: var(--slate-50);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--slate-200);
}

.review-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.reviewer-info h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--slate-900);
}

.reviewer-info p {
    font-size: 0.84rem;
    color: var(--slate-500);
}

.stars {
    color: var(--amber-500);
    font-size: 1.15rem;
}

.review-text {
    font-size: 0.98rem;
    color: var(--slate-700);
    font-style: italic;
    line-height: 1.65;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--emerald-600);
    font-size: 0.8rem;
    font-weight: 700;
    margin-top: 16px;
}

/* Guarantee Box */
.guarantee-box {
    background: var(--amber-50);
    border: 2px dashed var(--amber-500);
    border-radius: var(--radius-xl);
    padding: 45px;
    text-align: center;
    margin: 55px 0;
}

.guarantee-box h3 {
    font-family: var(--font-heading);
    font-size: 1.9rem;
    color: #92400e;
    margin-bottom: 14px;
    font-weight: 800;
}

.guarantee-box p {
    color: #78350f;
    font-size: 1.08rem;
    max-width: 760px;
    margin: 0 auto 28px auto;
    line-height: 1.65;
}

/* FAQ Section */
.faq-section {
    padding: 85px 0;
    background: #ffffff;
}

.faq-list {
    max-width: 860px;
    margin: 0 auto;
}

.faq-item {
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    margin-bottom: 18px;
    padding: 22px 28px;
    transition: border-color 0.2s ease;
}

.faq-question {
    font-family: var(--font-heading);
    font-size: 1.18rem;
    font-weight: 800;
    color: var(--slate-900);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding-top: 16px;
    color: var(--slate-600);
    font-size: 1.02rem;
    display: none;
    line-height: 1.7;
}

.faq-item.active {
    border-color: rgba(255, 59, 48, 0.4);
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-toggle {
    font-size: 1.6rem;
    color: var(--brand-primary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

/* Footer Section */
footer {
    background: var(--slate-900);
    color: var(--slate-400);
    padding: 50px 0 30px 0;
    text-align: center;
    font-size: 0.92rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--slate-200);
    text-decoration: none;
    cursor: pointer;
    font-weight: 600;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--brand-primary);
}

/* Sticky Bottom Bar */
.sticky-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 -8px 30px rgba(15, 23, 42, 0.12);
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 999;
    border-top: 1px solid var(--slate-200);
}

.sticky-price {
    display: flex;
    flex-direction: column;
}

.sticky-price-now {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--brand-primary);
    line-height: 1;
}

.sticky-price-old {
    font-size: 0.84rem;
    color: var(--slate-400);
    text-decoration: line-through;
}

.sticky-cta-btn {
    background: var(--brand-gradient);
    color: #ffffff;
    border: none;
    padding: 15px 32px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    border-radius: var(--radius-sm);
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(255, 59, 48, 0.35);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Live Buyer Social Proof Toast */
.social-proof-toast {
    position: fixed;
    bottom: 90px;
    left: 24px;
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 16px 22px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16);
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 998;
    border: 1px solid var(--slate-200);
    border-left: 4px solid var(--emerald-500);
    transform: translateY(160px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    max-width: 380px;
}

.social-proof-toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-avatar {
    width: 46px;
    height: 46px;
    background: #e0f2fe;
    color: #0284c7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
}

.toast-content h5 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--slate-900);
    margin-bottom: 2px;
}

.toast-content p {
    font-size: 0.82rem;
    color: var(--slate-500);
}

/* Modal Windows */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-box {
    background: #ffffff;
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 560px;
    padding: 40px;
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.3);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    color: var(--slate-900);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 2.2rem;
    cursor: pointer;
    color: var(--slate-400);
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--slate-900);
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--slate-900);
    margin-bottom: 12px;
}

/* Form Groups */
.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 0.94rem;
    font-weight: 700;
    color: var(--slate-800);
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 15px 18px;
    background: #ffffff;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    color: var(--slate-900);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 4px rgba(255, 59, 48, 0.12);
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 90px;
    right: 24px;
    background: #25d366;
    color: white;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
    z-index: 997;
    text-decoration: none;
    font-size: 2rem;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.whatsapp-float:hover {
    transform: scale(1.12);
}

/* Responsive Media Queries */
@media (max-width: 880px) {
    .hero-grid, .book-card-item {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
    .hero-headline {
        font-size: 2.15rem;
    }

    .book-mockup {
        margin: 0 auto;
    }

    .social-proof-toast {
        left: 14px;
        right: 14px;
        max-width: none;
    }
}
