/* --- VARIABLES & RESET --- */
:root {
    --primary: #4f46e5;
    --primary-dark: #4338ca;
    --accent: #06b6d4;
    --dark: #0f172a;
    --light: #f8fafc;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    --font-head: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background-color: var(--dark);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

/* --- BACKGROUND EFFECTS --- */
.bg-gradient {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 15% 50%, rgba(79, 70, 229, 0.15), transparent 25%),
                radial-gradient(circle at 85% 30%, rgba(6, 182, 212, 0.15), transparent 25%);
    z-index: -2;
}

.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    animation: float 10s infinite ease-in-out;
}
.orb-1 { width: 300px; height: 300px; background: var(--primary); top: 10%; left: 10%; opacity: 0.2; }
.orb-2 { width: 400px; height: 400px; background: var(--accent); bottom: 10%; right: 10%; opacity: 0.15; animation-delay: -5s; }

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

/* --- UTILITIES --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 100px 0; position: relative; }
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    transition: var(--transition);
}
.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255,255,255,0.2);
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
}
.btn-secondary {
    background: rgba(255,255,255,0.1);
    color: white;
    border: 1px solid var(--glass-border);
}
.glow-btn:hover { box-shadow: 0 0 20px rgba(79, 70, 229, 0.6); transform: scale(1.05); }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-family: var(--font-head); font-size: 2.5rem; margin-bottom: 1rem; background: linear-gradient(to right, #fff, #94a3b8); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

/* --- NAVIGATION --- */
.navbar {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}
.navbar.scrolled { background: rgba(15, 23, 42, 0.8); backdrop-filter: blur(20px); padding: 0.8rem 0; border-bottom: 1px solid var(--glass-border); }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; color: white; text-decoration: none; letter-spacing: -0.5px; }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-weight: 500; transition: var(--transition); }
.nav-links a:hover { color: white; }
.mobile-toggle { display: none; cursor: pointer; flex-direction: column; gap: 5px; }
.mobile-toggle span { width: 25px; height: 2px; background: white; transition: var(--transition); }

/* --- HERO --- */
.hero { padding: 180px 0 100px; text-align: center; min-height: 90vh; display: flex; align-items: center; }
.hero-content { max-width: 900px; margin: 0 auto; }
.badge {
    display: inline-block; padding: 8px 16px; border-radius: 30px;
    background: rgba(79, 70, 229, 0.2); border: 1px solid rgba(79, 70, 229, 0.4);
    color: var(--accent); font-size: 0.9rem; font-weight: 600; margin-bottom: 2rem;
}
.hero h1 { font-family: var(--font-head); font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.1; margin-bottom: 1.5rem; font-weight: 700; }
.hero-text { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 3rem; max-width: 700px; margin-left: auto; margin-right: auto; }
.hero-btns { display: flex; gap: 1rem; justify-content: center; margin-bottom: 4rem; flex-wrap: wrap; }
.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.stat-card { text-align: center; padding: 1.5rem; }
.stat-card h3 { font-size: 2.5rem; font-family: var(--font-head); color: var(--accent); margin-bottom: 0.5rem; }

/* --- SERVICES GRID --- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.service-card .icon-box { font-size: 2.5rem; margin-bottom: 1rem; }
.service-card h3 { font-size: 1.3rem; margin-bottom: 0.8rem; color: white; }
.service-card p { color: var(--text-muted); font-size: 0.95rem; }

/* --- TIMELINE --- */
.timeline { display: flex; justify-content: space-between; position: relative; flex-wrap: wrap; gap: 2rem; }
.timeline::before {
    content: ''; position: absolute; top: 25px; left: 0; width: 100%; height: 2px;
    background: var(--glass-border); z-index: 0;
}
.timeline-item { position: relative; z-index: 1; flex: 1; min-width: 180px; text-align: center; }
.timeline-item .number {
    width: 50px; height: 50px; background: var(--dark); border: 2px solid var(--primary);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.5rem; font-weight: 700; color: var(--primary); transition: var(--transition);
}
.timeline-item:hover .number { background: var(--primary); color: white; box-shadow: 0 0 15px var(--primary); }

/* --- ARTICLE STYLES --- */
.article-container { max-width: 800px; margin: 0 auto; }
.article-meta { display: flex; gap: 1.5rem; color: var(--accent); font-size: 0.9rem; margin-bottom: 2rem; text-transform: uppercase; letter-spacing: 1px; }
.article-section h2 { font-family: var(--font-head); font-size: 2rem; margin: 3rem 0 1.5rem; color: white; }
.article-section h3 { font-size: 1.4rem; margin: 2rem 0 1rem; color: var(--accent); }
.article-section p { margin-bottom: 1.5rem; color: var(--text-muted); font-size: 1.05rem; }
.callout-box {
    padding: 1.5rem; border-left: 4px solid var(--primary); background: rgba(79, 70, 229, 0.1);
    margin: 2rem 0; border-radius: 0 8px 8px 0;
}
.callout-box strong { color: white; display: block; margin-bottom: 0.5rem; }

/* --- TESTIMONIALS --- */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.stars { color: #fbbf24; margin-bottom: 1rem; letter-spacing: 2px; }
.client-info { display: flex; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.avatar {
    width: 45px; height: 45px; background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem;
}
.client-info div span { display: block; font-size: 0.85rem; color: var(--text-muted); }

/* --- FAQ --- */
.faq-container { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.faq-item { padding: 0; overflow: hidden; }
.faq-item summary {
    padding: 1.5rem; cursor: pointer; font-weight: 600; list-style: none;
    display: flex; justify-content: space-between; align-items: center; color: white;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.5rem; color: var(--accent); transition: var(--transition); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 1.5rem 1.5rem; color: var(--text-muted); border-top: 1px solid var(--glass-border); margin-top: -1px; padding-top: 1.5rem; }

/* --- CONTACT --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact-info h2 { font-family: var(--font-head); font-size: 2.5rem; margin-bottom: 1rem; }
.info-item { margin: 1.5rem 0; font-size: 1.1rem; }
.info-item strong { display: block; color: var(--accent); font-size: 0.9rem; text-transform: uppercase; margin-bottom: 0.3rem; }
.info-item a { color: white; text-decoration: none; transition: var(--transition); }
.info-item a:hover { color: var(--primary); }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.contact-form input, .contact-form textarea {
    width: 100%; padding: 1rem; background: rgba(255,255,255,0.05); border: 1px solid var(--glass-border);
    border-radius: 8px; color: white; font-family: inherit; outline: none; transition: var(--transition);
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--primary); background: rgba(255,255,255,0.08); }

/* --- FOOTER --- */
.footer { background: rgba(0,0,0,0.3); border-top: 1px solid var(--glass-border); padding: 80px 0 30px; margin-top: 50px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 3rem; margin-bottom: 3rem; }
.footer h3, .footer h4 { color: white; margin-bottom: 1.5rem; font-family: var(--font-head); }
.footer p, .footer li { color: var(--text-muted); font-size: 0.95rem; line-height: 1.8; }
.footer ul { list-style: none; }
.footer a { color: var(--text-muted); text-decoration: none; transition: var(--transition); }
.footer a:hover { color: var(--accent); }
.copyright { text-align: center; padding-top: 2rem; border-top: 1px solid var(--glass-border); color: var(--text-muted); font-size: 0.9rem; }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .nav-links { 
        position: fixed; top: 0; right: -100%; width: 80%; height: 100vh;
        background: rgba(15, 23, 42, 0.95); backdrop-filter: blur(20px);
        flex-direction: column; justify-content: center; align-items: center;
        transition: var(--transition);
    }
    .nav-links.active { right: 0; }
    .mobile-toggle { display: flex; z-index: 1001; }
    .hero h1 { font-size: 2.5rem; }
    .contact-grid { grid-template-columns: 1fr; }
    .timeline::before { display: none; }
    .timeline-item { text-align: left; display: flex; gap: 1rem; align-items: flex-start; }
    .timeline-item .number { margin: 0; flex-shrink: 0; }
}