/* =========================================
   MODERN SAAS / GLASSMORPHISM THEME
   ========================================= */

: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.3);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --radius: 16px;
    --font-main: 'Inter', sans-serif;
    --font-display: 'Outfit', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-main);
    color: var(--dark);
    background-color: #f1f5f9;
    line-height: 1.7;
    overflow-x: hidden;
    /* Abstract Background Gradient */
    background-image: 
        radial-gradient(at 0% 0%, hsla(253,16%,7%,1) 0, transparent 50%), 
        radial-gradient(at 50% 0%, hsla(225,39%,30%,1) 0, transparent 50%), 
        radial-gradient(at 100% 0%, hsla(339,49%,30%,1) 0, transparent 50%);
    background-size: 100% 100vh;
    background-repeat: no-repeat;
}

/* Utility Classes */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; position: relative; }
.hidden { opacity: 0; transform: translateY(30px); transition: all 0.8s ease; }
.visible { opacity: 1; transform: translateY(0); }

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

/* Glassmorphism Components */
.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);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255,255,255,0.6);
}

/* Buttons */
.btn-glow {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
}

.btn-glow:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(236, 72, 153, 0.6);
}

.btn-outline {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: white; }

/* Navigation */
.glass-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.glass-nav.scrolled {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; color: white; text-decoration: none; }
.logo span { color: var(--accent); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { color: rgba(255,255,255,0.8); text-decoration: none; font-weight: 500; transition: color 0.3s; }
.nav-links a:hover { color: white; }
.mobile-toggle { display: none; background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; }

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    color: white;
    overflow: hidden;
}

.hero-content { max-width: 800px; position: relative; z-index: 2; }
.badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(5px);
}

.hero-text { font-size: 1.25rem; color: rgba(255,255,255,0.8); max-width: 600px; margin-bottom: 2.5rem; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }

.trust-indicators { display: flex; gap: 2rem; flex-wrap: wrap; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); }
.stat-item { font-size: 0.9rem; color: rgba(255,255,255,0.7); }
.stat-item strong { color: white; font-size: 1.1rem; margin-right: 5px; }

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

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

/* Animations */
.animate-fade-up { animation: fadeUp 0.8s ease forwards; opacity: 0; transform: translateY(30px); }
.animate-fade-down { animation: fadeDown 0.8s ease forwards; opacity: 0; transform: translateY(-30px); }
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeDown { to { opacity: 1; transform: translateY(0); } }

/* Services Grid */
.services-section { background: transparent; }
.section-header { text-align: center; margin-bottom: 4rem; color: white; }
.section-header p { color: rgba(255,255,255,0.7); }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.service-card { text-align: center; }
.icon-box { font-size: 3rem; margin-bottom: 1rem; display: inline-block; }

/* Article Styling */
.article-section { background: white; }
.article-container { max-width: 800px; }
.article-container h2 { margin-top: 3rem; color: var(--dark); }
.article-container h3 { margin-top: 2rem; color: var(--primary-dark); }
.inline-link { color: var(--primary); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; font-weight: 600; }
.inline-link:hover { color: var(--accent); }

.callout-box, .highlight-card, .quote-box {
    margin: 2rem 0;
    padding: 1.5rem;
    border-radius: var(--radius);
    border-left: 4px solid var(--primary);
    background: #f8fafc;
}
.tip-box { border-color: #10b981; background: #ecfdf5; }
.quote-box { font-style: italic; font-size: 1.2rem; text-align: center; border: none; background: #f1f5f9; border-radius: 50px; }
.checklist { list-style: none; padding-left: 0; }
.checklist li { margin-bottom: 0.5rem; padding-left: 1.5rem; position: relative; }

/* FAQ Accordion */
.faq-section { background: #f8fafc; }
.faq-grid { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.faq-item { padding: 0; overflow: hidden; }
.faq-item summary {
    padding: 1.5rem;
    font-weight: 600;
    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; font-weight: 300; transition: transform 0.3s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 1.5rem 1.5rem; margin: 0; color: #64748b; }

/* Testimonials */
.testimonials-section { background: white; }
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.stars { color: #fbbf24; margin-bottom: 1rem; letter-spacing: 2px; }
.reviewer { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid #e2e8f0; font-size: 0.9rem; }
.reviewer strong { display: block; color: var(--dark); }
.reviewer span { color: #94a3b8; }

/* Contact Section */
.contact-section { background: linear-gradient(to bottom, #f8fafc, #e2e8f0); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.info-item { margin-bottom: 1.5rem; }
.info-item .label { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: #94a3b8; margin-bottom: 0.3rem; }
.info-item a, .info-item span { font-size: 1.1rem; font-weight: 500; color: var(--dark); text-decoration: none; }
.map-btn { width: 100%; text-align: center; margin-top: 1rem; }

.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 500; }
.form-group input, .form-group textarea {
    width: 100%; padding: 12px; border: 1px solid #cbd5e1; border-radius: 8px;
    font-family: inherit; transition: border-color 0.3s;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); }
.submit-btn { width: 100%; }

/* Footer */
.site-footer { background: var(--dark); color: white; padding: 4rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-col h3, .footer-col h4 { color: white; margin-bottom: 1.5rem; }
.footer-col p { color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.8rem; }
.footer-col ul a { color: rgba(255,255,255,0.6); text-decoration: none; transition: color 0.3s; }
.footer-col ul a:hover { color: white; }
.copyright { padding: 2rem 0; text-align: center; font-size: 0.85rem; color: rgba(255,255,255,0.4); }
.copyright a { color: rgba(255,255,255,0.6); }

/* Responsive Design */
@media (max-width: 900px) {
    .contact-grid, .footer-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; } /* Simplified mobile handling */
    .mobile-toggle { display: block; }
    .hero-content { text-align: center; margin: 0 auto; }
    .hero-btns { justify-content: center; }
    .trust-indicators { justify-content: center; }
}

@media (max-width: 600px) {
    h1 { font-size: 2.2rem; }
    .section { padding: 50px 0; }
    .glass-card { padding: 1.5rem; }
}