/* --- VARIABLES & RESET --- */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --accent: #06b6d4;
    --dark: #0f172a;
    --light: #f8fafc;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --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: var(--light);
    color: var(--dark);
    line-height: 1.7;
    overflow-x: hidden;
}

/* --- UTILITIES --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 80px 0; }
.bg-alt { background: #f1f5f9; }
.accent { color: var(--primary); }
.full-width { width: 100%; text-align: center; display: block; }

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; margin-bottom: 1rem; }
h1 { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -1px; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; }
p { margin-bottom: 1.5rem; color: #475569; }

/* --- 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-primary, .btn-secondary {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
}
.btn-glow {
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.4);
}
.btn-glow:hover {
    box-shadow: 0 0 30px rgba(37, 99, 235, 0.6);
    transform: scale(1.05);
}
.btn-secondary {
    background: white;
    color: var(--dark);
    border: 1px solid #cbd5e1;
}
.btn-secondary:hover { background: #f8fafc; border-color: var(--primary); }

/* --- NAVIGATION --- */
.glass-nav {
    position: fixed;
    top: 0; width: 100%; z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 1rem 0;
    transition: padding 0.3s;
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: 800; text-decoration: none; color: var(--dark); font-family: var(--font-head); }
.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-links a { text-decoration: none; color: var(--dark); font-weight: 500; transition: color 0.3s; }
.nav-links a:hover { color: var(--primary); }
.mobile-toggle { display: none; cursor: pointer; flex-direction: column; gap: 5px; }
.mobile-toggle span { width: 25px; height: 3px; background: var(--dark); border-radius: 2px; }

/* --- HERO SECTION --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    overflow: hidden;
    background: radial-gradient(circle at top right, #e0f2fe, transparent 40%),
                radial-gradient(circle at bottom left, #eff6ff, transparent 40%);
}
.hero-content { text-align: center; max-width: 900px; margin: 0 auto; position: relative; z-index: 2; }
.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--primary);
}
.hero-sub { font-size: 1.25rem; max-width: 700px; margin: 0 auto 3rem; }
.hero-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 4rem; }

.trust-indicators { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; }
.glass-stat { 
    padding: 1.5rem 2.5rem; 
    text-align: center; 
    min-width: 160px;
}
.glass-stat h3 { font-size: 2.5rem; margin-bottom: 0; color: var(--primary); }
.glass-stat p { margin: 0; font-size: 0.9rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

/* Background Shapes */
.hero-bg-shapes { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.shape { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.6; animation: float 10s infinite ease-in-out; }
.shape-1 { width: 400px; height: 400px; background: #bfdbfe; top: -100px; left: -100px; }
.shape-2 { width: 300px; height: 300px; background: #bae6fd; bottom: 10%; right: -50px; animation-delay: 2s; }
.shape-3 { width: 200px; height: 200px; background: #c7d2fe; top: 40%; left: 60%; animation-delay: 4s; }

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

/* --- SERVICES GRID --- */
.section-header { text-align: center; max-width: 700px; margin: 0 auto 4rem; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.service-card { display: flex; flex-direction: column; }
.icon-box { 
    width: 60px; height: 60px; 
    background: linear-gradient(135deg, var(--primary), var(--accent)); 
    border-radius: 12px; 
    display: flex; align-items: center; justify-content: center; 
    font-size: 1.8rem; margin-bottom: 1.5rem; 
    color: white;
}
.features { list-style: none; margin-top: auto; padding-top: 1rem; border-top: 1px solid rgba(0,0,0,0.05); display: flex; gap: 1rem; font-size: 0.85rem; color: var(--primary); font-weight: 600; }

/* --- TIMELINE --- */
.timeline { display: flex; justify-content: space-between; position: relative; flex-wrap: wrap; gap: 2rem; }
.timeline::before {
    content: ''; position: absolute; top: 30px; left: 0; right: 0; height: 2px; 
    background: linear-gradient(90deg, transparent, var(--primary), transparent); z-index: 0;
}
.timeline-item { 
    flex: 1; min-width: 200px; text-align: center; position: relative; z-index: 1; 
    background: #f1f5f9; padding-top: 1rem; /* Matches bg-alt */
}
.step-number {
    width: 60px; height: 60px; background: white; border: 3px solid var(--primary);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-weight: 800; color: var(--primary); margin: 0 auto 1.5rem; font-size: 1.2rem;
    box-shadow: 0 0 0 8px #f1f5f9;
}

/* --- ARTICLE STYLES --- */
.article-container { max-width: 900px; }
.article-title { text-align: center; margin-bottom: 1rem; }
.article-meta { text-align: center; color: #64748b; margin-bottom: 3rem; font-size: 0.9rem; display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.content-wrapper h2 { margin-top: 3rem; color: var(--dark); }
.content-wrapper h3 { margin-top: 2rem; color: var(--primary-dark); }
.content-link { color: var(--primary); text-decoration: underline; text-decoration-style: dotted; }
.content-link:hover { text-decoration-style: solid; }

.callout-box {
    padding: 2rem; border-radius: var(--radius); margin: 2rem 0;
    border-left: 5px solid var(--primary); background: #eff6ff;
}
.callout-box h4 { margin-bottom: 0.5rem; color: var(--primary-dark); }
.callout-box p { margin: 0; color: var(--dark); }

.comparison-table { width: 100%; border-collapse: collapse; margin: 2rem 0; background: white; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.comparison-table th, .comparison-table td { padding: 1rem; text-align: left; border-bottom: 1px solid #e2e8f0; }
.comparison-table th { background: var(--primary); color: white; }
.comparison-table tr:last-child td { border-bottom: none; }

/* --- FAQ ACCORDION --- */
.faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 1.5rem; }
.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;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.5rem; color: var(--primary); transition: transform 0.3s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 1.5rem 1.5rem; margin: 0; border-top: 1px solid rgba(0,0,0,0.05); padding-top: 1rem; }

/* --- TESTIMONIALS --- */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.stars { color: #fbbf24; margin-bottom: 1rem; letter-spacing: 2px; }
.author { display: flex; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.avatar {
    width: 45px; height: 45px; background: var(--primary); color: white;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.9rem;
}
.author strong { display: block; color: var(--dark); }
.author span { font-size: 0.85rem; color: #64748b; }

/* --- CONTACT SECTION --- */
.contact-section { background: linear-gradient(135deg, #0f172a, #1e293b); color: white; }
.contact-section h2, .contact-section h3, .contact-section p, .contact-section label, .contact-section span { color: white !important; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.info-item { margin-bottom: 1.5rem; }
.info-item .label { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; opacity: 0.7; margin-bottom: 0.25rem; }
.info-item a, .info-item span { font-size: 1.2rem; font-weight: 600; text-decoration: none; color: white; }

.contact-form input, .contact-form textarea {
    width: 100%; padding: 1rem; border-radius: 8px; border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.1); color: white; font-family: inherit; margin-bottom: 1rem;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255,255,255,0.5); }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); background: rgba(255,255,255,0.15); }

/* --- FOOTER --- */
footer { background: #020617; color: #94a3b8; padding: 4rem 0 2rem; font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-col h3, .footer-col h4 { color: white; margin-bottom: 1.5rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.75rem; }
.footer-col a { color: #94a3b8; text-decoration: none; transition: color 0.3s; }
.footer-col a:hover { color: var(--accent); }
.copyright { text-align: center; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); }

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .timeline::before { display: none; }
    .timeline { flex-direction: column; gap: 1rem; }
    .timeline-item { text-align: left; display: flex; align-items: center; gap: 1rem; background: transparent; padding: 0; }
    .step-number { margin: 0; flex-shrink: 0; box-shadow: none; width: 50px; height: 50px; font-size: 1rem; }
}

@media (max-width: 768px) {
    .nav-links { 
        position: fixed; top: 70px; left: 0; right: 0; background: white;
        flex-direction: column; padding: 2rem; gap: 1.5rem;
        transform: translateY(-150%); transition: transform 0.3s;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    .nav-links.active { transform: translateY(0); }
    .mobile-toggle { display: flex; }
    .hero { padding-top: 120px; min-height: auto; padding-bottom: 80px; }
    .faq-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .glass-stat { min-width: 120px; padding: 1rem; }
    .glass-stat h3 { font-size: 2rem; }
}