/* ========================================
   PUREVAM DIABETES REVERSAL - STYLES.CSS
   ======================================== */

/* CSS Variables for easy customization */
:root {
    --primary-green: #2D7A3E;
    --primary-dark: #1a4d2e;
    --accent-gold: #D4AF37;
    --light-bg: #F8FBF8;
    --white: #ffffff;
    --text-dark: #2C3E50;
    --text-med: #5D6D7E;
    --success: #27AE60;
    --danger: #E74C3C;
    --whatsapp: #25D366;
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Header and Navigation */
.header {
    background: white;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-green);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

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

.nav-links a:hover {
    color: var(--primary-green);
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--primary-green);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #E8F5E9 0%, #ffffff 100%);
    padding: 5rem 2rem;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    line-height: 1.2;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

.hero h1 span {
    color: var(--accent-gold);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-med);
}

/* Badges */
.badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.badge {
    background: white;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Buttons */
.cta-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent-gold);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.btn-whatsapp {
    background: var(--whatsapp);
    color: white;
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

/* Timer Box */
.timer-box {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

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

.countdown-item {
    text-align: center;
}

.countdown-value {
    background: var(--danger);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    font-size: 2rem;
    font-weight: 700;
}

.countdown-label {
    font-size: 0.8rem;
    color: var(--text-med);
    margin-top: 0.5rem;
}

/* Product Visualization */
.product-viz {
    text-align: center;
}

.stock-alert {
    background: var(--danger);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    display: inline-block;
    margin-top: 2rem;
    animation: pulse 2s infinite;
}

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

/* Section Styles */
.section {
    padding: 5rem 2rem;
}

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

h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    text-align: center;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-med);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

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

/* Cards */
.card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

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

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--primary-green);
}

/* Problem Section */
.problem-section {
    background: #FFF5F5;
}

.problem-card {
    background: white;
    border-left: 4px solid var(--danger);
}

/* How It Works Section */
.how-works {
    background: var(--light-bg);
}

.step-card {
    position: relative;
    padding-top: 3rem;
}

.step-number {
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gold);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

/* Ingredients Section */
.ingredients {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-dark) 100%);
    color: white;
}

.ingredients h2,
.ingredients .subtitle {
    color: white;
}

.ingredient-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.2);
}

.ingredient-card h3 {
    color: var(--accent-gold);
}

/* Statistics Section */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.stat {
    text-align: center;
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 15px;
}

.stat-num {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-green);
}

/* Testimonials Section */
.testimonials {
    background: var(--light-bg);
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.stars {
    color: var(--accent-gold);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

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

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-green);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* Pricing Section */
.pricing {
    background: white;
}

.price-card {
    background: white;
    border: 3px solid var(--light-bg);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s;
}

.price-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.popular {
    border-color: var(--accent-gold);
    background: linear-gradient(135deg, #FFF9E6 0%, white 100%);
    position: relative;
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gold);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
}

.package-name {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.old-price {
    text-decoration: line-through;
    color: var(--text-med);
    font-size: 1.2rem;
}

.price {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--danger);
    margin: 0.5rem 0;
}

.save {
    background: var(--success);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.features {
    list-style: none;
    text-align: left;
    margin: 1.5rem 0;
}

.features li {
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--light-bg);
}

/* FAQ Section */
.faq-section {
    background: var(--light-bg);
}

.faq-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
}

.faq-q {
    width: 100%;
    padding: 1.5rem;
    background: white;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    color: var(--primary-green);
    font-family: inherit;
}

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

.faq-item.active .faq-a {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

/* Guarantee Section */
.guarantee {
    background: white;
    text-align: center;
}

.guarantee-box {
    background: linear-gradient(135deg, var(--light-bg) 0%, white 100%);
    padding: 4rem 3rem;
    border-radius: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.guarantee-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
}

/* Order Form Section */
.order-form {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 5rem 2rem;
}

.order-form h2,
.order-form .subtitle {
    color: white;
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 20px;
}

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

.form-group label {
    display: block;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #E0E0E0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
}

.package-select {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.pkg-option input {
    display: none;
}

.pkg-label {
    display: block;
    padding: 1.5rem 1rem;
    background: var(--light-bg);
    border: 3px solid var(--light-bg);
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.pkg-option input:checked + .pkg-label {
    background: var(--primary-green);
    color: white;
    border-color: var(--primary-green);
}

.submit-btn {
    width: 100%;
    padding: 1.2rem;
    background: var(--accent-gold);
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto 2rem;
}

.footer h3 {
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #999;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.wa-btn {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    background: var(--whatsapp);
    color: white;
    padding: 1rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    animation: waPulse 2s infinite;
}

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

/* Order Notification Popup */
.notification {
    position: fixed;
    top: 100px;
    right: -400px;
    background: white;
    padding: 1.2rem;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
    z-index: 998;
    max-width: 350px;
    border-left: 4px solid var(--success);
    transition: right 0.5s;
}

.notification.show {
    right: 30px;
}

.notif-content {
    display: flex;
    gap: 1rem;
}

.notif-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-green);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.notif-name {
    font-weight: 700;
    color: var(--primary-green);
}

/* Exit Intent Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-box {
    background: white;
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-header {
    background: linear-gradient(135deg, var(--danger) 0%, #c0392b 100%);
    color: white;
    padding: 2rem;
    border-radius: 20px 20px 0 0;
    text-align: center;
}

.modal-body {
    padding: 2rem;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255,255,255,0.2);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Success Modal */
.success-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 1001;
    align-items: center;
    justify-content: center;
}

.success-modal.active {
    display: flex;
}

.success-box {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    width: 90%;
}

.success-icon {
    font-size: 5rem;
    color: var(--success);
    margin-bottom: 1rem;
}

/* ========================================
   RESPONSIVE DESIGN - MOBILE STYLES
   ======================================== */

@media (max-width: 768px) {
    /* Navigation */
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    /* Hero Section */
    .hero {
        padding: 3rem 1rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    /* Buttons */
    .cta-group {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    /* Grids */
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    /* Countdown */
    .countdown {
        gap: 0.5rem;
    }
    
    .countdown-value {
        font-size: 1.5rem;
        padding: 0.8rem 1rem;
    }
    
    /* Section Titles */
    h2 {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    /* WhatsApp Button */
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
    
    .wa-btn span {
        display: none;
    }
    
    /* Notification */
    .notification.show {
        right: 20px;
        top: 80px;
        max-width: calc(100% - 40px);
    }
    
    /* Modal */
    .modal-box {
        width: 95%;
        max-height: 95vh;
    }
    
    .modal-header {
        padding: 1.5rem 1rem;
    }
    
    .modal-body {
        padding: 1.5rem 1rem;
    }
    
    /* Package Select */
    .package-select {
        grid-template-columns: 1fr;
    }
    
    /* Stats */
    .stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.6rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .stats {
        grid-template-columns: 1fr;
    }
    
    .stat-num {
        font-size: 2.5rem;
    }
}