/* =========================================
   MODERN SAAS AUTO DETAILING THEME
   Glassmorphism + Dark Premium Aesthetic
   ========================================= */

:root {
    --primary: #3b82f6;
    --primary-glow: rgba(59, 130, 246, 0.5);
    --accent: #06b6d4;
    --bg-dark: #0f172a;
    --bg-card: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --shadow-glow: 0 0 30px rgba(59, 130, 246, 0.15);
    --radius: 16px;
    --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: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Utility Classes */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 100px 0; position: relative; }
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 2rem;
    transition: var(--transition);
}
.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255,255,255,0.2);
    box-shadow: var(--shadow-glow);
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}
.btn-primary:hover { transform: scale(1.05); box-shadow: 0 0 25px var(--primary-glow); }
.btn-glow { box-shadow: 0 0 20px var(--primary-glow); }
.btn-secondary {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: white; }

/* Typography */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; margin-bottom: 1rem; }
h1 { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.5rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
p { color: var(--text-muted); margin-bottom: 1.5rem; font-size: 1.05rem; }
a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary); }

/* Navigation */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}
.navbar.scrolled {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(20px);
    padding: 0.75rem 0;
    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; color: white; display: flex; align-items: center; gap: 10px; }
.logo i { color: var(--primary); }
.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-links a { color: var(--text-muted); font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover { color: white; }
.mobile-toggle { display: none; font-size: 1.5rem; cursor: pointer; }

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}
.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 10s ease-in-out infinite;
}
.shape-1 { width: 400px; height: 400px; background: var(--primary); top: -100px; right: -100px; }
.shape-2 { width: 300px; height: 300px; background: var(--accent); bottom: 10%; left: -50px; animation-delay: 2s; }
.hero-content { position: relative; z-index: 2; max-width: 800px; }
.badge {
    display: inline-block;
    background: rgba(59, 130, 246, 0.15);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(59, 130, 246, 0.3);
}
.hero-text { font-size: 1.25rem; max-width: 600px; margin-bottom: 2.5rem; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 4rem; }
.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.stat-card { text-align: center; padding: 1.5rem; }
.stat-card span { font-size: 2.5rem; font-weight: 800; background: linear-gradient(to right, var(--primary), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.stat-card p { margin: 0; font-size: 0.9rem; font-weight: 500; }

/* Animations */
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-30px); } }
.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(300px, 1fr)); gap: 2rem; }
.service-card .icon-box {
    width: 60px; height: 60px;
    background: linear-gradient(135deg, rgba(59,130,246,0.2), rgba(6,182,212,0.2));
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: var(--accent);
    margin-bottom: 1.5rem;
}
.features { list-style: none; margin-top: 1rem; display: flex; gap: 1rem; font-size: 0.85rem; color: var(--text-muted); }
.features li::before { content: "✓"; color: var(--primary); margin-right: 5px; }

/* Process Timeline */
.timeline { position: relative; max-width: 800px; margin: 0 auto; }
.timeline::before {
    content: ''; position: absolute; left: 30px; top: 0; bottom: 0;
    width: 2px; background: linear-gradient(to bottom, var(--primary), var(--accent));
}
.timeline-item { display: flex; gap: 2rem; margin-bottom: 2rem; position: relative; }
.number {
    width: 60px; height: 60px; min-width: 60px;
    background: var(--bg-dark); border: 2px solid var(--primary);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-weight: 800; color: var(--primary); z-index: 2;
}
.content { flex: 1; }

/* Article Styling */
.article-container { max-width: 900px; margin: 0 auto; }
.article-meta { display: flex; gap: 2rem; color: var(--text-muted); font-size: 0.9rem; margin-bottom: 2rem; }
.callout-box { display: flex; gap: 1rem; align-items: flex-start; margin: 2rem 0; border-left: 4px solid var(--primary); }
.callout-box i { font-size: 1.5rem; color: var(--primary); margin-top: 3px; }
.comparison-table { width: 100%; border-collapse: collapse; margin: 2rem 0; overflow: hidden; }
.comparison-table th, .comparison-table td { padding: 1rem; text-align: left; border-bottom: 1px solid var(--glass-border); }
.comparison-table th { background: rgba(59,130,246,0.1); color: var(--primary); }
.cta-box { text-align: center; margin-top: 4rem; padding: 3rem; background: linear-gradient(135deg, rgba(59,130,246,0.1), rgba(6,182,212,0.1)); }

/* FAQ Accordion */
.faq-grid { max-width: 900px; margin: 0 auto; display: grid; gap: 1rem; }
.faq-item { padding: 0; overflow: hidden; }
.faq-item summary {
    padding: 1.5rem 2rem; cursor: pointer; 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); transition: var(--transition); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 2rem 1.5rem; margin: 0; border-top: 1px solid var(--glass-border); padding-top: 1rem; }

/* Testimonials */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.stars { color: #fbbf24; margin-bottom: 1rem; }
.author { display: flex; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.avatar {
    width: 50px; height: 50px; background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-weight: 700; color: white;
}
.author span { font-size: 0.85rem; color: var(--text-muted); }

/* Contact Section */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.info-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; align-items: flex-start; }
.info-item i { width: 40px; height: 40px; background: rgba(59,130,246,0.1); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--primary); }
.info-item p, .info-item a { margin: 0; color: var(--text-main); }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 500; font-size: 0.9rem; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 12px 16px; background: rgba(15,23,42,0.5);
    border: 1px solid var(--glass-border); border-radius: 10px;
    color: white; font-family: inherit; font-size: 1rem;
    transition: var(--transition);
}
.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(59,130,246,0.2);
}

/* Footer */
.footer { background: #020617; padding: 4rem 0 2rem; border-top: 1px solid var(--glass-border); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; }
.footer-col h4 { color: white; margin-bottom: 1.5rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.75rem; }
.footer-col ul a { color: var(--text-muted); font-size: 0.95rem; }
.footer-col ul a:hover { color: var(--primary); padding-left: 5px; }
.social-icons { display: flex; gap: 1rem; }
.social-icons a {
    width: 40px; height: 40px; background: rgba(255,255,255,0.05);
    border-radius: 10px; display: flex; align-items: center; justify-content: center;
    color: var(--text-muted); transition: var(--transition);
}
.social-icons a:hover { background: var(--primary); color: white; transform: translateY(-3px); }

/* Responsive Design */
@media (max-width: 968px) {
    .contact-grid, .footer-grid { grid-template-columns: 1fr; }
    .hero-content { text-align: center; }
    .hero-cta { justify-content: center; }
    .stats-row { justify-content: center; }
}

@media (max-width: 768px) {
    .nav-links { 
        position: fixed; top: 70px; left: 0; right: 0;
        background: rgba(15,23,42,0.98); backdrop-filter: blur(20px);
        flex-direction: column; padding: 2rem; gap: 1.5rem;
        transform: translateY(-150%); transition: var(--transition);
        border-bottom: 1px solid var(--glass-border);
    }
    .nav-links.active { transform: translateY(0); }
    .mobile-toggle { display: block; }
    .timeline::before { left: 15px; }
    .number { width: 40px; height: 40px; min-width: 40px; font-size: 0.9rem; }
    .timeline-item { gap: 1rem; }
    h1 { font-size: 2.2rem; }
    .section { padding: 60px 0; }
}