/* --- CSS VARIABLES & RESET --- */
:root {
    --primary: #dc2626; /* Premium Brand Red */
    --primary-hover: #b91c1c;
    --secondary: #111; /* Emerald Green */
    --bg-light: #f9f9f9;
    --bg-white: #fff;
    --bg-dark: #111;
    --text-main: #111;
    --text-muted: #666;
    --text-white: #fff;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 4px 6px -1px rgb(0 0 0 / 5%);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 10%);
    --radius-sm: 8px;
    --radius-lg: 24px;
}

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

body {
    font-family: Inter, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: Poppins, sans-serif; color: var(--text-main); }

a { text-decoration: none; color: inherit; transition: var(--transition); }

img { max-width: 100%; height: auto; display: block; }

/* --- BUTTONS --- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-family: Inter, sans-serif;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 10px 15px -3px rgb(220 38 38 / 30%);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 15px 20px -3px rgb(220 38 38 / 40%);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-outline:hover { background-color: var(--primary); color: white; }

/* --- NAVIGATION (GLASSMORPHISM) --- */
header.glass-nav {
    position: fixed;
    top: 0; width: 100%;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgb(255 255 255 / 85%);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgb(0 0 0 / 5%);
    transition: var(--transition);
}

header.glass-nav.scrolled {
    box-shadow: var(--shadow-sm);
    padding: 15px 5%;
}

.logo { font-size: 1.5rem; font-weight: 800; font-family: Poppins; color: var(--primary); display: flex; align-items: center; gap: 8px;}
.logo span { color: var(--text-main); }
.nav-links { display: flex; gap: 30px; align-items: center; margin-left: auto; margin-right: 30px;}
.nav-links a { font-weight: 500; font-size: 0.95rem; color: var(--text-muted); }
.nav-links a:hover { color: var(--primary); }
.nav-cta { display: flex; gap: 12px; align-items: center; }
.menu-toggle { display: none; cursor: pointer; color: var(--text-main); margin-left: 20px;}

/* --- HERO SECTION --- */
.hero-lumina {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 120px 5% 60px;
    background-color: var(--bg-white);
    position: relative;
    overflow: hidden;
}
.hero-content { flex: 1; max-width: 600px; z-index: 2; }
.hero-lumina h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1.1; margin-bottom: 24px; }
.hero-lumina p { font-size: 1.125rem; color: var(--text-muted); margin-bottom: 40px; }
.hero-buttons { display: flex; gap: 16px; }

.hero-image { flex: 1; display: flex; justify-content: flex-end; position: relative; z-index: 2; }
.hero-image img { width: 90%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

/* Background decorative blob */
.blob {
    position: absolute; right: -10%; top: -10%;
    width: 600px; height: 600px;
    background: linear-gradient(135deg, #fff5f5 0%, #fecdd3 100%);
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
}

/* --- SECTIONS --- */
.section-padding { padding: 100px 5%; }
.section-header { margin-bottom: 60px; text-align: center; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 16px; }
.section-header p { color: var(--text-muted); max-width: 600px; margin: 0 auto; }

/* --- SERVICES --- */
.service-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px;
}

.service-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: left;
    border: 1px solid rgb(0 0 0 / 3%);
}
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: var(--primary); }

.service-icon {
    width: 60px; height: 60px;
    background: #fff5f5; color: var(--primary);
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 32px; margin-bottom: 24px;
}
.service-card h3 { font-size: 1.5rem; margin-bottom: 12px; }
.service-card p { color: var(--text-muted); font-size: 0.95rem; }

/* --- CTA SECTION --- */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, #7f1d1d 100%);
    padding: 80px 5%;
    text-align: center;
    color: white;
}
.cta-section h2 { color: white; font-size: 2.5rem; margin-bottom: 20px; }
.cta-section p { font-size: 1.1rem; opacity: 0.9; margin-bottom: 40px; max-width: 600px; margin-inline: auto; }
.cta-section .btn-primary { background: white; color: var(--primary); box-shadow: none; }
.cta-section .btn-primary:hover { background: var(--bg-light); color: var(--primary-hover); }

/* --- FOOTER - BALANCED LAYOUT --- */
footer {
    background: #0a0a0a;
    color: white;
    padding: 100px 5% 40px;
    position: relative;
}
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--primary));
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1fr;
    gap: 60px 40px;
    max-width: 1400px;
    margin: 0 auto 60px;
    position: relative;
    z-index: 1;
}
.footer-col h4 {
    color: white;
    margin-bottom: 24px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 12px;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}
.footer-logo {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    display: inline-block;
    color: white;
    letter-spacing: -0.5px;
}
.footer-desc {
    color: #a1a1aa;
    max-width: 320px;
    font-size: 0.95rem;
    line-height: 1.8;
}
.footer-col ul {
    list-style: none;
}
.footer-col ul li {
    margin-bottom: 14px;
}
.footer-col ul li a {
    color: #a1a1aa;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: inline-block;
}
.footer-col ul li a:hover {
    color: white;
    transform: translateX(5px);
}
.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #a1a1aa;
    font-size: 0.9rem;
    line-height: 1.7;
}
.contact-list li i {
    color: var(--primary);
    font-size: 1.2rem;
    margin-top: 3px;
    flex-shrink: 0;
}
.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
    z-index: 1;
}
.footer-copyright {
    color: #71717a;
    font-size: 0.9rem;
}
.footer-social {
    display: flex;
    gap: 16px;
}
.footer-social a {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    color: #a1a1aa;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}
.footer-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* --- PRICING SECTION --- */
.pricing-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px;
}

.pricing-card {
    background: var(--bg-white);
    padding: 50px 40px;
    border-radius: 24px;
    text-align: center;
    border: 1px solid rgb(0 0 0 / 5%);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.pricing-card.popular {
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-lg);
}

.pricing-card.popular::before {
    content: "POPULAR";
    position: absolute; top: 20px; right: -30px;
    background: var(--primary); color: white;
    padding: 5px 40px; font-size: 0.75rem; font-weight: 700;
    transform: rotate(45deg);
}
.pricing-card h4 { font-size: 1.25rem; margin-bottom: 8px; color: var(--text-muted); }
.pricing-card h2 { font-size: 2.5rem; margin-bottom: 24px; color: var(--text-main); }
.pricing-card ul { list-style: none; margin-bottom: 30px; text-align: left; }
.pricing-card ul li { margin-bottom: 15px; color: var(--text-muted); display: flex; align-items: center; gap: 10px; }
.pricing-card ul li i { color: var(--secondary); font-size: 1.1rem; }

/* --- TEAM SECTION --- */
.team-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px;
}

.team-card {
    background: var(--bg-white);
    border-radius: 20px;
    overflow: hidden;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.team-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.team-image { height: 350px; overflow: hidden; }
.team-image img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.team-card:hover .team-image img { transform: scale(1.05); }
.team-info { padding: 30px; }
.team-info h3 { font-size: 1.25rem; margin-bottom: 5px; }
.team-info p { color: var(--primary); font-weight: 600; font-size: 0.9rem; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px;}
.team-social { display: flex; justify-content: center; gap: 15px; }
.team-social a { color: var(--text-muted); font-size: 1.1rem; }
.team-social a:hover { color: var(--primary); }

/* --- COUNTERS --- */
.counter-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px;
    background: white; padding: 60px; border-radius: 30px; box-shadow: var(--shadow-sm);
}
.counter-item { text-align: center; }
.counter-item h2 { font-size: 3.5rem; color: var(--primary); margin-bottom: 8px; }
.counter-item p { color: var(--text-muted); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600; }

/* --- ANIMATIONS (Scroll Reveal) --- */
.fade-up { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }

/* --- MOBILE RESPONSIVE --- */
@media (width <= 968px) {
    .hero-lumina { flex-direction: column; text-align: center; padding-top: 150px; }
    .hero-image { margin-top: 50px; justify-content: center; }
    .hero-buttons { justify-content: center; }
    .blob { right: -20%; top: 20%; }
}

@media (width <= 1100px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: 50px 30px;
    }
    .footer-brand {
        grid-column: 1 / -1;
    }
    .footer-desc {
        max-width: 100%;
    }
}

@media (width <= 968px) {
    .nav-links {
        position: absolute; top: 100%; left: 0; width: 100%;
        background: white; flex-direction: column;
        padding: 20px 0; box-shadow: var(--shadow-sm);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease-in-out;
    }
    .nav-links.active { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
    .menu-toggle { display: block; }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px 30px;
    }
    .footer-brand {
        grid-column: 1 / -1;
    }
    .footer-contact {
        grid-column: 1 / -1;
    }
    .footer-contact .contact-list {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    .footer-contact .contact-list li {
        flex-direction: column;
        text-align: center;
    }
    .footer-contact .contact-list li i {
        margin-top: 0;
        margin-bottom: 8px;
    }
    footer {
        padding: 60px 5% 30px;
    }
}

@media (width <= 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    .footer-brand,
    .footer-contact {
        grid-column: auto;
    }
    .footer-col h4 {
        font-size: 0.95rem;
        margin-bottom: 18px;
        padding-bottom: 10px;
    }
    .footer-col h4::after {
        width: 30px;
        height: 2px;
    }
    .footer-logo {
        font-size: 1.5rem;
    }
    .footer-desc {
        font-size: 0.9rem;
    }
    .footer-col ul li {
        margin-bottom: 12px;
    }
    .footer-col ul li a {
        font-size: 0.9rem;
    }
    .footer-contact .contact-list {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .footer-contact .contact-list li {
        flex-direction: row;
        text-align: left;
        font-size: 0.85rem;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 25px;
        padding-top: 30px;
    }
    .footer-copyright {
        font-size: 0.85rem;
    }
    .footer-social {
        gap: 12px;
    }
    .footer-social a {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}
