/* --- VARIABLES & RESET --- */
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --accent: #ec4899;
    --bg-dark: #0f172a;
    --bg-card: rgba(30, 41, 59, 0.6);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-blur: 16px;
    --gradient-text: linear-gradient(135deg, #818cf8 0%, #c084fc 100%);
    --shadow-glow: 0 0 30px rgba(99, 102, 241, 0.3);
    --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: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    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; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section { padding: 6rem 0; position: relative; }

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 { font-family: 'Space Grotesk', sans-serif; line-height: 1.2; }
h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 700; margin-bottom: 1.5rem; }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
p { color: var(--text-muted); margin-bottom: 1.5rem; font-size: 1.05rem; }

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- GLASSMORPHISM COMPONENTS --- */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    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: var(--shadow-glow);
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: white;
    border: none;
}

.btn-primary:hover { background: var(--primary-dark); transform: scale(1.05); }

.btn-glow { box-shadow: 0 0 20px rgba(99, 102, 241, 0.5); }
.btn-glow:hover { box-shadow: 0 0 30px rgba(99, 102, 241, 0.8); }

.btn-secondary {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-main);
}

.btn-secondary:hover { background: rgba(255,255,255,0.05); border-color: var(--text-main); }

/* --- NAVIGATION --- */
.glass-nav {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

.glass-nav.scrolled {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 0.75rem 0;
}

.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: 700; font-family: 'Space Grotesk', sans-serif; }
.logo span { color: var(--primary); }

.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a { font-size: 0.95rem; font-weight: 500; opacity: 0.8; }
.nav-links a:hover { opacity: 1; color: var(--primary); }

.mobile-menu-btn { display: none; cursor: pointer; flex-direction: column; gap: 5px; }
.mobile-menu-btn span { width: 25px; height: 2px; background: white; transition: var(--transition); }

/* --- HERO SECTION --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg-shapes { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 10s infinite ease-in-out;
}
.shape-1 { width: 500px; height: 500px; background: var(--primary); top: -10%; right: -10%; }
.shape-2 { width: 400px; height: 400px; background: var(--accent); bottom: 10%; left: -5%; animation-delay: -2s; }
.shape-3 { width: 300px; height: 300px; background: #8b5cf6; top: 40%; left: 30%; animation-delay: -4s; }

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

.hero-content { max-width: 800px; }
.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.hero-subtitle { font-size: 1.25rem; max-width: 600px; margin-bottom: 2.5rem; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }

.trust-indicators { display: flex; gap: 3rem; padding-top: 2rem; border-top: 1px solid var(--glass-border); }
.trust-item strong { display: block; font-size: 1.5rem; color: white; font-family: 'Space Grotesk'; }
.trust-item { font-size: 0.9rem; color: var(--text-muted); }

/* --- SERVICES GRID --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card .card-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.card-features { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--glass-border); }
.card-features li { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.5rem; }
.card-features li::before { content: "✓"; color: var(--primary); font-weight: bold; }

/* --- STATS SECTION --- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}
.stat-card { padding: 3rem 1.5rem; }
.stat-card .counter { font-size: 3.5rem; font-weight: 700; font-family: 'Space Grotesk'; background: var(--gradient-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; display: block; margin-bottom: 0.5rem; }

/* --- PROCESS TIMELINE --- */
.timeline { position: relative; max-width: 800px; margin: 3rem auto 0; }
.timeline::before {
    content: ''; position: absolute; left: 24px; top: 0; bottom: 0; width: 2px;
    background: linear-gradient(to bottom, var(--primary), transparent);
}
.timeline-item { display: flex; gap: 2rem; margin-bottom: 2rem; position: relative; }
.timeline-number {
    width: 50px; height: 50px;
    background: var(--bg-dark); border: 2px solid var(--primary);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-weight: 700; color: var(--primary); z-index: 2; flex-shrink: 0;
}
.timeline-content { flex: 1; }

/* --- ARTICLE SECTION --- */
.article-container { max-width: 800px; margin: 0 auto; }
.article-meta { display: flex; gap: 1rem; margin-bottom: 2rem; font-size: 0.9rem; color: var(--primary); font-weight: 600; }
.tag { background: rgba(99,102,241,0.1); padding: 0.25rem 0.75rem; border-radius: 4px; }

.article-section h2 { margin-top: 3rem; font-size: 2rem; color: white; }
.article-section h3 { margin-top: 2rem; color: #cbd5e1; }
.article-section p { font-size: 1.1rem; color: #cbd5e1; }
.article-section a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.article-section ul.checklist { margin: 1.5rem 0; }
.article-section ul.checklist li { padding-left: 1.5rem; position: relative; margin-bottom: 0.75rem; color: #cbd5e1; }
.article-section ul.checklist li::before { content: "•"; color: var(--accent); position: absolute; left: 0; font-weight: bold; }

.callout-box { margin: 2.5rem 0; border-left: 4px solid var(--accent); }
.callout-box h4 { color: var(--accent); margin-bottom: 0.5rem; }

.comparison-table { overflow-x: auto; margin: 2.5rem 0; padding: 0; }
.comparison-table table { width: 100%; border-collapse: collapse; min-width: 500px; }
.comparison-table th, .comparison-table td { padding: 1rem; text-align: left; border-bottom: 1px solid var(--glass-border); }
.comparison-table th { color: white; font-weight: 600; background: rgba(255,255,255,0.03); }
.comparison-table td { color: var(--text-muted); }

/* --- TESTIMONIALS --- */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 3rem; }
.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: var(--gradient-text); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem; }
.client-info span { display: block; font-size: 0.85rem; color: var(--text-muted); }

/* --- FAQ --- */
.faq-grid { max-width: 800px; margin: 3rem auto 0; display: flex; flex-direction: column; gap: 1rem; }
.faq-item { padding: 0; overflow: hidden; }
.faq-item summary { padding: 1.5rem 2rem; cursor: pointer; font-weight: 600; color: white; 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 2rem 1.5rem; margin: 0; color: var(--text-muted); }

/* --- CONTACT --- */
.contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; padding: 4rem; }
.info-item { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; font-size: 1.1rem; }
.info-item .icon { font-size: 1.5rem; }
.info-item a:hover { color: var(--primary); }

.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-size: 0.9rem; color: var(--text-muted); }
.form-group input, .form-group select {
    width: 100%; padding: 1rem; background: rgba(15, 23, 42, 0.5);
    border: 1px solid var(--glass-border); border-radius: 8px;
    color: white; font-size: 1rem; outline: none; transition: var(--transition);
}
.form-group input:focus, .form-group select:focus { border-color: var(--primary); }

/* --- FOOTER --- */
.site-footer { background: #020617; padding: 4rem 0 2rem; border-top: 1px solid var(--glass-border); margin-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; margin-bottom: 3rem; }
.footer-col h3, .footer-col h4 { color: white; margin-bottom: 1.5rem; }
.footer-col ul li { margin-bottom: 0.75rem; }
.footer-col ul li a { color: var(--text-muted); }
.footer-col ul li a:hover { color: var(--primary); padding-left: 5px; }
.social-icons { display: flex; gap: 1rem; margin-top: 1rem; }
.social-icons span { width: 35px; height: 35px; background: var(--glass-border); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; cursor: pointer; transition: var(--transition); }
.social-icons span:hover { background: var(--primary); color: white; }
.copyright { text-align: center; padding-top: 2rem; border-top: 1px solid var(--glass-border); font-size: 0.9rem; color: var(--text-muted); }

/* --- 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: 992px) {
    .contact-wrapper { grid-template-columns: 1fr; gap: 3rem; padding: 2.5rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links { 
        position: fixed; top: 0; right: -100%; width: 80%; height: 100vh;
        background: rgba(15, 23, 42, 0.98); backdrop-filter: blur(20px);
        flex-direction: column; justify-content: center; padding: 2rem;
        transition: var(--transition); border-left: 1px solid var(--glass-border);
    }
    .nav-links.active { right: 0; }
    .mobile-menu-btn { display: flex; z-index: 1001; }
    
    .hero-content { text-align: center; }
    .hero-ctas { justify-content: center; }
    .trust-indicators { justify-content: center; flex-wrap: wrap; gap: 2rem; }
    
    .timeline::before { left: 24px; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .social-icons { justify-content: center; }
    
    h1 { font-size: 2.5rem; }
    .section { padding: 4rem 0; }
}