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

:root {
    --primary: #626f47;
    --primary-dark: #404e22;
    --primary-light: #a4b465;
    --accent: #fff1b3;
    --text: #1a1a1a;
    --text-light: #666;
    --background: #ffffff;
    --surface: #f8f9fa;
    --border: #e1e5e9;
    --shadow: rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--background);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Timer Section - COMPACT HEIGHT */
.timer-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 8px 0;
    position: relative;
    z-index: 999;
    margin-top: 80px;
}

.timer-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
    height: 42px;
}

.timer-badge {
    background: var(--accent);
    color: var(--text);
    padding: 3px 10px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.75rem;
    white-space: nowrap;
}

.timer-main {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: white;
    flex: 1;
    justify-content: center;
}

.timer-text {
    display: none; /* Hurry text removed */
}

.timer-display {
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.time-value {
    font-size: 0.9rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.15);
    padding: 2px 6px;
    border-radius: 3px;
    min-width: 28px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: gentlePulse 1s ease-in-out;
}

.time-label {
    font-size: 0.6rem;
    margin-top: 1px;
    opacity: 0.9;
    font-weight: 500;
}

.time-separator {
    font-size: 0.8rem;
    font-weight: 700;
    margin-top: -2px;
    color: white;
}

.timer-cta {
    background: var(--accent);
    color: var(--text);
    padding: 3px 12px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.75rem;
    white-space: nowrap;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.timer-cta:hover {
    background: #ffe880;
    transform: translateY(-1px);
}

/* Mobile Responsive for Timer - COMPACT */
@media (max-width: 768px) {
    .timer-section {
        padding: 8px 0;
    }
    
    .timer-banner {
        flex-direction: row;
        gap: 0.5rem;
        height: 34px;
        padding: 0 0.8rem;
    }
    
    .timer-main {
        gap: 0.4rem;
        order: 2;
        width: auto;
    }
    
    .timer-badge {
        order: 1;
        font-size: 0.7rem;
        padding: 2px 8px;
    }
    
    .timer-cta {
        order: 3;
        padding: 2px 10px;
        font-size: 0.7rem;
    }
    
    .time-value {
        font-size: 0.8rem;
        min-width: 25px;
        padding: 1px 4px;
    }
    
    .time-label {
        font-size: 0.55rem;
    }
}

@keyframes gentlePulse {
    0%, 100% { 
        transform: scale(1);
        background: rgba(255, 255, 255, 0.15);
    }
    50% { 
        transform: scale(1.05);
        background: rgba(255, 255, 255, 0.2);
    }
}

/* Premium Navbar */
.premium-navbar {
    background: var(--background);
    box-shadow: 0 2px 20px var(--shadow);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo img {
    height: 40px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-btn {
    background: var(--primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 4px;
}

.nav-hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text);
    transition: all 0.3s ease;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 5px 20px var(--shadow);
    padding: 1.5rem;
    z-index: 999;
    flex-direction: column;
    gap: 1rem;
}

.mobile-menu.active {
    display: flex;
}

.mobile-nav-link {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 1.1rem;
}

.mobile-nav-btn {
    background: var(--primary);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    margin-top: 1rem;
    font-size: 1.1rem;
}

/* Popup Styles */
.overlay {
    position: fixed;
    z-index: 99999;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    transition: opacity 500ms;
    visibility: hidden;
    opacity: 0;
}

.overlay:target {
    visibility: visible;
    opacity: 1;
}

.popup {
    margin: 70px auto;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    width: 80%;
    position: relative;
    transition: all 5s ease-in-out;
    overflow-y: auto;
    max-height: 80vh;
}

.popup h2 {
    padding-bottom: 0;
    margin-bottom: 0;
}

.popup .close {
    position: absolute;
    top: 20px;
    right: 30px;
    transition: all 200ms;
    font-size: 30px;
    font-weight: bold;
    text-decoration: none;
    color: #333;
}

.popup .close:hover {
    color: var(--primary);
}

.popup-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.popup-card {
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--accent);
    max-width: 25%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.popup-card.focus {
    background-color: var(--accent);
}

.popup-content {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary);
    margin: 1rem 0;
}

.popup-btn {
    background: var(--primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    margin-top: 1rem;
    display: block;
}

/* Hero Section - REDUCED GAP */
.hero-section {
    padding: 20px 0 40px; /* Reduced gap with timer */
    background: linear-gradient(135deg, var(--surface) 0%, var(--background) 100%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 60vh;
}

.hero-content {
    padding-right: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.trust-badge {
    display: inline-block;
    background: var(--accent);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.title-line {
    display: block;
}

.title-line.accent {
    color: var(--primary);
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
}

.hero-cta {
    margin-top: auto;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    height: 100%;
    justify-content: center;
}

.book-display {
    text-align: center;
}

.book-image {
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 20px 40px var(--shadow);
    animation: bookFloat 3s ease-in-out infinite;
}

@keyframes bookFloat {
    0%, 100% { 
        transform: translateY(0) rotate(-2deg); 
    }
    50% { 
        transform: translateY(-10px) rotate(-1deg); 
    }
}

.book-image:hover {
    animation: bookHover 0.5s ease-in-out forwards;
}

@keyframes bookHover {
    0% { 
        transform: translateY(0) rotate(-2deg); 
    }
    100% { 
        transform: translateY(-5px) rotate(0deg) scale(1.05); 
    }
}

/* Buttons */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
}

.cta-button.primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(98, 111, 71, 0.3);
}

.cta-button.primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(98, 111, 71, 0.4);
}

.cta-button.large {
    padding: 1.25rem 2.5rem;
    font-size: 1.2rem;
}

/* Mobile Buy Button */
.mobile-buy-container {
    display: none;
    margin-top: 1.5rem;
}

.mobile-buy-container .cta-button {
    width: 100%;
    max-width: 300px;
    justify-content: center;
}

/* Sections */
section {
    padding: 60px 0;
}

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

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 3rem;
}

/* Details Section */
.details-section {
    background: var(--surface);
}

.details-list {
    max-width: 600px;
    margin: 0 auto;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border);
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.detail-text h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.detail-text p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px var(--shadow);
    transition: transform 0.3s ease;
}

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

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text);
}

.benefit-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Testimonials Section - ENHANCED MOBILE SIZE */
.testimonials-section {
    background: var(--surface);
}

.testimonials-slider {
    margin-top: 3rem;
}

.testimonials-swiper {
    padding: 2rem 0;
}

.swiper-slide {
    text-align: center;
}

.swiper-slide img {
    width: 100%;
    max-width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px var(--shadow);
}

.swiper-pagination-bullet-active {
    background: var(--primary);
}

/* Testimonials Section - EXTRA LARGE MOBILE SIZE */
.testimonials-section {
    background: var(--surface);
}

.testimonials-slider {
    margin-top: 3rem;
}

.testimonials-swiper {
    padding: 2rem 0;
}

.swiper-slide {
    text-align: center;
}

.swiper-slide img {
    width: 100%;
    max-width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px var(--shadow);
}

.swiper-pagination-bullet-active {
    background: var(--primary);
}

/* EXTRA LARGE Mobile Size for Testimonials */
@media (max-width: 768px) {
    .testimonials-section {
        padding: 40px 0;
    }
    
    .testimonials-swiper {
        padding: 1rem 0 3rem;
    }
    
    .swiper-slide img {
        max-width: 380px;  /* Significantly increased */
        height: 380px;     /* Significantly increased */
        box-shadow: 0 8px 25px var(--shadow);
    }
    
    .swiper-pagination {
        bottom: 10px !important;
    }
}

/* EXTRA LARGE for Small Mobile */
@media (max-width: 480px) {
    .testimonials-section {
        padding: 30px 0;
    }
    
    .testimonials-slider {
        margin-top: 2rem;
    }
    
    .testimonials-swiper {
        padding: 0.5rem 0 2.5rem;
    }
    
    .swiper-slide img {
        max-width: 350px;  /* Much larger */
        height: 350px;     /* Much larger */
        border-radius: 10px;
        box-shadow: 0 6px 20px var(--shadow);
    }
    
    .swiper-pagination {
        bottom: 5px !important;
    }
}

/* Even larger for very small screens */
@media (max-width: 380px) {
    .swiper-slide img {
        max-width: 320px;
        height: 320px;
    }
}

/* Final CTA */
.final-cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
}

.cta-card {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    color: var(--text);
}

.cta-card h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.cta-card p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.cta-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.feature {
    background: var(--surface);
    padding: 1rem;
    border-radius: 8px;
    font-weight: 500;
}

.cta-action {
    margin-top: 2rem;
}

.disclaimer {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 1rem;
}

/* FAQ Section */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px var(--shadow);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: var(--surface);
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer p {
    padding-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

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

/* Footer */
.premium-footer {
    background: var(--text);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo {
    height: 40px;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: #ccc;
    line-height: 1.6;
}

.footer-contact h3 {
    margin-bottom: 1rem;
    color: white;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.contact-item strong {
    color: white;
    font-weight: 600;
}

.contact-item a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 2rem;
    text-align: center;
    color: #ccc;
}

.footer-bottom a {
    color: #ccc;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: white;
}

/* Desktop Timer Adjustments */
@media (min-width: 769px) {
    .book-image {
        max-width: 500px;
    }
    
    .hero-container {
        gap: 4rem;
    }
    
    .hero-stats {
        margin-bottom: 2rem;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-hamburger {
        display: flex;
    }
    
    .hero-section {
        padding: 40px 0 40px; /* Reduced gap for mobile */
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .hero-content {
        padding-right: 0;
        text-align: center;
        order: 1;
    }
    
    .hero-visual {
        order: 2;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 1.5rem;
    }
    
    .book-image {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .mobile-buy-container {
        display: block;
    }
    
    .hero-cta .desktop {
        display: none;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .cta-card {
        padding: 2rem 1rem;
    }
    
    .cta-card h2 {
        font-size: 2rem;
    }
    
    .popup-container {
        flex-direction: column;
    }
    
    .popup-card {
        max-width: 100%;
    }
    
    .contact-info {
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .cta-features {
        grid-template-columns: 1fr;
    }
    
    .hero-stats {
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 1.2rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
}