/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

:root {
    --primary-green: #00b050;
    --primary-black: #1a1a1a;
    --primary-white: #ffffff;
    --accent-red: #dc3545;
    --accent-yellow: #ffc107;
    --light-gray: #f8f9fa;
    --dark-gray: #6c757d;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-black) 0%, #2d2d2d 100%);
    color: var(--primary-white);
    position: relative;
    overflow: hidden;
    padding: 50px 0;
    min-height: 70vh;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, rgba(0,176,80,0.1) 0%, transparent 100%);
    pointer-events: none;
}

.hero-badge {
    background: linear-gradient(135deg, var(--accent-yellow), #ffdb4d);
    color: var(--primary-black);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 20px rgba(255, 193, 7, 0.3);
    animation: glow 2s infinite alternate;
}

@keyframes glow {
    0% { box-shadow: 0 5px 20px rgba(255, 193, 7, 0.3); }
    100% { box-shadow: 0 5px 30px rgba(255, 193, 7, 0.6); }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-title .text-primary {
    color: var(--primary-green) !important;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-features {
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    color: var(--primary-white);
}

.feature-item i {
    color: var(--primary-green);
    font-size: 1.1rem;
}

.feature-item span {
    font-size: 1rem;
    font-weight: 500;
}

.hero-btn {
    background: var(--primary-green);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    display: block;
    width: fit-content;
}

.hero-btn:hover {
    background: #008a3e;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 176, 80, 0.3);
}

.hero-guarantee {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--primary-white);
    opacity: 0.9;
    font-size: 0.95rem;
}

.hero-guarantee i {
    color: var(--accent-yellow);
    font-size: 1.2rem;
}

/* Books Display */
.books-display {
    position: relative;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.book-stack {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
    width: 100%;
}

.book-cover {
    width: 160px;
    height: 240px;
    border-radius: 12px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transition: all 0.4s ease;
    cursor: pointer;
    animation: bookEntry 0.8s ease-out forwards;
}

.book-cover i {
    font-size: 2rem;
    margin-bottom: 1rem;
}

@keyframes bookEntry {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.8);
    }
    100% {
        opacity: 1;
    }
}

.book-1 {
    transform: rotateY(-10deg) scale(0.95);
    z-index: 1;
    animation-delay: 0.2s;
}

.book-2 {
    transform: scale(1.1);
    z-index: 3;
    animation-delay: 0.4s;
}

.book-3 {
    transform: rotateY(10deg) scale(0.95);
    z-index: 1;
    animation-delay: 0.6s;
}

.book-cover:hover {
    transform: rotateY(0deg) scale(1.15) translateY(-15px);
    z-index: 5;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

/* Real Book Image */
.real-book {
    background: none !important;
    padding: 0;
    overflow: hidden;
    border-radius: 12px;
}

.book-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: all 0.4s ease;
}

.real-book:hover .book-image {
    filter: brightness(1.1);
}

/* Specific positioning for real books */
.book-1.real-book {
    transform: rotateY(-10deg) scale(0.95);
    z-index: 1;
}

.book-2.real-book {
    transform: scale(1.1);
    z-index: 3;
}

.book-3.real-book {
    transform: rotateY(10deg) scale(0.95);
    z-index: 1;
}

.real-book:hover {
    transform: rotateY(0deg) scale(1.15) translateY(-15px) !important;
    z-index: 5;
}

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

.floating-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-green), #008a3e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    animation: float 3s ease-in-out infinite;
    box-shadow: 0 5px 15px rgba(0, 176, 80, 0.3);
}

.icon-1 {
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.icon-2 {
    bottom: 30%;
    left: 15%;
    animation-delay: 1s;
    background: linear-gradient(135deg, var(--accent-yellow), #ffdb4d);
    color: var(--primary-black);
}

.icon-3 {
    top: 60%;
    right: 25%;
    animation-delay: 2s;
    background: linear-gradient(135deg, #007bff, #0056b3);
}

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

/* Offer Section */
.offer-section {
    background: var(--light-gray);
    padding: 40px 0;
    position: relative;
}

.offer-badge {
    background: var(--accent-yellow);
    color: var(--primary-black);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    display: inline-block;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(255, 193, 7, 0.3);
    animation: pulse 2s infinite;
}

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

.countdown-container {
    margin-bottom: 2rem;
}

.countdown-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-black);
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.time-block {
    background: var(--primary-black);
    color: var(--primary-white);
    padding: 1.5rem 1rem;
    border-radius: 15px;
    text-align: center;
    min-width: 80px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.time-block span {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.time-block label {
    font-size: 0.8rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing {
    margin-bottom: 2rem;
}

.old-price {
    font-size: 1.2rem;
    color: var(--dark-gray);
    text-decoration: line-through;
    margin-bottom: 0.5rem;
}

.new-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-red);
    margin-bottom: 0.5rem;
}

.savings {
    font-size: 1.1rem;
    color: var(--primary-green);
    font-weight: 600;
}

.cta-btn {
    background: var(--primary-green);
    border: none;
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-btn:hover {
    background: #008a3e;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 176, 80, 0.4);
}

/* Benefits Section */
.benefits-section {
    padding: 40px 0;
    background: var(--primary-white);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--dark-gray);
    max-width: 600px;
    margin: 0 auto;
}

.benefit-card {
    background: var(--primary-white);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0, 176, 80, 0.1);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-green);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-green), #008a3e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.benefit-card h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-black);
}

.stars {
    margin-bottom: 1rem;
    color: var(--accent-yellow);
}

.benefit-card p {
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.book-example {
    background: var(--light-gray);
    padding: 1rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--primary-green);
    font-weight: 600;
}

.book-example i {
    font-size: 1.2rem;
}

.book-mockup {
    width: 40px;
    height: 56px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.book-mockup-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

/* Guarantee Section */
.guarantee-section {
    background: linear-gradient(135deg, var(--primary-green), #008a3e);
    color: var(--primary-white);
    padding: 50px 0;
}

.guarantee-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.guarantee-badge i {
    font-size: 4rem;
    color: var(--accent-yellow);
}

.guarantee-badge h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.guarantee-badge p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin: 0;
}

.guarantee-content h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.guarantee-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Final CTA Section */
.final-cta-section {
    background: var(--primary-black);
    color: var(--primary-white);
    padding: 50px 0;
    text-align: center;
}

.final-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.final-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.final-btn {
    background: var(--accent-yellow);
    color: var(--primary-black);
    border: none;
    padding: 1.5rem 3rem;
    font-size: 1.3rem;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
}

.final-btn:hover {
    background: #ffc720;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 193, 7, 0.4);
}

.final-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    opacity: 0.8;
    font-size: 0.9rem;
}

/* FAQ Section */
.faq-section {
    padding: 40px 0;
    background: var(--light-gray);
}

.accordion-item {
    border: 1px solid rgba(0, 176, 80, 0.2);
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
}

.accordion-button {
    background: var(--primary-white);
    color: var(--primary-black);
    font-weight: 600;
    padding: 1.5rem;
    border: none;
    border-radius: 0;
}

.accordion-button:not(.collapsed) {
    background: var(--primary-green);
    color: var(--primary-white);
}

.accordion-button:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.25rem rgba(0, 176, 80, 0.25);
}

.accordion-body {
    padding: 1.5rem;
    background: var(--primary-white);
    color: var(--dark-gray);
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--primary-black);
    color: var(--primary-white);
    padding: 60px 0 30px;
}

.footer h5 {
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.contact-info p,
.legal-info p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    opacity: 0.9;
}

.contact-info i {
    color: var(--primary-green);
    width: 20px;
}

.security-badges {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.9;
}

.badge-item i {
    color: var(--primary-green);
    font-size: 1.2rem;
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 2rem;
    opacity: 0.7;
}

/* Sales Notifications */
#sales-notifications-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    pointer-events: none;
    overflow: hidden;
    height: 70px;
    white-space: nowrap;
    width: 400px;
}

.sales-notification {
    background: linear-gradient(135deg, var(--primary-white), #f8f9fa);
    border: 2px solid var(--primary-green);
    border-radius: 8px;
    padding: 0.4rem 0.6rem;
    margin-bottom: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 320px;
    height: 60px;
    font-family: 'Poppins', sans-serif;
    animation: slideInFromRightAndFadeOut 8s ease-in-out forwards;
    position: relative;
    overflow: hidden;
    font-size: 11px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    white-space: nowrap;
    transform: translateX(400px);
    opacity: 0;
}

.sales-notification::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-green);
}

.sales-notification-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 3px;
}

.sales-notification-icon {
    background: var(--primary-green);
    color: white;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.sales-notification-title {
    font-weight: 600;
    font-size: 11px;
    color: var(--primary-green);
    flex: 1;
}

.sales-notification-body {
    font-size: 10px;
    color: var(--primary-black);
    line-height: 1.2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.sales-notification-name {
    font-weight: 600;
    color: var(--primary-black);
    font-size: 10px;
    margin-right: 8px;
}

.sales-notification-location {
    color: var(--dark-gray);
    font-size: 10px;
}

.sales-notification-time {
    color: var(--primary-green);
    font-size: 9px;
    font-weight: 500;
    margin-right: 8px;
}

.sales-notification-value {
    color: var(--primary-green);
    font-size: 10px;
    font-weight: 600;
    margin-left: auto;
}

@keyframes slideInFromRightAndFadeOut {
    0% {
        transform: translateX(400px);
        opacity: 0;
    }
    15% {
        transform: translateX(0);
        opacity: 1;
    }
    75% {
        transform: translateX(0);
        opacity: 1;
    }
    100% {
        transform: translateX(0);
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        min-height: 70vh;
        padding: 40px 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 0.6rem 1.2rem;
    }
    
    .feature-item {
        margin-bottom: 0.6rem;
    }
    
    .feature-item span {
        font-size: 0.9rem;
    }
    
    .countdown {
        gap: 0.5rem;
    }
    
    .time-block {
        padding: 1rem 0.5rem;
        min-width: 60px;
    }
    
    .time-block span {
        font-size: 1.5rem;
    }
    
    .new-price {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .final-title {
        font-size: 2rem;
    }
    
    .final-btn {
        padding: 1.2rem 2rem;
        font-size: 1.1rem;
    }
    
    .books-display {
        height: 320px;
        padding: 1rem 0;
    }
    
    .book-stack {
        gap: 0.8rem;
        flex-wrap: nowrap;
        justify-content: center;
        padding: 0 0.5rem;
    }
    
    .book-cover {
        width: 100px;
        height: 150px;
        min-width: 100px;
        flex-shrink: 0;
    }
    
    .book-cover i {
        font-size: 1.5rem;
    }
    
    .book-cover span {
        font-size: 0.8rem;
    }
    
    .book-1, .book-2, .book-3 {
        transform: scale(1) !important;
    }
    
    .book-1.real-book, .book-2.real-book, .book-3.real-book {
        transform: scale(1) !important;
    }
    
    .book-cover:hover {
        transform: scale(1.05) translateY(-5px) !important;
    }
    
    .real-book:hover {
        transform: scale(1.05) translateY(-5px) !important;
    }
    
    .guarantee-badge {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .guarantee-badge i {
        font-size: 3rem;
    }
    
    .security-badges {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .countdown {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .benefit-card {
        margin-bottom: 2rem;
    }
    
    .books-display {
        height: 250px;
    }
    
    .book-stack {
        transform: scale(0.8);
    }
    
    /* Sales notifications on small mobile */
    #sales-notifications-container {
        top: auto;
        bottom: 10px;
        left: 0;
        right: 0;
        height: 60px;
        width: auto;
    }
    
    .sales-notification {
        width: 260px;
        height: 50px;
        padding: 0.3rem 0.5rem;
        font-size: 9px;
        animation: slideInAndFadeOutMobile 6s ease-in-out forwards;
        position: absolute;
        left: 10px;
        transform: translateX(-300px);
    }
    
    .sales-notification-title {
        font-size: 9px;
    }
    
    .sales-notification-body {
        font-size: 9px;
    }
    
    .sales-notification-name {
        font-size: 9px;
    }
    
    .sales-notification-location {
        font-size: 8px;
    }
    
    .sales-notification-time {
        font-size: 8px;
    }
    
    .sales-notification-value {
        font-size: 9px;
    }
    
    .sales-notification-icon {
        width: 16px;
        height: 16px;
        font-size: 8px;
    }
    
    @keyframes slideInAndFadeOutMobile {
        0% {
            transform: translateX(-300px);
            opacity: 0;
        }
        15% {
            transform: translateX(0);
            opacity: 1;
        }
        75% {
            transform: translateX(0);
            opacity: 1;
        }
        100% {
            transform: translateX(0);
            opacity: 0;
        }
    }
}

/* Copyright Footer */
.copyright-footer {
    background: linear-gradient(135deg, var(--primary-black), #1a1a1a);
    color: var(--primary-white);
    padding: 20px 0;
    border-top: 3px solid var(--primary-green);
    margin-top: 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-text {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
}

.footer-text i {
    color: var(--primary-green);
    font-size: 16px;
}

.footer-badges {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.badge-secure,
.badge-guarantee {
    background: var(--primary-green);
    color: var(--primary-white);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.badge-secure i,
.badge-guarantee i {
    font-size: 11px;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }
    
    .footer-badges {
        gap: 0.8rem;
    }
    
    .badge-secure,
    .badge-guarantee {
        font-size: 11px;
        padding: 5px 10px;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Utility Classes */
.btn-xl {
    padding: 1.5rem 3rem;
    font-size: 1.3rem;
}

.text-primary {
    color: var(--primary-green) !important;
}

.bg-primary {
    background-color: var(--primary-green) !important;
}

.border-primary {
    border-color: var(--primary-green) !important;
}
