/* --- MODERN CLOUD THEME & RESET --- */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&family=Poppins:wght@300;400;500;600;700&display=swap');

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

:root {
    /* Sleepy Bed Color Palette */
    --bg-white: #ffffff;
    --bg-light: #f8fafc;          /* Soft Cloud Gray */
    --bg-warm: #fffbeb;           /* Warm Morning Yellow */
    
    --accent-primary: #1e3a8a;    /* Deep Night Sky Blue */
    --accent-primary-hover: #1e40af;
    --accent-secondary: #f97316;  /* Sunset Orange */
    --accent-tertiary: #ec4899;   /* Soft Pink */
    
    /* Text Colors */
    --text-dark: #0f172a;         /* Almost Black */
    --text-body: #334155;         /* Dark Slate */
    --text-muted: #64748b;
    
    /* UI Elements */
    --border-color: #e2e8f0;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 20px -5px rgba(30, 58, 138, 0.1);
    --shadow-lg: 0 25px 50px -12px rgba(30, 58, 138, 0.15);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --header-height: 85px;
    --border-radius: 24px;
}

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

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5 { font-family: 'Nunito', sans-serif; color: var(--text-dark); font-weight: 800; }
b, strong { color: var(--accent-primary); font-weight: 700; }
a { text-decoration: none; color: inherit; transition: var(--transition); }

/* --- UTILITIES --- */
.container { max-width: 1250px; margin: 0 auto; padding: 0 5%; }
.py-mega { padding: 100px 0; }
.py-large { padding: 70px 0; }
.text-center { text-align: center; }
.bg-light-gray { background-color: var(--bg-light); }
.bg-warm { background-color: var(--bg-warm); }
.emoji-icon { font-size: 2.5rem; margin-bottom: 15px; display: inline-block; }

/* --- BUTTONS --- */
.btn-primary {
    background: var(--accent-primary); color: #fff !important;
    padding: 16px 36px; border-radius: 50px; font-weight: 700; font-family: 'Nunito', sans-serif;
    letter-spacing: 1px; display: inline-flex; align-items: center; gap: 10px;
    box-shadow: 0 10px 20px rgba(30, 58, 138, 0.25); transition: var(--transition); border: none; cursor: pointer;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 25px rgba(30, 58, 138, 0.35); background: var(--accent-primary-hover); }

.btn-secondary {
    background: var(--accent-secondary); color: #fff !important;
    padding: 16px 36px; border-radius: 50px; font-weight: 700; font-family: 'Nunito', sans-serif;
    letter-spacing: 1px; display: inline-flex; align-items: center; gap: 10px;
    box-shadow: 0 10px 20px rgba(249, 115, 22, 0.25); transition: var(--transition); border: none; cursor: pointer;
}
.btn-secondary:hover { transform: translateY(-3px); background: #ea580c; box-shadow: 0 15px 25px rgba(249, 115, 22, 0.35); }

/* --- TOP ANNOUNCEMENT BAR --- */
.top-bar { background: var(--accent-tertiary); color: #fff; text-align: center; padding: 8px 15px; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.5px; }

/* --- HEADER --- */
header {
    position: sticky; top: 0; width: 100%; height: var(--header-height); z-index: 1000;
    background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.05); transition: var(--transition); display: flex; align-items: center;
}
header.scrolled { height: 75px; background: rgba(255, 255, 255, 0.98); box-shadow: var(--shadow-sm); }
.nav-container { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.logo h1 { font-size: 2.2rem; font-weight: 900; letter-spacing: -1px; color: var(--accent-primary); }
.logo h1 span { color: var(--accent-secondary); }

.nav-links { display: flex; gap: 30px; list-style: none; align-items: center; }
.nav-links a { font-weight: 600; font-size: 1rem; color: var(--text-body); }
.nav-links a:hover, .nav-links a.active { color: var(--accent-secondary); }

.header-icons { display: flex; gap: 20px; align-items: center; font-size: 1.2rem; color: var(--accent-primary); cursor: pointer;}
.header-icons span:hover { color: var(--accent-secondary); transition: var(--transition);}

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 6px; cursor: pointer; border: none; background: none; z-index: 1001; }
.hamburger span { width: 30px; height: 3px; background: var(--accent-primary); border-radius: 5px; transition: var(--transition); }
.hamburger.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* --- HERO SECTION --- */
.hero { padding: 60px 0; background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-white) 100%); overflow: hidden; }
.hero-grid { display: flex; align-items: center; gap: 50px; }
.hero-content { flex: 1; }
.badge { display: inline-flex; align-items: center; gap: 8px; background: #e0e7ff; color: var(--accent-primary); padding: 8px 16px; border-radius: 50px; font-weight: 800; font-size: 0.85rem; text-transform: uppercase; margin-bottom: 20px; border: 1px solid rgba(30, 58, 138, 0.1); }
.hero h1 { font-size: 4rem; line-height: 1.1; margin-bottom: 20px; color: var(--accent-primary);}
.hero p { font-size: 1.15rem; margin-bottom: 40px; color: var(--text-body); max-width: 550px; }
.hero-btns { display: flex; gap: 15px; flex-wrap: wrap; }

.hero-visual { flex: 1.2; position: relative; }
.hero-visual img { width: 100%; border-radius: var(--border-radius); box-shadow: var(--shadow-lg); }
/* Floating Price Tag */
.floating-tag { position: absolute; bottom: 30px; left: -20px; background: #fff; padding: 15px 25px; border-radius: 16px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 15px; animation: float 4s ease-in-out infinite; border: 1px solid var(--border-color);}
.floating-tag h4 { font-size: 1.4rem; color: var(--accent-secondary); margin: 0;}
.floating-tag p { font-size: 0.85rem; font-weight: 600; margin: 0; color: var(--text-muted);}

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }

/* --- BENEFIT BAR --- */
.benefit-bar { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 20px; padding: 40px 0; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); background: #fff;}
.benefit-item { display: flex; align-items: center; gap: 15px; font-weight: 700; font-size: 1.1rem; color: var(--accent-primary);}
.benefit-item span { font-size: 1.8rem; }

/* --- SECTION HEADERS --- */
.section-title { max-width: 700px; margin: 0 auto 50px; }
.section-title h2 { font-size: 2.8rem; margin-bottom: 15px; color: var(--accent-primary);}
.section-title p { font-size: 1.1rem; color: var(--text-muted); }

/* --- CATEGORIES GRID --- */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.category-card { position: relative; border-radius: var(--border-radius); overflow: hidden; height: 350px; cursor: pointer; transition: var(--transition); box-shadow: var(--shadow-md);}
.category-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.category-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(30,58,138,0.8) 0%, transparent 60%); }
.category-card:hover img { transform: scale(1.08); }
.category-info { position: absolute; bottom: 30px; left: 30px; z-index: 2; color: #fff;}
.category-info h3 { color: #fff; font-size: 1.8rem; margin-bottom: 5px;}
.category-info p { font-weight: 600; font-size: 0.95rem; }

/* --- PRODUCT CAROUSEL --- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; }
.product-card { background: #fff; border-radius: 20px; padding: 20px; border: 1px solid var(--border-color); transition: var(--transition); text-align: center; position: relative;}
.product-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: var(--accent-primary);}
.product-badge { position: absolute; top: 20px; left: 20px; background: var(--accent-tertiary); color: #fff; padding: 5px 12px; border-radius: 50px; font-size: 0.75rem; font-weight: 800; text-transform: uppercase;}
.product-img { width: 100%; height: 200px; object-fit: contain; margin-bottom: 20px; border-radius: 12px; background: var(--bg-light); padding: 10px;}
.product-card h3 { font-size: 1.3rem; margin-bottom: 5px; }
.product-card .price { font-size: 1.4rem; color: var(--accent-secondary); font-weight: 800; margin-bottom: 15px;}
.product-card .price span { text-decoration: line-through; color: var(--text-muted); font-size: 0.9rem; font-weight: 500; margin-left: 8px;}
.add-to-cart { width: 100%; background: var(--bg-light); color: var(--accent-primary); border: 2px solid var(--accent-primary); padding: 12px; border-radius: 50px; font-weight: 700; cursor: pointer; transition: var(--transition);}
.product-card:hover .add-to-cart { background: var(--accent-primary); color: #fff; }

/* --- SPLIT FEATURE SECTION --- */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(450px, 1fr)); gap: 60px; align-items: center; }
.split-img { border-radius: var(--border-radius); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; border: 1px solid var(--border-color);}
.split-content h2 { font-size: 2.5rem; margin-bottom: 20px; color: var(--accent-primary);}
.split-content ul { list-style: none; margin: 30px 0; }
.split-content li { margin-bottom: 15px; font-size: 1.05rem; display: flex; align-items: flex-start; gap: 15px; font-weight: 500; }
.split-content li span { font-size: 1.3rem; margin-top: -2px;}

/* --- TESTIMONIAL SLIDER --- */
.slider-container { position: relative; max-width: 900px; margin: 0 auto; overflow: hidden; padding: 20px 0 40px;}
.slider-wrapper { display: flex; transition: transform 0.5s ease-in-out; }
.slide { min-width: 100%; padding: 40px; text-align: center; box-sizing: border-box; background: #fff; border-radius: var(--border-radius); border: 1px solid var(--border-color); box-shadow: var(--shadow-md);}
.stars { color: #fbbf24; font-size: 1.5rem; margin-bottom: 15px;}
.testimonial-text { font-size: 1.2rem; font-style: italic; color: var(--text-dark); margin-bottom: 20px; font-weight: 500;}
.slide h4 { font-size: 1.1rem; color: var(--accent-primary); margin-bottom: 5px;}
.slide p { color: var(--text-muted); font-size: 0.85rem;}

.slider-dots { display: flex; justify-content: center; gap: 10px; margin-top: 30px;}
.dot { width: 12px; height: 12px; border-radius: 50%; background: #cbd5e1; cursor: pointer; transition: var(--transition);}
.dot.active { background: var(--accent-primary); transform: scale(1.3);}


/* =========================================
   FAQ ACCORDION (FIXED & SMOOTH)
   ========================================= */
.faq-item { 
    background: #fff; 
    border: 1px solid var(--border-color); 
    border-radius: 16px; 
    margin-bottom: 20px; 
    overflow: hidden; 
    transition: var(--transition); 
    box-shadow: var(--shadow-sm);
}
.faq-question { 
    width: 100%; 
    text-align: left; 
    padding: 25px 30px; 
    background: #fff; 
    border: none; 
    font-size: 1.15rem; 
    font-weight: 700; 
    font-family: 'Nunito', sans-serif; 
    color: var(--accent-primary); 
    cursor: pointer; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    transition: var(--transition);
}
.faq-icon { 
    font-size: 1.8rem; 
    font-weight: 400;
    color: var(--text-muted); 
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
    display: flex;
    align-items: center;
    justify-content: center;
}
.faq-answer { 
    max-height: 0; 
    overflow: hidden; 
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
    background: #fff; 
}
.faq-answer-content {
    padding: 0 30px 30px 30px;
    color: var(--text-body);
    font-size: 1rem;
    line-height: 1.7;
    border-top: 1px dashed var(--border-color);
    margin-top: -10px;
    padding-top: 20px;
}
/* Active States */
.faq-item.active { 
    border-color: var(--accent-secondary); 
    box-shadow: var(--shadow-md); 
}
.faq-item.active .faq-question {
    color: var(--accent-secondary); 
}
.faq-item.active .faq-icon { 
    transform: rotate(45deg); 
    color: var(--accent-secondary); 
}


/* --- CTA BANNER --- */
.cta-banner { background: var(--accent-primary); color: #fff; border-radius: var(--border-radius); padding: 60px 5%; text-align: center; position: relative; overflow: hidden; box-shadow: var(--shadow-lg);}
.cta-banner::before { content: ''; position: absolute; top: -50px; left: -50px; width: 200px; height: 200px; background: rgba(255,255,255,0.1); border-radius: 50%; }
.cta-banner h2 { color: #fff; font-size: 2.8rem; margin-bottom: 15px; position: relative; z-index: 2;}
.cta-banner p { font-size: 1.1rem; margin-bottom: 30px; position: relative; z-index: 2; color: rgba(255,255,255,0.8);}

/* --- FOOTER --- */
footer { background: var(--bg-light); color: var(--text-body); padding: 80px 0 30px; border-top: 1px solid var(--border-color); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 50px; margin-bottom: 60px; }
.footer-brand h2 { font-size: 2rem; margin-bottom: 15px; color: var(--accent-primary); }
.footer-brand span { color: var(--accent-secondary); }
.footer-brand p { color: var(--text-muted); margin-bottom: 25px; }
.socials a { display: inline-flex; width: 45px; height: 45px; background: #fff; border-radius: 50%; align-items: center; justify-content: center; font-size: 1.2rem; margin-right: 15px; transition: var(--transition); border: 1px solid var(--border-color); color: var(--accent-primary);}
.socials a:hover { background: var(--accent-secondary); color: #fff; border-color: var(--accent-secondary); transform: translateY(-5px); }
.footer-links h4 { font-size: 1.2rem; margin-bottom: 25px; color: var(--text-dark); }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 15px; }
.footer-links a { color: var(--text-muted); font-weight: 500; }
.footer-links a:hover { color: var(--accent-secondary); padding-left: 8px; }
.footer-bottom { text-align: center; padding-top: 30px; border-top: 1px solid var(--border-color); color: var(--text-muted); font-size: 0.9rem;}

/* --- ANIMATION CLASSES --- */
.reveal { opacity: 0; visibility: hidden; transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); }
.reveal.active { opacity: 1; visibility: visible; }
.slide-up { transform: translateY(50px); }
.slide-up.active { transform: translateY(0); }
.slide-left { transform: translateX(-50px); }
.slide-left.active { transform: translateX(0); }
.slide-right { transform: translateX(50px); }
.slide-right.active { transform: translateX(0); }
.zoom-in { transform: scale(0.9); }
.zoom-in.active { transform: scale(1); }

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1024px) {
    .hero h1 { font-size: 3.5rem; }
    .hero-grid, .grid-2 { flex-direction: column; text-align: center; }
    .hero-visual { width: 100%; }
    .floating-tag { left: 20px; bottom: 20px; }
    .split-content ul { display: inline-block; text-align: left; }
    .hero-btns { justify-content: center; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }
    
    /* Mobile Menu Active State */
    .nav-container.menu-open .nav-links {
        display: flex; flex-direction: column; position: absolute; top: var(--header-height); left: 0;
        width: 100%; background: #fff; padding: 30px 5%; box-shadow: 0 20px 20px rgba(0,0,0,0.1);
        text-align: center; gap: 25px; border-top: 1px solid var(--border-color);
    }
    .nav-container.menu-open .nav-links a { font-size: 1.2rem; }
    
    .py-mega { padding: 70px 0; }
    .py-large { padding: 50px 0; }
    .hero h1 { font-size: 2.8rem; }
    .section-title h2 { font-size: 2.3rem; }
    .benefit-bar { flex-direction: column; gap: 15px; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .socials { justify-content: center; }
}