/* --- VARIABLES & RESET --- */
:root {
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --accent: #8b5cf6;
    --dark: #0f172a;
    --darker: #020617;
    --light: #f8fafc;
    --gray: #94a3b8;
    --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);
    --font-main: 'Plus Jakarta Sans', sans-serif;
    --font-head: 'Outfit', 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-main);
    background-color: var(--darker);
    color: var(--light);
    line-height: 1.7;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* --- UTILITIES --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 100px 0; position: relative; z-index: 1; }
.bg-darker { background: rgba(0,0,0,0.2); }
.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- GLASSMORPHISM COMPONENTS --- */
.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: 30px;
    box-shadow: var(--glass-shadow);
    transition: var(--transition);
}
.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255,255,255,0.3);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.15);
}

.btn-primary, .btn-secondary, .btn-glow {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    text-align: center;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}
.btn-primary:hover { transform: scale(1.05); box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6); }
.btn-secondary {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--light);
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: white; }
.btn-glow {
    background: var(--primary);
    color: white;
    box-shadow: 0 0 15px var(--primary);
}
.full-width { width: 100%; display: block; margin-top: 15px; }

/* --- NAVIGATION --- */
.glass-nav {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}
.glass-nav.scrolled {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(20px);
    padding: 15px 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; letter-spacing: -0.5px; }
.logo span { color: var(--primary); }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a:not(.btn-glow):hover { color: var(--primary); }
.mobile-toggle { display: none; background: none; border: none; color: white; font-size: 1.8rem; cursor: pointer; }

/* --- HERO SECTION --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -20%; right: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(59,130,246,0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
}
.hero-content { max-width: 900px; margin: 0 auto; text-align: center; }
.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 30px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 25px;
}
.hero h1 {
    font-family: var(--font-head);
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 700;
}
.hero-text { font-size: 1.2rem; color: var(--gray); margin-bottom: 40px; max-width: 700px; margin-left: auto; margin-right: auto; }
.hero-ctas { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-bottom: 60px; }

.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; margin-top: 40px; }
.stat-card { text-align: center; padding: 20px; }
.stat-card .counter { font-size: 2.5rem; font-weight: 700; color: var(--primary); display: block; }
.stat-card p { font-size: 0.9rem; color: var(--gray); margin-top: 5px; }

/* Floating Shapes Animation */
.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    animation: float 10s infinite ease-in-out;
}
.shape-1 { width: 300px; height: 300px; background: var(--accent); opacity: 0.15; top: 20%; left: -5%; animation-delay: 0s; }
.shape-2 { width: 400px; height: 400px; background: var(--primary); opacity: 0.1; bottom: 10%; right: -10%; animation-delay: -5s; }

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

/* --- SERVICES GRID --- */
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-family: var(--font-head); font-size: 2.5rem; margin-bottom: 15px; }
.section-header p { color: var(--gray); font-size: 1.1rem; }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.service-card .icon-box { font-size: 2.5rem; margin-bottom: 20px; }
.service-card h3 { font-size: 1.4rem; margin-bottom: 10px; font-family: var(--font-head); }
.service-card p { color: var(--gray); font-size: 0.95rem; }

/* --- TIMELINE --- */
.timeline { display: flex; flex-wrap: wrap; justify-content: space-between; position: relative; margin-top: 40px; }
.timeline::before {
    content: ''; position: absolute; top: 25px; left: 0; width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    z-index: 0;
}
.timeline-item {
    position: relative; z-index: 1; flex: 1; min-width: 200px;
    text-align: center; padding: 0 10px;
}
.step-number {
    width: 50px; height: 50px; background: var(--dark); border: 2px solid var(--primary);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-weight: 700; color: var(--primary); margin: 0 auto 20px;
    transition: var(--transition);
}
.timeline-item:hover .step-number { background: var(--primary); color: white; box-shadow: 0 0 20px var(--primary); }
.timeline-item h3 { font-size: 1.2rem; margin-bottom: 8px; }
.timeline-item p { font-size: 0.9rem; color: var(--gray); }

/* --- ARTICLE STYLES --- */
.article-container { max-width: 900px; }
.article-header { margin-bottom: 50px; border-bottom: 1px solid var(--glass-border); padding-bottom: 30px; }
.article-header h1 { font-size: 2.8rem; line-height: 1.2; margin-bottom: 15px; }
.article-meta { color: var(--primary); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; font-size: 0.85rem; }

.content-body h2 { font-family: var(--font-head); font-size: 2rem; margin: 50px 0 20px; color: white; }
.content-body h3 { font-size: 1.5rem; margin: 30px 0 15px; color: var(--light); }
.content-body p { margin-bottom: 20px; color: #cbd5e1; font-size: 1.05rem; }
.content-body strong { color: white; font-weight: 600; }
.content-body a { color: var(--primary); text-decoration: underline; text-decoration-color: rgba(59,130,246,0.3); }
.content-body a:hover { text-decoration-color: var(--primary); }

.callout-box {
    background: rgba(59, 130, 246, 0.08);
    border-left: 4px solid var(--primary);
    padding: 25px;
    border-radius: 0 12px 12px 0;
    margin: 30px 0;
}
.feature-list { margin: 20px 0 30px 20px; }
.feature-list li { position: relative; padding-left: 25px; margin-bottom: 10px; color: #cbd5e1; }
.feature-list li::before {
    content: '✓'; position: absolute; left: 0; color: var(--primary); font-weight: bold;
}

.comparison-table { overflow-x: auto; margin: 30px 0; border-radius: 12px; border: 1px solid var(--glass-border); }
.comparison-table table { width: 100%; border-collapse: collapse; min-width: 600px; }
.comparison-table th, .comparison-table td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--glass-border); }
.comparison-table th { background: rgba(255,255,255,0.05); color: white; font-weight: 600; }
.comparison-table td { color: #cbd5e1; }

/* --- TESTIMONIALS --- */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.stars { color: #fbbf24; font-size: 1.2rem; margin-bottom: 15px; letter-spacing: 2px; }
.testimonial-card p { font-style: italic; margin-bottom: 20px; color: #e2e8f0; }
.client-info { display: flex; align-items: center; gap: 15px; }
.avatar {
    width: 45px; height: 45px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.9rem;
}
.client-info strong { display: block; font-size: 0.95rem; }
.client-info span { font-size: 0.8rem; color: var(--gray); }

/* --- FAQ --- */
.faq-container { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 15px; }
.faq-item { padding: 0; overflow: hidden; }
.faq-item summary {
    padding: 20px 25px; cursor: pointer; font-weight: 600; font-size: 1.1rem;
    list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.5rem; color: var(--primary); transition: var(--transition); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 25px 25px; color: var(--gray); line-height: 1.6; }

/* --- CONTACT --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-info h2 { font-family: var(--font-head); font-size: 2.2rem; margin-bottom: 15px; }
.info-item { margin: 25px 0; }
.info-item .label { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: var(--gray); margin-bottom: 5px; }
.info-item a, .info-item span { font-size: 1.2rem; font-weight: 500; }
.info-item a:hover { color: var(--primary); }

.contact-form h3 { margin-bottom: 25px; font-family: var(--font-head); }
.form-group { margin-bottom: 15px; }
.form-group input, .form-group textarea {
    width: 100%; padding: 15px; border-radius: 10px;
    background: rgba(255,255,255,0.03); border: 1px solid var(--glass-border);
    color: white; font-family: inherit; font-size: 1rem;
    transition: var(--transition);
}
.form-group input:focus, .form-group textarea:focus {
    outline: none; border-color: var(--primary); background: rgba(255,255,255,0.06);
}

/* --- FOOTER --- */
footer { background: #020617; border-top: 1px solid var(--glass-border); padding: 80px 0 30px; margin-top: 50px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 50px; }
.footer-col h3, .footer-col h4 { font-family: var(--font-head); margin-bottom: 20px; }
.footer-col h3 { font-size: 1.5rem; color: white; }
.footer-col h4 { font-size: 1.1rem; color: var(--primary); }
.footer-col p { color: var(--gray); font-size: 0.95rem; margin-bottom: 10px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: var(--gray); font-size: 0.95rem; }
.footer-col ul a:hover { color: white; padding-left: 5px; }
.copyright { text-align: center; padding-top: 30px; border-top: 1px solid var(--glass-border); color: var(--gray); font-size: 0.85rem; }

/* --- ANIMATIONS --- */
.animate-fade-in { animation: fadeIn 1s ease forwards; opacity: 0; }
.animate-slide-up { animation: slideUp 0.8s ease forwards; opacity: 0; transform: translateY(30px); }
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeIn { to { opacity: 1; } }
@keyframes slideUp { to { opacity: 1; transform: translateY(0); } }

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .timeline::before { display: none; }
    .timeline { flex-direction: column; gap: 30px; }
    .timeline-item { text-align: left; display: flex; align-items: center; gap: 20px; padding: 0; }
    .step-number { margin: 0; flex-shrink: 0; }
}

@media (max-width: 768px) {
    .nav-links { 
        position: fixed; top: 0; right: -100%; width: 80%; height: 100vh;
        background: var(--dark); flex-direction: column; justify-content: center;
        transition: var(--transition); border-left: 1px solid var(--glass-border);
    }
    .nav-links.active { right: 0; }
    .mobile-toggle { display: block; z-index: 1001; }
    .hero h1 { font-size: 2.2rem; }
    .article-header h1 { font-size: 2rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .stats-row { grid-template-columns: 1fr; }
}