/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0a0a0f;
    color: #e8e8f0;
    line-height: 1.5;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Skeletal Muscle Relaxants - Premium Glowing Background Animation */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(64, 120, 242, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(0, 200, 255, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(100, 50, 255, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 0% 80%, rgba(0, 255, 200, 0.04) 0%, transparent 40%),
        radial-gradient(ellipse at 100% 60%, rgba(255, 100, 200, 0.03) 0%, transparent 40%);
    z-index: -2;
    animation: ambientGlow 12s ease-in-out infinite alternate;
}

body::after {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 30% 40%, rgba(64, 120, 242, 0.03) 0%, transparent 30%),
        radial-gradient(circle at 70% 60%, rgba(0, 200, 255, 0.03) 0%, transparent 30%);
    z-index: -1;
    animation: slowDrift 20s ease-in-out infinite alternate;
}

@keyframes ambientGlow {
    0% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    100% {
        opacity: 0.7;
        transform: scale(0.95);
    }
}

@keyframes slowDrift {
    0% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(2%, -2%) scale(1.02);
    }
    66% {
        transform: translate(-1%, 1%) scale(0.98);
    }
    100% {
        transform: translate(0, 0) scale(1);
    }
}

/* Floating particle effect */
.floating-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(100, 180, 255, 0.3);
    border-radius: 50%;
    animation: floatParticle linear infinite;
}

@keyframes floatParticle {
    0% {
        opacity: 0;
        transform: translateY(100vh) translateX(0) scale(0);
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(-10vh) translateX(50px) scale(1);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    position: relative;
    z-index: 1;
}

.header-container,
.footer-container {
    width: 50%;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
}

/* Header Styles */
.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.8);
    padding: 10px 0;
    border-bottom: 1px solid rgba(64, 120, 242, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 10;
}

.marquee-wrapper::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(64, 120, 242, 0.4), transparent);
    animation: shimmerLine 3s ease-in-out infinite;
}

@keyframes shimmerLine {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marqueeScroll 16s linear infinite;
}

.marquee-content {
    display: flex;
}

.marquee-content span {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
    padding-right: 28px;
    text-shadow: 0 0 20px rgba(64, 120, 242, 0.2);
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee-wrapper:hover .marquee-track {
    animation-play-state: paused;
}

.top-badge-slider {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    padding: 10px;
    text-align: center;
    font-weight: 600;
    font-size: 33px;
    color: #FFDE61;
    border-bottom: 1px solid rgba(255, 222, 97, 0.2);
}

.slider-flex {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.logo-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    flex-wrap: wrap;
    gap: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-img {
    width: 160px;
    height: auto;
    border-radius: 40px;
    filter: drop-shadow(0 0 30px rgba(64, 120, 242, 0.15));
}

.ayush-img {
    height: 50px;
    width: auto;
}

.rating-badge {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 40px;
    padding: 11px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.stars {
    color: #fbbf24;
    letter-spacing: 2px;
}

/* Hero Section */
.hero-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin: 40px 0;
}

.product-gallery {
    flex: 1;
    min-width: 280px;
}

.product-info {
    flex: 1;
    min-width: 280px;
}

.package-tabs {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 14px 24px;
    border-radius: 60px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
    color: #a0aec0;
}

.tab-btn:hover {
    background: rgba(64, 120, 242, 0.1);
    border-color: rgba(64, 120, 242, 0.3);
    transform: translateY(-2px);
}

.tab-btn.active {
    background: linear-gradient(135deg, rgba(64, 120, 242, 0.2), rgba(100, 50, 255, 0.2));
    color: white;
    border-color: rgba(64, 120, 242, 0.4);
    box-shadow: 0 4px 30px rgba(64, 120, 242, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.package-image {
    text-align: center;
    margin: 20px 0;
}

.package-image img {
    max-width: 100%;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(64, 120, 242, 0.05);
    transition: transform 0.3s ease;
}

.package-image img:hover {
    transform: scale(1.02);
}

.price-block {
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 28px;
    text-align: center;
    margin: 20px 0;
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
}

.old-price {
    font-size: 22px;
    text-decoration: line-through;
    color: #64748b;
    margin-right: 12px;
}

.new-price {
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, #64b5f6, #7c4dff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-order {
    background: linear-gradient(135deg, #4078f2, #6c3ce0);
    color: white;
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 60px;
    font-weight: 700;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 16px 0;
    box-shadow: 0 4px 30px rgba(64, 120, 242, 0.3);
}

.btn-order:hover {
    transform: translateY(-2px) scale(0.98);
    box-shadow: 0 8px 40px rgba(64, 120, 242, 0.4);
}

.btn-order:active {
    transform: scale(0.95);
}

/* Timeline Steps */
.delivery-timeline {
    display: flex;
    justify-content: space-between;
    margin: 30px 0;
    position: relative;
}

.delivery-timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: rgba(255, 255, 255, 0.08);
    z-index: 0;
}

.timeline-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
    background: transparent;
    padding: 0 10px;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    border: 2px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.timeline-step.completed .step-icon {
    background: linear-gradient(135deg, rgba(64, 120, 242, 0.2), rgba(100, 50, 255, 0.2));
    border-color: rgba(64, 120, 242, 0.4);
    box-shadow: 0 0 30px rgba(64, 120, 242, 0.1);
}

.step-icon i {
    font-size: 32px;
    color: #64b5f6;
}

.timeline-step.completed .step-icon i {
    color: #64b5f6;
}

.step-date {
    font-size: 14px;
    font-weight: 600;
    color: #a0aec0;
    margin-bottom: 5px;
}

.step-title {
    font-size: 14px;
    font-weight: 600;
    color: #64b5f6;
}

.step-desc {
    font-size: 11px;
    color: #64748b;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin: 20px 0;
}

.gallery-item {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.03);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    object-fit: cover;
}

/* Reviews */
.section-title {
    font-size: 28px;
    font-weight: 700;
    margin: 40px 0 24px;
    text-align: center;
    color: #e8e8f0;
}

.reviews-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.review-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 24px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.review-card:hover {
    border-color: rgba(64, 120, 242, 0.2);
    transform: translateY(-2px);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-icon {
    width: 48px;
    height: 48px;
    background: rgba(64, 120, 242, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #64b5f6;
}

.review-text {
    color: #c8c8d0;
    line-height: 1.6;
    margin: 10px 0;
}

.review-date {
    font-size: 12px;
    color: #64748b;
    margin-top: 8px;
}

/* FAQ */
.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 20px 0;
}

.faq-question {
    font-weight: 700;
    margin-bottom: 10px;
    color: #e8e8f0;
}

.faq-item div {
    color: #a0aec0;
}

/* Payment Box */
.payment-box {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 24px;
    padding: 20px;
    text-align: center;
    margin: 20px 0;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Popup */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    visibility: hidden;
    opacity: 0;
    transition: 0.3s ease;
    backdrop-filter: blur(10px);
}

.popup-overlay.active {
    visibility: visible;
    opacity: 1;
}

.popup-content {
    background: #1a1a2e;
    max-width: 500px;
    width: 90%;
    border-radius: 32px;
    padding: 28px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.popup-content h3 {
    color: #e8e8f0;
    margin-bottom: 20px;
}

.close-popup {
    position: absolute;
    right: 20px;
    top: 16px;
    font-size: 28px;
    cursor: pointer;
    color: #64748b;
    transition: color 0.3s ease;
}

.close-popup:hover {
    color: #e8e8f0;
}

.form-group {
    margin-bottom: 16px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.05);
    color: #e8e8f0;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(64, 120, 242, 0.4);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #64748b;
}

.note-advance {
    font-size: 13px;
    background: rgba(255, 222, 97, 0.08);
    padding: 12px;
    border-radius: 20px;
    margin: 16px 0;
    color: #fbbf24;
    border: 1px solid rgba(255, 222, 97, 0.1);
}

/* Sticky Bar */
.sticky-order-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.5);
    padding: 12px 0;
    z-index: 1000;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
}

.sticky-content {
    width: 50%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.sticky-price {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, #64b5f6, #7c4dff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sticky-btn {
    background: linear-gradient(135deg, #4078f2, #6c3ce0);
    border: none;
    padding: 10px 24px;
    border-radius: 40px;
    font-weight: 700;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(64, 120, 242, 0.3);
}

.sticky-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(64, 120, 242, 0.4);
}

/* Footer */
.footer-copyright {
    text-align: center;
    padding: 30px 0;
    font-size: 13px;
    color: #64748b;
}

.footer-copyright p {
    margin: 4px 0;
}

/* Certificate */
.certificate-container {
    text-align: center;
    margin: 30px 0;
}

.certificate-container img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .header-container,
    .footer-container,
    .sticky-content {
        width: 95%;
    }
    
    .logo-img {
        width: 180px;
        border-radius: 40px;
    }
    
    .delivery-timeline {
        flex-direction: column;
        gap: 15px;
    }
    
    .delivery-timeline::before {
        display: none;
    }
    
    .timeline-step {
        display: flex;
        align-items: center;
        gap: 15px;
        text-align: left;
    }
    
    .step-icon {
        width: 50px;
        height: 50px;
        margin: 0;
    }
    
    .step-icon i {
        font-size: 20px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-grid {
        flex-direction: column;
    }
    
    .package-tabs {
        flex-direction: column;
    }
    
    .new-price {
        font-size: 28px;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a0a0f;
}

::-webkit-scrollbar-thumb {
    background: rgba(64, 120, 242, 0.3);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(64, 120, 242, 0.5);
}