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

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --accent: #06b6d4;
    --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;
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Plus Jakarta Sans', sans-serif;
}

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

/* Background Gradients & Shapes */
body::before {
    content: '';
    position: fixed;
    top: -20%; left: -10%;
    width: 60vw; height: 60vw;
    background: radial-gradient(circle, rgba(37,99,235,0.15) 0%, rgba(255,255,255,0) 70%);
    z-index: -1;
    animation: floatBg 20s ease-in-out infinite alternate;
}
body::after {
    content: '';
    position: fixed;
    bottom: -20%; right: -10%;
    width: 50vw; height: 50vw;
    background: radial-gradient(circle, rgba(6,182,212,0.15) 0%, rgba(255,255,255,0) 70%);
    z-index: -1;
    animation: floatBg 25s ease-in-out infinite alternate-reverse;
}

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

/* Typography */
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; color: var(--dark); }
h1 { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -0.02em; 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: #475569; }
a { text-decoration: none; color: inherit; transition: 0.3s; }

/* Utilities */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 100px 0; }
.bg-alt { background: rgba(241, 245, 249, 0.5); }
.full-width { width: 100%; display: block; text-align: center; }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 60px; }

/* 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);
    box-shadow: var(--shadow);
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(31, 38, 135, 0.12);
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-glow {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    margin-left: 15px;
}
.btn-secondary:hover { background: var(--primary); color: white; }
.btn-glow {
    background: var(--primary);
    color: white;
    padding: 10px 24px;
    font-size: 0.9rem;
}

/* Navigation */
.glass-nav {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: 0.3s;
}
.glass-nav.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: var(--font-heading); font-weight: 800; font-size: 1.5rem; color: var(--dark); }
.nav-links { display: flex; gap: 30px; list-style: none; align-items: center; }
.nav-links a { font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover { color: var(--primary); }
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; }
.mobile-toggle span { display: block; width: 25px; height: 3px; background: var(--dark); margin: 5px 0; border-radius: 2px; }

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    overflow: hidden;
}
.hero-content { max-width: 900px; margin: 0 auto; text-align: center; position: relative; z-index: 2; }
.badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 25px;
}
.hero-text { font-size: 1.25rem; max-width: 700px; margin: 0 auto 40px; }
.hero-cta { margin-bottom: 60px; }
.trust-indicators { display: flex; justify-content: center; gap: 60px; flex-wrap: wrap; }
.stat-item { text-align: center; }
.stat-item span { font-size: 2.5rem; font-weight: 800; color: var(--primary); display: block; }
.stat-item p { font-size: 0.9rem; margin: 0; font-weight: 600; color: #64748b; }

.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    opacity: 0.6;
}
.shape-1 { width: 400px; height: 400px; background: #bfdbfe; top: 10%; left: -10%; animation: float 10s ease-in-out infinite; }
.shape-2 { width: 300px; height: 300px; background: #a5f3fc; bottom: 10%; right: -5%; animation: float 12s ease-in-out infinite reverse; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-30px); } }

/* 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); } }

/* Services Grid */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.service-card .icon-box { font-size: 2.5rem; margin-bottom: 20px; }
.feature-list { list-style: none; margin-top: 15px; padding-left: 0; }
.feature-list li { font-size: 0.9rem; color: #64748b; padding: 5px 0; display: flex; align-items: center; gap: 8px; }
.feature-list li::before { content: '✓'; color: var(--primary); font-weight: bold; }

/* Timeline */
.timeline { display: flex; justify-content: space-between; position: relative; flex-wrap: wrap; gap: 30px; }
.timeline::before {
    content: ''; position: absolute; top: 30px; left: 0; width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    z-index: 0;
}
.timeline-item { position: relative; z-index: 1; flex: 1; min-width: 200px; text-align: center; }
.step-number {
    width: 60px; height: 60px; background: white; border: 3px solid var(--primary);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1.2rem; color: var(--primary); margin: 0 auto 20px;
    transition: 0.3s;
}
.timeline-item:hover .step-number { background: var(--primary); color: white; }

/* Article Layout */
.article-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 60px; align-items: start; }
.article-content h2 { margin-top: 50px; padding-bottom: 15px; border-bottom: 2px solid rgba(37,99,235,0.1); }
.article-content h3 { margin-top: 30px; color: var(--primary-dark); }
.article-content .lead { font-size: 1.3rem; font-weight: 500; color: var(--dark); margin-bottom: 30px; }
.callout-box {
    background: linear-gradient(135deg, rgba(37,99,235,0.05), rgba(6,182,212,0.05));
    border-left: 4px solid var(--primary);
    padding: 25px; border-radius: 0 var(--radius) var(--radius) 0;
    margin: 40px 0;
}
.widget { margin-bottom: 30px; }
.widget h3 { font-size: 1.2rem; margin-bottom: 15px; padding-bottom: 10px; border-bottom: 1px solid rgba(0,0,0,0.05); }
.widget ul { list-style: none; }
.widget ul li { margin-bottom: 10px; }
.widget ul li a { color: var(--primary); font-weight: 500; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud span { background: rgba(37,99,235,0.1); color: var(--primary); padding: 5px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(500px, 1fr)); gap: 20px; }
.faq-item { padding: 0; overflow: hidden; }
.faq-item summary {
    padding: 25px 30px; cursor: pointer; font-weight: 600; font-size: 1.1rem;
    list-style: none; position: relative; padding-right: 50px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+'; position: absolute; right: 30px; top: 50%; transform: translateY(-50%);
    font-size: 1.5rem; color: var(--primary); transition: 0.3s;
}
.faq-item[open] summary::after { content: '−'; transform: translateY(-50%) rotate(180deg); }
.faq-item p { padding: 0 30px 25px; margin: 0; color: #64748b; border-top: 1px solid rgba(0,0,0,0.03); padding-top: 20px; }

/* Testimonials */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.stars { color: #fbbf24; font-size: 1.2rem; margin-bottom: 15px; }
.reviewer { display: flex; align-items: center; gap: 15px; margin-top: 20px; }
.avatar {
    width: 50px; height: 50px; background: var(--primary); color: white;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1.1rem;
}
.reviewer strong { display: block; font-size: 0.95rem; }
.reviewer span { font-size: 0.8rem; color: #64748b; }

/* Contact */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info h2 { margin-bottom: 20px; }
.info-item { margin-bottom: 25px; }
.info-item .label { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: #64748b; margin-bottom: 5px; font-weight: 600; }
.info-item a, .info-item p { font-size: 1.2rem; font-weight: 600; color: var(--dark); margin: 0; }
.map-btn { margin-top: 20px; width: 100%; text-align: center; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; font-size: 0.9rem; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 14px; border: 1px solid #e2e8f0; border-radius: 10px;
    font-family: inherit; font-size: 1rem; transition: 0.3s; background: rgba(255,255,255,0.8);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

/* Footer */
footer { background: var(--dark); color: white; padding: 80px 0 30px; margin-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
.footer-col h4 { color: white; margin-bottom: 25px; font-size: 1.2rem; }
.footer-col p { color: #94a3b8; font-size: 0.95rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: #94a3b8; font-size: 0.95rem; }
.footer-col ul li a:hover { color: white; }
.social-icons { display: flex; gap: 15px; margin-top: 20px; }
.social-icons span {
    width: 40px; height: 40px; background: rgba(255,255,255,0.1); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.3s;
}
.social-icons span:hover { background: var(--primary); }
.copyright { text-align: center; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.1); color: #64748b; font-size: 0.9rem; }

/* Responsive */
@media (max-width: 992px) {
    .article-layout { grid-template-columns: 1fr; }
    .article-sidebar { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-top: 40px; }
    .widget { margin-bottom: 0; }
    .contact-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-toggle { display: block; }
    .hero { padding-top: 120px; min-height: auto; padding-bottom: 80px; }
    h1 { font-size: 2.2rem; }
    .timeline::before { display: none; }
    .timeline { flex-direction: column; }
    .timeline-item { text-align: left; display: flex; gap: 20px; align-items: flex-start; }
    .step-number { margin: 0; flex-shrink: 0; width: 50px; height: 50px; font-size: 1rem; }
    .faq-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .hero-cta { display: flex; flex-direction: column; gap: 15px; }
    .btn-secondary { margin-left: 0; }
}