/* --- VARIABLES & RESET --- */
:root {
    --primary: #8b5cf6; /* Violet */
    --secondary: #f43f5e; /* Rose */
    --accent: #06b6d4; /* Cyan */
    --dark: #0f172a;
    --darker: #020617;
    --light: #f8fafc;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-blur: blur(16px);
    --shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.36);
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;
    --transition: all 0.4s 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(--dark);
    color: #cbd5e1;
    line-height: 1.8;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

/* --- UTILITIES --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-padding { padding: 120px 0; }
.bg-darker { background: var(--darker); }
.bg-gradient { background: linear-gradient(180deg, var(--dark) 0%, var(--darker) 100%); }

.text-link {
    color: var(--accent);
    font-weight: 600;
    border-bottom: 1px dashed var(--accent);
    transition: var(--transition);
}
.text-link:hover { color: var(--primary); border-color: var(--primary); }

.section-header { text-align: center; margin-bottom: 80px; }
.tag {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 100px;
    background: rgba(139, 92, 246, 0.15);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.section-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    color: white;
    margin-bottom: 16px;
    line-height: 1.2;
}
.section-header.light h2 { color: white; }

/* --- GLASSMORPHISM --- */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--shadow);
}
.glass-pill {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 100px;
    padding: 8px 20px;
    display: inline-block;
    font-size: 0.9rem;
    color: white;
    margin-bottom: 30px;
}

/* --- BUTTONS --- */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}
.btn-glow:hover {
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.5);
    transform: translateY(-3px);
}
.btn-secondary {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.08);
    border-color: white;
}
.full-width { width: 100%; }

/* --- NAVIGATION --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}
.navbar.scrolled {
    padding: 12px 0;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: white;
}
.accent { color: var(--primary); }
.nav-links { display: flex; gap: 35px; 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-toggle { display: none; cursor: pointer; }
.mobile-toggle span {
    display: block; width: 28px; height: 2px;
    background: white; margin: 6px 0;
    transition: var(--transition);
}

/* --- HERO --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 140px 0 100px;
    overflow: hidden;
}
.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    animation: float 15s infinite ease-in-out;
}
.shape-1 { width: 500px; height: 500px; background: var(--primary); top: -10%; left: -15%; opacity: 0.25; }
.shape-2 { width: 400px; height: 400px; background: var(--secondary); bottom: -5%; right: -10%; opacity: 0.2; animation-delay: 3s; }
.shape-3 { width: 300px; height: 300px; background: var(--accent); top: 40%; left: 50%; transform: translate(-50%, -50%); opacity: 0.15; animation-delay: 6s; }

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -40px) scale(1.05); }
    66% { transform: translate(-20px, 30px) scale(0.95); }
}

.hero-content { max-width: 900px; position: relative; z-index: 2; }
.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4rem);
    line-height: 1.15;
    margin-bottom: 28px;
    color: white;
    letter-spacing: -1px;
}
.hero-text { font-size: 1.25rem; color: #94a3b8; margin-bottom: 45px; max-width: 700px; margin-left: auto; margin-right: auto; }
.hero-cta-group { display: flex; gap: 20px; justify-content: center; margin-bottom: 70px; flex-wrap: wrap; }

.trust-indicators {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 30px 50px;
    margin-top: 20px;
}
.stat-item { text-align: center; }
.stat-item span {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    color: white;
    font-family: var(--font-heading);
}
.stat-item p { font-size: 0.85rem; color: #94a3b8; margin-top: 4px; }
.stat-divider { width: 1px; height: 50px; background: var(--glass-border); }

/* --- SERVICES GRID --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}
.service-card {
    padding: 45px 35px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.service-card:hover {
    transform: translateY(-12px);
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.15);
}
.icon-box { font-size: 2.8rem; margin-bottom: 24px; }
.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: white;
}
.service-card p { font-size: 0.95rem; margin-bottom: 20px; }
.features { display: flex; gap: 10px; flex-wrap: wrap; }
.features li {
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 100px;
    background: rgba(255,255,255,0.06);
    color: #94a3b8;
}

/* --- ARTICLE --- */
.article-container { max-width: 880px; }
.glass-article {
    padding: 70px 60px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
}
.prose h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin: 50px 0 20px;
    color: white;
}
.prose h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin: 35px 0 15px;
    color: #e2e8f0;
}
.prose p { margin-bottom: 22px; color: #cbd5e1; }
.prose ul { margin: 20px 0 25px 20px; }
.prose li { margin-bottom: 12px; padding-left: 10px; position: relative; }
.prose li::before {
    content: '→';
    position: absolute;
    left: -18px;
    color: var(--primary);
}
.callout-box {
    margin: 40px 0;
    padding: 30px;
    border-left: 4px solid var(--accent);
}
.callout-box h4 { color: var(--accent); margin-bottom: 10px; font-family: var(--font-heading); }

/* --- TIMELINE --- */
.timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
    margin-top: 60px;
}
.timeline-item {
    padding: 35px 25px;
    text-align: center;
    position: relative;
    z-index: 2;
}
.step-number {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255,255,255,0.06);
    font-family: var(--font-heading);
    margin-bottom: 15px;
    line-height: 1;
}
.timeline-item h3 { color: white; margin-bottom: 10px; font-size: 1.1rem; }
.timeline-connector {
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
    z-index: 1;
}

/* --- TESTIMONIALS --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}
.testimonial-card { padding: 45px; }
.stars { color: #fbbf24; margin-bottom: 20px; letter-spacing: 4px; font-size: 1.1rem; }
.client-info { display: flex; align-items: center; gap: 16px; margin-top: 28px; }
.avatar {
    width: 52px; height: 52px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; color: white; font-size: 1rem;
}
.client-info strong { display: block; color: white; font-size: 1rem; }
.client-info span { font-size: 0.85rem; color: #64748b; }

/* --- FAQ --- */
.faq-container { max-width: 800px; }
.faq-item { margin-bottom: 12px; border-radius: 14px; overflow: hidden; }
.faq-item summary {
    padding: 22px 28px;
    cursor: pointer;
    font-weight: 600;
    color: white;
    list-style: none;
    position: relative;
    font-size: 1.05rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 28px;
    font-size: 1.6rem;
    color: var(--primary);
    transition: var(--transition);
}
.faq-item[open] summary::after { content: '−'; transform: rotate(180deg); }
.faq-item p {
    padding: 0 28px 24px;
    color: #94a3b8;
    border-top: 1px solid rgba(255,255,255,0.04);
    padding-top: 18px;
    line-height: 1.8;
}

/* --- CONTACT --- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}
.contact-info, .contact-form { padding: 50px; }
.contact-info h2 { font-family: var(--font-heading); font-size: 2.2rem; margin-bottom: 16px; color: white; }
.info-item { margin: 28px 0; }
.info-item .label {
    display: block; font-size: 0.8rem; color: #64748b;
    margin-bottom: 6px; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600;
}
.info-item a, .info-item p { font-size: 1.2rem; color: white; font-weight: 500; }
.form-group { margin-bottom: 18px; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 16px 20px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--glass-border);
    border-radius: 12px; color: white;
    font-family: var(--font-main); font-size: 1rem; outline: none;
    transition: var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--primary);
    background: rgba(139, 92, 246, 0.05);
}
.form-group textarea { resize: vertical; min-height: 100px; }

/* --- FOOTER --- */
.footer {
    background: var(--darker);
    padding: 80px 0 30px;
    border-top: 1px solid var(--glass-border);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}
.footer-col h4 { color: white; margin-bottom: 28px; font-family: var(--font-heading); font-size: 1.1rem; }
.footer-col p { color: #64748b; margin-bottom: 12px; font-size: 0.95rem; }
.footer-col ul li { margin-bottom: 14px; }
.footer-col ul li a { color: #64748b; font-size: 0.95rem; }
.footer-col ul li a:hover { color: var(--primary); padding-left: 6px; }
.copyright {
    text-align: center; padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.04);
    color: #475569; font-size: 0.85rem;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .timeline { grid-template-columns: 1fr 1fr; }
    .timeline-connector { display: none; }
    .contact-wrapper { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .glass-article { padding: 40px 30px; }
}
@media (max-width: 768px) {
    .nav-links {
        position: fixed; top: 0; right: -100%;
        width: 85%; height: 100vh;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(30px);
        flex-direction: column; justify-content: center;
        transition: var(--transition);
    }
    .nav-links.active { right: 0; }
    .mobile-toggle { display: block; z-index: 1001; }
    .hero h1 { font-size: 2.2rem; }
    .hero-cta-group { flex-direction: column; align-items: center; }
    .trust-indicators { flex-direction: column; gap: 25px; padding: 30px; }
    .stat-divider { width: 50px; height: 1px; }
    .timeline { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 35px; }
    .contact-info, .contact-form { padding: 30px; }
}

/* --- ANIMATION CLASSES --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.active { opacity: 1; transform: translateY(0); }