@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@400;500;600;700&display=swap');

:root {
    --primary-color: #0ea5e9;
    --primary-hover: #0284c7;
    --secondary-color: #f97316;
    --secondary-hover: #ea580c;
    --bg-main: #f0fdfa;
    --bg-white: #ffffff;
    --text-dark: #0f172a;
    --text-light: #475569;
    --border-color: #e2e8f0;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius-md: 12px;
    --radius-lg: 20px;
}

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

body {
    font-family: 'Hind Siliguri', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-main);
    line-height: 1.6;
}

.container {
    max-width: 750px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }

/* Header */
.header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header h1 {
    font-size: 1.6rem;
    color: var(--primary-color);
    font-weight: 700;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 100%);
    padding: 50px 0 40px;
    position: relative;
    overflow: hidden;
}
.main-headline {
    font-size: 2.2rem;
    line-height: 1.3;
    margin-bottom: 10px;
    color: #1e293b;
    font-weight: 700;
}
.highlight { color: var(--primary-color); }
.product-title {
    font-size: 1.6rem;
    color: var(--secondary-color);
    margin-bottom: 30px;
    font-weight: 700;
}

.image-wrapper {
    position: relative;
    max-width: 450px;
    margin: 0 auto 30px;
    background: var(--bg-white);
    padding: 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255,255,255,0.5);
}
.product-image {
    width: 100%;
    border-radius: var(--radius-md);
    display: block;
}
.warranty-badge {
    position: absolute;
    top: -15px;
    right: -15px;
    background: #10b981;
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
    transform: rotate(5deg);
    border: 2px solid white;
}

.pricing {
    margin: 0 auto 30px;
    background: var(--bg-white);
    padding: 20px 30px;
    border-radius: var(--radius-lg);
    display: inline-block;
    box-shadow: var(--shadow-md);
    border: 2px solid #bae6fd;
}
.regular-price {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 5px;
}
.offer-price {
    font-size: 2.2rem;
    font-weight: 700;
    color: #e11d48;
    line-height: 1;
}
.save-price {
    background: #fef08a;
    display: inline-block;
    padding: 4px 15px;
    border-radius: 20px;
    font-weight: 700;
    margin-top: 10px;
    color: #854d0e;
    font-size: 1.1rem;
}

/* Buttons */
.cta-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-hover) 100%);
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    padding: 16px 45px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 10px 25px -5px rgba(249, 115, 22, 0.4);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
    border: none;
    cursor: pointer;
    font-family: inherit;
    width: 100%;
    max-width: 400px;
}
.cta-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 25px -5px rgba(249, 115, 22, 0.5);
}

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

/* Sections General */
.section-title {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 35px;
    color: var(--text-dark);
    font-weight: 700;
    position: relative;
    padding-bottom: 12px;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 4px;
}

/* Features */
.features {
    padding: 60px 0;
    background-color: var(--bg-white);
}
.feature-list {
    list-style: none;
    max-width: 550px;
    margin: 0 auto;
}
.feature-list li {
    font-size: 1.25rem;
    margin-bottom: 15px;
    padding: 18px 20px;
    background: #f0fdf4;
    border-radius: var(--radius-md);
    border-left: 5px solid #22c55e;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    color: #166534;
}

/* Details Section */
.details {
    padding: 60px 0;
    background: #f0fdfa;
}
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}
.grid-item {
    background: var(--bg-white);
    padding: 25px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: transform 0.3s;
}
.grid-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: #bae6fd;
}
.grid-item h4 {
    color: var(--primary-color);
    margin-bottom: 12px;
    font-size: 1.3rem;
    font-weight: 700;
}
.grid-item p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.in-the-box {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border-top: 5px solid var(--primary-color);
}
.in-the-box ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
}
.in-the-box li {
    position: relative;
    padding-left: 30px;
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-dark);
}
.in-the-box li::before {
    content: '✅';
    position: absolute;
    left: 0;
    top: 2px;
}

/* Order Section */
.order-section {
    padding: 70px 0;
    background: linear-gradient(180deg, #f0fdfa 0%, #ccfbf1 100%);
    border-top: 1px solid var(--border-color);
}
.checkout-form {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 650px;
    margin: 0 auto;
    border: 1px solid var(--border-color);
}
.form-group { margin-bottom: 25px; }
.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1.1rem;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1.1rem;
    transition: all 0.3s;
    background: #f8fafc;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--bg-white);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
}
.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.order-summary {
    background: #ffffff;
    padding: 25px;
    border-radius: var(--radius-md);
    margin-bottom: 25px;
    border: 1px solid var(--border-color);
}
.package-selection label {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 15px;
    background: var(--bg-white);
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1.2rem;
}
.package-selection label:hover {
    border-color: var(--primary-color);
}
.package-selection input[type="radio"] {
    width: 20px;
    height: 20px;
    margin-right: 15px;
    accent-color: var(--primary-color);
}
.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px dashed var(--border-color);
    font-size: 1.1rem;
}
.summary-row.total {
    border-bottom: none;
    font-weight: 800;
    font-size: 1.5rem;
    color: #e11d48;
    padding-top: 20px;
}
.delivery-options p {
    padding: 15px 0;
    color: #16a34a;
    font-weight: 700;
    font-size: 1.1rem;
    border-bottom: 1px dashed var(--border-color);
}

.payment-method {
    background: #ecfdf5;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
    border: 1px dashed #34d399;
    text-align: center;
}
.payment-method h4 {
    color: #059669;
    font-size: 1.2rem;
    margin-bottom: 5px;
}
.payment-method p {
    color: #065f46;
    font-weight: 600;
}

.no-advance {
    color: #e11d48;
    font-weight: 700;
    font-size: 1.1rem;
}
.whatsapp-box {
    margin-top: 25px;
    padding: 20px;
    background: #f0fdf4;
    border: 2px dashed #22c55e;
    border-radius: 12px;
    text-align: center;
}

/* Footer */
.footer {
    background-color: #0f172a;
    color: #cbd5e1;
    padding: 40px 0;
}
.footer p { margin-bottom: 10px; font-size: 1.1rem; }

/* Floating CTA */
.floating-cta {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: var(--secondary-color);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    animation: bounce 2s infinite;
    display: none;
    border: 2px solid white;
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}
/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
.modal-content {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: var(--shadow-lg);
    animation: modalPop 0.4s ease-out forwards;
}
.success-icon {
    font-size: 4rem;
    margin-bottom: 15px;
}
.modal-content h3 {
    color: #10b981;
    font-size: 2rem;
    margin-bottom: 10px;
}
.modal-content p {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}
.close-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.3s;
}
.close-btn:hover {
    background: var(--primary-hover);
    transform: scale(1.05);
}
@keyframes modalPop {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* Sales Toast */
.sales-toast {
    position: fixed;
    bottom: 25px;
    left: 25px;
    background: white;
    padding: 12px 15px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateX(-150%);
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1000;
    max-width: 320px;
    border-left: 4px solid var(--primary-color);
}
.sales-toast.show {
    transform: translateX(0);
}
.toast-img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
}
.toast-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2px;
}
.toast-desc {
    font-size: 0.85rem;
    color: var(--primary-color);
    margin-bottom: 3px;
    font-weight: 600;
}
.toast-time {
    font-size: 0.8rem;
    color: var(--text-light);
}

@media (max-width: 768px) {
    .sales-toast {
        bottom: 90px;
        left: 20px;
        right: 20px;
        max-width: calc(100% - 40px);
    }
    .hero { padding: 30px 0 20px; }
    .main-headline { font-size: 1.6rem; }
    .product-title { font-size: 1.25rem; margin-bottom: 20px; }
    .pricing { padding: 15px 20px; margin-bottom: 20px; width: 100%; max-width: 320px; }
    .offer-price { font-size: 1.8rem; }
    
    .section-title { font-size: 1.5rem; margin-bottom: 25px; }
    .features { padding: 40px 0; }
    .feature-list li { font-size: 1.1rem; padding: 12px 15px; margin-bottom: 10px; }
    
    .details { padding: 40px 0; }
    .grid-container { grid-template-columns: 1fr; gap: 15px; margin-bottom: 30px; }
    .grid-item { padding: 20px; }
    .in-the-box { padding: 25px 20px; }
    .in-the-box li { font-size: 1.05rem; }
    
    .order-section { padding: 40px 0; }
    .checkout-form { padding: 25px 15px; border-radius: 16px; }
    .form-group label { font-size: 1rem; margin-bottom: 6px; }
    .form-group input, .form-group textarea { padding: 12px; font-size: 1rem; border-radius: 10px; }
    .package-selection label { padding: 12px 15px; font-size: 1.05rem; border-radius: 10px; }
    .summary-row.total { font-size: 1.3rem; }
    
    .cta-btn { font-size: 1.2rem; padding: 14px 20px; width: 100%; }
    .floating-cta { 
        display: block; 
        width: calc(100% - 40px); 
        text-align: center; 
        left: 20px; 
        bottom: 20px; 
        font-size: 1.2rem; 
        padding: 12px 20px; 
        border-radius: 30px;
    }
}
