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

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

:root {
    /* Ultra-Light Theme Colors */
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-gradient: linear-gradient(135deg, #f0f9ff 0%, #e0e7ff 100%);
    
    /* Vibrant Agency Accents */
    --accent-primary: #4f46e5;    /* Deep Indigo */
    --accent-secondary: #f59e0b;  /* Magical Amber/Gold */
    --accent-tertiary: #0ea5e9;   /* Bright Cyan */
    
    /* Text Colors (High Contrast) */
    --text-dark: #0f172a;         /* Almost Black for Headings */
    --text-body: #334155;         /* Dark Slate for Body */
    --text-muted: #64748b;
    
    /* UI Elements */
    --border-color: #e2e8f0;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 40px -5px rgba(79, 70, 229, 0.15);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --header-height: 90px;
}

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

/* --- TYPOGRAPHY (Bold & Emphasized) --- */
h1, h2, h3, h4, h5, .font-bold { 
    font-family: 'Montserrat', 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); }

/* --- UTILITY CLASSES --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }
.py-mega { padding: 120px 0; }
.py-large { padding: 80px 0; }
.text-center { text-align: center; }
.bg-light-gray { background-color: var(--bg-light); }
.bg-gradient-box { background: var(--bg-gradient); border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.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: 'Montserrat', sans-serif;
    text-transform: uppercase; letter-spacing: 1px; display: inline-flex; align-items: center; gap: 10px;
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.25); transition: var(--transition); border: none; cursor: pointer;
}
.btn-primary:hover { transform: translateY(-5px); box-shadow: 0 15px 25px rgba(79, 70, 229, 0.4); background: #4338ca; }

.btn-secondary {
    background: #fff; color: var(--accent-primary) !important; border: 2px solid var(--border-color);
    padding: 14px 34px; border-radius: 50px; font-weight: 700; font-family: 'Montserrat', sans-serif;
    text-transform: uppercase; letter-spacing: 1px; display: inline-flex; align-items: center; gap: 10px;
    transition: var(--transition); cursor: pointer;
}
.btn-secondary:hover { border-color: var(--accent-primary); transform: translateY(-5px); box-shadow: var(--shadow-lg); }

/* --- HEADER --- */
header {
    position: fixed; top: 0; width: 100%; height: var(--header-height); z-index: 1000;
    background: rgba(255, 255, 255, 0.85); 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: 2rem; font-weight: 900; letter-spacing: -1px; }
.logo h1 span { color: var(--accent-secondary); }

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

/* 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(--text-dark); border-radius: 5px; transition: var(--transition); }
.hamburger.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); background: var(--accent-primary); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); background: var(--accent-primary); }

/* --- HERO SECTION --- */
.hero { padding-top: calc(var(--header-height) + 80px); padding-bottom: 80px; position: relative; overflow: hidden; }
/* Decorative Light Blobs */
.hero::before { content: ''; position: absolute; top: -10%; right: -5%; width: 500px; height: 500px; background: var(--accent-primary); filter: blur(150px); opacity: 0.1; z-index: -1; border-radius: 50%; }
.hero::after { content: ''; position: absolute; bottom: -10%; left: -5%; width: 400px; height: 400px; background: var(--accent-tertiary); filter: blur(150px); opacity: 0.1; z-index: -1; border-radius: 50%; }

.hero-grid { display: flex; align-items: center; gap: 60px; }
.hero-content { flex: 1.2; }
.badge { display: inline-flex; align-items: center; gap: 8px; background: #e0e7ff; color: var(--accent-primary); padding: 8px 16px; border-radius: 50px; font-weight: 700; font-size: 0.85rem; text-transform: uppercase; margin-bottom: 20px; border: 1px solid rgba(79, 70, 229, 0.2); }
.hero h1 { font-size: 4.5rem; line-height: 1.1; margin-bottom: 25px; }
.hero h1 span { background: linear-gradient(90deg, var(--accent-primary), var(--accent-tertiary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { font-size: 1.2rem; margin-bottom: 40px; color: var(--text-body); max-width: 600px; }
.hero-btns { display: flex; gap: 20px; flex-wrap: wrap; }

.hero-visual { flex: 1; position: relative; }
.hero-visual img { width: 100%; border-radius: 24px; box-shadow: var(--shadow-lg); animation: float 6s ease-in-out infinite; border: 4px solid #fff; }

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

/* --- SECTION HEADERS --- */
.section-title { max-width: 800px; margin: 0 auto 60px; }
.section-title h2 { font-size: 3rem; margin-bottom: 20px; }
.section-title p { font-size: 1.1rem; color: var(--text-muted); }

/* --- GRID LAYOUTS (Services, Values, Features) --- */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(450px, 1fr)); gap: 60px; align-items: center; }

/* --- CARDS --- */
.modern-card { background: #fff; padding: 50px 40px; border-radius: 20px; border: 1px solid var(--border-color); transition: var(--transition); position: relative; z-index: 1; overflow: hidden; }
.modern-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 0; background: var(--bg-gradient); z-index: -1; transition: var(--transition); }
.modern-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: transparent; }
.modern-card:hover::before { height: 100%; }
.modern-card h3 { font-size: 1.5rem; margin-bottom: 15px; }

/* --- SPLIT SECTIONS (Image + Text) --- */
.split-img { border-radius: 24px; box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; }
.split-content h2 { font-size: 2.8rem; margin-bottom: 25px; }
.split-content ul { list-style: none; margin: 30px 0; }
.split-content li { margin-bottom: 15px; font-size: 1.1rem; display: flex; align-items: center; gap: 15px; font-weight: 500; }
.split-content li::before { content: '🚀'; font-size: 1.2rem; }

/* --- STATS COUNTER --- */
.stats-wrapper { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 30px; background: #fff; padding: 50px; border-radius: 24px; box-shadow: var(--shadow-lg); border: 1px solid var(--border-color); }
.stat-item { text-align: center; }
.stat-item h3 { font-size: 4rem; color: var(--accent-primary); line-height: 1; margin-bottom: 10px; }
.stat-item p { font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-dark); }

/* --- PRICING TABLES --- */
.pricing-card { background: #fff; border: 1px solid var(--border-color); border-radius: 24px; padding: 50px 40px; text-align: center; transition: var(--transition); }
.pricing-card.popular { border: 2px solid var(--accent-primary); box-shadow: var(--shadow-lg); position: relative; transform: scale(1.05); }
.popular-badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--accent-secondary); color: #fff; padding: 6px 20px; border-radius: 50px; font-weight: 800; font-size: 0.85rem; text-transform: uppercase; }
.price { font-size: 3.5rem; font-weight: 900; color: var(--text-dark); margin: 20px 0; }
.price span { font-size: 1.2rem; color: var(--text-muted); font-weight: 500; }
.pricing-card ul { list-style: none; margin: 30px 0; text-align: left; }
.pricing-card li { margin-bottom: 15px; font-weight: 500; display: flex; align-items: center; gap: 10px; }
.pricing-card li::before { content: '✅'; color: var(--accent-primary); }

/* --- FAQ ACCORDION --- */
.faq-item { background: #fff; border: 1px solid var(--border-color); border-radius: 12px; margin-bottom: 20px; overflow: hidden; transition: var(--transition); }
.faq-question { width: 100%; text-align: left; padding: 25px 30px; background: none; border: none; font-size: 1.2rem; font-weight: 700; font-family: 'Montserrat', sans-serif; color: var(--text-dark); cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-icon { font-size: 1.5rem; color: var(--accent-primary); transition: transform 0.3s ease; }
.faq-answer { max-height: 0; padding: 0 30px; overflow: hidden; transition: all 0.4s ease-in-out; background: var(--bg-light); color: var(--text-body); }
.faq-item.active { border-color: var(--accent-primary); box-shadow: var(--shadow-sm); }
.faq-item.active .faq-icon { transform: rotate(45deg); color: var(--accent-secondary); }
.faq-item.active .faq-answer { max-height: 500px; padding: 20px 30px 30px; }

/* --- CONTACT FORM --- */
.form-box { background: #fff; padding: 60px; border-radius: 24px; box-shadow: var(--shadow-lg); border: 1px solid var(--border-color); }
.input-group { margin-bottom: 25px; }
.input-group label { display: block; font-weight: 700; margin-bottom: 10px; color: var(--text-dark); }
.input-group input, .input-group select, .input-group textarea { width: 100%; padding: 18px; border: 2px solid var(--border-color); border-radius: 12px; font-family: 'Poppins', sans-serif; font-size: 1rem; transition: var(--transition); background: var(--bg-light); }
.input-group input:focus, .input-group select:focus, .input-group textarea:focus { outline: none; border-color: var(--accent-primary); background: #fff; box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1); }

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

/* --- ANIMATION CLASSES (Triggered by JS) --- */
.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(60px); }
.slide-up.active { transform: translateY(0); }
.slide-left { transform: translateX(-60px); }
.slide-left.active { transform: translateX(0); }
.slide-right { transform: translateX(60px); }
.slide-right.active { transform: translateX(0); }
.zoom-in { transform: scale(0.9); }
.zoom-in.active { transform: scale(1); }

/* Delay classes for staggered grid loads */
.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; }
    .split-content ul { display: inline-block; text-align: left; }
    .hero-btns { justify-content: center; }
    .pricing-card.popular { transform: scale(1); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links, .header-actions { 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: 40px 5%; box-shadow: 0 20px 20px rgba(0,0,0,0.1);
        text-align: center; gap: 30px; border-top: 1px solid var(--border-color);
    }
    .nav-container.menu-open .nav-links a { font-size: 1.2rem; }
    
    .py-mega { padding: 80px 0; }
    .py-large { padding: 60px 0; }
    .hero h1 { font-size: 2.8rem; }
    .section-title h2 { font-size: 2.3rem; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .socials { justify-content: center; }
}