/* --- VARIABLES & RESET --- */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --accent: #f59e0b;
    --dark: #0f172a;
    --light: #f8fafc;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    --radius: 16px;
    --font-head: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

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

/* Background Gradient Mesh */
body::before {
    content: '';
    position: fixed;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle at 50% 50%, #e0e7ff 0%, #f0f4f8 50%, #fff 100%);
    z-index: -2;
    animation: bgShift 20s ease infinite alternate;
}

@keyframes bgShift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-5%, -5%); }
}

/* Typography */
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; color: var(--dark); }
h1 { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
p { margin-bottom: 1.5rem; color: #475569; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
.accent { color: var(--primary); }
.text-center { text-align: center; }
.narrow { max-width: 800px; margin: 0 auto; }

/* Utilities */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 100px 0; position: relative; }
.mt-2 { margin-top: 2rem; }
.block { display: block; width: 100%; text-align: center; }

/* 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: var(--radius);
    box-shadow: var(--shadow);
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.15);
}

/* Buttons */
.btn-glow {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
    border: none;
    cursor: pointer;
}
.btn-glow:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(37, 99, 235, 0.6); }
.btn-glow.large { padding: 16px 40px; font-size: 1.1rem; }

.btn-outline {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}
.btn-outline:hover { background: var(--primary); color: white; }
.btn-outline.large { padding: 14px 38px; font-size: 1.1rem; }

/* Navigation */
.glass-nav {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 15px 0;
    transition: 0.3s;
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: 800; font-family: var(--font-head); }
.nav-links { display: flex; gap: 30px; }
.nav-links a { font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover { color: var(--primary); }
.nav-actions { display: flex; align-items: center; gap: 15px; }
.btn-text { font-weight: 600; color: var(--dark); }
.mobile-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; }

/* Hero */
.hero {
    min-height: 100vh;
    display: flex; align-items: center;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}
.hero-content { max-width: 900px; margin: 0 auto; text-align: center; position: relative; z-index: 2; }
.badge {
    display: inline-block;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
}
.hero-subtitle { font-size: 1.25rem; max-width: 700px; margin: 20px auto 40px; }
.hero-ctas { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.trust-indicators { display: flex; justify-content: center; gap: 40px; margin-top: 60px; flex-wrap: wrap; }
.trust-item { display: flex; flex-direction: column; align-items: center; font-size: 0.9rem; opacity: 0.8; }
.trust-item strong { font-size: 1.1rem; color: var(--dark); }

/* Floating Shapes */
.floating-shape {
    position: absolute; border-radius: 50%; filter: blur(80px); z-index: 0; opacity: 0.6;
}
.shape-1 { width: 400px; height: 400px; background: #bfdbfe; top: 10%; left: -10%; animation: float 10s ease-in-out infinite; }
.shape-2 { width: 300px; height: 300px; background: #fde68a; bottom: 10%; right: -5%; animation: float 12s ease-in-out infinite reverse; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-30px); } }

/* Stats */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-top: -50px; position: relative; z-index: 10; }
.stat-card { text-align: center; padding: 30px 20px; }
.stat-number { font-size: 2.5rem; font-weight: 800; color: var(--primary); font-family: var(--font-head); }
.stat-label { font-size: 0.9rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; opacity: 0.7; }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 50px; }
.service-card { display: flex; flex-direction: column; gap: 15px; }
.icon-box { font-size: 2.5rem; margin-bottom: 10px; }

/* Article Layout */
.article-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 50px; align-items: start; }
.content-area .prose p { font-size: 1.1rem; }
.inline-link { color: var(--primary); font-weight: 600; border-bottom: 2px solid rgba(37,99,235,0.2); }
.inline-link:hover { border-color: var(--primary); }

.callout-box, .warning-box { padding: 20px; border-radius: var(--radius); margin: 30px 0; border-left: 4px solid; }
.callout-box.info { background: #eff6ff; border-color: var(--primary); }
.warning-box { background: #fffbeb; border-color: var(--accent); }

.checklist { list-style: none; margin: 20px 0; }
.checklist li { padding: 10px 0; padding-left: 30px; position: relative; border-bottom: 1px solid rgba(0,0,0,0.05); }
.checklist li::before { content: '✓'; position: absolute; left: 0; color: var(--primary); font-weight: bold; }

.glass-table { width: 100%; border-collapse: collapse; margin: 30px 0; font-size: 0.95rem; }
.glass-table th, .glass-table td { padding: 15px; text-align: left; border-bottom: 1px solid rgba(0,0,0,0.05); }
.glass-table th { background: rgba(37,99,235,0.05); font-weight: 700; }

/* Sidebar */
.sidebar { display: flex; flex-direction: column; gap: 30px; position: sticky; top: 100px; }
.widget h3 { font-size: 1.2rem; margin-bottom: 15px; padding-bottom: 10px; border-bottom: 1px solid rgba(0,0,0,0.1); }
.widget-list { list-style: none; }
.widget-list li { padding: 8px 0; font-size: 0.95rem; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud span { background: rgba(0,0,0,0.05); padding: 5px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; }

/* Process Timeline */
.timeline { position: relative; max-width: 800px; margin: 50px auto 0; }
.timeline::before { content: ''; position: absolute; left: 20px; top: 0; bottom: 0; width: 2px; background: rgba(37,99,235,0.2); }
.timeline-item { position: relative; padding-left: 60px; margin-bottom: 40px; }
.marker {
    position: absolute; left: 0; top: 0; width: 42px; height: 42px;
    background: var(--primary); color: white; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-weight: 700;
    box-shadow: 0 0 0 5px rgba(37,99,235,0.1);
}

/* Testimonials */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 50px; }
.stars { color: var(--accent); margin-bottom: 15px; letter-spacing: 2px; }
.author { display: flex; align-items: center; gap: 15px; margin-top: 20px; }
.avatar { width: 40px; height: 40px; background: var(--primary); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem; }

/* FAQ Accordion */
.accordion details { margin-bottom: 15px; cursor: pointer; }
.accordion summary { font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: '+'; font-size: 1.5rem; color: var(--primary); }
.accordion details[open] summary::after { content: '-'; }
.accordion p { margin-top: 15px; padding-top: 15px; border-top: 1px solid rgba(0,0,0,0.05); font-size: 0.95rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.info-item { margin-bottom: 20px; }
.info-item .label { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; opacity: 0.6; margin-bottom: 5px; }
.info-item a, .info-item span { font-size: 1.2rem; font-weight: 600; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 0.9rem; }
.form-group input, .form-group textarea {
    width: 100%; padding: 12px 15px; border: 1px solid rgba(0,0,0,0.1);
    border-radius: 8px; font-family: inherit; background: rgba(255,255,255,0.5);
}
.form-group input:focus, .form-group textarea:focus { outline: 2px solid var(--primary); border-color: transparent; }

/* Footer */
.site-footer { background: var(--dark); color: white; padding: 80px 0 30px; margin-top: 100px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 60px; }
.footer-col h4 { color: white; margin-bottom: 20px; font-size: 1.2rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { opacity: 0.7; }
.footer-col a:hover { opacity: 1; color: var(--accent); }
.copyright { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; opacity: 0.5; font-size: 0.9rem; }

/* Animations */
.animate-fade-up { opacity: 0; transform: translateY(30px); animation: fadeUp 0.8s forwards; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* Responsive */
@media (max-width: 900px) {
    .article-layout { grid-template-columns: 1fr; }
    .sidebar { position: static; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .desktop-only { display: none; }
    .mobile-toggle { display: block; }
    .mobile-menu {
        position: absolute; top: 100%; left: 0; width: 100%;
        background: white; padding: 20px; display: none; flex-direction: column; gap: 15px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    .mobile-menu.active { display: flex; }
    .hero { min-height: auto; padding: 140px 0 80px; }
    h1 { font-size: 2.2rem; }
    .stats-grid { margin-top: 0; }
    .timeline::before { left: 15px; }
    .timeline-item { padding-left: 50px; }
    .marker { width: 32px; height: 32px; font-size: 0.9rem; }
}