/* =========================================
   MODERN GLASSMORPHISM DESIGN SYSTEM
   ========================================= */

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --accent: #ec4899;
    --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.07);
    --radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--light);
    color: var(--dark);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

/* ANIMATED BACKGROUND */
.bg-shape {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.6;
    animation: float 20s infinite ease-in-out;
}
.shape-1 { width: 600px; height: 600px; background: #c7d2fe; top: -100px; left: -100px; }
.shape-2 { width: 500px; height: 500px; background: #fbcfe8; bottom: 10%; right: -100px; animation-delay: -5s; }
.shape-3 { width: 400px; height: 400px; background: #a5f3fc; top: 40%; left: 30%; animation-delay: -10s; }

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* UTILITY CLASSES */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 100px 0; }
.section-title { 
    font-size: 2.5rem; 
    text-align: center; 
    margin-bottom: 60px; 
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* GLASS CARD BASE */
.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: 30px;
    transition: var(--transition);
}

/* BUTTONS */
.btn-primary, .btn-secondary, .btn-glow {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(99, 102, 241, 0.6); }
.btn-secondary {
    background: rgba(255,255,255,0.8);
    color: var(--dark);
    margin-left: 15px;
}
.btn-secondary:hover { background: white; transform: translateY(-3px); }
.btn-full { width: 100%; text-align: center; }
.btn-lift:hover { transform: translateY(-5px); }

/* NAVIGATION */
.glass-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.3);
    padding: 15px 0;
    transition: var(--transition);
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: 800; color: var(--primary); text-decoration: none; }
.nav-links { display: flex; gap: 30px; 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-menu-btn { display: none; font-size: 1.8rem; cursor: pointer; }

/* HERO */
.hero { 
    min-height: 100vh; 
    display: flex; 
    align-items: center; 
    padding-top: 100px; 
    text-align: center;
}
.hero-content { max-width: 900px; margin: 0 auto; }
.badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(99,102,241,0.1);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 25px;
    font-size: 0.9rem;
}
.hero h1 { font-size: 3.5rem; line-height: 1.2; margin-bottom: 25px; letter-spacing: -1px; }
.hero-text { font-size: 1.25rem; color: #475569; margin-bottom: 40px; max-width: 700px; margin-left: auto; margin-right: auto; }
.trust-stats { display: flex; justify-content: center; gap: 20px; margin-top: 60px; flex-wrap: wrap; }
.stat-card { padding: 20px 30px; font-weight: 700; font-size: 1.1rem; }
.counter { font-size: 2rem; color: var(--primary); margin-right: 5px; }

/* SERVICES GRID */
.services-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
    gap: 30px; 
}
.service-card { position: relative; overflow: hidden; }
.icon-box { font-size: 3rem; margin-bottom: 20px; }
.service-card h3 { font-size: 1.4rem; margin-bottom: 12px; }
.hover-3d:hover { transform: perspective(1000px) rotateX(5deg) rotateY(5deg) translateY(-10px); }

/* ARTICLE STYLES */
.article-container { max-width: 850px; }
.article-header { text-align: center; margin-bottom: 50px; }
.article-header h2 { font-size: 2.8rem; margin-bottom: 15px; }
.meta-info { color: #64748b; font-style: italic; }
.content-body h2 { font-size: 2rem; margin: 50px 0 20px; color: var(--dark); }
.content-body h3 { font-size: 1.5rem; margin: 35px 0 15px; color: var(--primary-dark); }
.content-body p { margin-bottom: 20px; font-size: 1.1rem; color: #334155; }
.content-body a { color: var(--primary); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.content-body a:hover { color: var(--accent); }

.callout-box, .checklist-box, .stats-highlight {
    margin: 40px 0;
    border-left: 4px solid var(--primary);
}
.tip-box { border-left-color: #10b981; }
.checklist-box ul { list-style: none; padding-left: 0; }
.checklist-box li { padding: 8px 0; padding-left: 30px; position: relative; }
.checklist-box li::before { content: "✓"; position: absolute; left: 0; color: #10b981; font-weight: bold; }
.stats-highlight { display: flex; gap: 30px; justify-content: space-around; text-align: center; border-left: none; }
.stat-item strong { display: block; font-size: 2.5rem; color: var(--accent); }

/* FAQ */
.faq-grid { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 15px; }
.faq-item { cursor: pointer; }
.faq-item summary { 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(--primary); transition: var(--transition); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin-top: 15px; color: #475569; padding-top: 15px; border-top: 1px solid rgba(0,0,0,0.05); }

/* TESTIMONIALS */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.stars { color: #fbbf24; font-size: 1.3rem; margin-bottom: 15px; }
.author { margin-top: 20px; padding-top: 15px; border-top: 1px solid rgba(0,0,0,0.05); }
.author span { display: block; font-size: 0.85rem; color: #64748b; margin-top: 3px; }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.info-item { margin: 25px 0; }
.info-item .label { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: #64748b; margin-bottom: 5px; }
.info-item a, .info-item p { font-size: 1.2rem; font-weight: 600; color: var(--dark); text-decoration: none; }
.form-group { margin-bottom: 20px; }
.form-group input, .form-group textarea {
    width: 100%; padding: 15px; border: 1px solid rgba(0,0,0,0.1);
    border-radius: 10px; font-family: inherit; font-size: 1rem;
    background: rgba(255,255,255,0.5); transition: var(--transition);
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); background: white; }

/* FOOTER */
.site-footer { background: var(--dark); color: white; padding: 80px 0 30px; margin-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 60px; }
.footer-col h4 { font-size: 1.2rem; margin-bottom: 20px; color: white; }
.footer-col p, .footer-col a { color: #94a3b8; text-decoration: none; line-height: 1.8; }
.footer-col ul { list-style: none; }
.footer-col a:hover { color: white; }
.copyright { text-align: center; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.1); color: #64748b; font-size: 0.9rem; }
.copyright a { color: #94a3b8; }

/* RESPONSIVE */
@media (max-width: 900px) {
    .hero h1 { font-size: 2.5rem; }
    .contact-grid, .footer-grid { grid-template-columns: 1fr; }
    .stats-highlight { flex-direction: column; gap: 15px; }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    .hero { padding-top: 120px; min-height: auto; padding-bottom: 80px; }
    .section { padding: 60px 0; }
    .section-title { font-size: 2rem; }
    .article-header h2 { font-size: 2rem; }
}

/* SCROLL REVEAL ANIMATION CLASS */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }