/* =====================================================
   Frontend Styles - Modern Landing Page
   @version 2.0.0
   ===================================================== */

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --success: #22c55e;
    --danger: #ef4444;
    --warning: #f59e0b;
    --info: #3b82f6;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

* { box-sizing: border-box; }

body {
    font-family: 'Hind Siliguri', 'Noto Sans Bengali', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #f8fafc;
    color: #1e293b;
    line-height: 1.6;
}

/* ---- Hero Section ---- */
.hero-section {
    background: linear-gradient(135deg, #f8faff 0%, #eef2ff 100%);
    padding: 60px 0;
}

.hero-title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 15px;
    color: #1e293b;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #475569;
    margin-bottom: 10px;
}

.hero-content {
    font-size: 1rem;
    color: #64748b;
}

.hero-image {
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    max-height: 400px;
    object-fit: cover;
}

.cta-btn {
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    background: var(--gradient-primary);
    border: none;
    transition: all 0.3s;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99,102,241,0.4);
}

/* ---- Benefits Section ---- */
.benefits-section {
    padding: 60px 0;
}

.section-title {
    font-weight: 700;
    margin-bottom: 10px;
}

.section-subtitle {
    color: #64748b;
    font-size: 1.05rem;
}

.benefit-card {
    border-radius: 12px !important;
    padding: 20px;
    transition: transform 0.3s;
    min-height: 140px;
}

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

.benefit-card .card-title {
    font-weight: 700;
    margin-bottom: 8px;
}

.benefit-card .card-text {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ---- Video Section ---- */
.video-section {
    padding: 60px 0;
    background: #f1f5f9;
}

.video-container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* ---- Offer Section ---- */
.offer-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.offer-card {
    background: #fff;
    border: 2px solid #f59e0b;
}

.original-price {
    font-size: 1.4rem;
    text-decoration: line-through;
    color: #94a3b8;
}

.discounted-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ef4444;
}

.offer-label {
    color: #64748b;
    font-weight: 500;
}

.offer-timing {
    color: #ef4444;
    font-weight: 600;
    font-size: 0.9rem;
}

/* ---- Trust Section ---- */
.trust-section {
    padding: 60px 0;
}

.trust-badge {
    transition: transform 0.3s;
}

.trust-badge:hover {
    transform: translateY(-3px);
}

.trust-badge p {
    font-size: 0.85rem;
}

/* ---- Order Section ---- */
.order-section {
    padding: 60px 0;
    background: #f8fafc;
}

.order-form-card {
    border-radius: 16px !important;
    border: 1px solid #e2e8f0;
}

.order-form-card h3 {
    color: var(--primary);
    font-weight: 700;
}

/* Product Radio Boxes (Single Mode) */
.product-radio-box {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.2s;
    background: #fff;
}

.product-radio-box:hover {
    border-color: var(--primary);
    background: #f8faff;
}

.product-radio-box.selected {
    border-color: var(--primary);
    background: #eef2ff;
    box-shadow: 0 0 0 3px rgba(99,102,241,0.15);
}

.product-radio-box input[type="radio"] {
    width: 20px;
    height: 20px;
    margin-right: 15px;
    accent-color: var(--primary);
}

.product-radio-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-grow: 1;
}

.product-name {
    font-weight: 600;
    font-size: 1rem;
}

.product-price {
    font-size: 1rem;
}

.product-price del {
    color: #94a3b8;
    margin-right: 5px;
}

/* Product Checkbox Boxes (Multi Mode) */
.product-checkbox-box {
    padding: 15px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 10px;
    background: #fff;
    transition: all 0.2s;
}

.product-checkbox-box:has(input:checked) {
    border-color: var(--primary);
    background: #eef2ff;
}

.product-checkbox-box input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--primary);
}

/* Quantity Controls */
.qty-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.qty-controls .btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-weight: 700;
}

.qty-controls .form-control {
    border-radius: 10px;
    border: 2px solid #e2e8f0;
    font-weight: 600;
}

/* Shipping Options */
.shipping-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.shipping-options .form-check {
    padding: 10px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
    transition: all 0.2s;
}

.shipping-options .form-check:has(input:checked) {
    border-color: var(--primary);
    background: #eef2ff;
}

/* Order Summary Card */
.order-summary-card {
    border-radius: 16px !important;
    border: 1px solid #e2e8f0;
}

.order-summary-card h4 {
    color: var(--primary);
    font-weight: 700;
}

.order-summary-card .table {
    font-size: 0.9rem;
}

.order-summary-card .table th {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #64748b;
}

/* Form Controls */
.order-form-card .form-control-lg {
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    padding: 12px 16px;
    font-size: 1rem;
}

.order-form-card .form-control-lg:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99,102,241,0.15);
}

/* Submit Button */
#submitBtn {
    background: var(--gradient-primary);
    border: none;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.3s;
}

#submitBtn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99,102,241,0.4);
}

#submitBtn:disabled {
    opacity: 0.7;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .hero-title {
        font-size: 1.6rem;
    }

    .hero-section {
        text-align: center;
        padding: 40px 0;
    }

    .hero-image {
        margin-top: 20px;
        max-height: 250px;
    }

    .product-radio-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .order-summary-card {
        position: static !important;
        margin-top: 20px;
    }

    .benefit-card {
        min-height: auto;
    }

    .discounted-price {
        font-size: 2rem;
    }

    .cta-btn {
        padding: 10px 24px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.4rem;
    }

    .product-radio-box {
        padding: 12px 15px;
    }

    .order-form-card {
        padding: 20px 15px !important;
    }
}

/* ---- Animations ---- */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }
