/* === RESET & VARIABLES === */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --accent: #8b5cf6;
    --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;
    --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: 'Inter', sans-serif;
    background: var(--light);
    color: var(--dark);
    line-height: 1.7;
    overflow-x: hidden;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 6rem 0; position: relative; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; line-height: 1.2; }
h1 { font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 1.5rem; }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 2rem; }
h3 { font-size: 1.5rem; margin-bottom: 1rem; }
p { margin-bottom: 1.5rem; color: #475569; }

/* === BUTTONS === */
.btn-primary, .btn-secondary {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 1rem 2rem; border-radius: 50px; font-weight: 600;
    text-decoration: none; transition: var(--transition); cursor: pointer; border: none;
}
.btn-primary { background: var(--primary); color: white; }
.btn-secondary { background: white; color: var(--dark); border: 2px solid #e2e8f0; }
.btn-glow { box-shadow: 0 0 20px rgba(37, 99, 235, 0.4); }
.btn-glow:hover { transform: translateY(-3px); box-shadow: 0 0 30px rgba(37, 99, 235, 0.6); }
.btn-secondary:hover { border-color: var(--primary); color: var(--primary); }

/* === GLASSMORPHISM CARD === */
.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);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.glass-card:hover { transform: translateY(-5px); box-shadow: 0 12px 40px rgba(0,0,0,0.12); }

/* === NAVIGATION === */
.glass-nav {
    position: fixed; top: 0; left: 0; right: 0; 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: var(--transition);
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: 'Playfair Display'; font-size: 1.5rem; font-weight: 700; color: var(--dark); text-decoration: none; }
.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: var(--transition); }
.nav-links a:hover { color: var(--primary); }
.mobile-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.mobile-toggle span { width: 25px; height: 3px; background: var(--dark); border-radius: 2px; transition: var(--transition); }

/* === HERO === */
.hero {
    min-height: 100vh; display: flex; align-items: center;
    background: linear-gradient(135deg, #eff6ff 0%, #f5f3ff 50%, #fdf2f8 100%);
    position: relative; overflow: hidden; padding-top: 5rem;
}
.floating-shape {
    position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.6;
    animation: float 20s infinite ease-in-out;
}
.shape-1 { width: 500px; height: 500px; background: #bfdbfe; top: -100px; right: -100px; }
.shape-2 { width: 400px; height: 400px; background: #ddd6fe; bottom: -50px; left: -100px; animation-delay: -10s; }
@keyframes float { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(30px, -30px); } }

.hero-content { position: relative; z-index: 2; max-width: 800px; }
.badge {
    display: inline-block; padding: 0.5rem 1rem; border-radius: 50px;
    background: rgba(37, 99, 235, 0.1); color: var(--primary);
    font-weight: 600; font-size: 0.875rem; margin-bottom: 1.5rem;
}
.hero-text { font-size: 1.25rem; max-width: 600px; margin-bottom: 2.5rem; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 4rem; }
.stats-row { display: flex; gap: 3rem; flex-wrap: wrap; }
.stat-item h3 { font-size: 2.5rem; color: var(--primary); margin: 0; font-family: 'Inter'; }
.stat-item p { font-size: 0.875rem; margin: 0; color: #64748b; }

/* === SERVICES GRID === */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.service-card { text-align: center; }
.icon-box {
    width: 70px; height: 70px; margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 20px; display: flex; align-items: center; justify-content: center;
    font-size: 2rem; color: white;
}

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

/* === ARTICLE === */
.article-container { max-width: 850px; margin: 0 auto; }
.article-header { text-align: center; margin-bottom: 3rem; }
.category-tag {
    display: inline-block; padding: 0.4rem 1rem; border-radius: 50px;
    background: var(--accent); color: white; font-size: 0.8rem;
    font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1rem;
}
.meta { font-size: 0.9rem; color: #94a3b8; }
.article-content h2 { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid #e2e8f0; }
.article-content h2:first-of-type { border: none; margin-top: 0; padding-top: 0; }
.callout-box {
    background: linear-gradient(135deg, #eff6ff, #f5f3ff);
    border-left: 4px solid var(--primary); padding: 1.5rem 2rem;
    border-radius: 0 var(--radius) var(--radius) 0; margin: 2rem 0;
}
.checklist { list-style: none; margin: 1.5rem 0; }
.checklist li { padding: 0.5rem 0; padding-left: 2rem; position: relative; }
.checklist li::before { content: '✓'; position: absolute; left: 0; color: var(--primary); font-weight: 700; }
.inline-link { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.inline-link:hover { color: var(--accent); }

/* === FAQ === */
.faq-grid { max-width: 850px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.faq-item { padding: 0; overflow: hidden; }
.faq-item summary {
    padding: 1.5rem 2rem; 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 2rem 1.5rem; margin: 0; }

/* === TESTIMONIALS === */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.stars { color: #fbbf24; font-size: 1.25rem; margin-bottom: 1rem; }
.reviewer { display: flex; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.avatar {
    width: 50px; height: 50px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex; align-items: center; justify-content: center;
    color: white; font-weight: 700; font-size: 1.1rem;
}
.reviewer span { display: block; font-size: 0.85rem; color: #94a3b8; }

/* === CONTACT === */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.info-item { margin-bottom: 1.5rem; }
.info-item .label { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: #94a3b8; margin-bottom: 0.25rem; }
.info-item a, .info-item p { margin: 0; font-weight: 500; color: var(--dark); text-decoration: none; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 500; font-size: 0.9rem; }
.form-group input, .form-group textarea {
    width: 100%; padding: 1rem; border: 2px solid #e2e8f0; border-radius: 12px;
    font-family: inherit; font-size: 1rem; transition: var(--transition); background: white;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); }

/* === 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; }
.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: #cbd5e1; text-decoration: none; transition: var(--transition); }
.footer-col a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 1.5rem 0; text-align: center; font-size: 0.875rem; }

/* === ANIMATIONS === */
.animate-fade-in { animation: fadeIn 1s ease forwards; opacity: 0; }
.animate-slide-up { animation: slideUp 0.8s ease forwards; opacity: 0; transform: translateY(30px); }
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes slideUp { to { opacity: 1; transform: translateY(0); } }

/* Scroll Reveal Utility */
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* === RESPONSIVE === */
@media (max-width: 968px) {
    .contact-grid, .footer-grid { grid-template-columns: 1fr; }
    .nav-links { 
        position: fixed; top: 70px; left: 0; right: 0; background: white;
        flex-direction: column; padding: 2rem; gap: 1.5rem;
        box-shadow: var(--shadow); transform: translateY(-150%); transition: var(--transition);
    }
    .nav-links.active { transform: translateY(0); }
    .mobile-toggle { display: flex; }
}

@media (max-width: 640px) {
    .hero-cta { flex-direction: column; }
    .btn-primary, .btn-secondary { width: 100%; }
    .stats-row { gap: 2rem; }
    .timeline::before { left: 20px; }
    .timeline-marker { width: 40px; height: 40px; min-width: 40px; font-size: 0.9rem; }
    .timeline-item { gap: 1rem; }
    .timeline-content { margin-left: 0.5rem; }
    .glass-card { padding: 1.5rem; }
}