/* Modern Landing Page CSS */
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #10b981;
    --accent: #f59e0b;
    --dark: #0f172a;
    --gray: #64748b;
    --light-gray: #f1f5f9;
    --white: #ffffff;
    --danger: #ef4444;
    --success: #10b981;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 20px 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-cta {
    background: var(--primary);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.header-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Hero Section */
.hero {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    padding: 80px 0 60px;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    animation: fadeInLeft 0.8s ease;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    animation: pulse 2s infinite;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--dark);
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-benefits {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: var(--dark);
}

.benefit svg {
    color: var(--success);
    flex-shrink: 0;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-xl);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 25px 35px -5px rgb(99 102 241 / 0.4);
}

.trust-indicators {
    display: flex;
    gap: 32px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    flex-wrap: wrap;
}

.trust-item {
    font-size: 14px;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 8px;
}

.trust-icon {
    color: var(--primary);
    flex-shrink: 0;
}

.trust-item span {
    white-space: nowrap;
}

.trust-item strong {
    font-size: 16px;
    color: var(--dark);
    font-weight: 700;
}

.hero-image {
    position: relative;
    animation: fadeInRight 0.8s ease;
}

.hero-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    touch-action: pan-y;
}

.hero-slide {
    position: relative;
    display: none;
    width: 100%;
    animation: fadeIn 0.6s ease;
}

.hero-slide.active {
    display: block;
}

.hero-slide img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-carousel-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.dot.active {
    background: var(--white);
    border-color: var(--primary);
    box-shadow: 0 0 0 2px var(--white);
}

.floating-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--white);
    padding: 16px 20px;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    animation: float 3s ease-in-out infinite;
}

.badge-content {
    text-align: center;
}

.badge-price-original {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray);
    text-decoration: line-through;
    opacity: 0.7;
}

.badge-price {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    margin: 2px 0;
}

.badge-text {
    font-size: 12px;
    color: var(--gray);
    font-weight: 600;
    margin-top: 4px;
}

/* Problem Section */
.problem-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.problem-content h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
}

.problem-content p {
    font-size: 18px;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
}

/* Products Section */
.products-section {
    padding: 80px 0 140px;
    background: var(--light-gray);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 12px;
}

.section-header p {
    font-size: 18px;
    color: var(--gray);
}

.products-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.product-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 2px solid transparent;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.product-card:nth-child(1) {
    animation-delay: 0.1s;
}

.product-card:nth-child(2) {
    animation-delay: 0.2s;
}

.product-card:nth-child(3) {
    animation-delay: 0.3s;
}

.product-card:nth-child(4) {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -5px rgb(0 0 0 / 0.15);
}

/* Highlight effect when scrolling from hero carousel */
.product-card.highlight-product {
    animation: highlightPulse 2s ease;
    border-color: var(--primary);
}

@keyframes highlightPulse {
    0%, 100% {
        box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
        transform: scale(1);
    }
    25% {
        box-shadow: 0 0 0 8px rgba(99, 102, 241, 0.3), 0 20px 40px -5px rgba(99, 102, 241, 0.25);
        transform: scale(1.02);
    }
    50% {
        box-shadow: 0 0 0 12px rgba(99, 102, 241, 0.2), 0 20px 40px -5px rgba(99, 102, 241, 0.2);
        transform: scale(1.02);
    }
    75% {
        box-shadow: 0 0 0 8px rgba(99, 102, 241, 0.1), 0 20px 40px -5px rgba(99, 102, 241, 0.15);
        transform: scale(1.01);
    }
}

.product-card.featured {
    border-color: var(--primary);
    box-shadow: 0 4px 6px -1px rgb(99 102 241 / 0.1);
}

.product-card.featured:hover {
    box-shadow: 0 20px 40px -5px rgb(99 102 241 / 0.2);
}

.product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
}

.product-badge.bestseller {
    background: var(--success);
    color: var(--white);
}

.product-badge.popular {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: var(--white);
}

.product-badge.premium {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: var(--white);
}

.product-image-wrapper {
    height: 280px;
    overflow: hidden;
    background: var(--light-gray);
}

.product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image-wrapper img {
    transform: scale(1.1);
}

.product-body {
    padding: 24px;
}

.product-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.product-desc {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 20px;
}

.product-pricing {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.price-original {
    font-size: 16px;
    color: var(--gray);
    text-decoration: line-through;
    opacity: 0.7;
}

.price-current {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
}

.price-save {
    background: #dcfce7;
    color: #166534;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
}

.product-quantity {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-quantity label {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
}

.qty-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    color: var(--dark);
    background: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.qty-select:hover {
    border-color: var(--primary);
}

.qty-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.qty-select.selected {
    border-color: var(--success);
    background: rgba(16, 185, 129, 0.05);
    animation: selectPulse 0.5s ease;
}

.remove-from-cart-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 16px;
    background: var(--danger);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.remove-from-cart-btn:hover {
    background: #dc2626;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.remove-from-cart-btn:active {
    transform: translateY(0);
}

.remove-from-cart-btn svg {
    flex-shrink: 0;
}

@keyframes selectPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
    }
    100% {
        transform: scale(1);
    }
}

/* Order Summary Bar */
.order-summary-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding: 20px;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
    z-index: 999;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.order-summary-bar.visible {
    transform: translateY(0);
    animation: slideUpBounce 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes slideUpBounce {
    0% {
        transform: translateY(100%);
    }
    60% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

.summary-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.summary-left {
    display: flex;
    gap: 24px;
    align-items: center;
}

.summary-items {
    font-weight: 600;
    color: var(--dark);
}

.summary-breakdown {
    display: flex;
    gap: 8px;
    font-size: 14px;
}

.breakdown-label {
    color: var(--gray);
}

.breakdown-value {
    font-weight: 600;
    color: var(--dark);
}

.summary-right {
    display: flex;
    gap: 24px;
    align-items: center;
}

.summary-total {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.total-label {
    font-size: 12px;
    color: var(--gray);
}

.total-amount {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
}

.checkout-button {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 14px 28px;
    border-radius: 10px;
    border: none;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
    white-space: nowrap;
}

.checkout-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.checkout-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Testimonials */
.testimonials-section {
    padding: 80px 0;
    background: var(--white);
}

.testimonials-section h2 {
    text-align: center;
    font-size: 42px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 60px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--light-gray);
    padding: 32px;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stars {
    color: #fbbf24;
    font-size: 20px;
    margin-bottom: 16px;
}

.testimonial-card p {
    color: var(--dark);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

.testimonial-author strong {
    color: var(--dark);
    font-weight: 600;
}

.testimonial-author span {
    color: var(--gray);
    font-size: 14px;
}

/* Guarantee Section */
.guarantee-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.guarantee-section h2 {
    text-align: center;
    font-size: 42px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 60px;
}

.guarantees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.guarantee-item {
    text-align: center;
}

.guarantee-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.guarantee-item h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.guarantee-item p {
    color: var(--gray);
    line-height: 1.6;
}

/* Final CTA */
.final-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    text-align: center;
}

.final-cta h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
}

.final-cta p {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.95;
}

/* More Info Button */
.more-info-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 16px;
}

.more-info-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.more-info-btn svg {
    flex-shrink: 0;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.4s ease;
    box-shadow: var(--shadow-xl);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 32px;
    color: var(--gray);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--light-gray);
    color: var(--dark);
}

.modal-content h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 8px;
}

.modal-subtitle {
    color: var(--gray);
    margin-bottom: 32px;
}

.modal-order-summary {
    background: var(--light-gray);
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 32px;
}

.modal-order-summary h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
}

.order-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.order-item:last-of-type {
    border-bottom: none;
}

.order-item-thumbnail {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.order-item-details {
    flex: 1;
    min-width: 0;
}

.order-item-name {
    font-weight: 600;
    color: var(--dark);
    font-size: 14px;
    line-height: 1.3;
}

.order-item-qty {
    font-size: 13px;
    color: var(--gray);
    margin-top: 4px;
}

.order-item-price {
    font-weight: 700;
    color: var(--primary);
    font-size: 15px;
    flex-shrink: 0;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    color: var(--dark);
}

.summary-row.total-row {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 2px solid var(--primary);
    font-size: 18px;
    font-weight: 800;
}

.summary-row.total-row span:last-child {
    color: var(--primary);
}

/* Scroll Indicator */
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-indicator:hover {
    opacity: 0.8;
}

.scroll-indicator:hover .scroll-arrow {
    transform: translateY(4px);
}

.scroll-text {
    font-size: 13px;
    color: var(--gray);
    font-weight: 500;
    text-align: center;
}

.scroll-arrow {
    color: var(--primary);
    animation: bounceDown 1.5s ease-in-out infinite;
}

@keyframes bounceDown {
    0%, 100% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(8px);
        opacity: 0.6;
    }
}

/* Form */
.form-row {
    margin-bottom: 24px;
}

.form-row label {
    display: block;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
    font-size: 14px;
}

.form-row input,
.form-row textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    transition: all 0.3s ease;
}

.form-row input:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-row small {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: var(--gray);
}

.submit-button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 16px;
    border-radius: 10px;
    border: none;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
    margin-bottom: 16px;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.submit-button.loading {
    opacity: 0.8;
    pointer-events: none;
    position: relative;
}

.submit-button.loading span,
.submit-button.loading svg {
    opacity: 0;
}

.submit-button.loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spinner 0.8s linear infinite;
}

@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}

.payment-secure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--gray);
    font-size: 13px;
}

.payment-secure svg {
    color: var(--success);
}

/* Product Modal Specific Styles */
.product-modal-content {
    max-width: 1000px;
    width: 95%;
    padding: 0;
}

.product-modal-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.product-gallery {
    background: var(--light-gray);
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
}

.main-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--dark);
    box-shadow: var(--shadow);
}

.gallery-nav:hover {
    background: var(--white);
    box-shadow: var(--shadow-lg);
}

.gallery-nav.prev {
    left: 10px;
}

.gallery-nav.next {
    right: 10px;
}

.thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 12px;
}

.thumbnail {
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail:hover {
    border-color: var(--primary);
}

.thumbnail.active {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.product-details {
    padding: 40px;
    overflow-y: auto;
    max-height: 80vh;
}

.product-details h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 12px;
}

.product-details > p {
    color: var(--gray);
    margin-bottom: 24px;
    line-height: 1.7;
}

.product-features,
.product-benefits {
    margin-bottom: 24px;
}

.product-features h3,
.product-benefits h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.product-features ul,
.product-benefits ul {
    list-style: none;
    padding: 0;
}

.product-features li,
.product-benefits li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: var(--dark);
    line-height: 1.6;
}

.product-features li:before,
.product-benefits li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
}

.product-notes {
    background: var(--light-gray);
    padding: 16px;
    border-radius: 8px;
    margin-top: 24px;
}

.product-notes p {
    margin: 0;
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
}

/* Floating Modal Buttons */
.floating-modal-btn {
    position: fixed;
    border: none;
    border-radius: 50px;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    z-index: 10001;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.floating-add-to-cart {
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
}

.floating-add-to-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(219, 39, 119, 0.4);
}

.floating-close-btn {
    bottom: 30px;
    left: 30px;
    background: white;
    color: var(--dark);
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
    border: 2px solid rgba(0, 0, 0, 0.1);
}

.floating-close-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    background: var(--light-gray);
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    -webkit-text-fill-color: var(--white);
    margin-bottom: 12px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links h4,
.footer-legal h4,
.footer-contact h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-links a,
.footer-legal a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-legal a:hover {
    color: var(--white);
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
}

.footer-contact a {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.footer-contact a:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes buttonPulse {
    0% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(99, 102, 241, 0); }
    100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-image {
        order: -1;
    }

    .order-summary-bar {
        padding: 12px 16px;
    }

    .summary-content {
        flex-direction: row;
        align-items: center;
        gap: 12px;
    }

    .summary-left {
        display: none;
    }

    .summary-right {
        flex-direction: row;
        align-items: center;
        width: 100%;
        gap: 12px;
    }

    .summary-total {
        flex: 1;
        align-items: flex-start;
    }

    .total-label {
        font-size: 11px;
    }

    .total-amount {
        font-size: 20px;
    }

    .checkout-button {
        white-space: nowrap;
        padding: 12px 20px;
        font-size: 14px;
    }

    .checkout-button span {
        display: none;
    }

    .checkout-button::after {
        content: "Complete Your Order";
    }
}

@media (max-width: 480px) {
    .checkout-button::after {
        content: "Complete Order";
    }
}

@media (max-width: 768px) {
    .product-modal-layout {
        grid-template-columns: 1fr;
    }

    .product-gallery {
        padding: 24px;
    }

    .product-details {
        padding: 24px;
    }

    .floating-add-to-cart {
        bottom: 20px;
        right: 20px;
        padding: 12px 20px;
        font-size: 14px;
    }

    .floating-close-btn {
        bottom: 20px;
        left: 20px;
        width: 44px;
        height: 44px;
    }

    .trust-indicators {
        gap: 20px;
        margin-top: 32px;
        padding-top: 24px;
    }

    .trust-item {
        font-size: 13px;
    }

    .trust-icon {
        width: 18px;
        height: 18px;
    }

    .trust-item strong {
        font-size: 15px;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 40px 0 30px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .trust-indicators {
        flex-direction: column;
        gap: 16px;
    }

    .section-header h2 {
        font-size: 32px;
    }

    .problem-content h2 {
        font-size: 28px;
    }

    .testimonials-section h2,
    .guarantee-section h2 {
        font-size: 32px;
    }

    .final-cta h2 {
        font-size: 32px;
    }

    .modal-content {
        padding: 24px;
    }

    .products-wrapper {
        grid-template-columns: 1fr;
    }

    .product-modal-content {
        width: 100%;
        max-height: 95vh;
        border-radius: 12px 12px 0 0;
    }
}

/* WhatsApp Floating Button */
#whatsappFloatingButton {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.whatsapp-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: whatsappPulse 2s ease-in-out infinite;
}

.whatsapp-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

@keyframes whatsappPulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.6), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }
}

.whatsapp-bubble {
    background: white;
    border-radius: 16px;
    padding: 16px;
    padding-top: 36px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
    min-width: 250px;
    max-width: 320px;
    animation: bubbleExpand 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: right center;
    position: relative;
}

.whatsapp-bubble-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: transparent;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #666;
    transition: all 0.2s ease;
    padding: 0;
}

.whatsapp-bubble-close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #333;
}

@keyframes bubbleExpand {
    0% {
        opacity: 0;
        transform: scale(0.8) translateX(20px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateX(0);
    }
}

.whatsapp-bubble-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.whatsapp-loading {
    text-align: center;
    padding: 12px;
    color: #666;
    font-size: 14px;
}

.whatsapp-error {
    text-align: center;
    padding: 12px;
    color: #e53e3e;
    font-size: 14px;
}

.whatsapp-chat-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

.whatsapp-chat-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.whatsapp-chat-btn:active {
    transform: translateY(0);
}

.whatsapp-btn-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* Responsive adjustments for WhatsApp button */
@media (max-width: 768px) {
    #whatsappFloatingButton {
        right: 20px;
        top: 50%;
        bottom: auto;
        transform: translateY(-50%);
    }

    .whatsapp-icon {
        width: 56px;
        height: 56px;
    }

    .whatsapp-icon svg {
        width: 28px;
        height: 28px;
    }

    .whatsapp-bubble {
        min-width: 220px;
        max-width: 280px;
        position: fixed;
        right: 86px;
        top: 50%;
        transform: translateY(-50%);
    }

    @keyframes bubbleExpand {
        0% {
            opacity: 0;
            transform: scale(0.8) translateY(20px);
        }
        100% {
            opacity: 1;
            transform: scale(1) translateY(0);
        }
    }
}

@media (max-width: 480px) {
    #whatsappFloatingButton {
        right: 16px;
        top: 50%;
        bottom: auto;
        transform: translateY(-50%);
    }

    .whatsapp-icon {
        width: 52px;
        height: 52px;
    }

    .whatsapp-icon svg {
        width: 26px;
        height: 26px;
    }

    .whatsapp-bubble {
        min-width: 200px;
        max-width: calc(100vw - 100px);
        padding: 14px;
        right: 78px;
        top: 50%;
        bottom: auto;
        transform: translateY(-50%);
    }

    .whatsapp-chat-btn {
        padding: 12px 16px;
        font-size: 14px;
    }

    .whatsapp-btn-icon {
        width: 20px;
        height: 20px;
    }
}

/* WhatsApp Checkbox Styling */
.whatsapp-checkbox-wrapper {
    margin-top: 12px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 8px;
    font-size: 14px;
    color: var(--gray);
    user-select: none;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary);
}

.checkbox-label span {
    line-height: 1.4;
}

/* Lagos Delivery Message */
.lagos-delivery-message {
    display: none;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 10px 14px;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border: 1px solid #a7f3d0;
    border-radius: 8px;
    color: #065f46;
    font-size: 14px;
    font-weight: 500;
    animation: slideDown 0.3s ease-out;
}

.lagos-delivery-message svg {
    color: #059669;
    flex-shrink: 0;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Shipping Info Button and Bubble */
.shipping-with-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.shipping-info-btn {
    background: transparent;
    border: none;
    color: var(--primary);
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    width: 24px;
    height: 24px;
}

.shipping-info-btn:hover {
    background: rgba(99, 102, 241, 0.1);
    transform: scale(1.1);
}

.shipping-info-btn svg {
    display: block;
}

.shipping-info-bubble {
    position: relative;
    margin-top: 8px;
    padding: 10px 12px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid #bae6fd;
    border-radius: 8px;
    box-shadow: var(--shadow);
    animation: fadeIn 0.3s ease-out;
}

.shipping-info-bubble h4 {
    margin: 0 0 6px 0;
    color: var(--dark);
    font-size: 13px;
    font-weight: 600;
}

.shipping-info-bubble p {
    margin: 0 0 4px 0;
    color: var(--gray);
    font-size: 12px;
    line-height: 1.4;
}

.shipping-info-bubble p:last-child {
    margin-bottom: 0;
}

.shipping-info-bubble p strong {
    color: var(--primary);
}

.shipping-info-close {
    position: absolute;
    top: 6px;
    right: 6px;
    background: transparent;
    border: none;
    color: var(--gray);
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    padding: 2px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.shipping-info-close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--dark);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile responsive styles for new elements */
@media (max-width: 768px) {
    .lagos-delivery-message {
        font-size: 13px;
        padding: 8px 12px;
    }

    .shipping-info-bubble {
        padding: 8px 10px;
    }

    .shipping-info-bubble h4 {
        font-size: 12px;
    }

    .shipping-info-bubble p {
        font-size: 11px;
    }
}
