/* =========================================
   VARIABLES & RESET
   ========================================= */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --accent: #f59e0b;
    --dark: #0f172a;
    --light: #f8fafc;
    --gray: #64748b;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --shadow: 0 10px 40px -10px 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;
    background-image: 
        radial-gradient(at 0% 0%, rgba(37, 99, 235, 0.05) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(245, 158, 11, 0.05) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(37, 99, 235, 0.05) 0px, transparent 50%);
    background-attachment: fixed;
}

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; color: var(--dark); line-height: 1.2; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { width: 90%; max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
.section { padding: 5rem 0; position: relative; }

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

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px 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;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }

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

.btn-glow {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    position: relative;
    z-index: 1;
    overflow: hidden;
}
.btn-glow::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, var(--accent), #d97706);
    opacity: 0;
    z-index: -1;
    transition: var(--transition);
}
.btn-glow:hover::before { opacity: 1; }
.btn-glow:hover { transform: scale(1.02); box-shadow: 0 0 20px rgba(245, 158, 11, 0.4); }

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

/* =========================================
   NAVIGATION
   ========================================= */
.glass-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}
.glass-nav.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0,0,0,0.05);
    padding: 0.75rem 0;
}

.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: 800; font-family: 'Playfair Display', serif; }
.logo span { color: var(--primary); }

.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a { font-weight: 500; font-size: 0.95rem; color: var(--dark); }
.nav-links a: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;
    padding-top: 6rem;
    position: relative;
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    animation: float 10s ease-in-out infinite;
}
.shape-1 { width: 400px; height: 400px; background: rgba(37, 99, 235, 0.15); top: 10%; left: -10%; }
.shape-2 { width: 300px; height: 300px; background: rgba(245, 158, 11, 0.1); bottom: 10%; right: -5%; animation-delay: -5s; }

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

.hero-content { max-width: 800px; }
.hero h1 { font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 1.5rem; letter-spacing: -0.02em; }
.hero-text { font-size: 1.25rem; color: var(--gray); margin-bottom: 2.5rem; max-width: 600px; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 4rem; }

.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.stat-card { padding: 1.5rem; text-align: center; }
.stat-card i { font-size: 1.5rem; color: var(--primary); margin-bottom: 0.5rem; }
.stat-card h3 { font-size: 2rem; font-family: 'Inter', sans-serif; font-weight: 800; margin-bottom: 0.25rem; }
.stat-card p { font-size: 0.85rem; color: var(--gray); font-weight: 500; }

/* Animation Classes */
.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); } }

/* =========================================
   SERVICES GRID
   ========================================= */
.section-header { text-align: center; max-width: 600px; margin: 0 auto 4rem; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 1rem; }
.section-header p { color: var(--gray); font-size: 1.1rem; }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }
.service-card { padding: 2.5rem; display: flex; flex-direction: column; gap: 1rem; }
.icon-box {
    width: 60px; height: 60px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: var(--primary);
    margin-bottom: 0.5rem;
    transition: var(--transition);
}
.service-card:hover .icon-box { background: var(--primary); color: white; transform: rotateY(180deg); }
.service-card h3 { font-size: 1.5rem; font-family: 'Inter', sans-serif; font-weight: 700; }
.feature-list { margin-top: auto; padding-top: 1rem; border-top: 1px solid rgba(0,0,0,0.05); }
.feature-list li { font-size: 0.9rem; color: var(--gray); margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.5rem; }
.feature-list i { color: var(--accent); font-size: 0.8rem; }

/* =========================================
   PROCESS TIMELINE
   ========================================= */
.process-section { background: white; }
.timeline { display: flex; justify-content: space-between; position: relative; margin-top: 4rem; 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: 180px; text-align: center; position: relative; z-index: 1; }
.number {
    width: 60px; height: 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.2rem;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}
.timeline-item:hover .number { background: var(--primary); color: white; transform: scale(1.1); }
.timeline-item h3 { font-size: 1.2rem; margin-bottom: 0.5rem; font-family: 'Inter', sans-serif; }
.timeline-item p { font-size: 0.9rem; color: var(--gray); padding: 0 0.5rem; }

/* =========================================
   ARTICLE STYLES
   ========================================= */
.article-section { background: var(--light); }
.article-container { max-width: 800px; }
.article-header { margin-bottom: 3rem; border-bottom: 1px solid #e2e8f0; padding-bottom: 2rem; }
.article-header h1 { font-size: 2.5rem; margin-bottom: 1rem; }
.meta-info { display: flex; gap: 2rem; color: var(--gray); font-size: 0.9rem; }
.meta-info i { margin-right: 0.5rem; }

.content-body h2 { font-size: 2rem; margin: 3rem 0 1.5rem; color: var(--dark); }
.content-body h3 { font-size: 1.5rem; margin: 2rem 0 1rem; font-family: 'Inter', sans-serif; font-weight: 700; }
.content-body p { margin-bottom: 1.5rem; font-size: 1.1rem; color: #334155; }
.content-body a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.content-body a:hover { color: var(--accent); }

.callout-box, .warning-box {
    padding: 2rem; border-radius: var(--radius); margin: 2rem 0;
    border-left: 4px solid;
}
.tip-box { background: rgba(37, 99, 235, 0.05); border-color: var(--primary); }
.warning-box { background: rgba(245, 158, 11, 0.05); border-color: var(--accent); }
.callout-box h4, .warning-box h4 { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; font-family: 'Inter', sans-serif; font-size: 1.1rem; }

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

/* =========================================
   TESTIMONIALS
   ========================================= */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 3rem; }
.testimonial-card { padding: 2.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.stars { color: var(--accent); font-size: 0.9rem; letter-spacing: 2px; }
.testimonial-card p { font-style: italic; color: #475569; flex-grow: 1; }
.client-info { display: flex; align-items: center; gap: 1rem; margin-top: auto; }
.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;
}
.client-info strong { display: block; font-size: 0.95rem; }
.client-info span { font-size: 0.8rem; color: var(--gray); }

/* =========================================
   FAQ SECTION
   ========================================= */
.faq-grid { max-width: 800px; margin: 3rem auto 0; display: flex; flex-direction: column; gap: 1rem; }
.faq-item { padding: 0; overflow: hidden; }
.faq-question {
    width: 100%; padding: 1.5rem 2rem;
    background: transparent; border: none;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 1.1rem; font-weight: 600; color: var(--dark);
    cursor: pointer; text-align: left;
    font-family: 'Inter', sans-serif;
}
.faq-question i { transition: var(--transition); color: var(--primary); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; padding: 0 2rem; }
.faq-answer p { padding-bottom: 1.5rem; color: var(--gray); line-height: 1.7; }
.faq-item.active .faq-answer { max-height: 300px; }
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-item.active { border-color: var(--primary); background: rgba(37, 99, 235, 0.02); }

/* =========================================
   CONTACT SECTION
   ========================================= */
.contact-wrapper {
    display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; padding: 4rem;
    background: white;
}
.contact-info h2 { font-size: 2.5rem; margin-bottom: 1rem; }
.contact-info > p { color: var(--gray); margin-bottom: 2.5rem; }
.info-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; 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 strong { display: block; font-size: 0.85rem; color: var(--gray); margin-bottom: 0.2rem; }
.info-item a, .info-item span { font-weight: 600; font-size: 1.1rem; }
.map-btn { margin-top: 2rem; width: 100%; justify-content: center; }

.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; font-size: 0.9rem; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 1rem; border: 1px solid #e2e8f0; border-radius: 12px;
    font-family: inherit; font-size: 1rem; transition: var(--transition);
    background: #f8fafc;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: var(--primary); background: white;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}
.full-width { width: 100%; justify-content: center; border: none; font-size: 1rem; }

/* =========================================
   FOOTER
   ========================================= */
.site-footer { background: var(--dark); color: white; padding: 5rem 0 2rem; margin-top: 5rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; margin-bottom: 4rem; }
.brand-col .logo { color: white; margin-bottom: 1.5rem; display: inline-block; }
.brand-col .logo span { color: var(--accent); }
.brand-col p { color: #94a3b8; font-size: 0.95rem; line-height: 1.8; }
.footer-col h4 { color: white; margin-bottom: 1.5rem; font-family: 'Inter', sans-serif; font-size: 1.1rem; }
.footer-col ul li { margin-bottom: 0.75rem; }
.footer-col ul a { color: #94a3b8; font-size: 0.95rem; }
.footer-col ul a:hover { color: var(--accent); padding-left: 5px; }
.contact-list li { display: flex; align-items: center; gap: 0.75rem; color: #94a3b8; font-size: 0.95rem; }
.contact-list i { color: var(--accent); width: 20px; }
.copyright { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; text-align: center; color: #64748b; font-size: 0.9rem; }

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 992px) {
    .contact-wrapper { grid-template-columns: 1fr; gap: 3rem; padding: 2.5rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .timeline::before { display: none; }
    .timeline { flex-direction: column; gap: 1.5rem; }
    .timeline-item { text-align: left; display: flex; align-items: center; gap: 1.5rem; min-width: 100%; }
    .timeline-item .number { margin: 0; flex-shrink: 0; width: 50px; height: 50px; font-size: 1rem; }
}

@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 40px 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 h1 { font-size: 2.2rem; }
    .stats-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .section { padding: 3.5rem 0; }
    .article-header h1 { font-size: 2rem; }
    .content-body h2 { font-size: 1.6rem; }
}