/* --- 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.5);
    --shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    --radius: 16px;
    --font-main: 'Plus Jakarta Sans', sans-serif;
    --font-head: 'Outfit', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }
body { font-family: var(--font-main); background: var(--light); color: var(--dark); 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; }

/* --- UTILITIES --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 100px 0; position: relative; }
.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: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.glass-card:hover { transform: translateY(-5px); box-shadow: 0 12px 40px rgba(37, 99, 235, 0.2); }
.btn-primary, .btn-glow {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}
.btn-glow:hover, .btn-primary:hover { box-shadow: 0 0 25px rgba(6, 182, 212, 0.6); transform: scale(1.02); }
.btn-secondary {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    border: 2px solid var(--primary);
    color: var(--primary);
    margin-left: 10px;
}
.full-width { width: 100%; text-align: center; }
.text-link { color: var(--primary); font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* --- NAVIGATION --- */
.glass-nav {
    position: fixed; top: 0; width: 100%; 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: 15px 0; transition: 0.3s;
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: var(--font-head); font-size: 1.8rem; font-weight: 800; color: var(--dark); }
.logo span { color: var(--primary); }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { font-weight: 600; font-size: 0.95rem; }
.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; }

/* --- HERO --- */
.hero-section {
    min-height: 100vh; display: flex; align-items: center;
    padding-top: 100px; position: relative; overflow: hidden;
    background: radial-gradient(circle at top right, rgba(37,99,235,0.1), transparent 40%),
                radial-gradient(circle at bottom left, rgba(6,182,212,0.1), transparent 40%);
}
.bg-shapes .shape { position: absolute; border-radius: 50%; filter: blur(80px); z-index: -1; animation: float 10s infinite ease-in-out; }
.shape-1 { width: 400px; height: 400px; background: rgba(37,99,235,0.2); top: -100px; right: -100px; }
.shape-2 { width: 300px; height: 300px; background: rgba(6,182,212,0.2); bottom: 10%; left: -50px; animation-delay: 2s; }
.hero-content { max-width: 900px; margin: 0 auto; text-align: center; }
.badge {
    display: inline-block; padding: 8px 20px; border-radius: 50px;
    background: rgba(37,99,235,0.1); color: var(--primary);
    font-weight: 700; font-size: 0.85rem; margin-bottom: 20px;
    border: 1px solid rgba(37,99,235,0.2);
}
.hero-content h1 { font-family: var(--font-head); font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.1; margin-bottom: 25px; letter-spacing: -1px; }
.hero-text { font-size: 1.2rem; color: #475569; margin-bottom: 40px; max-width: 700px; margin-left: auto; margin-right: auto; }
.stats-row { display: flex; justify-content: center; gap: 20px; margin-top: 60px; flex-wrap: wrap; }
.stat-card { padding: 20px 30px; text-align: center; min-width: 150px; }
.stat-card .counter { font-size: 2.5rem; font-weight: 800; color: var(--primary); font-family: var(--font-head); }
.stat-card p { font-size: 0.9rem; font-weight: 600; color: #64748b; margin-top: 5px; }

/* --- SERVICES --- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 50px; }
.service-card { text-align: left; }
.icon-box { font-size: 2.5rem; margin-bottom: 20px; background: rgba(37,99,235,0.1); width: 70px; height: 70px; display: flex; align-items: center; justify-content: center; border-radius: 16px; }
.service-card h3 { font-family: var(--font-head); font-size: 1.4rem; margin-bottom: 10px; }
.service-card p { color: #64748b; font-size: 0.95rem; }

/* --- ARTICLE --- */
.article-container { max-width: 850px; margin: 0 auto; }
.article-meta { display: flex; gap: 15px; color: #64748b; font-size: 0.9rem; margin-bottom: 30px; border-bottom: 1px solid #e2e8f0; padding-bottom: 20px; }
.article-section h2 { font-family: var(--font-head); font-size: 2rem; margin: 50px 0 20px; color: var(--dark); }
.article-section h3 { font-size: 1.5rem; margin: 30px 0 15px; color: var(--primary-dark); }
.article-section p { margin-bottom: 20px; font-size: 1.1rem; color: #334155; }
.article-section ul, .article-section ol { margin: 20px 0 30px 20px; color: #334155; }
.article-section li { margin-bottom: 10px; padding-left: 10px; }
.callout-box { border-left: 4px solid var(--accent); margin: 40px 0; padding: 25px !important; background: rgba(6,182,212,0.05) !important; }
.callout-box h4 { color: var(--accent); margin-bottom: 10px; font-size: 1.2rem; }
.comparison-table { overflow-x: auto; margin: 40px 0; padding: 0 !important; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 15px 20px; text-align: left; border-bottom: 1px solid rgba(0,0,0,0.05); }
th { background: rgba(37,99,235,0.05); color: var(--primary-dark); font-weight: 700; }

/* --- FAQ --- */
.faq-grid { display: grid; gap: 15px; max-width: 900px; margin: 50px auto 0; }
.faq-item { padding: 0 !important; overflow: hidden; }
.faq-item summary { padding: 20px 25px; font-weight: 700; cursor: pointer; 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: 0.3s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 25px 25px; color: #475569; border-top: 1px solid rgba(0,0,0,0.05); margin-top: 0; padding-top: 20px; }

/* --- TESTIMONIALS --- */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 50px; }
.stars { color: #fbbf24; font-size: 1.2rem; margin-bottom: 15px; letter-spacing: 2px; }
.testimonial-card p { font-style: italic; color: #475569; margin-bottom: 20px; }
.author { display: flex; align-items: center; gap: 15px; }
.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; }
.author strong { display: block; font-size: 0.95rem; }
.author span { font-size: 0.8rem; color: #94a3b8; }

/* --- CONTACT --- */
.contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-info h2 { font-family: var(--font-head); font-size: 2.5rem; margin-bottom: 15px; }
.info-item { margin: 25px 0; }
.info-item .label { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: #94a3b8; margin-bottom: 5px; font-weight: 700; }
.info-item a, .info-item p { font-size: 1.2rem; font-weight: 600; color: var(--dark); }
.contact-form { display: flex; flex-direction: column; gap: 15px; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 15px 20px; border-radius: 12px;
    border: 1px solid #e2e8f0; background: rgba(255,255,255,0.8);
    font-family: inherit; font-size: 1rem; outline: none; transition: 0.3s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }

/* --- FOOTER --- */
.footer { background: var(--dark); color: white; padding: 80px 0 30px; margin-top: 50px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
.footer .logo { color: white; margin-bottom: 20px; display: inline-block; }
.footer p { color: #94a3b8; font-size: 0.95rem; }
.footer h4 { margin-bottom: 20px; font-family: var(--font-head); }
.footer ul li { margin-bottom: 10px; }
.footer ul a { color: #94a3b8; font-size: 0.95rem; }
.footer ul a:hover { color: white; padding-left: 5px; }
.social-icons { display: flex; gap: 10px; }
.social-icon { width: 40px; height: 40px; background: rgba(255,255,255,0.1); border-radius: 50%; transition: 0.3s; cursor: pointer; }
.social-icon:hover { background: var(--primary); }
.copyright { text-align: center; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.1); color: #64748b; font-size: 0.85rem; }

/* --- ANIMATIONS --- */
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }
.animate-fade-up { opacity: 0; transform: translateY(30px); animation: fadeUp 0.8s forwards; }
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(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 { 
        position: fixed; top: 70px; left: 0; width: 100%; 
        background: white; flex-direction: column; padding: 30px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        clip-path: circle(0% at 100% 0); transition: 0.5s;
    }
    .nav-links.active { clip-path: circle(150% at 100% 0); }
    .mobile-toggle { display: flex; }
    .hero-content h1 { font-size: 2.2rem; }
    .stats-row { gap: 10px; }
    .stat-card { min-width: 100px; padding: 15px; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .btn-secondary { margin-left: 0; margin-top: 10px; width: 100%; text-align: center; display: block; }
}