/* Holographic Stack Styles */
.holo-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    /* Tighter gap */
    position: relative;
    padding: 2rem 0;
    max-width: 800px;
    /* Slightly narrower */
    margin: 0 auto;
}

/* Central Energy Line */
.holo-stack::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background: linear-gradient(to bottom,
            transparent,
            var(--color-accent),
            var(--color-highlight),
            transparent);
    z-index: 0;
    opacity: 0.6;
}

.service-level {
    /* DARK NEON STYLE - Refined */
    background: rgba(10, 10, 10, 0.85);
    /* Darker, less transparency for readability */
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);

    border-radius: 10px;
    /* Smaller radius */
    padding: 1rem 1.5rem;
    /* Reduced padding */
    position: relative;
    z-index: 1;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-align: center;
    width: 100%;
    cursor: pointer;
    display: flex;
    /* Flex layout for better structure if needed, or keeping block */
    flex-direction: column;
    justify-content: center;
}

.service-level:hover {
    border-color: #00bf8f;
    box-shadow: 0 0 20px rgba(0, 191, 143, 0.4);
    transform: scale(1.01);
    z-index: 10;
}

/* Typography - Refined */
.service-level h3 {
    color: #ffffff;
    font-size: 1.1rem;
    /* Smaller, cleaner */
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 0.2rem;
    text-transform: uppercase;
}

.service-level p {
    color: #cccccc;
    font-size: 0.85rem;
    /* Smaller body */
    margin: 0;
    font-weight: 400;
    line-height: 1.3;
}

/* Active Layer Class for JS Animation */
.layer-active {
    border-color: #00bf8f;
    background: #00bf8f;
    box-shadow: 0 0 30px rgba(0, 191, 143, 0.6);
    transform: scale(1.02);
    z-index: 10;
}

.layer-active h3,
.layer-active p {
    color: #000000 !important;
    /* Force black text for contrast */
    font-weight: 600;
}

/* Stack Widths (Funnel Shape - Adjusted for smaller scale) */
/* 1. You */
.level-you {
    max-width: 300px;
}

/* 2. Ads */
.level-ads {
    max-width: 360px;
}

/* 3. Big Data */
.level-data {
    max-width: 420px;
}

/* 4. Software */
.level-software {
    max-width: 480px;
}

/* 5. Photo & Video */
.level-photo {
    max-width: 540px;
}

/* 6. Design */
.level-design {
    max-width: 600px;
}

/* 7. Strategy */
.level-strategy {
    max-width: 660px;
}

/* 8. Local (Base) */
.level-local {
    max-width: 720px;
}


/* Mobile Adjustments */
@media (max-width: 768px) {
    .holo-stack {
        gap: 0.5rem;
    }

    .holo-stack::before {
        display: none;
    }

    .service-level {
        max-width: 100% !important;
        /* Full width on mobile */
        padding: 0.8rem;
    }
}

/* Central Energy Line */


.holo-stack::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background: linear-gradient(to bottom,
            transparent,
            var(--color-accent),
            var(--color-highlight),
            transparent);
    z-index: 0;
    opacity: 0.6;
}

.service-level {
    /* DARK NEON STYLE */
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;

    border-radius: 16px;
    padding: 1.5rem 2rem;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    text-align: center;
    width: 100%;
    cursor: pointer;
}

.service-level:hover {
    border-color: #00bf8f;
    background: #00bf8f;
    /* Full Neon Green Fill */
    box-shadow: 0 0 30px rgba(0, 191, 143, 0.6);
    transform: scale(1.02);
    z-index: 10;
}

.service-level:hover h3,
.service-level:hover p {
    color: #000000;
    /* Black text for contrast */
}

/* Force text white inside cards independent of global theme */
.service-level h3 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
}

.service-level p {
    color: #cccccc;
}

/* Remove Duplicate Block */

/* Stack Widths (Funnel Shape) */
/* Stack Widths (Funnel Shape - 8 Levels) */
/* 1. You */
/* 1. You */
.level-you {
    max-width: 350px;
    border-radius: 16px;
    /* Ensure consistent rounding */
    clip-path: none;
    /* Remove any trapezoid clipping */
}

/* 2. Ads */
.level-ads {
    max-width: 420px;
}

/* 3. Big Data */
.level-data {
    max-width: 500px;
}

/* 4. Software */
.level-software {
    max-width: 580px;
}

/* 5. Photo & Video */
.level-photo {
    max-width: 660px;
}

/* 6. Design */
.level-design {
    max-width: 740px;
}

/* 7. Strategy */
.level-strategy {
    max-width: 820px;
}

/* 8. Local (Base) */
.level-local {
    max-width: 900px;
}

/* Creation */

/* Typography */
.service-level h3 {
    color: var(--color-text);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.service-level p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin: 0;
}

.card-label {
    color: var(--color-highlight);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    display: block;
    font-weight: 600;
}

/* Active Layer Class for JS Animation */
.layer-active {
    border-color: #00bf8f;
    background: #00bf8f;
    box-shadow: 0 0 30px rgba(0, 191, 143, 0.6);
    transform: scale(1.02);
    z-index: 10;
}

.layer-active h3,
.layer-active p {
    color: #000000;
    /* Black text for contrast */
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .holo-stack::before {
        display: none;
    }

    .holo-card {
        max-width: 100% !important;
    }
}