/* Reset and Base Styles - Mobile First */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
    color: #333;
    overflow-x: hidden;
    font-size: 16px; /* Base font size for mobile */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px; /* Consistent padding for mobile */
    width: 100%;
}

/* Mobile-first responsive container */
@media (min-width: 768px) {
    .container {
        padding: 0 30px;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 40px;
    }
}

/* Language Selector - Mobile First */
.language-selector {
    background: var(--cta-gradient);
    transition: background 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 12px 0; /* Increased for mobile touch */
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.lang-options {
    display: flex;
    justify-content: center;
    gap: 10px; /* Reduced gap for mobile */
    flex-wrap: wrap;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 12px 18px; /* Larger touch targets for mobile */
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 15px; /* Slightly larger for mobile readability */
    font-weight: 500;
    min-width: 80px; /* Ensure consistent button sizes */
    text-align: center;
    touch-action: manipulation; /* Optimize for touch */
}

.lang-btn:hover,
.lang-btn.active {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px); /* Reduced transform for mobile */
}

/* Desktop enhancements */
@media (min-width: 768px) {
    .language-selector {
        padding: 10px 0;
    }

    .lang-options {
        gap: 15px;
    }

    .lang-btn {
        padding: 8px 16px;
        font-size: 14px;
    }

    .lang-btn:hover,
    .lang-btn.active {
        transform: translateY(-2px);
    }
}

/* CSS Custom Properties */
:root {
    --hero-background: #1e3a8a;
    --primary-color: #1e3a8a;
    --secondary-color: #1d4ed8;
    --accent-color: #2563eb;
    --highlight-color: #ffd700;
    --highlight-secondary: #ffed4e;
    --cta-gradient: linear-gradient(135deg, #1E3A8A 0%, #1d4ed8 100%);
    --floating-icon-color: rgba(255, 215, 0, 0.8);
    --text-shadow-color: rgba(30, 58, 138, 0.3);
}

/* ========================================
   GLOBAL AUTHENTICATION STYLES
   FORCEFULLY HIDE LOGIN BUTTON WHEN AUTHENTICATED
   ======================================== */

/* Hide login buttons when user is authenticated */
body.user-authenticated .login-button,
body.user-authenticated .login-btn,
body.user-authenticated a[href*="login.php"]:not([href*="logout"]),
body[data-user-id]:not([data-user-id=""]) .login-button,
body[data-user-id]:not([data-user-id=""]) .login-btn,
body[data-user-id]:not([data-user-id=""]) a[href*="login.php"]:not([href*="logout"]),
body[data-authenticated="true"] .login-button,
body[data-authenticated="true"] .login-btn,
body[data-authenticated="true"] a[href*="login.php"]:not([href*="logout"]) {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    position: absolute !important;
    left: -9999px !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* Ensure profile dropdown is visible when authenticated */
body.user-authenticated .profile-dropdown,
body[data-user-id]:not([data-user-id=""]) .profile-dropdown,
body[data-authenticated="true"] .profile-dropdown {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Hide profile dropdown when NOT authenticated */
body:not(.user-authenticated):not([data-user-id]) .profile-dropdown,
body[data-user-id=""] .profile-dropdown,
body:not([data-authenticated]) .profile-dropdown {
    display: none !important;
}



/* Hero Section - Mobile First */
.hero {
    background: #110237 url('./bg.jpg') no-repeat center center;
    background-size: cover;
    background-blend-mode: multiply;
    color: white;
    padding: 60px 0; /* Increased for better spacing */
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0;
}

@keyframes gradientShift {
    0%, 100% { background: var(--hero-gradient); }
    50% { background: var(--hero-gradient-alt); }
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

/* Floating elements for visual enhancement */
.hero:after {
    content: '';
    position: absolute;
    top: 10%;
    right: 10%;
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
    pointer-events: none;
}

.hero-content:before {
    content: '';
    position: absolute;
    bottom: 20%;
    left: 5%;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
    border-radius: 50%;
    animation: float 4s ease-in-out infinite reverse;
    pointer-events: none;
}



.hero-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.2rem; /* Smaller for mobile readability */
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
    transition: opacity 0.3s ease;
}

.highlight {
    background: linear-gradient(45deg, var(--highlight-color), var(--highlight-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: background 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 900;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--highlight-color), transparent);
    opacity: 0.6;
}

.hero-subtitle {
    font-size: 1.1rem; /* Adjusted for mobile */
    margin-bottom: 25px;
    opacity: 0.9;
    line-height: 1.5;
    max-width: 100%; /* Full width for proper centering */
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* Desktop enhancements */
@media (min-width: 769px) {
    .hero {
        padding: 60px 0;
        min-height: auto;
        background: #110237 url('./bg.jpg') no-repeat center center;
        background-size: cover;
        background-blend-mode: multiply;
        color: white;
        position: relative;
        overflow: hidden;
    }

    .hero-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 50px;
        text-align: left;
        position: relative;
        z-index: 2;
    }

    .hero-title {
        font-size: 2.8rem;
        color: white;
        transition: opacity 0.3s ease;
    }

    .hero-subtitle {
        font-size: 1.2rem;
        max-width: 100%;
        color: rgba(255, 255, 255, 0.9);
    }

    /* Hide mobile books on desktop */
    .hero-books-mobile {
        display: none;
    }

    /* Show desktop hero image */
    .hero-image-container {
        display: block;
    }

    .urgency-text {
        color: #FFD700;
    }

    .cta-primary {
        background: var(--cta-bg);
    }
}

@media (min-width: 1024px) {
    .hero {
        padding: 80px 0;
    }

    .hero-content {
        gap: 60px;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }
}

/* Urgency Banner - Mobile First */
.urgency-banner {
    background: #496c4a;
    border: 2px solid #d72124;
    border-radius: 12px;
    padding: 15px; /* Reduced for mobile */
    margin-bottom: 25px;
    text-align: center;
    color: white;
}

.urgency-text {
    font-size: 1rem; /* Adjusted for mobile */
    font-weight: 600;
    margin-bottom: 12px;
    color: #ffdd44;
    line-height: 1.3;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 8px; /* Reduced gap for mobile */
    flex-wrap: wrap;
}

.time-unit {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px 8px; /* Adjusted for mobile */
    min-width: 60px; /* Smaller for mobile */
    text-align: center;
    flex: 1;
    max-width: 70px;
}

.time-value {
    display: block;
    font-size: 1.4rem; /* Smaller for mobile */
    font-weight: 700;
    color: #ffd700;
    line-height: 1;
}

.time-label {
    font-size: 0.75rem; /* Smaller for mobile */
    opacity: 0.8;
    margin-top: 2px;
}

/* Desktop enhancements */
@media (min-width: 768px) {
    .urgency-banner {
        border: 2px solid #d72124;
        padding: 20px;
        border-radius: 15px;
        margin-bottom: 30px;
    }

    .urgency-text {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }

    .countdown-timer {
        gap: 15px;
    }

    .time-unit {
        padding: 12px;
        min-width: 70px;
        max-width: none;
        flex: none;
    }

    .time-value {
        font-size: 1.8rem;
    }

    .time-label {
        font-size: 0.85rem;
    }
}

@media (min-width: 1024px) {
    .countdown-timer {
        gap: 20px;
    }

    .time-unit {
        padding: 15px;
        min-width: 80px;
    }

    .time-value {
        font-size: 2rem;
    }

    .time-label {
        font-size: 0.9rem;
    }
}

/* CTA Buttons - Mobile First */
.cta-primary {
    background: var(--cta-gradient);
    background-size: 200% 200%;
    animation: gradientMove 3s ease infinite;
    color: white;
    border: none;
    padding: 16px 24px; /* Optimized for mobile touch */
    font-size: 1.1rem; /* Adjusted for mobile readability */
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px var(--text-shadow-color);
    transition: all 0.3s ease, background 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%; /* Full width on mobile */
    max-width: 350px; /* Prevent too wide on larger mobiles */
    min-height: 50px; /* Ensure good touch target */
    text-align: center;
    touch-action: manipulation; /* Optimize for touch */
}

/* Hero CTA specific styling */
.hero .cta-primary {
    background: linear-gradient(135deg, #d72124 0%, #b01e20 100%);
    background-size: 200% 200%;
    animation: gradientMove 3s ease infinite;
}

.cta-primary:hover,
.cta-primary:active {
    transform: translateY(-2px); /* Reduced for mobile */
    box-shadow: 0 12px 35px var(--text-shadow-color);
}

.guarantee {
    margin-top: 12px;
    font-size: 0.9rem; /* Slightly smaller for mobile */
    opacity: 0.9;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
    line-height: 1.3;
    font-weight: bold;
}

.guarantee .fas.fa-shield-alt {
    color: white;
}

/* Desktop enhancements */
@media (min-width: 768px) {
    .cta-primary {
        padding: 20px 40px;
        font-size: 1.15rem;
        width: auto;
        max-width: none;
        gap: 10px;
    }

    .cta-primary:hover {
        transform: translateY(-3px);
    }

    .guarantee {
        margin-top: 15px;
        font-size: 0.95rem;
        gap: 8px;
    }
}

@media (min-width: 1024px) {
    .cta-primary {
        padding: 22px 50px;
        font-size: 1.2rem;
    }
}

/* Hero Image */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0 auto;
}

/* Hero Text Container */
.hero-text {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 0 auto;
}

.hero-image-container {
    position: relative;
    animation: float 6s ease-in-out infinite;
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-main-image {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.hero-main-image:hover {
    transform: scale(1.05);
}





/* Mobile responsive design */
@media (max-width: 768px) {
    .hero-image {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 20px auto 0;
        padding: 0;
    }

    .hero-image-container {
        width: 100%;
        max-width: 500px;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
    }



    .indicator {
        width: 8px !important;
        height: 8px !important;
        margin: 0 4px !important;
    }
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 1023px) {


    .slide-label {
        font-size: 0.95rem;
    }
}

/* Desktop enhancements */
@media (min-width: 1024px) {


    .slide-label {
        font-size: 1.1rem;
        padding: 10px 20px;
        margin-top: 20px;
    }



    .indicator {
        width: 14px;
        height: 14px;
    }
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    font-size: 2rem;
    animation: floatIcon 4s ease-in-out infinite;
    color: var(--floating-icon-color);
    text-shadow: 0 0 20px var(--floating-icon-color);
    transition: color 0.6s cubic-bezier(0.4, 0, 0.2, 1), text-shadow 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-icon:nth-child(1) {
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.floating-icon:nth-child(2) {
    top: 60%;
    right: -15%;
    animation-delay: 1.5s;
}

.floating-icon:nth-child(3) {
    bottom: 20%;
    left: -5%;
    animation-delay: 3s;
}

/* Trust Indicators - Mobile First */
.trust-indicators {
    background: linear-gradient(135deg, #4a4a8a 0%, #6b5b95 50%, #8b7bb8 100%);
    padding: 30px 0;
    position: relative;
    overflow: hidden;
}

.trust-indicators::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.trust-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
    max-width: 400px;
    margin: 0 auto;
    padding: 0 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-weight: 600;
    color: white;
    font-size: 1rem;
    padding: 15px 20px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.trust-item:nth-child(1) { animation-delay: 0.1s; }
.trust-item:nth-child(2) { animation-delay: 0.2s; }
.trust-item:nth-child(3) { animation-delay: 0.3s; }
.trust-item:nth-child(4) { animation-delay: 0.4s; }

.trust-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.trust-item i {
    color: white;
    font-size: 1.5rem;
    min-width: 35px;
    text-align: center;
    animation: pulse 2s infinite;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Improved Trust Item Styling */
.trust-item {
    position: relative;
    overflow: hidden;
}

.trust-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255,255,255,0.05), transparent);
    z-index: -1;
}

.trust-item span {
    position: relative;
    z-index: 1;
}

/* Desktop enhancements */
@media (min-width: 768px) {
    .trust-indicators {
        padding: 60px 0;
    }

    .trust-items {
        flex-direction: row;
        justify-content: space-between;
        gap: 20px;
        max-width: 1200px;
        text-align: center;
        padding: 0 40px;
    }

    .trust-item {
        flex-direction: column;
        font-size: 1.1rem;
        gap: 12px;
        flex: 1;
        justify-content: center;
        padding: 25px 15px;
        min-height: 120px;
        border-radius: 20px;
    }

    .trust-item:hover {
        transform: translateY(-8px) scale(1.02);
    }

    .trust-item i {
        font-size: 2.5rem;
        min-width: auto;
        margin-bottom: 5px;
    }

    .trust-item span {
        font-size: 1.2rem;
        font-weight: 700;
    }
}

@media (min-width: 1024px) {
    .trust-indicators {
        padding: 80px 0;
    }

    .trust-items {
        max-width: 1400px;
        gap: 30px;
        padding: 0 60px;
    }

    .trust-item {
        font-size: 1.3rem;
        gap: 15px;
        padding: 30px 20px;
        min-height: 140px;
        border-radius: 25px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    }

    .trust-item:hover {
        transform: translateY(-10px) scale(1.03);
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    }

    .trust-item i {
        font-size: 3rem;
        margin-bottom: 8px;
    }

    .trust-item span {
        font-size: 1.4rem;
    }
}

/* Mobile specific adjustments */
@media (max-width: 480px) {
    .trust-indicators {
        padding: 40px 0;
    }

    .trust-items {
        gap: 15px;
        padding: 0 15px;
        max-width: 350px;
    }

    .trust-item {
        font-size: 0.9rem;
        gap: 12px;
        padding: 12px 15px;
        border-radius: 12px;
    }

    .trust-item i {
        font-size: 1.3rem;
        min-width: 30px;
    }

    .trust-item span {
        font-size: 1rem;
    }

    .bonus-title {
        font-size: 1.3rem;
    }

    .bonus-subtitle {
        font-size: 1rem;
    }

    .bonus-features li {
        font-size: 0.95rem;
        padding-left: 25px;
    }

    .free-badge {
        font-size: 1.6rem;
    }

    .bonus-btn {
        font-size: 0.95rem;
        padding: 15px 25px;
    }

    .bonus-title.enhanced {
        font-size: 1.5rem;
    }

    .bonus-subtitle.enhanced {
        font-size: 1.1rem;
    }

    .feature-item {
        padding: 15px;
    }

    .feature-icon {
        min-width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .feature-title {
        font-size: 1rem;
    }

    .feature-desc {
        font-size: 0.9rem;
    }

    .bonus-value-tag.animated {
        font-size: 1rem;
        padding: 15px 20px;
    }

    .value-text {
        font-size: 0.9rem;
    }

    .free-text {
        font-size: 1.2rem;
    }

    .free-badge.animated {
        font-size: 1.2rem;
    }

    .bonus-btn.enhanced {
        font-size: 1rem;
        padding: 18px 25px;
    }

    .hurry-text.animated {
        font-size: 0.9rem;
        padding: 10px 15px;
    }
}

/* Ebook Showcase Section - Mobile First */
.ebook-showcase {
    padding: 50px 0;
}

/* Language-specific font rendering */
.ebook-card[lang="hi"],
.ebook-card[lang="mr"] {
    font-family: 'Noto Sans Devanagari', 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.ebook-card[lang="en"] {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Ensure no automatic translation */
.ebook-card[translate="no"] * {
    /* translate property is not standard CSS - using transform instead */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

/* Additional browser translation prevention */
.ebook-card[translate="no"] {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.ebook-card[translate="no"] .ebook-title,
.ebook-card[translate="no"] .ebook-description,
.ebook-card[translate="no"] .feature span,
.ebook-card[translate="no"] .discount,
.ebook-card[translate="no"] .ebook-cta {
    /* Using transform instead of invalid translate property */
    -webkit-transform: translateZ(0) !important;
    transform: translateZ(0) !important;
}

/* Language-specific text rendering */
.ebook-card[lang="hi"] .ebook-title,
.ebook-card[lang="mr"] .ebook-title {
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.5px;
}

.ebook-card[lang="hi"] .ebook-description,
.ebook-card[lang="mr"] .ebook-description {
    line-height: 1.6;
    letter-spacing: 0.3px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.5;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.ebooks-grid {
    display: grid;
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 30px;
    margin-bottom: 40px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.ebook-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 3px solid #7B1FA2;
    position: relative;
    padding: 20px;
    max-width: 350px;
    margin: 0 auto;
}

.language-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #7B1FA2;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 2;
}

.ebook-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.ebook-card:hover .ebook-pricing {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(25, 118, 210, 0.2);
}

.ebook-image {
    background: #7ab56e;
    text-align: center;
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 15px;
    margin: -20px -20px 20px -20px;
}

/* Language-specific background colors */
.ebook-card[data-language="en"] .ebook-image {
    background: #7ab56e;
}

.ebook-card[data-language="hi"] .ebook-image {
    background: #844bac;
}

.ebook-card[data-language="mr"] .ebook-image {
    background: #4747ad;
}

.ebook-image img {
    max-width: 180px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.ebook-content {
    background: white;
    border-radius: 15px;
    padding: 20px;
    margin-top: 10px;
}

.ebook-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #333;
    text-align: center;
}

.ebook-description {
    color: #666;
    line-height: 1.4;
    margin-bottom: 20px;
    text-align: center;
    font-size: 0.9rem;
}

.ebook-features {
    margin-bottom: 20px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 0.85rem;
}

.feature i {
    color: #4CAF50;
    font-size: 0.8rem;
}

.ebook-pricing {
    margin-bottom: 25px;
    position: relative;
    text-align: center;
    padding: 25px 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    border-radius: 20px;
    border: 3px solid #e3f2fd;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.ebook-pricing:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
    border-color: #bbdefb;
}

.discount-badge {
    position: absolute;
    top: -15px;
    right: 25px;
    background: linear-gradient(135deg, #FF4444, #CC0000);
    color: white;
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 800;
    box-shadow: 0 6px 20px rgba(255, 68, 68, 0.4);
    transform: rotate(-10deg);
    letter-spacing: 0.5px;
}

.price-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.original-price {
    font-size: 1.3rem;
    text-decoration: line-through;
    color: #e53935;
    font-weight: 600;
    opacity: 0.8;
}

.current-price {
    font-size: 30px !important;
    font-weight: 800 !important;
    color: #48954a !important;
    margin-bottom: 10px !important;
    line-height: 1 !important;
}

.ebook-cta {
    background: #7B1FA2;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.ebook-cta:hover {
    background: #6A1B9A;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(123, 31, 162, 0.3);
}

/* Desktop enhancements for ebook actions - Single button layout */
@media (min-width: 768px) {
    .ebook-actions {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 20px;
    }

    .ebook-cta.primary {
        width: 100%;
        max-width: 280px;
        padding: 16px 24px;
        font-size: 1rem;
        font-weight: 600;
        min-height: 50px;
        border-radius: 25px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        background: linear-gradient(135deg, #4a7c59 0%, #2d5a27 100%);
        box-shadow: 0 6px 20px rgba(74, 124, 89, 0.35);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .ebook-cta.primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(74, 124, 89, 0.45);
    }
}

@media (min-width: 1024px) {
    .ebook-actions {
        margin-top: 24px;
    }

    .ebook-cta.primary {
        max-width: 320px;
        padding: 18px 32px;
        font-size: 1.1rem;
        font-weight: 600;
        min-height: 54px;
        border-radius: 27px;
        letter-spacing: 0.3px;
        background: linear-gradient(135deg, #4a7c59 0%, #2d5a27 100%);
        box-shadow: 0 8px 25px rgba(74, 124, 89, 0.4);
    }

    .ebook-cta.primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 35px rgba(74, 124, 89, 0.5);
    }

    .ebook-cta.primary:active {
        transform: translateY(-1px);
        box-shadow: 0 6px 20px rgba(74, 124, 89, 0.4);
    }
}

/* Extra large screens - premium single button styling */
@media (min-width: 1200px) {
    .ebook-actions {
        margin-top: 28px;
    }

    .ebook-cta.primary {
        max-width: 350px;
        padding: 20px 36px;
        font-size: 1.15rem;
        font-weight: 600;
        min-height: 58px;
        border-radius: 29px;
        letter-spacing: 0.4px;
        background: linear-gradient(135deg, #4a7c59 0%, #2d5a27 100%);
        box-shadow: 0 10px 30px rgba(74, 124, 89, 0.45);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .ebook-cta.primary:hover {
        transform: translateY(-4px);
        box-shadow: 0 15px 40px rgba(74, 124, 89, 0.55);
        background: linear-gradient(135deg, #5a8c69 0%, #3d6a37 100%);
    }

    .ebook-cta.primary:active {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(74, 124, 89, 0.45);
    }
}

.showcase-guarantee {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    color: #28a745;
    font-size: 1rem;
    padding: 20px;
    background: rgba(40, 167, 69, 0.1);
    border-radius: 10px;
    margin-top: 20px;
}

/* Desktop enhancements for ebook showcase */
@media (min-width: 768px) {
    .ebook-showcase {
        padding: 70px 0;
    }

    .ebooks-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        max-width: 800px;
    }

    .ebook-card {
        max-width: 380px;
    }

    .ebook-image img {
        max-width: 200px;
    }

    .ebook-details {
        padding: 30px 25px;
    }

    .ebook-title {
        font-size: 1.6rem;
    }

    .ebook-description {
        font-size: 1rem;
    }

    .feature {
        font-size: 1rem;
    }

    .original-price {
        font-size: 1.3rem;
    }

    .current-price {
        font-size: 2.5rem;
    }

    .ebook-cta {
        padding: 16px 25px;
        font-size: 1.1rem;
    }
}

@media (min-width: 1024px) {
    .ebook-showcase {
        padding: 80px 0;
    }

    .ebooks-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        max-width: 1200px;
    }

    .ebook-card {
        max-width: 350px;
    }

    .ebook-image img {
        max-width: 200px;
    }

    .ebook-content {
        padding: 25px;
    }

    .ebook-title {
        font-size: 1.5rem;
    }

    .current-price {
        font-size: 2.2rem;
    }

    .ebook-cta {
        padding: 18px 30px;
        font-size: 1rem;
    }
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: #333;
    font-family: 'Poppins', sans-serif;
}

/* Mobile/Desktop title visibility */
.mobile-title {
    display: block;
}

.desktop-title {
    display: none;
}

@media (min-width: 768px) {
    .mobile-title {
        display: none;
    }

    .desktop-title {
        display: block;
    }
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 80px 0;
    background: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.benefit-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border-left: 4px solid #2200ff;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 3rem;
    color: #4a7c59;
    margin-bottom: 20px;
}

.benefit-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.benefit-description {
    color: #666;
    line-height: 1.6;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(180deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        background: #110237 url('./bg.jpg') no-repeat center center;
        background-size: cover;
        background-blend-mode: multiply;
        padding: 20px 0 30px 0;
        min-height: auto;
        color: white;
        position: relative;
        overflow: hidden;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        gap: 20px;
        text-align: center;
        align-items: center;
        justify-content: center;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 0;
        position: relative;
        z-index: 2;
    }

    .hero-text {
        order: 1;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 0 15px;
    }

    .hero-image {
        order: 2;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .hero-title {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: 15px;
        color: white;
        font-weight: 700;
        transition: opacity 0.3s ease;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    }

    .hero-subtitle {
        font-size: 0.9rem;
        line-height: 1.4;
        margin-bottom: 20px;
        color: rgba(255, 255, 255, 0.95);
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    }

    .urgency-banner {
        background: #496c4a;
        border: 2px solid #d72124;
        border-radius: 15px;
        padding: 15px;
        margin: 20px 15px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }

    .urgency-text {
        font-size: 0.85rem;
        margin-bottom: 12px;
        color: #FFFFFF;
        font-weight: 600;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    }

    .countdown-timer {
        display: flex;
        justify-content: center;
        gap: 8px;
        flex-wrap: wrap;
        margin: 0;
    }

    .time-unit {
        background: rgba(0, 0, 0, 0.4);
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 8px;
        padding: 10px 8px;
        min-width: 55px;
        text-align: center;
        backdrop-filter: blur(10px);
    }

    .time-value {
        display: block;
        font-size: 1.4rem;
        font-weight: 700;
        color: #FFFFFF;
        line-height: 1;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    }

    .time-label {
        display: block;
        font-size: 0.7rem;
        color: rgba(255, 255, 255, 0.9);
        text-transform: capitalize;
        margin-top: 3px;
        font-weight: 500;
    }

    .hero-cta {
        margin: 20px 15px;
    }

    .cta-primary {
        background: linear-gradient(135deg, #FF6B35 0%, #E53E3E 100%);
        color: white;
        font-size: 0.9rem;
        padding: 14px 20px;
        border-radius: 25px;
        border: none;
        font-weight: 600;
        width: 100%;
        margin-bottom: 10px;
        box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
        transition: all 0.3s ease;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    }

    .cta-primary:hover {
        background: linear-gradient(135deg, #e55a2b 0%, #c53030 100%);
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(255, 107, 53, 0.5);
    }

    .guarantee {
        font-size: 0.8rem;
        color: rgba(255, 255, 255, 0.9);
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
    }

    .guarantee i {
        color: #4CAF50;
    }

    /* Show desktop hero image on mobile */
    .hero-image-container {
        display: block;
        max-width: 500px;
        margin: 25px auto 0 auto;
    }

    /* Hide Mobile Books Display */
    .hero-books-mobile {
        display: none;
    }



    .time-unit {
        min-width: 50px !important;
        padding: 8px 6px !important;
        border-radius: 8px !important;
    }

    .time-number {
        font-size: 1.2rem !important;
        font-weight: 700 !important;
    }

    .time-label {
        font-size: 0.7rem !important;
        text-transform: uppercase !important;
    }
    
    .countdown-timer {
        gap: 10px;
    }
    
    .time-unit {
        min-width: 60px;
        padding: 10px;
    }
    
    .time-value {
        font-size: 1.5rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .trust-items {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 30px 0;
    }

    .hero-content {
        gap: 20px;
        padding: 0;
    }

    .hero-text {
        padding: 0 5px;
    }

    .hero-title {
        font-size: 1.7rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        max-width: 100%;
    }

    .hero-image-container {
        max-width: 350px;
    }



    .cta-primary {
        padding: 12px 20px;
        font-size: 0.9rem;
        max-width: 250px;
        margin: 10px auto;
    }

    .time-unit {
        min-width: 45px;
        padding: 6px 4px;
    }

    .time-number {
        font-size: 1.1rem !important;
    }
}

/* Enhanced Testimonials Section - Mobile First */
.testimonials {
    padding: 50px 0; /* Reduced for mobile */
    background: #f8f9fa;
    display: block !important;
    visibility: visible !important;
}

.testimonials-grid {
    display: grid !important;
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 25px; /* Reduced gap for mobile */
    opacity: 1 !important;
    visibility: visible !important;
}

.testimonial-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9ff 100%);
    padding: 20px; /* Reduced padding for mobile */
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1), 0 2px 10px rgba(102, 126, 234, 0.1);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(102, 126, 234, 0.1);
    overflow: hidden;
}

.testimonial-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2200ff, #1a00cc, #3300ff);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15), 0 5px 20px rgba(102, 126, 234, 0.2);
}

.testimonial-card:hover:before {
    opacity: 1;
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.testimonial-rating {
    color: #ffd700;
    font-size: 1.1rem;
    display: flex;
    gap: 2px;
}

.verified-badge {
    background: #2200ff;
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin-left: 10px;
}

.testimonial-quote {
    font-size: 0.95rem; /* Smaller for mobile */
    line-height: 1.5;
    color: #555;
    margin-bottom: 15px;
    font-style: italic;
}

.testimonial-result {
    background: linear-gradient(45deg, #2200ff, #1a00cc);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    display: inline-block;
    text-align: center;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px; /* Reduced gap for mobile */
}

.author-avatar {
    width: 45px; /* Smaller for mobile */
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(45deg, #2200ff, #1a00cc);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1rem; /* Smaller for mobile */
    flex-shrink: 0;
}

.author-info {
    flex: 1;
}

.author-info h4 {
    font-weight: 600;
    color: #333;
    margin-bottom: 3px;
    font-size: 0.95rem; /* Smaller for mobile */
}

.author-info p {
    color: #666;
    font-size: 0.8rem; /* Smaller for mobile */
    margin-bottom: 2px;
}

.testimonial-date {
    color: #999;
    font-size: 0.75rem;
}

/* Desktop enhancements for testimonials */
@media (min-width: 768px) {
    .testimonials {
        padding: 70px 0;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .testimonial-card {
        padding: 25px;
    }

    .testimonial-quote {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 20px;
    }

    .author-avatar {
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
    }

    .author-info h4 {
        font-size: 1rem;
    }

    .author-info p {
        font-size: 0.85rem;
    }
}

@media (min-width: 1024px) {
    .testimonials {
        padding: 80px 0;
    }

    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .testimonial-card {
        padding: 30px;
    }

    .testimonial-quote {
        font-size: 1.05rem;
    }

    .author-avatar {
        width: 55px;
        height: 55px;
        font-size: 1.2rem;
    }

    .author-info h4 {
        font-size: 1.05rem;
    }

    .author-info p {
        font-size: 0.9rem;
    }
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: white;
    display: block !important;
    visibility: visible !important;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.faq-item {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9ff 100%);
    border: 1px solid rgba(102, 126, 234, 0.1);
    border-radius: 15px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.faq-item:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #4a7c59, #2d5a27, #6b9b7f);
    transform: scaleY(0);
    transition: transform 0.3s ease;
    transform-origin: bottom;
}

.faq-item:hover:before {
    transform: scaleY(1);
}

.faq-question {
    background: #f8f9fa;
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #333;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: white;
}

.faq-answer.active {
    padding: 20px;
    max-height: 500px; /* Adjust this value based on your longest FAQ answer */
}

.faq-answer p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Force visibility for testimonials and FAQ */
.testimonial-card {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.faq-item {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

/* Force visibility for benefits section */
.benefits {
    display: block !important;
    visibility: visible !important;
}

.benefits-grid {
    display: grid !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.benefit-card {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

/* Font Awesome fallback styles */
.fas, .fa {
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Pro", "Font Awesome", sans-serif;
    font-weight: 900;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    display: inline-block;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Ensure benefit icons are always visible */
.benefit-icon i {
    display: inline-block !important;
    font-size: 3rem !important;
    min-width: 1em;
    min-height: 1em;
}

/* Only apply fallback icons when Font Awesome is not loaded */
.icon-fallback {
    font-family: inherit !important;
    font-weight: normal !important;
    font-style: normal !important;
}

/* Ensure Font Awesome icons don't have extra content */
.fas::before, .fa::before {
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Pro", "Font Awesome", sans-serif;
}

/* Hide any duplicate content when Font Awesome is working */
.fas::after, .fa::after {
    content: none !important;
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
    background: linear-gradient(135deg, #326f9b 0%, #2a5a85 50%, #1e4a6b 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 25% 25%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(138, 43, 226, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.pricing .section-title {
    color: white;
}

/* Bonus Badge */
.bonus-badge {
    background: #8A2BE2;
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1.2rem;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.bonus-badge.animated {
    background: linear-gradient(45deg, #FF4500, #FF8C00, #FF4500);
    background-size: 200% 200%;
    animation: buttonGlow 3s ease-in-out infinite;
    padding: 15px 35px;
    border-radius: 30px;
    font-size: 1.3rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 
        0 10px 25px rgba(255, 69, 0, 0.4),
        0 0 30px rgba(255, 140, 0, 0.3);
    border: 2px solid rgba(255, 215, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.bonus-badge.animated::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.bonus-badge.animated:hover::before {
    left: 100%;
}

/* Bonus Image */
.bonus-image {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    text-align: center;
}

.bonus-image img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 0;
    border: none;
    outline: none;
}

/* Bonus Image Container without border */
.bonus-image-container {
    margin: 20px auto;
    padding: 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    display: block;
    width: fit-content;
    text-align: center;
}

.bonus-image-container .bonus-image {
    background: transparent !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.bonus-image-container .bonus-image img {
    max-width: 300px;
    width: 100%;
    height: auto;
    border-radius: 0 !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

/* Page count styling */
.page-count {
    color: #4A90E2;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin: 15px 0;
}

/* Free Text - Mobile First */
.free-text {
    font-size: 2rem;
    font-weight: 900;
    background: #FF6B35;
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    margin: 15px auto;
    text-transform: uppercase;
    text-align: center;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}





/* Hurry Up Text - Mobile First */
.hurry-text {
    font-size: 1rem;
    color: #FF6B6B;
    font-weight: bold;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}





/* Pricing Card - Mobile First */
.pricing-card {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

/* Bonus Header */
.bonus-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

/* Enhanced Bonus Card */
.bonus-card-enhanced {
    background: linear-gradient(145deg, #2c3e50, #1a2a3a);
    border: 2px solid rgba(255, 215, 0, 0.3);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 215, 0, 0.1),
        0 0 30px rgba(255, 215, 0, 0.2);
    position: relative;
    overflow: hidden;
    border-radius: 25px;
}

.bonus-card-enhanced::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,215,0,0.1) 0%, transparent 70%);
    animation: rotate 10s linear infinite;
    z-index: 0;
}

/* Bonus Content Wrapper */
.bonus-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Bonus Image Section */
.bonus-image-section.enhanced {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    width: 100%;
    position: relative;
}

/* Bonus Image Container */
.bonus-image-container {
    position: relative;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

/* Bonus Image */
.bonus-image {
    position: relative;
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border: 3px solid rgba(255, 215, 0, 0.5);
    animation: float 6s ease-in-out infinite;
}

.bonus-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    width: 20px;
    height: 20px;
    background: rgba(255, 215, 0, 0.6);
    border-radius: 50%;
    animation: float 4s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
}

.floating-element:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    top: 70%;
    right: 15%;
    animation-delay: 1s;
    width: 15px;
    height: 15px;
}

.floating-element:nth-child(3) {
    top: 40%;
    right: 20%;
    animation-delay: 2s;
    width: 12px;
    height: 12px;
}

/* Bonus Value Tag */
.bonus-value-tag.animated {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #8A2BE2, #4B0082);
    color: white;
    padding: 20px 30px;
    border-radius: 20px;
    font-weight: 700;
    text-align: center;
    box-shadow: 
        0 10px 25px rgba(138, 43, 226, 0.4),
        0 0 0 2px rgba(255, 215, 0, 0.3);
    font-size: 1.2rem;
    animation: pulse 2s infinite;
    border: 2px solid rgba(255, 215, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.bonus-value-tag.animated::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 3s infinite;
}

.value-text {
    font-size: 1.1rem;
    opacity: 0.9;
    text-decoration: line-through;
}

.free-text {
    font-size: 1.4rem;
    color: #FFD700;
    text-transform: uppercase;
    font-weight: 800;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* Bonus Content Section */
.bonus-content-section.enhanced {
    width: 100%;
    text-align: left;
    padding: 0 20px;
}

/* Bonus Tag */
.bonus-tag {
    display: inline-block;
    background: linear-gradient(45deg, #FF4500, #FF8C00);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(255, 69, 0, 0.3);
    animation: pulse 3s infinite;
}

/* Enhanced Bonus Title */
.bonus-title.enhanced {
    color: #FFD700;
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 800;
    position: relative;
    padding-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.bonus-title.enhanced::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #FF4500, #FFD700, #FF4500);
    border-radius: 2px;
}

.title-icon {
    color: #FF4500;
    margin-right: 10px;
}

/* Enhanced Bonus Subtitle */
.bonus-subtitle.enhanced {
    color: #e0e0e0;
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-align: center;
    font-style: italic;
    opacity: 0.9;
    font-weight: 500;
}

/* Bonus Features Enhanced */
.bonus-features-enhanced {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.3);
}

.feature-icon {
    min-width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #FF4500, #FF8C00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(255, 69, 0, 0.3);
}

.feature-content {
    flex: 1;
}

.feature-title {
    color: #FFD700;
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-weight: 700;
}

.feature-desc {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* Enhanced Bonus CTA Wrapper */
.bonus-cta-wrapper.enhanced {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 25px;
}

/* Enhanced Free Badge */
.free-badge.animated {
    font-size: 1.5rem;
    font-weight: 900;
    background: linear-gradient(45deg, #00b09b, #96c93d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    margin-bottom: 15px;
    text-align: center;
    animation: bounce 1s ease infinite;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Enhanced Bonus Button */
.bonus-btn.enhanced {
    background: linear-gradient(45deg, #FF4500, #FF8C00, #FF4500) !important;
    background-size: 200% 200%;
    border: none;
    padding: 20px 35px;
    border-radius: 50px;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow:
        0 15px 30px rgba(255, 69, 0, 0.4),
        0 0 40px rgba(255, 140, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: 3px solid rgba(255, 215, 0, 0.5);
    position: relative;
    overflow: hidden;
    animation: buttonGlow 3s ease-in-out infinite;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.bonus-btn.enhanced:hover {
    background: linear-gradient(45deg, #FF8C00, #FF4500, #FF8C00) !important;
    transform: translateY(-5px) scale(1.02);
    box-shadow:
        0 20px 40px rgba(255, 69, 0, 0.5),
        0 0 60px rgba(255, 140, 0, 0.4);
}

.bonus-btn.enhanced:active {
    transform: translateY(-2px) scale(1);
}

/* Enhanced Hurry Text */
.hurry-text.animated {
    font-size: 1.1rem;
    color: #FF6B6B;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    animation: pulse 1.5s infinite;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 107, 107, 0.1);
    padding: 12px 20px;
    border-radius: 30px;
    border: 1px solid rgba(255, 107, 107, 0.3);
}

/* Animations */
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Bonus Title */
.bonus-title {
    color: #FF8C00;
    font-size: 1.4rem;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 800;
    position: relative;
    padding-bottom: 10px;
}

.bonus-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #FF8C00, #FFD700);
    border-radius: 3px;
}

/* Bonus Subtitle */
.bonus-subtitle {
    color: #e0e0e0;
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-align: center;
    font-style: italic;
    opacity: 0.9;
}

.bonus-value {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
    display: inline-block;
    width: 100%;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    font-size: 1.1rem;
}

.bonus-features-list {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.bonus-features-list li {
    padding: 8px 0;
    color: #333;
    font-size: 0.95rem;
    border-bottom: 1px solid #eee;
}

.bonus-features-list li:last-child {
    border-bottom: none;
}

.bonus-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bonus-features li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    line-height: 1.5;
    color: white;
    font-size: 0.9rem;
}

.bonus-features li:before {
    content: "•";
    color: #FFD700;
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: -1px;
}

.bonus-features .highlight {
    color: #FFD700;
    font-weight: bold;
}

/* Desktop enhancements for bonus content */
@media (min-width: 768px) {
    .bonus-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 30px;
    }

    .bonus-badge.animated {
        font-size: 1.5rem;
        padding: 18px 40px;
    }

    .bonus-content-wrapper {
        flex-direction: row;
        align-items: center;
        gap: 50px;
    }

    .bonus-image-section.enhanced {
        flex: 0 0 45%;
        position: relative;
    }

    .bonus-content-section.enhanced {
        flex: 0 0 55%;
        padding: 0;
    }

    .bonus-title.enhanced {
        font-size: 2rem;
        margin-bottom: 25px;
        text-align: left;
    }

    .bonus-title.enhanced::after {
        left: 0;
        transform: translateX(0);
    }

    .bonus-subtitle.enhanced {
        font-size: 1.3rem;
        text-align: left;
    }

    .bonus-features-enhanced {
        margin-bottom: 40px;
    }

    .feature-item {
        padding: 25px;
    }

    .feature-title {
        font-size: 1.2rem;
    }

    .feature-desc {
        font-size: 1rem;
    }

    .bonus-value-tag.animated {
        font-size: 1.3rem;
        padding: 25px 35px;
    }

    .value-text {
        font-size: 1.2rem;
    }

    .free-text {
        font-size: 1.6rem;
    }

    .free-badge.animated {
        font-size: 1.8rem;
    }

    .bonus-btn.enhanced {
        font-size: 1.3rem;
        padding: 25px 40px;
        max-width: 100%;
    }

    .hurry-text.animated {
        font-size: 1.2rem;
    }
}

@media (min-width: 1024px) {
    .bonus-badge.animated {
        font-size: 1.7rem;
        padding: 20px 45px;
    }

    .bonus-content-wrapper {
        gap: 60px;
    }

    .bonus-image-section.enhanced {
        flex: 0 0 40%;
    }

    .bonus-content-section.enhanced {
        flex: 0 0 60%;
    }

    .bonus-title.enhanced {
        font-size: 2.3rem;
        margin-bottom: 30px;
    }

    .bonus-subtitle.enhanced {
        font-size: 1.4rem;
    }

    .feature-item {
        padding: 30px;
    }

    .feature-icon {
        min-width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .feature-title {
        font-size: 1.3rem;
    }

    .bonus-value-tag.animated {
        font-size: 1.4rem;
        padding: 30px 40px;
    }

    .value-text {
        font-size: 1.3rem;
    }

    .free-text {
        font-size: 1.8rem;
    }

    .free-badge.animated {
        font-size: 2rem;
    }

    .bonus-btn.enhanced {
        font-size: 1.4rem;
        padding: 30px 50px;
    }

    .hurry-text.animated {
        font-size: 1.3rem;
        padding: 15px 25px;
    }
}

/* Bonus Button - Mobile First */
.bonus-btn {
    background: linear-gradient(45deg, #b04d19, #d4621a, #b04d19) !important;
    background-size: 200% 200%;
    border: none;
    padding: 16px 30px;
    border-radius: 35px;
    color: white;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow:
        0 8px 20px rgba(176, 77, 25, 0.4),
        0 0 30px rgba(212, 98, 26, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    animation: buttonGlow 3s ease-in-out infinite;
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
    display: block;
    text-align: center;
}

.bonus-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.bonus-btn:hover::before {
    left: 100%;
}

.bonus-btn:hover {
    background: linear-gradient(45deg, #d4621a, #ff7b1a, #d4621a) !important;
    transform: translateY(-5px) scale(1.02);
    box-shadow:
        0 15px 40px rgba(176, 77, 25, 0.5),
        0 0 60px rgba(212, 98, 26, 0.3);
}

.bonus-btn:active {
    transform: translateY(-2px) scale(1);
}

@keyframes buttonGlow {
    0%, 100% {
        background-position: 0% 50%;
        box-shadow:
            0 8px 20px rgba(176, 77, 25, 0.4),
            0 0 30px rgba(212, 98, 26, 0.2);
    }
    50% {
        background-position: 100% 50%;
        box-shadow:
            0 10px 25px rgba(176, 77, 25, 0.5),
            0 0 40px rgba(212, 98, 26, 0.3);
    }
}

/* Desktop enhancements for bonus button */
@media (min-width: 768px) {
    .bonus-btn {
        padding: 18px 40px;
        border-radius: 45px;
        font-size: 1.1rem;
        letter-spacing: 1.2px;
        max-width: 400px;
        box-shadow:
            0 10px 25px rgba(176, 77, 25, 0.4),
            0 0 35px rgba(212, 98, 26, 0.2);
    }

    .bonus-btn:hover {
        transform: translateY(-3px) scale(1.02);
        box-shadow:
            0 12px 35px rgba(176, 77, 25, 0.5),
            0 0 50px rgba(212, 98, 26, 0.3);
    }
}

@media (min-width: 1024px) {
    .bonus-btn {
        padding: 20px 45px;
        border-radius: 55px;
        font-size: 1.3rem;
        letter-spacing: 1.5px;
        max-width: 450px;
        width: auto;
        display: inline-block;
        box-shadow:
            0 10px 30px rgba(176, 77, 25, 0.4),
            0 0 40px rgba(212, 98, 26, 0.2);
    }

    .bonus-btn:hover {
        transform: translateY(-5px) scale(1.02);
        box-shadow:
            0 15px 40px rgba(176, 77, 25, 0.5),
            0 0 60px rgba(212, 98, 26, 0.3);
    }
}

.price-header {
    margin-bottom: 30px;
    position: relative;
}

.original-price {
    font-size: 1.5rem;
    text-decoration: line-through;
    color: #cc0000;
    font-weight: 500;
    margin-bottom: 10px;
}

.current-price {
    font-size: 4rem;
    font-weight: 800;
    color: #ffd700;
    margin-bottom: 10px;
}

.discount-badge {
    background: #ff4444;
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-weight: 600;
    display: inline-block;
}

.price-features {
    text-align: left;
    margin-bottom: 30px;
}

.price-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.price-feature i {
    color: #4ade80;
    font-size: 1.2rem;
}

/* Footer - Mobile First */
.footer {
    background: #333;
    color: white;
    padding: 25px 0;
    text-align: center;
    width: 100%;
    overflow-x: hidden;
}

.footer .container {
    max-width: 100%;
    padding: 0 15px;
    margin: 0 auto;
}

.footer-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.footer-content p {
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
    color: #ccc;
    text-align: center;
    max-width: 100%;
    word-wrap: break-word;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    width: 100%;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
    padding: 8px 12px;
    border-radius: 5px;
    text-align: center;
    display: block;
    width: auto;
    min-width: 120px;
}

.footer-links a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

/* Tablet and Desktop Footer Enhancements */
@media (min-width: 768px) {
    .footer {
        padding: 35px 0;
    }

    .footer .container {
        padding: 0 30px;
    }

    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        gap: 20px;
    }

    .footer-content p {
        font-size: 0.95rem;
        text-align: left;
        margin: 0;
    }

    .footer-links {
        flex-direction: row;
        gap: 20px;
        width: auto;
    }

    .footer-links a {
        font-size: 0.95rem;
        padding: 5px 10px;
        min-width: auto;
    }
}

@media (min-width: 1024px) {
    .footer {
        padding: 40px 0;
    }

    .footer .container {
        padding: 0 40px;
    }

    .footer-content {
        gap: 25px;
    }

    .footer-content p {
        font-size: 1rem;
    }

    .footer-links {
        gap: 30px;
    }

    .footer-links a {
        font-size: 1rem;
        padding: 5px 8px;
    }
}

/* Purchase Modal Styles */
.purchase-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideIn 0.3s ease;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
}

.modal-header h2 {
    margin: 0;
    color: #333;
}

.close-modal {
    font-size: 2rem;
    cursor: pointer;
    color: #999;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #333;
}

.modal-body {
    padding: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #3498db;
}

.purchase-summary {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    text-align: center;
}

.price-display {
    font-size: 2rem;
    font-weight: bold;
    color: #3498db;
    margin-bottom: 0.5rem;
}

.product-name {
    color: #666;
    margin: 0;
}

.purchase-btn {
    width: 100%;
    padding: 1rem;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.purchase-btn:hover {
    background: #2980b9;
}

.purchase-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Additional Mobile Optimizations for very small screens */
@media (max-width: 375px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 35px 0;
    }

    .hero-content {
        gap: 18px;
    }

    .hero-text {
        padding: 0 5px;
    }

    .hero-title {
        font-size: 1.6rem;
        margin-bottom: 12px;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 18px;
    }

    .hero-image-container {
        max-width: 330px;
    }

    .urgency-banner {
        border: 2px solid #d72124;
        padding: 12px;
        margin-bottom: 20px;
    }

    .urgency-text {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }

    .countdown-timer {
        gap: 6px;
    }

    .time-unit {
        min-width: 50px;
        padding: 8px 6px;
    }

    .time-value {
        font-size: 1.1rem;
    }

    .time-label {
        font-size: 0.7rem;
    }

    .cta-primary {
        padding: 12px 18px;
        font-size: 0.9rem;
        min-height: 46px;
        max-width: 240px;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }

    .trust-items {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .trust-item {
        font-size: 0.85rem;
        padding: 8px;
    }

    .ebook-showcase {
        padding: 40px 0;
    }

    .ebook-card {
        margin-bottom: 20px;
    }

    .ebook-image img {
        max-width: 180px;
    }

    .ebook-details {
        padding: 20px 15px;
    }

    .ebook-title {
        font-size: 1.2rem;
    }

    .ebook-description {
        font-size: 0.9rem;
    }

    .current-price {
        font-size: 1.8rem;
    }

    .ebook-cta {
        padding: 12px 16px;
        font-size: 0.95rem;
        min-height: 48px;
    }

    .testimonials {
        padding: 40px 0;
    }

    .testimonial-card {
        padding: 15px;
        margin-bottom: 15px;
    }
}

/* Specific Mobile Screen Size Optimizations */

    .pricing {
        padding: 30px 0;
        background: #326f9b !important;
        width: 100%;
        overflow-x: hidden;
    }

    .pricing .container {
        max-width: 100%;
        padding: 0 10px;
        margin: 0 auto;
        overflow-x: hidden;
    }

    .pricing::before {
        display: none;
    }

    .pricing .section-title {
        font-size: 1.5rem;
        line-height: 1.2;
        margin-bottom: 20px;
        padding: 0 20px;
        text-align: center;
    }

    .bonus-badge {
        font-size: 0.9rem;
        padding: 8px 16px;
        margin-bottom: 15px;
        background: #8A2BE2 !important;
        border-radius: 20px;
        border: none !important;
        box-shadow: none !important;
        animation: none !important;
        letter-spacing: 0.5px;
        display: inline-block;
    }

    .bonus-badge::before {
        display: none;
    }

    .pricing-card {
        max-width: none;
        margin: 0 15px;
        padding: 25px 15px;
        background: rgba(255, 255, 255, 0.1) !important;
        border-radius: 15px;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2) !important;
        backdrop-filter: blur(10px);
        width: calc(100% - 30px);
        overflow: hidden;
        box-sizing: border-box;
    }

    .pricing-card::before {
        display: none;
    }

    .bonus-image {
        margin-bottom: 15px;
        text-align: center;
        width: 100%;
        max-width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
    }

    .bonus-image::before {
        display: none;
    }

    .bonus-image img {
        max-width: 300px;
        width: 100%;
        height: auto;
        border-radius: 0;
        box-shadow: none;
        border: none;
        outline: none;
        display: block;
        margin: 0 auto;
    }

    .free-text {
        font-size: 2rem;
        font-weight: bold;
        color: #FFD700 !important;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        margin-bottom: 8px;
        text-transform: uppercase;
        letter-spacing: 2px;
        background: none !important;
        -webkit-background-clip: unset !important;
        -webkit-text-fill-color: unset !important;
        background-clip: unset !important;
        animation: none !important;
        text-align: center;
    }

    .free-text::before,
    .free-text::after {
        display: none;
    }

    .hurry-text {
        font-size: 0.9rem;
        color: #FF6B6B !important;
        font-weight: bold;
        margin-bottom: 20px;
        text-transform: uppercase;
        letter-spacing: 1px;
        background: none !important;
        -webkit-background-clip: unset !important;
        -webkit-text-fill-color: unset !important;
        background-clip: unset !important;
        animation: none !important;
        text-align: center;
    }

    .hurry-text::before,
    .hurry-text::after {
        display: none;
    }

    .bonus-description {
        margin-bottom: 20px;
        text-align: left;
    }

    .bonus-title {
        font-size: 1.1rem;
        margin-bottom: 12px;
        color: #FF8C00;
        text-align: center;
        text-decoration: underline;
    }

    .bonus-features {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .bonus-features li {
        font-size: 0.8rem;
        margin-bottom: 8px;
        line-height: 1.3;
        padding-left: 12px;
        position: relative;
        color: white;
        text-align: left;
    }

    .bonus-features li:before {
        content: "•";
        color: #FFD700;
        font-size: 1rem;
        position: absolute;
        left: 0;
        top: 0;
    }

    .bonus-features .highlight {
        color: #FFD700;
        font-weight: bold;
    }

    .bonus-btn {
        font-size: 0.9rem;
        padding: 14px 28px;
        border-radius: 25px;
        background: #b04d19 !important;
        border: none;
        color: white;
        font-weight: bold;
        text-transform: uppercase;
        letter-spacing: 1px;
        box-shadow: 0 4px 12px rgba(176, 77, 25, 0.3) !important;
        animation: none !important;
        margin-top: 15px;
        width: 100%;
        max-width: 280px;
        display: block;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .bonus-btn::before {
        display: none;
    }

    .bonus-btn:hover {
        background: #d4621a !important;
        transform: translateY(-1px);
        box-shadow: 0 6px 16px rgba(176, 77, 25, 0.4) !important;
    }

/* Landscape mobile optimization */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 25px 0;
    }

    .hero-content {
        gap: 18px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .hero-text {
        padding: 0 10px;
    }

    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    .hero-image-container {
        max-width: 320px;
    }

    .urgency-banner {
        border: 2px solid #d72124;
        padding: 10px;
        margin-bottom: 15px;
    }
}

/* Specific Mobile Screen Size Optimizations */

/* iPhone SE (320px) */
@media (max-width: 320px) {
    .container {
        padding: 0 12px;
    }

    .hero-content {
        gap: 15px;
    }

    .hero-text {
        padding: 0 3px;
    }

    .hero-image-container {
        max-width: 310px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.85rem;
    }

    .cta-primary {
        max-width: 220px;
        padding: 10px 16px;
        font-size: 0.85rem;
    }
}

/* iPhone 6/7/8 (375px) */
@media (min-width: 321px) and (max-width: 375px) {
    .container {
        padding: 0 15px;
    }

    .hero-image-container {
        max-width: 330px;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .cta-primary {
        max-width: 240px;
    }
}

/* iPhone 6/7/8 Plus (414px) */
@media (min-width: 376px) and (max-width: 414px) {
    .container {
        padding: 0 18px;
    }

    .hero-image-container {
        max-width: 350px;
    }

    .hero-title {
        font-size: 1.7rem;
    }

    .cta-primary {
        max-width: 260px;
    }
}

/* Tablet Portrait (768px) */
@media (min-width: 415px) and (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .hero-content {
        gap: 30px;
    }

    .hero-image-container {
        max-width: 400px;
    }

    .hero-title {
        font-size: 1.9rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .cta-primary {
        max-width: 280px;
        padding: 16px 28px;
        font-size: 1rem;
    }
}

/* Ensure no unwanted margins or padding on mobile */
@media (max-width: 768px) {
    .hero * {
        box-sizing: border-box;
    }

    .hero-content > * {
        margin-left: auto;
        margin-right: auto;
    }

    .urgency-banner,
    .hero-cta {
        width: 100%;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .guarantee {
        text-align: center;
        margin: 10px auto 0;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .floating-elements {
        display: none;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .ebook-image img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print styles */
@media print {
    .language-selector,
    .countdown-timer,
    .cta-primary,
    .ebook-cta,
    .floating-elements {
        display: none !important;
    }

    .hero {
        background: white !important;
        color: black !important;
    }

    .testimonial-card {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}

/* Footer Popup Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.popup-overlay.active {
    display: flex;
}

.popup-content {
    background: white;
    border-radius: 20px;
    max-width: 90%;
    max-height: 90%;
    width: 800px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
    position: relative;
}

.popup-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.popup-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.popup-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.popup-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.popup-body {
    padding: 30px;
    max-height: 70vh;
    overflow-y: auto;
    line-height: 1.6;
    color: #333;
}

.popup-body h3 {
    color: #667eea;
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.popup-body p {
    margin-bottom: 15px;
}

.popup-body ul {
    margin-bottom: 15px;
    padding-left: 20px;
}

.popup-body li {
    margin-bottom: 8px;
}

.popup-body a {
    color: #667eea;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.popup-body a:hover {
    color: #764ba2;
    text-decoration: underline;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Ensure benefit icons are always visible */
.benefit-icon i {
    display: inline-block !important;
    font-size: 3rem !important;
    min-width: 1em;
    min-height: 1em;
    font-style: normal !important;
}

/* Ensure Font Awesome icons load properly */
.fas, .fa, .far, .fal, .fad, .fab {
    font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free', 'Font Awesome', sans-serif !important;
    font-weight: 900;
    font-style: normal;
    display: inline-block;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Mobile responsive popup */
@media (max-width: 768px) {
    .popup-content {
        max-width: 95%;
        max-height: 95%;
        margin: 10px;
    }

    .popup-header {
        padding: 15px 20px;
    }

    .popup-header h2 {
        font-size: 1.3rem;
    }

    .popup-body {
        padding: 20px;
        max-height: 60vh;
    }

    .popup-close {
        width: 35px;
        height: 35px;
        font-size: 1.3rem;
    }
}
