/* 
    MODERN SAAS / GLASSMORPHISM THEME 
    Color Palette: Deep Navy, Vibrant Blue, White, Soft Gray
*/

: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-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    --gradient: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(6, 182, 212, 0.15) 0%, transparent 40%);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
    position: relative;
}

/* --- UTILITIES --- */
.glass-card {
    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(--glass-shadow);
}

.btn-primary {
    display: inline-block;
    background: var(--gradient);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, #06b6d4 0%, #2563eb 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(37, 99, 235, 0.4); }

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    border: 1px solid var(--glass-border);
    margin-left: 10px;
}

.btn-secondary:hover { background: rgba(255,255,255,0.1); }

.btn-glow {
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.5);
}

.accent { color: var(--accent); }
.text-link { color: var(--accent); text-decoration: underline; }
.mt-2 { margin-top: 1rem; }
.btn-block { display: block; text-align: center; width: 100%; margin-left: 0;}

/* --- NAVIGATION --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: 0.3s;
}

.glass-nav {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    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;
    font-family: 'Outfit', sans-serif;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a { font-size: 0.95rem; font-weight: 500; }
.nav-links a:hover { 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: 80px;
    position: relative;
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    animation: float 10s infinite ease-in-out;
}

.shape-1 { width: 400px; height: 400px; background: var(--primary); top: -100px; right: -100px; opacity: 0.2; }
.shape-2 { width: 300px; height: 300px; background: var(--accent); bottom: 10%; left: -50px; opacity: 0.15; animation-delay: 2s; }

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

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

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(37, 99, 235, 0.2);
    border: 1px solid rgba(37, 99, 235, 0.4);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 40px; max-width: 700px; margin-left: auto; margin-right: auto; }

.stats-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.stat-card {
    padding: 20px 30px;
    text-align: center;
    min-width: 150px;
}

.stat-card i { font-size: 1.5rem; color: var(--accent); margin-bottom: 10px; }
.stat-card span { font-size: 2rem; font-weight: 700; display: block; }
.stat-card p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

/* --- SERVICES --- */
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 2.5rem; }
.section-header p { color: var(--text-muted); }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    padding: 40px 30px;
    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(37, 99, 235, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.service-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.service-card p { color: var(--text-muted); font-size: 0.95rem; }

/* --- PROCESS TIMELINE --- */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--glass-border);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 50px;
    position: relative;
    margin-bottom: 40px;
    width: 50%;
}

.timeline-item:nth-child(even) {
    align-self: flex-end;
    justify-content: flex-start;
    padding-left: 50px;
    padding-right: 0;
    margin-left: 50%;
}

.timeline-icon {
    position: absolute;
    right: -20px;
    top: 20px;
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    z-index: 2;
    box-shadow: 0 0 15px var(--primary);
}

.timeline-item:nth-child(even) .timeline-icon { left: -20px; right: auto; }

.timeline-content { padding: 20px; width: 100%; }

/* --- ARTICLE --- */
.article-container { max-width: 900px; margin: 0 auto; }
.article-meta { margin-bottom: 20px; display: flex; gap: 15px; font-size: 0.9rem; color: var(--text-muted); }
.tag { background: rgba(6, 182, 212, 0.1); color: var(--accent); padding: 4px 12px; border-radius: 20px; }

.article-section h2 { font-size: 2rem; margin-top: 40px; margin-bottom: 20px; color: white; }
.article-section h3 { font-size: 1.5rem; margin-top: 30px; margin-bottom: 15px; color: var(--accent); }
.article-section p { margin-bottom: 20px; color: var(--text-muted); font-size: 1.05rem; }
.lead { font-size: 1.25rem !important; color: var(--text-main) !important; font-weight: 500; }

.callout-box {
    padding: 25px;
    margin: 30px 0;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    border-left: 4px solid var(--accent);
}
.callout-box i { font-size: 1.5rem; color: var(--accent); margin-top: 5px; }

.comparison-table { padding: 20px; margin: 30px 0; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 15px; text-align: left; border-bottom: 1px solid var(--glass-border); }
th { color: var(--accent); font-weight: 600; }
td { color: var(--text-muted); }

.cta-banner {
    margin-top: 50px;
    padding: 40px;
    text-align: center;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(6, 182, 212, 0.1));
    border: 1px solid var(--primary);
}

/* --- TESTIMONIALS --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card { padding: 30px; }
.stars { color: #fbbf24; margin-bottom: 15px; }
.client-info { display: flex; align-items: center; gap: 15px; margin-top: 20px; }
.avatar {
    width: 45px; height: 45px;
    background: var(--gradient);
    border-radius: 50%;
    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); }

/* --- FAQ --- */
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { margin-bottom: 15px; overflow: hidden; }
.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: 0.3s;
}
.faq-question:hover { color: var(--accent); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: 0.3s ease;
    color: var(--text-muted);
    border-top: 1px solid transparent;
}
.faq-item.active .faq-answer { max-height: 200px; padding-bottom: 20px; border-top: 1px solid var(--glass-border); }
.faq-item.active .faq-question i { transform: rotate(180deg); }

/* --- CONTACT --- */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info { padding: 40px; display: flex; flex-direction: column; gap: 25px; }
.info-item { display: flex; align-items: center; gap: 15px; font-size: 1.1rem; }
.info-item i { color: var(--accent); width: 25px; }

.contact-form { padding: 40px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-size: 0.9rem; color: var(--text-muted); }
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: white;
    font-family: inherit;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); }

/* --- FOOTER --- */
.footer {
    background: #020617;
    padding: 60px 0 20px;
    border-top: 1px solid var(--glass-border);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-col h4 { color: white; margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: var(--text-muted); }
.footer-col ul li a:hover { color: var(--accent); }
.social-icons { display: flex; gap: 15px; }
.social-icons a {
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.05);
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
}
.social-icons a:hover { background: var(--primary); color: white; }
.copyright { text-align: center; padding-top: 20px; border-top: 1px solid var(--glass-border); color: var(--text-muted); font-size: 0.9rem; }

/* --- ANIMATIONS --- */
.animate-fade-in { animation: fadeIn 1s ease forwards; opacity: 0; }
.animate-slide-up { animation: slideUp 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 fadeIn { to { opacity: 1; } }
@keyframes slideUp { to { opacity: 1; transform: translateY(0); } }

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .hero h1 { font-size: 2.8rem; }
    .contact-container { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links { display: none; } /* Simplified mobile menu logic for demo */
    .mobile-toggle { display: block; }
    .hero h1 { font-size: 2.2rem; }
    .timeline::before { left: 20px; }
    .timeline-item { width: 100%; padding-left: 50px; padding-right: 0; margin-left: 0; }
    .timeline-item:nth-child(even) { margin-left: 0; padding-left: 50px; }
    .timeline-icon { left: 0 !important; right: auto !important; }
    .footer-grid { grid-template-columns: 1fr; }
}