/* =========================================
   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: 0 8px 32px rgba(0, 0, 0, 0.08);
    --radius: 16px;
    --font-head: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --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: var(--font-body);
    background: var(--light);
    color: var(--dark);
    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 20px;
}

.section { padding: 100px 0; position: relative; }

/* =========================================
   TYPOGRAPHY
   ========================================= */
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; color: var(--dark); }
h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 24px; }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 16px; }
h3 { font-size: 1.5rem; margin-bottom: 12px; }
p { margin-bottom: 20px; color: #475569; font-size: 1.05rem; }

.accent { color: var(--primary); }
.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.9rem;
    margin-bottom: 20px;
}

/* =========================================
   GLASSMORPHISM & UTILITIES
   ========================================= */
.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: 30px;
    transition: var(--transition);
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.15);
    border-color: rgba(37, 99, 235, 0.3);
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(37, 99, 235, 0.5); }

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

.btn-glow {
    background: var(--primary);
    color: white;
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.5);
}

.full-width { width: 100%; }

/* =========================================
   NAVIGATION
   ========================================= */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: var(--font-head); font-size: 1.5rem; font-weight: 800; }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { font-weight: 500; font-size: 0.95rem; }
.nav-links a:not(.btn-glow):hover { color: var(--primary); }
.mobile-toggle { display: none; font-size: 1.5rem; cursor: pointer; }

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
    background: radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(6, 182, 212, 0.08) 0%, transparent 50%);
}
.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: float 20s infinite ease-in-out;
}
.shape-1 { width: 400px; height: 400px; background: var(--primary); top: -100px; left: -100px; }
.shape-2 { width: 300px; height: 300px; background: var(--accent); bottom: 10%; right: -50px; animation-delay: -5s; }

.hero-content { position: relative; z-index: 2; max-width: 800px; }
.hero-text { font-size: 1.25rem; max-width: 600px; margin-bottom: 40px; }
.hero-btns { display: flex; gap: 15px; flex-wrap: wrap; margin-bottom: 60px; }

.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; margin-top: 40px; }
.stat-card { text-align: center; padding: 20px; }
.stat-card i { font-size: 1.5rem; color: var(--primary); margin-bottom: 10px; }
.stat-card span { display: block; font-size: 2rem; font-weight: 800; font-family: var(--font-head); color: var(--dark); }
.stat-card p { margin: 0; font-size: 0.85rem; font-weight: 500; }

/* =========================================
   SERVICES GRID
   ========================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}
.service-card .icon-box {
    width: 60px; height: 60px;
    background: linear-gradient(135deg, rgba(37,99,235,0.1), rgba(6,182,212,0.1));
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: var(--primary);
    margin-bottom: 20px;
}

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

/* =========================================
   ARTICLE STYLES
   ========================================= */
.article-container { max-width: 900px; }
.article-section h2 { margin-top: 50px; }
.article-section h3 { margin-top: 30px; color: var(--primary-dark); }
.article-section a { color: var(--primary); font-weight: 600; border-bottom: 1px dashed var(--primary); }
.article-section a:hover { background: rgba(37,99,235,0.1); }

.callout-box {
    display: flex; gap: 15px; align-items: flex-start;
    margin: 30px 0; padding: 25px;
    border-left: 4px solid var(--primary);
}
.callout-box i { font-size: 1.5rem; color: var(--primary); margin-top: 3px; }

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

/* =========================================
   FAQ SECTION
   ========================================= */
.faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 20px; margin-top: 40px; }
.faq-item { padding: 0; overflow: hidden; }
.faq-item summary {
    padding: 20px 25px; 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: var(--transition); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 25px 20px; margin: 0; font-size: 0.95rem; }

/* =========================================
   TESTIMONIALS
   ========================================= */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; }
.stars { color: #fbbf24; margin-bottom: 15px; font-size: 0.9rem; }
.author { display: flex; align-items: center; gap: 15px; margin-top: 20px; }
.initials {
    width: 45px; height: 45px; 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.9rem;
}
.author strong { display: block; font-size: 0.95rem; }
.author span { font-size: 0.8rem; color: #64748b; }

/* =========================================
   CONTACT SECTION
   ========================================= */
.contact-container { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.info-item { display: flex; gap: 15px; margin-bottom: 25px; align-items: flex-start; }
.info-item i { width: 40px; height: 40px; background: rgba(37,99,235,0.1); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--primary); flex-shrink: 0; }
.info-item a { color: var(--primary); 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 select, .form-group textarea {
    width: 100%; padding: 14px 18px; border: 1px solid #e2e8f0;
    border-radius: 12px; font-family: var(--font-body); font-size: 1rem;
    transition: var(--transition); background: rgba(255,255,255,0.8);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

/* =========================================
   FOOTER
   ========================================= */
.footer { background: var(--dark); color: #94a3b8; padding: 80px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 60px; }
.footer .logo { color: white; margin-bottom: 20px; display: inline-block; }
.footer h4 { color: white; margin-bottom: 20px; font-size: 1.1rem; }
.footer ul li { margin-bottom: 12px; }
.footer ul a:hover { color: var(--accent); padding-left: 5px; }
.contact-list li { display: flex; gap: 10px; align-items: center; }
.contact-list i { color: var(--accent); width: 20px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; text-align: center; font-size: 0.9rem; }

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

.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 */
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 992px) {
    .contact-container { 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;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1); transition: var(--transition);
    }
    .nav-links.active { right: 0; }
    .mobile-toggle { display: block; z-index: 1001; }
    .hero { padding-top: 120px; min-height: auto; padding-bottom: 80px; }
    h1 { font-size: 2.2rem; }
    .faq-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .timeline::before { left: 20px; }
    .timeline-item .number { width: 40px; height: 40px; font-size: 0.9rem; }
}