/* ========================================
   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;
}

/* THE definitive overflow fix.
   html overflow-x:hidden clips fixed/absolute children
   that escape the body's overflow containment. */
html {
    overflow-x: hidden;
    max-width: 100%;
}

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

/* 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 1rem !important; /* Drastically reduced bottom padding with !important */
}

.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: 0.8rem; /* Reduced from 1.5rem */
}

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

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

/* Badges */
.badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem; /* Reduced from 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: 1rem; /* Reduced from 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;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-img {
    display: block;
    margin: 0 auto;
    width: 100%;
    max-width: 480px;       /* bigger on desktop */
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.2));
    animation: floatBottle 3s ease-in-out infinite;
}

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

.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: 2rem 2rem 5rem; /* Reduced top padding from 5rem to 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(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 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;
    min-width: 0;       /* prevents grid blowout on all cards */
    overflow: hidden;
    word-break: break-word;
}

.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);
    overflow: hidden;
    width: 100%;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    min-width: 0;       /* critical: prevents grid blowout */
    overflow: hidden;
    word-break: break-word;
}

.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;
}

/* ============================================
   WHATSAPP CHAT EVIDENCE SECTION
   ============================================ */
.whatsapp-evidence {
    background: #E8F5E9;
}

.whatsapp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.whatsapp-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s;
    min-width: 0;
}

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

.whatsapp-header {
    background: #25D366;
    color: white;
    padding: 0.8rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.whatsapp-image {
    width: 100%;
    overflow: hidden;
}

.whatsapp-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* ============================================
   VIDEO TESTIMONIALS SECTION
   ============================================ */
.video-testimonials {
    background: white;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.video-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-caption {
    padding: 1.5rem;
    background: var(--light-bg);
}

.video-caption h4 {
    font-size: 1.1rem;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.video-caption p {
    font-size: 0.9rem;
    color: var(--text-med);
}

/* 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;
    min-width: 0;
    overflow: hidden;
    word-break: break-word;
}

.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;
}

/* ============================================
   PRODUCT SHOWCASE IMAGE SECTION
   ============================================ */
.product-showcase {
    background: linear-gradient(135deg, #E8F5E9 0%, #ffffff 100%);
    padding: 3rem 2rem;
}

.product-showcase-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.product-showcase-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

/* 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: 20px;
    background: white;
    padding: 1.2rem;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
    z-index: 998;
    max-width: 320px;
    width: calc(100vw - 40px);
    border-left: 4px solid var(--success);
    /* Use transform to hide off-screen — avoids creating horizontal scrollbar */
    transform: translateX(calc(100% + 30px));
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    pointer-events: none;
}

.notification.show {
    transform: translateX(0);
    pointer-events: all;
}

.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
   ======================================== */

/* ============================================
   NOTIFICATION WIDGET - Compact styles
   ============================================ */
.notif-close {
    position: absolute;
    top: 6px;
    right: 8px;
    background: none;
    border: none;
    font-size: 1.1rem;
    color: var(--text-light);
    cursor: pointer;
    line-height: 1;
    padding: 2px 5px;
}
.notif-action {
    font-size: 0.85rem;
    color: var(--text-dark);
}
.notif-time {
    font-size: 0.72rem;
    color: var(--text-med);
    margin-top: 0.2rem;
}

/* ============================================
   RESPONSIVE DESIGN
   Mobile-first: most users are on mobile.
   2-column grids throughout for compact layout.
   ============================================ */

/* --- Tablet (max 768px) --- */
@media (max-width: 768px) {

    /* Navigation */
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem 1.5rem;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        z-index: 200;
    }
    .nav-links.active { display: flex; }
    .mobile-toggle { display: block; }

    /* Hero - maintain 2-column on tablet too */
    .hero { padding: 3rem 1rem 0.5rem !important; } /* Drastically reduced bottom padding */
    .hero-content { 
        grid-template-columns: 1.3fr 0.7fr;
        gap: 2rem;
        align-items: start;
    }
    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 1rem; }
    .cta-group { flex-direction: column; }
    .btn { width: 100%; }
    .product-img { max-width: 280px; }

    /* Countdown */
    .countdown { gap: 0.5rem; }
    .countdown-value { font-size: 1.5rem; padding: 0.8rem 1rem; }

    /* Section headings */
    h2 { font-size: 2rem; }
    .subtitle { font-size: 1rem; }

    /* Grids - 2 columns on tablet */
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }

    /* Stats - 2 columns */
    .stats { grid-template-columns: repeat(2, 1fr); }

    /* Doctor section stacks */
    .doctor-content { grid-template-columns: 1fr; text-align: center; }
    .doctor-image { margin: 0 auto; }

    /* Comparison table scrollable */
    .comparison-table { overflow-x: auto; }
    .comparison-table table { min-width: 480px; }

    /* Package select 2-col */
    .package-select { grid-template-columns: repeat(2, 1fr); }

    /* WhatsApp button */
    .whatsapp-float { bottom: 16px; right: 12px; }

    /* Notification widget - compact on tablet */
    .notification {
        max-width: 280px;
        padding: 0.9rem 2rem 0.9rem 0.9rem;
        top: 80px;
        right: 12px;
    }
    .notif-avatar { width: 38px; height: 38px; font-size: 0.85rem; }
    .notif-name { font-size: 0.82rem; }
    .notif-action { font-size: 0.78rem; }
    .notif-time { font-size: 0.68rem; }

    /* Modal */
    .modal-box { width: 95%; max-height: 95vh; }
    .modal-header { padding: 1.5rem 1rem; }
    .modal-body { padding: 1.5rem 1rem; }
}

/* --- Mobile (max 600px) - PRIMARY BREAKPOINT --- */
@media (max-width: 600px) {

    /* =====================
       GLOBAL MOBILE FIXES
       ===================== */
    .section { padding: 1.5rem 0 2.5rem; } /* Reduced top padding */
    .container { padding: 0 1rem; max-width: 100%; }
    h2 { font-size: 1.6rem; line-height: 1.3; margin-bottom: 0.8rem; }
    .subtitle { font-size: 0.9rem; line-height: 1.6; }

    /* Header */
    .nav { padding: 0.8rem 1rem; }
    .logo { font-size: 1.3rem; }

    /* =====================
       HERO SECTION - 2-column layout: text left, image right
       ===================== */
    .hero { padding: 1.5rem 1rem 0.5rem !important; } /* Drastically reduced bottom padding */
    
    /* 2-column grid - text left, image right */
    .hero-content {
        grid-template-columns: 1.2fr 0.8fr;
        gap: 1rem;
        align-items: start;
    }
    
    /* Use display:contents so children can span grid */
    .hero-content > div:first-child {
        display: contents;
    }
    
    .hero h1 { 
        font-size: 1.5rem; 
        line-height: 1.2; 
        margin-bottom: 0.5rem; /* Reduced from 0.7rem */
        grid-column: 1;
    }
    .hero h1 span { display: inline; }
    .hero p { 
        font-size: 0.82rem; 
        line-height: 1.4;
        margin-bottom: 0.6rem; /* Reduced from 0.8rem */
        grid-column: 1;
    }
    
    /* Hero badges */
    .badges { 
        gap: 0.3rem; 
        margin-bottom: 0.6rem; /* Reduced from 0.8rem */
        display: flex;
        flex-wrap: wrap;
        grid-column: 1;
    }
    .badge { 
        font-size: 0.62rem; 
        padding: 0.3rem 0.5rem;
        white-space: nowrap;
    }
    
    /* CTA buttons - SPAN FULL WIDTH */
    .cta-group { 
        gap: 0.5rem; 
        margin-bottom: 0.6rem; /* Reduced from 0.8rem */
        display: flex;
        flex-direction: row;
        grid-column: 1 / -1;
    }
    .btn {
        padding: 0.75rem 1rem;
        font-size: 0.8rem;
        width: 100%;
        justify-content: center;
        flex: 1;
    }
    
    /* Timer box - SPAN FULL WIDTH */
    .timer-box { 
        padding: 0.7rem 0.6rem; 
        margin-top: 0;
        margin-bottom: 0;
        grid-column: 1 / -1;
    }
    
    /* Product image - right column, add padding-top to center it */
    .product-viz {
        padding-top: 2rem;
        grid-column: 2;
        grid-row: 1 / 3;
    }
    .product-img {
        width: 100%;
        max-width: 180px;
    }
    .stock-alert {
        font-size: 0.65rem;
        padding: 0.5rem 0.8rem;
        margin-top: 0.8rem;
        text-align: center;
    }
    .timer-box p { font-size: 0.7rem; margin-bottom: 0.4rem; }
    .countdown { 
        gap: 0.3rem;
        justify-content: center;
    }
    .countdown-item { min-width: 0; }
    .countdown-value { 
        font-size: 1rem; 
        padding: 0.4rem 0.5rem;
        min-width: 50px;
    }
    .countdown-label { 
        font-size: 0.6rem;
        margin-top: 0.2rem;
    }

    /* =====================
       ALL CONTENT GRIDS → 2 columns
       ===================== */
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    /* =====================
       PROBLEM CARDS
       ===================== */
    .problem-card {
        padding: 1.2rem 1rem;
    }
    .problem-card .card-icon { 
        font-size: 2rem; 
        margin-bottom: 0.7rem;
    }
    .problem-card h3 { 
        font-size: 0.95rem; 
        margin-bottom: 0.5rem;
    }
    .problem-card p { 
        font-size: 0.82rem; 
        line-height: 1.5;
    }

    /* =====================
       HOW IT WORKS SECTION
       ===================== */
    .how-card {
        padding: 1.2rem 1rem;
        min-width: 0;
    }
    .how-card .card-icon {
        font-size: 2rem;
        margin-bottom: 0.7rem;
    }
    .how-card h3 {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }
    .how-card p {
        font-size: 0.82rem;
        line-height: 1.5;
    }

    /* =====================
       BENEFITS SECTION
       ===================== */
    .benefit-card {
        padding: 1.2rem 1rem;
        min-width: 0;
    }
    .benefit-card .card-icon {
        font-size: 2rem;
        margin-bottom: 0.7rem;
    }
    .benefit-card h3 {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }
    .benefit-card p {
        font-size: 0.82rem;
        line-height: 1.5;
    }

    /* =====================
       INGREDIENTS SECTION
       ===================== */
    .ingredient-card {
        padding: 1.2rem 1rem;
        min-width: 0;
    }
    .ingredient-card .card-icon {
        font-size: 2rem;
        margin-bottom: 0.7rem;
    }
    .ingredient-card h3 {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    .ingredient-card p {
        font-size: 0.78rem;
        line-height: 1.5;
    }

    /* =====================
       STATS SECTION
       ===================== */
    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    .stat { 
        padding: 1.3rem 1rem;
        min-width: 0;
    }
    .stat-num { 
        font-size: 2rem;
        margin-bottom: 0.3rem;
    }
    .stat-label { 
        font-size: 0.8rem;
    }

    /* =====================
       DOCTOR SECTION
       ===================== */
    .doctor-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 1.5rem 1rem;
        gap: 1.2rem;
    }
    .doctor-image { 
        width: 100px; 
        height: 100px; 
        margin: 0 auto;
    }
    .doctor-quote { 
        font-size: 0.88rem; 
        line-height: 1.6;
    }
    .doctor-name { 
        font-size: 1rem;
        margin-top: 1rem;
    }
    .doctor-credentials { 
        font-size: 0.8rem;
    }

    /* =====================
       TESTIMONIAL CARDS
       ===================== */
    .testimonial-card {
        padding: 1.2rem 0.9rem;
        border-radius: 14px;
        min-width: 0;
        overflow: hidden;
        word-break: break-word;
    }
    .testimonial-text {
        font-size: 0.8rem;
        line-height: 1.5;
        margin-bottom: 0.9rem;
        display: -webkit-box;
        -webkit-line-clamp: 5;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .stars { 
        font-size: 0.85rem; 
        margin-bottom: 0.6rem;
    }
    .author { 
        gap: 0.6rem;
        align-items: center;
    }
    .avatar { 
        width: 34px; 
        height: 34px; 
        font-size: 0.7rem; 
        flex-shrink: 0;
    }
    .author div div:first-child { 
        font-size: 0.8rem;
        line-height: 1.3;
    }
    .author div div:last-child { 
        font-size: 0.7rem;
    }

    /* =====================
       WHATSAPP EVIDENCE
       ===================== */
    .whatsapp-evidence {
        display: block;
        width: 100%;
        overflow: visible;
    }
    .whatsapp-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
        margin-top: 2rem;
    }
    .whatsapp-card {
        min-width: 0;
        display: block;
        width: 100%;
        background: white;
    }
    .whatsapp-header {
        padding: 0.6rem 0.8rem;
        font-size: 0.75rem;
        gap: 0.4rem;
        display: flex;
    }
    .whatsapp-header svg {
        width: 15px;
        height: 15px;
        flex-shrink: 0;
    }
    .whatsapp-image {
        display: block;
        width: 100%;
        min-height: 200px;
        background: #f5f5f5;
    }
    .whatsapp-image img {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        object-fit: contain;
    }

    /* =====================
       VIDEO TESTIMONIALS - Single column on mobile for bigger videos
       ===================== */
    .video-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .video-card {
        min-width: 0;
        border-radius: 12px;
    }
    .video-caption {
        padding: 1rem 0.9rem;
    }
    .video-caption h4 {
        font-size: 0.95rem;
        margin-bottom: 0.4rem;
        line-height: 1.3;
    }
    .video-caption p {
        font-size: 0.82rem;
    }

    /* =====================
       COMPARISON TABLE
       ===================== */
    .comparison-table { 
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .comparison-table table { 
        min-width: 500px;
    }
    .comparison-table th { 
        padding: 10px 8px; 
        font-size: 0.85rem;
    }
    .comparison-table td { 
        padding: 10px 8px; 
        font-size: 0.8rem;
    }

    /* =====================
       PRICING SECTION
       ===================== */
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    .price-card {
        padding: 1.8rem 0.9rem 1.3rem;
        border-radius: 14px;
        min-width: 0;
    }
    .package-name { 
        font-size: 1rem; 
        margin-bottom: 0.5rem;
    }
    .old-price { 
        font-size: 0.85rem;
    }
    .price { 
        font-size: 1.8rem;
        margin: 0.5rem 0;
    }
    .save { 
        font-size: 0.7rem; 
        padding: 0.3rem 0.7rem; 
        margin-bottom: 0.8rem;
    }
    .features { 
        margin: 1rem 0;
    }
    .features li { 
        padding: 0.4rem 0; 
        font-size: 0.75rem;
        line-height: 1.4;
    }
    .popular-badge { 
        font-size: 0.7rem; 
        padding: 0.35rem 0.9rem; 
        top: -11px;
    }
    .price-card .btn { 
        padding: 0.8rem 1rem; 
        font-size: 0.85rem;
        margin-top: 0.8rem;
    }

    /* =====================
       ORDER FORM SECTION
       ===================== */
    .order-form {
        padding: 2.5rem 0; /* Remove side padding - let container handle it */
    }
    
    .form-container { 
        padding: 1.5rem 1rem;
        border-radius: 16px;
        max-width: 100%; /* Use full available width */
        margin: 0;
    }
    
    /* Package selector - 2 columns on mobile */
    .package-select {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }
    .pkg-label { 
        padding: 0.9rem 0.6rem;
        min-width: 0;
    }
    .pkg-label div:first-child { 
        font-size: 0.8rem;
        margin-bottom: 0.3rem;
    }
    .pkg-label div:last-child { 
        font-size: 0.95rem;
    }
    
    /* Form inputs */
    .form-group {
        margin-bottom: 1.2rem;
    }
    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    .form-group input,
    .form-group select,
    .form-group textarea { 
        padding: 0.9rem; 
        font-size: 0.95rem;
        border-radius: 8px;
    }
    .form-group textarea {
        min-height: 100px;
    }
    
    /* Submit button */
    .submit-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 100%;
    }

    /* =====================
       FAQ SECTION
       ===================== */
    .faq-q { 
        font-size: 0.88rem; 
        padding: 1rem 0.9rem;
        line-height: 1.4;
    }
    .fiq-icon {
        font-size: 1.2rem;
    }
    .faq-a { 
        padding: 0 0.9rem;
    }
    .faq-item.active .faq-a { 
        padding: 0 0.9rem 1rem;
    }
    .faq-a p { 
        font-size: 0.85rem;
        line-height: 1.6;
    }

    /* =====================
       PRODUCT SHOWCASE IMAGE
       ===================== */
    .product-showcase {
        padding: 2rem 1rem;
    }
    .product-showcase-img {
        border-radius: 12px;
    }

    /* =====================
       GUARANTEE SECTION
       ===================== */
    .guarantee-content { 
        padding: 2rem 1.2rem;
        border-radius: 16px;
    }
    .guarantee-icon { 
        font-size: 3rem;
        margin-bottom: 1rem;
    }
    .guarantee-content h2 { 
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }
    .guarantee-content p { 
        font-size: 0.9rem;
        line-height: 1.7;
    }

    /* =====================
       FOOTER - Compact mobile layout
       About → Quick Links + Contact (2 col) → Guarantee
       ===================== */
    .footer-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.2rem;
    }
    
    /* About Purevam - spans full width at top */
    .footer-grid > div:nth-child(1) {
        grid-column: 1 / -1;
        margin-bottom: 0.3rem;
    }
    
    /* Quick Links - left column */
    .footer-grid > div:nth-child(2) {
        grid-column: 1;
    }
    
    /* Contact Us - right column */
    .footer-grid > div:nth-child(3) {
        grid-column: 2;
    }
    
    /* Guarantee - spans full width at bottom */
    .footer-grid > div:nth-child(4) {
        grid-column: 1 / -1;
        margin-top: 0.3rem;
    }
    
    .footer-grid h3 { 
        font-size: 0.95rem; 
        margin-bottom: 0.6rem;
    }
    .footer-grid p,
    .footer-grid li { 
        font-size: 0.8rem;
        line-height: 1.5;
    }
    .footer-grid ul li {
        margin-bottom: 0.4rem;
    }

    /* =====================
       WHATSAPP FLOAT BUTTON
       ===================== */
    .whatsapp-float { 
        bottom: 16px; 
        right: 12px;
    }
    .wa-btn { 
        padding: 0.85rem 1.3rem; 
        font-size: 0.85rem; 
        gap: 0.5rem;
    }

    /* =====================
       NOTIFICATION WIDGET
       ===================== */
    .notification {
        max-width: 200px;
        width: calc(100vw - 40px);
        padding: 0.6rem 1.8rem 0.6rem 0.6rem;
        border-radius: 8px;
        top: auto;
        bottom: 80px;
        right: 10px;
    }
    .notif-content { 
        gap: 0.5rem;
    }
    .notif-avatar {
        width: 28px;
        height: 28px;
        font-size: 0.65rem;
        flex-shrink: 0;
    }
    .notif-name { 
        font-size: 0.7rem; 
        font-weight: 700; 
        margin-bottom: 1px;
    }
    .notif-action { 
        font-size: 0.68rem;
        line-height: 1.2;
    }
    .notif-time { 
        font-size: 0.58rem; 
        margin-top: 1px;
    }
    .notif-close { 
        top: 3px; 
        right: 4px; 
        font-size: 0.95rem;
        padding: 2px;
    }

    /* =====================
       SUCCESS MODAL
       ===================== */
    .success-content { 
        padding: 2.5rem 1.5rem;
    }
    .success-icon { 
        font-size: 3.5rem;
    }
    .success-content h2 { 
        font-size: 1.5rem;
    }
    .success-content p { 
        font-size: 0.92rem;
        line-height: 1.7;
    }

    /* =====================
       GENERAL CARD FIXES
       ===================== */
    .card {
        padding: 1.2rem 1rem;
        border-radius: 14px;
        min-width: 0;
    }
    .card-icon { 
        font-size: 2rem; 
        margin-bottom: 0.7rem;
    }
    .card h3 { 
        font-size: 0.95rem; 
        margin-bottom: 0.5rem;
        line-height: 1.3;
    }
    .card p { 
        font-size: 0.82rem; 
        line-height: 1.5;
    }

    /* Step cards */
    .step-card { 
        padding-top: 2.5rem;
    }
    .step-number { 
        width: 36px; 
        height: 36px; 
        font-size: 1rem; 
        top: -0.8rem;
    }
}

/* =====================
   VERY SMALL PHONES (375px and below)
   ===================== */
@media (max-width: 375px) {
    .container { padding: 0 0.8rem; }
    h2 { font-size: 1.4rem; }
    .hero h1 { font-size: 1.6rem; }
    .grid-3, .grid-4 { gap: 0.6rem; }
    .card { padding: 1rem 0.8rem; }
    .pricing-grid { gap: 0.6rem; }
    .price-card { padding: 1.6rem 0.8rem 1.2rem; }
    .price { font-size: 1.6rem; }
    .notification { max-width: 200px; }
    .stats { gap: 0.6rem; }
    .countdown-value { 
        font-size: 1.2rem;
        padding: 0.6rem 0.7rem;
        min-width: 60px;
    }
    .badge {
        font-size: 0.65rem;
        padding: 0.35rem 0.6rem;
    }
}