/* --- Services Page Specific Styles --- */

/* Page Hero */
.page-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    max-width: 1024px;
    margin: 0 auto;
    padding: 6rem 0;
}

.page-hero-title {
    font-size: 2.25rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    color: #fff;
}

.page-hero-subtitle {
    max-width: 42rem;
    margin: 1.5rem auto 0;
    font-size: 1rem;
    color: var(--color-text-secondary);
}

/* Detailed Services Section */
.detailed-services-section {
    max-width: 1152px;
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.service-item-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

.service-image-wrapper {
    padding: 1rem;
    border-radius: 0.75rem;
}

.service-image-wrapper img {
    border-radius: 0.5rem;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-content h3 {
    font-size: 1.875rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.service-content p {
    color: #d1d5db;
    margin-bottom: 1.5rem;
    line-height: 1.75;
}

.service-content ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: var(--color-text-secondary);
}

.service-content li {
    display: flex;
    align-items: center;
}

.service-content li svg {
    width: 1rem;
    height: 1rem;
    margin-right: 0.5rem;
    color: var(--color-purple-light);
    flex-shrink: 0;
}

/* Our Process Section */
.our-process-section {
    max-width: 1280px;
}

.process-grid {
    margin-top: 4rem;
    display: grid;
    gap: 2rem;
    position: relative;
}

.process-line::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    height: 2px;
    width: calc(100% - 4rem);
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-50%);
    z-index: -1;
    display: none;
}

.process-card {
    padding: 1.5rem;
    border-radius: 0.75rem;
    text-align: center;
}

.process-step-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    background-color: rgba(168, 85, 247, 0.2);
    color: #d8b4fe;
    font-weight: 700;
    font-size: 1.125rem;
    margin: 0 auto 1rem;
}

.process-card h4 {
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
}

.process-card p {
    font-size: 0.75rem;
    color: var(--color-text-secondary);
}

/* CTA Section */
.cta-section {
    max-width: 1024px;
}

.cta-card {
    border-radius: 1rem;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 9999px;
    filter: blur(100px);
}

.cta-glow.top-left {
    top: -50%;
    left: -50%;
    background-color: rgba(147, 51, 234, 0.4);
}

.cta-glow.bottom-right {
    bottom: -50%;
    right: -50%;
    background-color: rgba(37, 99, 235, 0.4);
}

.cta-content {
    position: relative;
    z-index: 10;
}

.cta-content p {
    color: #d1d5db;
    margin-top: 1rem;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    margin-top: 2rem;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background-image: linear-gradient(to right, var(--color-blue), var(--color-purple));
    border-radius: 0.5rem;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.cta-button:hover {
    opacity: 0.9;
    transform: scale(1.05);
}

/* --- Responsive Styles --- */
@media (min-width: 640px) {
    .page-hero {
        padding: 8rem 0;
    }

    .page-hero-title {
        font-size: 3.75rem;
    }

    .page-hero-subtitle {
        font-size: 1.125rem;
    }

    .cta-card {
        padding: 4rem;
    }
}

@media (min-width: 768px) {
    .process-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .process-line::after {
        display: block;
    }
}

@media (min-width: 1024px) {
    .page-hero-title {
        font-size: 4.5rem;
    }

    .service-item-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-item-grid .order-2 {
        order: 2;
    }

    .service-item-grid .order-1 {
        order: 1;
    }
}