/* =========================================
   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.3);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
}

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

/* =========================================
   UTILITIES & COMPONENTS
   ========================================= */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding { padding: 80px 0; }
.bg-alt { background: linear-gradient(180deg, #f1f5f9 0%, #ffffff 100%); }

.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-sm);
    padding: 2rem;
    transition: var(--transition);
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-primary, .btn-secondary, .btn-glow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3); }

.btn-glow {
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.4);
    animation: pulse-glow 2s infinite;
}

.btn-secondary {
    background: white;
    color: var(--dark);
    border: 1px solid #e2e8f0;
}

.btn-secondary:hover { background: #f8fafc; border-color: var(--primary); color: var(--primary); }

.btn-block { width: 100%; justify-content: center; }

.section-header { text-align: center; max-width: 700px; margin: 0 auto 3rem; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 1rem; }
.section-header p { font-size: 1.125rem; color: #64748b; }

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

.glass-nav {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav-container { display: flex; justify-content: space-between; align-items: center; }

.logo {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo i { color: var(--primary); }
.logo span { color: var(--primary); }

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

.mobile-toggle { display: none; font-size: 1.5rem; cursor: pointer; }

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    position: relative;
    padding: 180px 0 100px;
    overflow: hidden;
    background: radial-gradient(circle at top right, #dbeafe 0%, transparent 40%),
                radial-gradient(circle at bottom left, #cffafe 0%, transparent 40%);
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    z-index: -1;
    animation: float 10s ease-in-out infinite;
}

.shape-1 { width: 400px; height: 400px; background: #bfdbfe; top: -100px; right: -100px; }
.shape-2 { width: 300px; height: 300px; background: #a5f3fc; bottom: 0; left: -50px; animation-delay: -5s; }

.hero-content { text-align: center; max-width: 900px; margin: 0 auto; }

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.hero h1 { font-size: 3.5rem; margin-bottom: 1.5rem; letter-spacing: -0.02em; }
.hero-intro { font-size: 1.25rem; color: #475569; margin-bottom: 2.5rem; max-width: 700px; margin-left: auto; margin-right: auto; }

.hero-ctas { display: flex; gap: 1rem; justify-content: center; margin-bottom: 4rem; flex-wrap: wrap; }

.stats-bar {
    display: flex;
    justify-content: center;
    gap: 3rem;
    padding: 2rem;
    margin-top: 2rem;
}

.stat-item { text-align: center; }
.stat-item span { font-size: 2.5rem; font-weight: 800; color: var(--primary); display: block; }
.stat-item p { font-size: 0.875rem; color: #64748b; font-weight: 500; margin-top: 4px; }
.stat-divider { width: 1px; background: #e2e8f0; }

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

.service-card { display: flex; flex-direction: column; gap: 1rem; }
.icon-box {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.service-card h3 { font-size: 1.25rem; }
.service-card p { color: #64748b; font-size: 0.95rem; flex-grow: 1; }

.feature-list { margin-top: 1rem; display: flex; flex-direction: column; gap: 6px; }
.feature-list li { font-size: 0.875rem; color: #475569; display: flex; align-items: center; gap: 8px; }
.feature-list i { color: var(--primary); font-size: 0.75rem; }

/* =========================================
   PROCESS TIMELINE
   ========================================= */
.timeline { position: relative; max-width: 800px; margin: 0 auto; }
.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e2e8f0;
}

.timeline-item { display: flex; gap: 2rem; margin-bottom: 2rem; position: relative; }
.timeline-marker {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: white;
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--primary);
    font-size: 1.25rem;
    z-index: 2;
}

.timeline-content { flex-grow: 1; padding: 1.5rem !important; }
.timeline-content h3 { margin-bottom: 0.5rem; font-size: 1.125rem; }
.timeline-content p { color: #64748b; font-size: 0.95rem; margin: 0; }

/* =========================================
   ARTICLE LAYOUT
   ========================================= */
.article-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.article-content h2 { font-size: 2rem; margin: 3rem 0 1.5rem; color: var(--dark); }
.article-content h3 { font-size: 1.5rem; margin: 2rem 0 1rem; color: #1e293b; }
.article-content p { margin-bottom: 1.5rem; color: #334155; font-size: 1.0625rem; }
.article-content ul, .article-content ol { margin-bottom: 1.5rem; padding-left: 1.5rem; color: #334155; }
.article-content li { margin-bottom: 0.5rem; padding-left: 0.5rem; }
.article-content ul li { list-style-type: disc; }
.article-content ol li { list-style-type: decimal; }
.article-content a { color: var(--primary); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(37, 99, 235, 0.3); text-underline-offset: 3px; }
.article-content a:hover { text-decoration-color: var(--primary); }

.lead { font-size: 1.25rem !important; font-weight: 500; color: #1e293b !important; border-left: 4px solid var(--primary); padding-left: 1.5rem; margin-bottom: 2rem !important; }

.callout-box { display: flex; gap: 1.5rem; margin: 2rem 0; border-left: 4px solid var(--accent); }
.callout-icon { font-size: 2rem; color: var(--accent); min-width: 40px; }
.callout-content h4 { margin-bottom: 0.5rem; font-size: 1.125rem; }
.callout-content p { margin: 0; font-size: 0.95rem; }

.comparison-table-wrapper { overflow-x: auto; margin: 2rem 0; padding: 0 !important; }
.comparison-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.comparison-table th, .comparison-table td { padding: 1rem; text-align: left; border-bottom: 1px solid #e2e8f0; }
.comparison-table th { background: rgba(37, 99, 235, 0.05); font-weight: 700; color: var(--primary-dark); }
.comparison-table tr:last-child td { border-bottom: none; }

/* Sidebar Widgets */
.article-sidebar { display: flex; flex-direction: column; gap: 2rem; position: sticky; top: 100px; }
.widget h3 { font-size: 1.25rem; margin-bottom: 1rem; display: flex; align-items: center; gap: 10px; }
.widget p { font-size: 0.95rem; color: #64748b; margin-bottom: 1.5rem; }

.checklist-widget ul { display: flex; flex-direction: column; gap: 10px; }
.checklist-widget li { display: flex; align-items: center; gap: 10px; font-size: 0.95rem; color: #475569; cursor: pointer; }
.checklist-widget li:hover { color: var(--primary); }

/* =========================================
   FAQ SECTION
   ========================================= */
.faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(500px, 1fr)); gap: 1.5rem; }
.faq-item { padding: 0 !important; overflow: hidden; }
.faq-item summary {
    padding: 1.5rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.5rem; color: var(--primary); font-weight: 300; }
.faq-item[open] summary::after { content: '-'; }
.faq-item[open] summary { background: rgba(37, 99, 235, 0.05); color: var(--primary); }
.faq-item p { padding: 0 1.5rem 1.5rem; color: #64748b; font-size: 0.95rem; margin: 0; }

/* =========================================
   TESTIMONIALS
   ========================================= */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.testimonial-card { display: flex; flex-direction: column; gap: 1rem; }
.stars { color: #fbbf24; font-size: 0.875rem; display: flex; gap: 2px; }
.testimonial-card > p { font-style: italic; color: #475569; flex-grow: 1; }
.reviewer { display: flex; align-items: center; gap: 12px; margin-top: 1rem; }
.avatar {
    width: 48px; height: 48px; background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: white; font-weight: 700; font-size: 0.875rem;
}
.reviewer strong { display: block; font-size: 0.95rem; }
.reviewer span { font-size: 0.8rem; color: #94a3b8; }

/* =========================================
   CONTACT SECTION
   ========================================= */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact-info h2 { font-size: 2.5rem; margin-bottom: 1rem; }
.contact-info > p { color: #64748b; margin-bottom: 2rem; }

.info-item { display: flex; gap: 1.5rem; margin-bottom: 1.5rem; align-items: flex-start; }
.info-item i {
    width: 48px; height: 48px; background: rgba(37, 99, 235, 0.1);
    border-radius: 12px; display: flex; align-items: center; justify-content: center;
    color: var(--primary); font-size: 1.25rem; min-width: 48px;
}
.info-item strong { display: block; font-size: 0.875rem; color: #94a3b8; margin-bottom: 2px; }
.info-item a, .info-item span { font-size: 1.0625rem; font-weight: 600; color: var(--dark); }
.info-item a:hover { color: var(--primary); }

.contact-ctas { margin-top: 2rem; }

.contact-form { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-form h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.875rem; font-weight: 600; color: #475569; }
.form-group input, .form-group textarea {
    padding: 14px 16px; border: 1px solid #e2e8f0; border-radius: 12px;
    font-family: inherit; font-size: 1rem; transition: var(--transition);
    background: rgba(255,255,255,0.8);
}
.form-group input:focus, .form-group textarea:focus {
    outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer { background: var(--dark); color: #cbd5e1; padding: 4rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.brand-col .logo { color: white; margin-bottom: 1rem; }
.brand-col p { font-size: 0.95rem; line-height: 1.7; color: #94a3b8; max-width: 300px; }

.footer-col h4 { color: white; font-size: 1rem; margin-bottom: 1.5rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.95rem; color: #94a3b8; }
.footer-col a:hover { color: white; padding-left: 5px; }

.footer-bottom { padding: 1.5rem 0; text-align: center; font-size: 0.875rem; color: #64748b; }

/* =========================================
   ANIMATIONS
   ========================================= */
@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, -20px); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 15px rgba(37, 99, 235, 0.4); }
    50% { box-shadow: 0 0 25px rgba(37, 99, 235, 0.7); }
}

.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); } }

/* Scroll Reveal Class (Added via JS) */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 1024px) {
    .hero h1 { font-size: 2.75rem; }
    .article-layout { grid-template-columns: 1fr; }
    .article-sidebar { position: static; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
    .contact-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links { 
        position: fixed; top: 0; right: -100%; width: 80%; height: 100vh;
        background: white; flex-direction: column; justify-content: center;
        padding: 2rem; box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        transition: var(--transition); z-index: 999;
    }
    .nav-links.active { right: 0; }
    .mobile-toggle { display: block; z-index: 1000; }
    
    .hero { padding: 140px 0 60px; }
    .hero h1 { font-size: 2rem; }
    .hero-intro { font-size: 1rem; }
    .stats-bar { flex-direction: column; gap: 1.5rem; }
    .stat-divider { width: 100%; height: 1px; }
    
    .section-header h2 { font-size: 2rem; }
    .faq-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    
    .timeline::before { left: 20px; }
    .timeline-marker { width: 40px; height: 40px; min-width: 40px; font-size: 1rem; }
    .timeline-item { gap: 1rem; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.75rem; }
    .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
    .glass-card { padding: 1.5rem; }
}