/* Base Reset */
:root {
    --primary: #2a5c3a;
    --primary-dark: #1e4229;
    --secondary: #e67e22;
    --accent: #f1c40f;
    --text: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #f9fbf9;
    --bg-white: #ffffff;
    --success: #27ae60;
    --error: #e74c3c;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
    --glass: rgba(255, 255, 255, 0.7);
    --radius: 12px;
    --container: 1140px;
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, .logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

.bg-light {
    background-color: var(--bg-light);
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.mt-3 { margin-top: 1.5rem; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
    font-size: 1.1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 10px 20px rgba(42, 92, 58, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(42, 92, 58, 0.4);
}

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

.btn-secondary:hover {
    background-color: #d35400;
}

/* Header */
.header {
    background: var(--glass);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    color: var(--primary);
}

.urgency-banner {
    background: var(--accent);
    color: #000;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    animation: pulse 2s infinite;
}

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

/* Hero Section */
.hero {
    padding: 80px 0;
    background: radial-gradient(circle at top right, #e8f5e9, transparent);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}

.badge {
    display: inline-block;
    background: rgba(42, 92, 58, 0.1);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

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

.subheadline {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.hero-price {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

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

.new-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

.discount-badge {
    background: var(--secondary);
    color: white;
    padding: 4px 12px;
    border-radius: 5px;
    font-weight: 600;
}

.trust-icons-hero {
    margin-top: 30px;
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.hero-image-wrapper {
    position: relative;
}

.product-placeholder {
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.5s ease;
    cursor: zoom-in;
}

.product-placeholder img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
    transform-origin: center center;
}

.product-placeholder:hover img {
    transform: scale(1.15);
}

/* Gallery */
.gallery {
    padding: 60px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
}

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

.thumbnails {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.thumb {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
    object-fit: cover;
}

.thumb:hover, .thumb.active {
    border-color: var(--primary);
    transform: translateY(-5px);
}

/* Benefits */
.benefits {
    padding: 80px 0;
}

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

.benefit-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0,0,0,0.03);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.08);
    border-color: rgba(42, 92, 58, 0.15);
}

.benefit-card:hover::before {
    transform: scaleX(1);
}

.benefit-card .icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: inline-block;
    transition: transform 0.4s ease;
}

.benefit-card:hover .icon {
    transform: scale(1.15) rotate(5deg);
}

/* Features */
.features-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 80px 0;
}

.feature-img img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.feature-list {
    list-style: none;
    margin: 30px 0;
}

.feature-list li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.feature-list li::before {
    content: "✔";
    color: var(--primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Video */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

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

/* Testimonials */
.testimonials {
    padding: 80px 0;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.stars {
    color: var(--accent);
    margin-bottom: 15px;
}

.review {
    font-style: italic;
    margin-bottom: 20px;
}

.customer {
    display: flex;
    align-items: center;
    gap: 15px;
}

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

/* Order Section */
.order-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f1f8f3, #ffffff);
}

.order-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    background: var(--bg-white);
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 40px 100px rgba(0,0,0,0.1);
}

.timer-wrapper {
    margin: 30px 0;
}

.countdown {
    display: flex;
    gap: 20px;
}

.countdown div {
    background: var(--primary);
    color: white;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    min-width: 70px;
}

.countdown span {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
}

.form-container {
    background: var(--bg-light);
    padding: 40px;
    border-radius: var(--radius);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
}

.submit-btn {
    width: 100%;
    padding: 18px;
    font-size: 1.2rem;
}

/* Footer */
.footer {
    padding: 60px 0;
    background: #1a1a1a;
    color: #888;
}

.footer-logo {
    color: white;
    font-size: 2rem;
    margin-bottom: 15px;
}

.footer-links {
    margin: 25px 0;
}

.footer-links a {
    color: #888;
    text-decoration: none;
    margin: 0 15px;
}

.disclaimer {
    font-size: 0.8rem;
    margin: 20px 0;
}

/* Sticky Mobile CTA */
.sticky-cta-mobile {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 15px 20px;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    z-index: 999;
}

.sticky-cta-mobile .btn {
    width: 100%;
}

/* Floating WhatsApp */
.float-whatsapp {
    position: fixed;
    bottom: 90px;
    right: 20px;
    z-index: 998;
    transition: transform 0.3s;
}

.float-whatsapp:hover {
    transform: scale(1.1);
}

/* Neon Border Animation */
.neon-border-box {
    padding: 10px;
    border-radius: var(--radius);
    background: var(--bg-white);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.neon-border-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        transparent, 
        #ffd700, /* Royal Gold */
        #ffcc33, 
        transparent 30%
    );
    animation: rotate-neon 4s linear infinite;
    z-index: -1;
}

.neon-border-box::after {
    content: '';
    position: absolute;
    inset: 4px;
    background: var(--bg-white);
    border-radius: calc(var(--radius) - 4px);
    z-index: -1;
}

@keyframes rotate-neon {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Animated Glowing Button */
.ani-glow-btn {
    position: relative;
    padding: 18px 40px;
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    background: var(--primary);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(42, 92, 58, 0.4);
    animation: glow-pulse 2s infinite;
}

.ani-glow-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: all 0.5s;
    animation: btn-shimmer 3s infinite;
}

@keyframes glow-pulse {
    0% { box-shadow: 0 0 5px rgba(255, 215, 0, 0.4); transform: scale(1); }
    50% { box-shadow: 0 0 25px rgba(255, 215, 0, 0.8); transform: scale(1.03); }
    100% { box-shadow: 0 0 5px rgba(255, 215, 0, 0.4); transform: scale(1); }
}

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

.product-highlight {
    padding: 80px 0;
    background: #fff;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.product-info h2 {
    color: var(--primary);
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.benefits-box {
    background: #fdfaf5;
    padding: 30px;
    border-left: 5px solid #d4af37;
    border-radius: 8px;
    margin-bottom: 30px;
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.8;
}
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    padding: 20px;
}

.modal-content {
    background: var(--bg-white);
    max-width: 500px;
    width: 100%;
    border-radius: 20px;
    padding: 40px;
    position: relative;
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

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

.modal-overlay.active .modal-content {
    transform: translateY(0);
    opacity: 1;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-light);
}

.modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.modal-header h2 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 5px;
}

.price-info {
    background: #f1f8f3;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cod-badge {
    background: var(--success);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Vitality Preloader */
.vitality-preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 4000;
    color: white;
    text-align: center;
}

.preloader-content h3 {
    margin-top: 30px;
    font-size: 1.8rem;
}

.vitality-animation {
    position: relative;
    width: 200px;
    margin: 0 auto;
}

.strength-bar {
    height: 12px;
    width: 100%;
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 10px;
}

.strength-bar .fill {
    height: 100%;
    width: 0%;
    background: var(--success);
    box-shadow: 0 0 20px var(--success);
}

.pulse-circle {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    margin: 0 auto 20px;
    animation: pulse-grow 1s infinite;
}

@keyframes pulse-grow {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(2); opacity: 0; }
}

@keyframes fill-bar {
    0% { width: 0%; }
    100% { width: 100%; }
}

.vitality-preloader.active {
    display: flex;
}

.vitality-preloader.active .strength-bar .fill {
    animation: fill-bar 2.5s forwards ease-in-out;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-grid, .features-split, .order-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero h1 { font-size: 2.8rem; }
}

@media (max-width: 768px) {
    .sticky-cta-mobile { display: block; }
    .hero { padding: 40px 0; }
    .hero h1 { font-size: 2.5rem; }
    .order-wrapper { padding: 30px; }
    .float-whatsapp { bottom: 100px; }
}

/* Advanced Content & Trust Sections */
.rich-text-wrapper {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.6;
    color: var(--text);
}

.rich-text-wrapper h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.certificate-grid .cert-item {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-width: 220px;
    text-align: center;
}

.certificate-grid .cert-item img {
    width: 100%;
    height: auto;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: 0.4s;
    border-radius: 5px;
}

.certificate-grid .cert-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    z-index: 10;
}

.certificate-grid .cert-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* Certificate Hover Popup (Global Architecture) */
.global-dimmer {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(8px);
    z-index: 9998;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.global-cert-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -45%) scale(0.9);
    width: 90%;
    max-width: 550px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px;
    border-radius: 20px;
    box-shadow: 0 40px 100px rgba(0,0,0,0.6);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.2);
}

.global-cert-popup img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.global-dimmer.active,
.global-cert-popup.active {
    opacity: 1;
    visibility: visible;
}

.global-cert-popup.active {
    transform: translate(-50%, -50%) scale(1);
}

/* Before & After Styles */
.ba-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.ba-label {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #e74c3c;
    color: #fff;
    padding: 2px 10px;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 4px;
    z-index: 10;
}

/* --- Responsiveness Enhancements --- */

@media (max-width: 992px) {
    .hero-grid, .product-grid, .order-wrapper, .features-split {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-content, .product-info {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero h1 { font-size: 2.8rem; }
    .hero-price { justify-content: center; }
    .trust-icons-hero { justify-content: center; }
}

@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 15px;
    }

    .logo { font-size: 1.5rem; }

    .story-card {
        padding: 20px;
        margin-top: 20px;
    }

    .story-card::before {
        font-size: 3rem;
        left: 15px;
        top: -5px;
    }

    .section-title { font-size: 2rem; }

    .ba-grid {
        grid-template-columns: 1fr !important;
    }

    .trust-row {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero { padding: 40px 0; }
    .hero h1 { font-size: 2.2rem; }
    .new-price { font-size: 2rem; }
    
    .ani-glow-btn {
        width: 100%;
        font-size: 1.1rem;
        padding: 15px 20px;
    }

    .order-wrapper { padding: 20px; }
    .form-container { padding: 20px; }

    .certificate-grid .cert-item {
        max-width: 160px;
    }

    /* Fixed: Ensure story card is not squeezed */
    .product-info {
        width: 100%;
    }
    
    .story-card {
        width: 100%;
        box-sizing: border-box;
    }
}

/* Fix for Story Card squeezing */
.product-info {
    max-width: 100%;
}
