/* =========================================================================
   DRIVE EASE - PREMIUM SERVICES PAGE CSS
   Architecture: Mobile-First, BEM-inspired, Glassmorphism & Fluid Typography
   ========================================================================= */

/* 1. HERO SECTION */
.srv-hero {
    position: relative;
    min-height: 100vh;
    background: var(--dark, #06151f);
    overflow: hidden;
    display: flex;
    align-items: center;
    padding-top: 130px;
    padding-bottom: 80px;
    color: #fff;
}

.srv-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.srv-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
}

.srv-glow-1 {
    width: 60vw;
    height: 60vw;
    max-width: 600px;
    max-height: 600px;
    background: radial-gradient(circle, var(--blue, #0787ce), transparent 70%);
    top: -10%;
    right: -10%;
}

.srv-glow-2 {
    width: 50vw;
    height: 50vw;
    max-width: 500px;
    max-height: 500px;
    background: radial-gradient(circle, var(--green, #35b64a), transparent 70%);
    bottom: -10%;
    left: -10%;
    opacity: 0.2;
}

.srv-hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
    padding: 0 24px;
    text-align: center;
}

.srv-hero-content .eyebrow {
    margin: 0 auto 20px;
}

.srv-hero-content h1 {
    font-size: clamp(42px, 8vw, 68px);
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 24px;
    letter-spacing: -0.03em;
}

.srv-hero-content .hero-lead {
    font-size: clamp(16px, 4vw, 19px);
    color: rgba(255,255,255,0.75);
    margin: 0 auto 32px;
    max-width: 100%;
}

.srv-hero .hero-actions {
    justify-content: center;
}

/* Premium Text Gradient */
.text-gradient {
    background: linear-gradient(135deg, var(--sky, #29b7e8) 0%, var(--green, #35b64a) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Hero 3D Glassmorphism Card */
.srv-hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.srv-glass-card {
    width: 100%;
    max-width: 420px;
    background: rgba(11, 36, 48, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 30px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.5), inset 0 2px 0 rgba(255,255,255,0.1);
    text-align: left;
}

.g-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.g-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(7, 135, 206, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sky);
    border: 1px solid rgba(7,135,206,0.5);
}

.g-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

    .g-info strong {
        font-size: 18px;
        color: #fff;
    }

    .g-info span {
        font-size: 13px;
        color: rgba(255,255,255,0.7);
        display: flex;
        align-items: center;
        gap: 4px;
        margin-top: 2px;
    }

.g-status {
    font-size: 11px;
    font-weight: 700;
    background: rgba(53,182,74,0.15);
    color: var(--green);
    padding: 6px 12px;
    border-radius: 100px;
}

.g-vehicle {
    background: rgba(0,0,0,0.3);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 24px;
    border: 1px solid rgba(255,255,255,0.05);
}

.g-vehicle-info small {
    color: rgba(255,255,255,0.5);
    font-size: 10px;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 4px;
}

.g-vehicle-info strong {
    font-size: 16px;
    color: #fff;
    display: block;
}

.g-footer {
    display: flex;
    gap: 12px;
}

.g-badge {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255,255,255,0.05);
    padding: 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
}

    .g-badge i {
        width: 16px;
        height: 16px;
        color: var(--sky);
    }


/* 2. SERVICES SHOWCASE GRID */
.bg-soft {
    background: var(--soft, #f1f6f5);
}

.srv-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 50px;
}

.srv-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 35px 25px;
    transition: all 0.5s var(--ease);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

    .srv-card:before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(7,135,206,0.03), rgba(53,182,74,0.03));
        opacity: 0;
        transition: opacity 0.5s var(--ease);
        z-index: -1;
    }

    .srv-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(7,35,47,0.06);
        border-color: rgba(7,135,206,0.3);
    }

        .srv-card:hover:before {
            opacity: 1;
        }

.srv-card-icon {
    width: 64px;
    height: 64px;
    background: var(--soft);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    box-shadow: 0 10px 20px rgba(0,0,0,0.03);
    margin-bottom: 24px;
    transition: transform 0.5s var(--ease);
}

.srv-card:hover .srv-card-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--blue);
    color: #fff;
}

.srv-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--ink);
}

.srv-card p {
    font-size: 15px;
    color: var(--muted);
    margin-bottom: 24px;
}

.srv-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

    .srv-features li {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 14px;
        font-weight: 600;
        color: var(--ink);
    }

    .srv-features i {
        color: var(--green);
        width: 18px;
        height: 18px;
    }


/* 3. COMPARISON SECTION */
.srv-comparison {
    overflow: hidden;
}

.srv-comp-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    position: relative;
}

.srv-comp-box {
    width: 100%;
    max-width: 450px;
    background: #fff;
    border-radius: var(--radius);
    padding: 35px 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

    .srv-comp-box.premium {
        background: var(--dark);
        color: #fff;
        box-shadow: 0 20px 50px rgba(7,135,206,0.2);
        border: 1px solid rgba(41,183,232,0.3);
    }

.comp-head {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
}

.srv-comp-box.premium .comp-head {
    color: var(--sky);
}

.comp-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 16px;
}

    .comp-list li {
        display: flex;
        align-items: center;
        gap: 12px;
        font-size: 15px;
        font-weight: 500;
    }

.traditional .comp-list li {
    color: var(--muted);
}

.traditional .comp-list i {
    color: #e74c3c;
    flex-shrink: 0;
}

.premium .comp-list i {
    color: var(--green);
    flex-shrink: 0;
}

.srv-comp-vs {
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    color: var(--blue);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    z-index: 2;
    margin: -20px auto;
}


/* 4. PROCESS TIMELINE */
.srv-process {
    overflow: hidden;
}

.srv-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0 40px 30px;
}

.srv-process-line {
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--border);
    transform: translateX(-50%);
    border-radius: 2px;
}

.srv-process-line-fill {
    width: 100%;
    background: linear-gradient(to bottom, var(--blue), var(--green));
    border-radius: 2px;
}

.srv-step {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    position: relative;
    margin-bottom: 40px;
    padding-left: 50px;
}

.step-marker {
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: #fff;
    border: 4px solid var(--blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    color: var(--dark);
    box-shadow: 0 0 0 8px rgba(241,246,245,0.8);
    z-index: 2;
}

.step-content {
    background: #fff;
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: 0 15px 35px rgba(0,0,0,0.04);
    width: 100%;
    border: 1px solid var(--border);
}

    .step-content h3 {
        font-size: 18px;
        margin: 0 0 8px;
        color: var(--ink);
    }

    .step-content p {
        margin: 0;
        color: var(--muted);
        font-size: 14px;
        line-height: 1.5;
    }


/* 5. FINAL CTA SECTION */
.srv-cta-section {
    background: radial-gradient(circle at center, var(--dark) 0%, #030a10 100%);
    color: #fff;
    text-align: center;
    padding: 100px 24px;
    position: relative;
    overflow: hidden;
}

.srv-cta-glow {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(7,135,206,0.15), transparent 60%);
    pointer-events: none;
}

.srv-cta-content {
    position: relative;
    z-index: 2;
}

    .srv-cta-content h2 {
        font-size: clamp(36px, 7vw, 65px);
        margin-bottom: 24px;
        letter-spacing: -0.03em;
    }


/* =======================================================
   DESKTOP ENHANCEMENTS (min-width: 1024px)
   ======================================================= */
@media (min-width: 1024px) {
    /* Hero */
    .srv-hero-container {
        grid-template-columns: 1.15fr 0.85fr;
        text-align: left;
        padding: 0 45px;
    }

    .srv-hero-content .eyebrow {
        margin: 0 0 24px 0;
    }

    .srv-hero .hero-actions {
        justify-content: flex-start;
    }

    .srv-hero-content .hero-lead {
        margin: 0 0 40px;
    }

    /* Showcase Grid */
    .srv-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
        margin-top: 70px;
    }

    .srv-card {
        padding: 45px 35px;
    }

    /* Comparison */
    .srv-comp-grid {
        flex-direction: row;
    }

    .srv-comp-box {
        padding: 45px;
    }

        .srv-comp-box.premium {
            transform: scale(1.06);
        }

    .comp-head {
        font-size: 26px;
    }

    .srv-comp-vs {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        margin: 0;
        width: 64px;
        height: 64px;
        font-size: 20px;
    }

    /* Timeline */
    .srv-timeline {
        padding: 60px 0;
    }

    .srv-process-line {
        left: 50%;
    }

    .srv-step {
        width: 50%;
        padding-left: 0;
        padding-right: 60px;
        justify-content: flex-end;
        margin-bottom: 60px;
    }

        .srv-step.step-right {
            left: 50%;
            padding-left: 60px;
            padding-right: 0;
            justify-content: flex-start;
        }

    .step-marker {
        left: auto;
        right: -28px;
        width: 56px;
        height: 56px;
        font-size: 20px;
        box-shadow: 0 0 0 10px rgba(241,246,245,0.8);
    }

    .srv-step.step-right .step-marker {
        left: -28px;
        right: auto;
    }

    .step-content {
        padding: 35px;
    }

        .step-content h3 {
            font-size: 22px;
        }

    /* CTA */
    .srv-cta-section {
        padding: 140px 0;
    }

    .srv-cta-glow {
        width: 1000px;
        height: 1000px;
    }
}
