/* --- 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-blur: blur(16px);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --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-color: var(--dark);
    color: var(--light);
    line-height: 1.7;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(37, 99, 235, 0.15), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(6, 182, 212, 0.15), transparent 25%);
    background-attachment: fixed;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 100px 0; position: relative; }

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; 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 { margin-bottom: 1.5rem; opacity: 0.9; font-size: 1.05rem; }
.section-title { text-align: center; margin-bottom: 60px; position: relative; display: inline-block; left: 50%; transform: translateX(-50%); }
.section-title::after {
    content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%);
    width: 60px; height: 4px; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: 2px;
}

/* --- GLASSMORPHISM UTILS --- */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    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);
    border-color: rgba(255,255,255,0.2);
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.2);
}

/* --- BUTTONS --- */
.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.6); }
.btn-secondary { border: 1px solid var(--glass-border); background: var(--glass-bg); }
.btn-secondary:hover { background: rgba(255,255,255,0.1); }
.btn-glow { background: var(--primary); color: white; }
.full-width { width: 100%; }

/* --- NAVIGATION --- */
.glass-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 20px 0; transition: var(--transition);
}
.glass-nav.scrolled {
    background: rgba(15, 23, 42, 0.8); backdrop-filter: blur(20px);
    padding: 15px 0; 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; background: linear-gradient(90deg, #fff, var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { font-size: 0.95rem; font-weight: 500; opacity: 0.8; }
.nav-links a:hover { opacity: 1; color: var(--accent); }
.mobile-toggle { 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; }
.hero-content { text-align: center; max-width: 900px; margin: 0 auto; position: relative; z-index: 2; }
.badge {
    display: inline-block; padding: 8px 16px; border-radius: 50px;
    background: rgba(6, 182, 212, 0.1); border: 1px solid rgba(6, 182, 212, 0.3);
    color: var(--accent); font-size: 0.85rem; font-weight: 600; margin-bottom: 20px;
}
.hero-subtitle { font-size: 1.25rem; max-width: 700px; margin: 0 auto 40px; opacity: 0.8; }
.hero-ctas { display: flex; gap: 20px; justify-content: center; margin-bottom: 60px; flex-wrap: wrap; }
.trust-indicators { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; max-width: 600px; margin: 0 auto; }
.stat-card { text-align: center; padding: 20px; }
.stat-card span { font-size: 2rem; font-weight: 800; color: var(--accent); display: block; }
.stat-card p { margin: 0; font-size: 0.85rem; opacity: 0.7; }

/* --- SERVICES --- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.service-card .icon { font-size: 2.5rem; margin-bottom: 20px; display: block; }
.service-card h3 { margin-bottom: 10px; color: white; }
.service-card p { font-size: 0.95rem; opacity: 0.8; margin: 0; }

/* --- ARTICLE --- */
.article-container { max-width: 800px; }
.article-header { margin-bottom: 40px; border-bottom: 1px solid var(--glass-border); padding-bottom: 30px; }
.reading-time { font-size: 0.9rem; opacity: 0.6; margin-top: 10px; }
.content-body h2 { margin-top: 50px; margin-bottom: 20px; color: var(--accent); }
.content-body ul, .content-body ol { margin-bottom: 20px; padding-left: 20px; }
.content-body li { margin-bottom: 10px; position: relative; padding-left: 15px; }
.content-body li::before { content: '•'; color: var(--accent); position: absolute; left: 0; }
.content-link { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.content-link:hover { color: white; }

.callout-box { margin: 30px 0; border-left: 4px solid var(--accent); }
.callout-box h4 { color: var(--accent); margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }

/* --- FAQ --- */
.faq-grid { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 15px; }
.faq-item { padding: 0; overflow: hidden; }
.faq-item summary {
    padding: 25px 30px; cursor: pointer; font-weight: 600; font-size: 1.1rem;
    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(--accent); transition: var(--transition); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 30px 25px; margin: 0; opacity: 0.8; border-top: 1px solid var(--glass-border); padding-top: 20px; }

/* --- TESTIMONIALS --- */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.testimonial-card { display: flex; flex-direction: column; justify-content: space-between; }
.stars { color: #fbbf24; margin-bottom: 15px; letter-spacing: 2px; }
.author { display: flex; align-items: center; gap: 15px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--glass-border); }
.avatar {
    width: 45px; height: 45px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--accent));
    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; opacity: 0.6; }

/* --- CONTACT --- */
.contact-container { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-info h2 { margin-bottom: 20px; }
.info-item { margin: 25px 0; }
.info-item .label { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; opacity: 0.6; margin-bottom: 5px; }
.info-item a, .info-item span { font-size: 1.2rem; font-weight: 600; }
.contact-form { display: flex; flex-direction: column; gap: 15px; }
.contact-form input, .contact-form select, .contact-form textarea {
    width: 100%; padding: 15px 20px; border-radius: 12px; border: 1px solid var(--glass-border);
    background: rgba(255,255,255,0.03); color: white; font-family: inherit; font-size: 1rem;
    outline: none; transition: var(--transition);
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
    border-color: var(--accent); background: rgba(255,255,255,0.08);
}
.contact-form button { border: none; margin-top: 10px; }

/* --- FOOTER --- */
.site-footer { background: rgba(0,0,0,0.3); border-top: 1px solid var(--glass-border); padding: 80px 0 30px; margin-top: 50px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer-col h4 { margin-bottom: 20px; color: white; }
.footer-col p { font-size: 0.9rem; opacity: 0.7; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { font-size: 0.9rem; opacity: 0.7; }
.footer-col ul a:hover { opacity: 1; color: var(--accent); }
.social-icons { display: flex; gap: 10px; margin-top: 15px; }
.social-icons span {
    width: 35px; height: 35px; border-radius: 50%; border: 1px solid var(--glass-border);
    display: flex; align-items: center; justify-content: center; font-size: 0.7rem; cursor: pointer;
    transition: var(--transition);
}
.social-icons span:hover { background: var(--accent); border-color: var(--accent); color: var(--dark); }
.copyright { text-align: center; padding-top: 30px; border-top: 1px solid var(--glass-border); font-size: 0.85rem; opacity: 0.5; }

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .contact-container { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .nav-links { display: none; } /* Add JS toggle for production */
    .mobile-toggle { display: block; }
    .hero { padding-top: 120px; min-height: auto; padding-bottom: 80px; }
    h1 { font-size: 2.2rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .trust-indicators { grid-template-columns: 1fr; }
}

/* --- ANIMATIONS --- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.animate-fade-in { animation: fadeUp 0.8s ease forwards; }
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }