/* 
 * MODERN SaaS INSPIRED THEME 
 * Glassmorphism, Gradients, Premium Typography
 */

:root {
    --primary: #4f46e5;
    --primary-dark: #4338ca;
    --accent: #06b6d4;
    --dark: #0f172a;
    --light: #f8fafc;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    --gradient: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
    --font-head: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

/* Background Mesh Gradient */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(79, 70, 229, 0.05), transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.08), transparent 40%);
    z-index: -1;
    animation: bgShift 20s ease infinite alternate;
}

@keyframes bgShift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-5%, -5%); }
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* TYPOGRAPHY */
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
p { margin-bottom: 1.5rem; color: #475569; }

/* GLASSMORPHISM UTILS */
.glass-card, .glass-nav, .glass-article {
    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(--shadow);
}

/* BUTTONS */
.btn-glow {
    display: inline-block;
    padding: 14px 32px;
    background: var(--gradient);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}
.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.4);
}
.btn-outline {
    display: inline-block;
    padding: 14px 32px;
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 600;
    transition: 0.3s;
}
.btn-outline:hover { background: var(--primary); color: white; }
.full-width { width: 100%; text-align: center; }

/* NAVIGATION */
.glass-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1200px;
    padding: 15px 30px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo { font-family: var(--font-head); font-size: 1.5rem; font-weight: 800; color: var(--dark); }
.logo span { color: var(--primary); }
.nav-links { display: flex; gap: 30px; }
.nav-links a { font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover { color: var(--primary); }
.mobile-toggle { display: none; font-size: 1.5rem; cursor: pointer; }

/* HERO */
.hero {
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
}
.badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
}
.hero-text { max-width: 700px; margin: 20px auto 40px; font-size: 1.2rem; }
.hero-btns { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.trust-indicators {
    display: flex; justify-content: center; gap: 30px; margin-top: 60px;
    font-size: 0.9rem; font-weight: 600; color: var(--dark);
}
.trust-item i { color: var(--accent); margin-right: 8px; }

/* Floating Shapes */
.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.6;
}
.shape-1 { width: 400px; height: 400px; background: var(--primary); top: 10%; left: -10%; animation: float 8s ease-in-out infinite; }
.shape-2 { width: 300px; height: 300px; background: var(--accent); bottom: 10%; right: -5%; animation: float 10s ease-in-out infinite reverse; }

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

/* STATS */
.stats-section { padding: 60px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.stat-card { padding: 40px; text-align: center; transition: 0.3s; }
.stat-card:hover { transform: translateY(-5px); }
.stat-card i { font-size: 2.5rem; color: var(--primary); margin-bottom: 15px; }
.stat-card h3 { font-size: 3rem; color: var(--dark); margin: 0; }
.stat-card p { margin: 0; font-weight: 600; color: #64748b; }

/* SERVICES */
.services-section { padding: 100px 0; }
.section-header { text-align: center; max-width: 600px; margin: 0 auto 60px; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.service-card { padding: 40px; transition: 0.4s; position: relative; overflow: hidden; }
.service-card:hover { transform: translateY(-10px); border-color: var(--primary); }
.icon-box {
    width: 60px; height: 60px; background: rgba(79, 70, 229, 0.1);
    border-radius: 12px; display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: var(--primary); margin-bottom: 20px;
}

/* ARTICLE CONTENT */
.content-section { padding: 80px 0; }
.article-layout { max-width: 900px; margin: 0 auto; }
.glass-article { padding: 60px; }
.article-content h2 { margin-top: 40px; color: var(--dark); }
.article-content h3 { margin-top: 30px; color: var(--primary-dark); }
.content-link { color: var(--primary); font-weight: 600; border-bottom: 2px solid transparent; }
.content-link:hover { border-bottom-color: var(--primary); }
.callout-box {
    background: rgba(6, 182, 212, 0.1);
    border-left: 4px solid var(--accent);
    padding: 20px;
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
    display: flex; align-items: start; gap: 15px;
}
.callout-box i { color: var(--accent); margin-top: 4px; }
.callout-box p { margin: 0; color: var(--dark); }

/* FAQ */
.faq-section { padding: 80px 0; }
.faq-grid { display: grid; gap: 15px; max-width: 900px; margin: 40px auto 0; }
.faq-item { padding: 20px 30px; cursor: pointer; transition: 0.3s; }
.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); }
.faq-item[open] summary::after { content: '-'; }
.faq-item p { margin-top: 15px; margin-bottom: 0; padding-top: 15px; border-top: 1px solid rgba(0,0,0,0.05); }

/* TESTIMONIALS */
.testimonials-section { padding: 80px 0; }
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; }
.testimonial-card { padding: 40px; }
.stars { color: #fbbf24; margin-bottom: 15px; }
.author { display: flex; align-items: center; gap: 15px; margin-top: 20px; }
.initials {
    width: 45px; height: 45px; background: var(--gradient); color: white;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1.1rem;
}

/* CONTACT */
.contact-section { padding: 100px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.contact-info { padding: 50px; }
.info-item { display: flex; align-items: center; gap: 15px; margin: 25px 0; font-size: 1.1rem; }
.info-item i { color: var(--primary); width: 25px; }
.contact-form { padding: 50px; }
.form-group { margin-bottom: 20px; }
.form-group input, .form-group textarea {
    width: 100%; padding: 15px; border: 1px solid #e2e8f0; border-radius: 8px;
    font-family: inherit; background: rgba(255,255,255,0.8); transition: 0.3s;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(79,70,229,0.1); }

/* FOOTER */
.site-footer { background: var(--dark); color: white; padding: 80px 0 30px; margin-top: 80px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 60px; }
.footer-col h4 { font-size: 1.2rem; margin-bottom: 20px; color: white; }
.footer-col p, .footer-col li { color: #94a3b8; font-size: 0.95rem; margin-bottom: 10px; }
.footer-col a:hover { color: var(--accent); }
.social-icons { display: flex; gap: 15px; margin-top: 20px; }
.social-icons a { width: 40px; height: 40px; background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: 0.3s; }
.social-icons a:hover { background: var(--primary); transform: translateY(-3px); }
.copyright { text-align: center; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.1); color: #64748b; font-size: 0.9rem; }

/* ANIMATIONS */
.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: 768px) {
    .glass-nav { padding: 15px 20px; }
    .nav-links { 
        position: fixed; top: 80px; left: 0; width: 100%; 
        background: rgba(255,255,255,0.95); backdrop-filter: blur(20px);
        flex-direction: column; padding: 30px; gap: 20px;
        transform: translateY(-150%); transition: 0.4s; z-index: 999;
    }
    .nav-links.active { transform: translateY(0); }
    .mobile-toggle { display: block; }
    .hero { padding: 140px 0 60px; }
    .contact-grid { grid-template-columns: 1fr; }
    .glass-article { padding: 30px; }
    h1 { font-size: 2.2rem; }
}