/* --- VARIABLES & RESET --- */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --accent: #06b6d4;
    --dark: #0f172a;
    --light: #f8fafc;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    --gradient: linear-gradient(135deg, var(--primary), var(--accent));
    --font: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }
body {
    font-family: var(--font);
    background-color: var(--dark);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
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 { line-height: 1.2; font-weight: 700; color: #fff; margin-bottom: 1rem; }
h1 { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.01em; }
h3 { font-size: 1.5rem; }
p { color: var(--text-muted); margin-bottom: 1.5rem; font-size: 1.05rem; }

.section-header { text-align: center; max-width: 700px; margin: 0 auto 60px; }
.section-header p { font-size: 1.2rem; }

/* --- 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: 16px;
    box-shadow: var(--glass-shadow);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s;
}
.glass-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
    border-color: rgba(255,255,255,0.3);
}
.glass-card-mini {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 12px 20px;
    display: flex; align-items: center; gap: 10px;
    font-weight: 600; font-size: 0.9rem;
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 16px 32px; border-radius: 50px; font-weight: 600; font-size: 1rem;
    cursor: pointer; transition: all 0.3s ease;
}
.btn-primary {
    background: var(--gradient); color: #fff; border: none;
}
.btn-secondary {
    background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.3);
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn-glow {
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.4);
}
.btn-glow:hover {
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.6);
    transform: translateY(-2px);
}

/* --- NAVIGATION --- */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    padding: 20px 0; transition: 0.4s;
}
.navbar.scrolled {
    padding: 12px 0;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: 800; color: #fff; display: flex; align-items: center; gap: 10px; }
.logo i { color: var(--accent); }
.logo span { color: var(--accent); }
.nav-links { display: flex; gap: 30px; }
.nav-links a { font-weight: 500; font-size: 0.95rem; opacity: 0.8; }
.nav-links a:hover { opacity: 1; color: var(--accent); }
.mobile-menu-btn { display: none; font-size: 1.5rem; cursor: pointer; }

/* --- HERO --- */
.hero {
    min-height: 100vh; display: flex; align-items: center;
    padding-top: 100px; position: relative; overflow: hidden;
    background: radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
}
.floating-shape {
    position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.4;
    animation: float 10s infinite ease-in-out alternate;
}
.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; }

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

.hero-content { max-width: 800px; position: relative; z-index: 2; }
.badge {
    display: inline-block; padding: 8px 16px; border-radius: 30px;
    background: rgba(6, 182, 212, 0.15); border: 1px solid rgba(6, 182, 212, 0.3);
    color: var(--accent); font-size: 0.85rem; font-weight: 600; margin-bottom: 24px;
}
.hero-text { font-size: 1.25rem; max-width: 600px; margin-bottom: 40px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 60px; }
.stats-row { display: flex; gap: 16px; flex-wrap: wrap; }

/* --- SERVICES GRID --- */
.services-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px;
}
.service-card { padding: 40px 30px; position: relative; overflow: hidden; }
.card-icon {
    width: 60px; height: 60px; border-radius: 14px;
    background: linear-gradient(135deg, rgba(37,99,235,0.2), rgba(6,182,212,0.2));
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: var(--accent); margin-bottom: 24px;
}
.card-features { margin-top: 20px; }
.card-features li {
    font-size: 0.9rem; color: var(--text-muted); padding: 6px 0;
    display: flex; align-items: center; gap: 8px;
}
.card-features li::before {
    content: "✓"; color: var(--accent); font-weight: bold; font-size: 0.8rem;
}

/* --- STATS --- */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.stat-box { text-align: center; padding: 40px 20px; }
.counter { font-size: 3.5rem; font-weight: 800; color: #fff; display: inline; }
.plus, .percent, .hrs { font-size: 2rem; font-weight: 700; color: var(--accent); }
.stat-box p { margin-top: 10px; font-weight: 500; color: var(--text-muted); }

/* --- TIMELINE --- */
.timeline { position: relative; max-width: 800px; margin: 0 auto; }
.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: 40px; position: relative; }
.timeline-icon {
    width: 60px; height: 60px; border-radius: 50%; flex-shrink: 0;
    background: var(--dark); border: 2px solid var(--primary);
    display: flex; align-items: center; justify-content: center;
    color: var(--accent); font-size: 1.2rem; z-index: 2;
}
.timeline-content { padding: 30px; flex: 1; }
.timeline-content h3 { margin-bottom: 8px; color: var(--accent); }

/* --- ARTICLE --- */
.article-container { max-width: 850px; }
.article-meta { display: flex; gap: 20px; margin-bottom: 30px; font-size: 0.9rem; color: var(--accent); }
.article-content h2 { margin-top: 50px; margin-bottom: 20px; color: #fff; }
.article-content h3 { margin-top: 30px; margin-bottom: 15px; color: var(--accent); font-size: 1.3rem; }
.article-content p { margin-bottom: 20px; }
.article-content ul, .article-content ol { margin-bottom: 25px; padding-left: 20px; }
.article-content li { margin-bottom: 10px; color: var(--text-muted); }
.article-content strong { color: #fff; font-weight: 600; }

.callout-box, .warning-box { padding: 25px; margin: 30px 0; border-left: 4px solid; }
.tip-box { border-color: var(--accent); background: rgba(6, 182, 212, 0.05); }
.warning-box { border-color: #ef4444; background: rgba(239, 68, 68, 0.05); }
.callout-box h4, .warning-box h4 { margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.tip-box h4 { color: var(--accent); }
.warning-box h4 { color: #ef4444; }

.checklist { list-style: none; padding: 0; }
.checklist li {
    padding: 12px 0; border-bottom: 1px solid var(--glass-border);
    display: flex; align-items: flex-start; gap: 12px;
}
.checklist li:last-child { border: none; }

/* --- FAQ --- */
.faq-grid { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.faq-item { padding: 0; overflow: hidden; }
.faq-item summary {
    padding: 24px 30px; cursor: pointer; font-weight: 600; font-size: 1.1rem;
    list-style: none; display: flex; justify-content: space-between; align-items: center;
    color: #fff;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.5rem; color: var(--accent); transition: 0.3s; }
.faq-item[open] summary::after { content: '−'; transform: rotate(180deg); }
.faq-item p { padding: 0 30px 24px; margin: 0; color: var(--text-muted); }

/* --- TESTIMONIALS --- */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.testimonial-card { padding: 35px; }
.stars { color: #fbbf24; margin-bottom: 15px; font-size: 0.9rem; display: flex; gap: 3px; }
.testimonial-card > p { font-style: italic; font-size: 1rem; margin-bottom: 25px; }
.client-info { display: flex; align-items: center; gap: 15px; }
.avatar {
    width: 45px; height: 45px; border-radius: 50%;
    background: var(--gradient); display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.9rem; color: #fff;
}
.client-info strong { display: block; color: #fff; font-size: 0.95rem; }
.client-info span { font-size: 0.8rem; color: var(--text-muted); }

/* --- CONTACT --- */
.contact-wrapper {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0; overflow: hidden;
}
.contact-info { padding: 60px; background: rgba(37, 99, 235, 0.08); }
.contact-info h2 { margin-bottom: 15px; }
.info-item { display: flex; gap: 15px; margin: 25px 0; align-items: flex-start; }
.info-item i { color: var(--accent); font-size: 1.2rem; margin-top: 4px; }
.info-item strong { display: block; color: #fff; margin-bottom: 4px; }
.info-item a, .info-item span { color: var(--text-muted); }
.info-item a:hover { color: var(--accent); }
.map-btn { margin-top: 30px; width: 100%; }

.contact-form { padding: 60px; }
.contact-form h3 { margin-bottom: 30px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-size: 0.9rem; color: var(--text-muted); }
.form-group input, .form-group textarea {
    width: 100%; padding: 14px 18px; border-radius: 12px;
    background: rgba(255,255,255,0.05); border: 1px solid var(--glass-border);
    color: #fff; font-family: var(--font); font-size: 1rem; outline: none;
    transition: 0.3s;
}
.form-group input:focus, .form-group textarea:focus {
    border-color: var(--accent); background: rgba(255,255,255,0.08);
}
.contact-form .btn { width: 100%; margin-top: 10px; }

/* --- FOOTER --- */
.footer { background: #0b1120; padding: 80px 0 0; border-top: 1px solid var(--glass-border); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 60px; }
.brand-col p { margin-top: 20px; font-size: 0.95rem; max-width: 300px; }
.footer-col h4 { color: #fff; margin-bottom: 20px; font-size: 1.1rem; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul a { color: var(--text-muted); font-size: 0.95rem; }
.footer-col ul a:hover { color: var(--accent); padding-left: 5px; }
.footer-bottom { border-top: 1px solid var(--glass-border); padding: 25px 0; text-align: center; }
.footer-bottom p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .contact-wrapper { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-cta { display: none; }
    .mobile-menu-btn { display: block; }
    .hero { padding-top: 120px; min-height: auto; padding-bottom: 80px; }
    h1 { font-size: 2.2rem; }
    .section { padding: 70px 0; }
    .timeline::before { left: 20px; }
    .timeline-icon { width: 40px; height: 40px; font-size: 0.9rem; }
    .timeline-content { padding: 20px; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .contact-info, .contact-form { padding: 40px 25px; }
}

/* --- ANIMATION CLASSES --- */
.reveal { opacity: 0; transform: translateY(30px); transition: 0.8s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }