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

:root {
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --accent: #f59e0b;
    --dark: #0f172a;
    --darker: #020617;
    --light: #f8fafc;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --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: var(--font-body);
    background-color: var(--darker);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

/* Animated Background Gradients */
.bg-gradient {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.4;
    animation: float 20s infinite ease-in-out;
}

.gradient-1 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -10%;
    left: -10%;
}

.gradient-2 {
    width: 500px;
    height: 500px;
    background: #8b5cf6;
    bottom: 10%;
    right: -5%;
    animation-delay: -5s;
}

.gradient-3 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    top: 40%;
    left: 30%;
    animation-delay: -10s;
}

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

/* Typography & Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 1.5rem; }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
p { margin-bottom: 1.5rem; color: var(--text-muted); }

.accent { color: var(--accent); }
.section { padding: 100px 0; position: relative; }
.section-title { text-align: center; margin-bottom: 60px; position: relative; display: inline-block; left: 50%; transform: translateX(-50%); }
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Glassmorphism Cards */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--glass-shadow);
    transition: var(--transition);
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255,255,255,0.3);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.15);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    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(--primary-dark));
    color: white;
}

.btn-secondary {
    background: rgba(255,255,255,0.1);
    color: white;
    border: 1px solid var(--glass-border);
}

.btn:hover { transform: translateY(-2px); filter: brightness(1.1); }

.glow-btn {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}
.glow-btn:hover {
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.6);
}

.full-width { width: 100%; }

/* Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

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

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover, .nav-links a.active { color: white; }
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}
.nav-links a:hover::after { width: 100%; }

.mobile-toggle { display: none; background: none; border: none; cursor: pointer; }
.mobile-toggle span { display: block; width: 25px; height: 3px; background: white; margin: 5px 0; transition: var(--transition); }

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    text-align: center;
}

.hero-content { max-width: 900px; margin: 0 auto; }

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--accent);
    border-color: rgba(245, 158, 11, 0.3);
}

.hero-intro { font-size: 1.25rem; max-width: 700px; margin: 0 auto 40px; }

.hero-ctas { display: flex; gap: 20px; justify-content: center; margin-bottom: 60px; flex-wrap: wrap; }

.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.glass-stat {
    text-align: center;
    padding: 20px 30px;
}

.glass-stat span { font-size: 2.5rem; font-weight: 800; color: white; font-family: var(--font-heading); }
.glass-stat p { margin: 0; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.card-icon { font-size: 2.5rem; margin-bottom: 20px; }
.card-features { list-style: none; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--glass-border); }
.card-features li { padding: 5px 0; font-size: 0.9rem; color: var(--text-muted); display: flex; align-items: center; gap: 10px; }
.card-features li::before { content: '✓'; color: var(--accent); font-weight: bold; }

/* Timeline */
.timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    flex-wrap: wrap;
    gap: 20px;
}

.timeline-item { flex: 1; min-width: 200px; text-align: center; position: relative; z-index: 2; }
.step-number {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255,255,255,0.05);
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
    font-family: var(--font-heading);
}
.timeline-connector { display: none; } /* Hidden on mobile, visible on desktop via media query if needed */

/* Article Section */
.article-container { max-width: 800px; margin: 0 auto; }
.article-meta {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
    font-size: 0.9rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.article-section h2 { margin-top: 50px; font-size: 2rem; }
.article-section h3 { margin-top: 30px; color: var(--primary); }
.article-section ul.checklist { list-style: none; margin: 20px 0; }
.article-section ul.checklist li { padding: 10px 0; padding-left: 30px; position: relative; }
.article-section ul.checklist li::before { content: '✔'; position: absolute; left: 0; color: var(--accent); }

.comparison-table { overflow-x: auto; margin: 30px 0; padding: 0; }
.comparison-table table { width: 100%; border-collapse: collapse; }
.comparison-table th, .comparison-table td { padding: 15px; text-align: left; border-bottom: 1px solid var(--glass-border); }
.comparison-table th { color: white; background: rgba(255,255,255,0.05); }
.comparison-table tr:last-child td { border-bottom: none; }

.article-section a { color: var(--primary); text-decoration: underline; text-decoration-color: rgba(59,130,246,0.3); text-underline-offset: 3px; transition: var(--transition); }
.article-section a:hover { color: var(--accent); text-decoration-color: var(--accent); }

/* FAQ */
.faq-grid { display: grid; gap: 15px; max-width: 800px; margin: 0 auto; }
.faq-item { padding: 0; overflow: hidden; }
.faq-item summary {
    padding: 20px 30px;
    cursor: pointer;
    font-weight: 600;
    color: white;
    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 20px; margin: 0; border-top: 1px solid var(--glass-border); padding-top: 20px; }

/* Testimonials */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.stars { color: var(--accent); margin-bottom: 15px; letter-spacing: 2px; }
.client-info { display: flex; align-items: center; gap: 15px; margin-top: 20px; }
.avatar {
    width: 50px; height: 50px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex; align-items: center; justify-content: center; font-weight: bold; color: white;
}
.client-info strong { display: block; color: white; }
.client-info span { font-size: 0.85rem; color: var(--text-muted); }

/* Contact Section */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.info-item { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 25px; }
.info-item .icon { font-size: 1.5rem; }
.info-item a, .info-item address { color: var(--text-main); text-decoration: none; font-style: normal; }
.info-item a:hover { color: var(--accent); }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; color: white; }
.form-group input, .form-group textarea {
    width: 100%; padding: 12px 15px; border-radius: 8px; border: 1px solid var(--glass-border);
    background: rgba(0,0,0,0.2); color: white; font-family: inherit; transition: var(--transition);
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); background: rgba(0,0,0,0.4); }

/* Footer */
.glass-footer {
    background: rgba(0,0,0,0.4); backdrop-filter: blur(20px); border-top: 1px solid var(--glass-border);
    padding: 80px 0 30px; margin-top: 100px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
.footer-col h3, .footer-col h4 { margin-bottom: 20px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: var(--text-muted); text-decoration: none; transition: var(--transition); }
.footer-col a:hover { color: var(--accent); padding-left: 5px; }
.copyright { text-align: center; padding-top: 30px; border-top: 1px solid var(--glass-border); font-size: 0.9rem; color: var(--text-muted); }

/* Responsive Design */
@media (max-width: 992px) {
    .contact-grid, .footer-grid { grid-template-columns: 1fr; }
    .timeline { flex-direction: column; }
    .timeline-connector { display: block; height: 30px; width: 2px; background: var(--glass-border); margin: 0 auto; }
}

@media (max-width: 768px) {
    .nav-links { 
        position: fixed; top: 0; right: -100%; width: 80%; height: 100vh; 
        background: var(--darker); flex-direction: column; justify-content: center; 
        align-items: center; transition: var(--transition); border-left: 1px solid var(--glass-border);
    }
    .nav-links.active { right: 0; }
    .mobile-toggle { display: block; z-index: 1001; }
    .mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
    .mobile-toggle.active span:nth-child(2) { opacity: 0; }
    .mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }
    
    h1 { font-size: 2.2rem; }
    .hero { padding-top: 120px; min-height: auto; padding-bottom: 80px; }
    .trust-indicators { gap: 15px; }
    .glass-stat { padding: 15px; min-width: 100px; }
    .glass-stat span { font-size: 1.8rem; }
}

/* Scroll Reveal Animation Class */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }