/* --- SERVICES PAGE STYLES --- */

/* --- PAGE HERO --- */
.page-hero {
    padding-top: 10rem;
    padding-bottom: 5rem;
    text-align: center;
}

.hero-eyebrow {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--color-accent);
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: block;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--color-white);
}

.hero-desc {
    max-width: 48rem;
    margin: 0 auto;
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--color-text-muted);
}

/* --- SERVICE SECTIONS (Full Width) --- */
.service-section {
    padding: 6rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    position: relative;
    overflow: hidden;
}

/* Alternating Backgrounds */
.service-section:nth-child(even) {
    background: rgba(255, 255, 255, 0.015);
}

.service-container {
    display: grid;
    gap: 3rem;
    position: relative;
    z-index: 2;
}

@media (min-width: 1024px) {
    .service-container {
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: 5rem;
    }

    /* Alternate Layout */
    .service-section:nth-child(even) .service-container {
        direction: rtl;
        /* FLip column order */
    }

    .service-section:nth-child(even) .service-container>* {
        direction: ltr;
        /* Reset content direction */
    }
}

.service-header {
    margin-bottom: 1.5rem;
}

.service-number {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
    margin-bottom: 1rem;
    display: block;
}

.service-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.service-tagline {
    font-size: 1.125rem;
    color: var(--color-accent);
    font-weight: 500;
    margin-bottom: 1.5rem;
    display: block;
}

.service-description {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

/* Feature Lists */
.service-features {
    display: grid;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.service-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-icon {
    width: 24px;
    height: 24px;
    color: var(--color-accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-text {
    font-size: 0.95rem;
    color: var(--color-text-body);
    line-height: 1.6;
}

/* Best For Box */
.best-for-box {
    background: rgba(50, 164, 189, 0.05);
    border: 1px solid rgba(50, 164, 189, 0.15);
    border-radius: var(--radius-card);
    padding: 1.5rem;
    margin-top: 2rem;
}

.best-for-label {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
    display: block;
}

.best-for-text {
    font-size: 0.95rem;
    color: var(--color-text-body);
    line-height: 1.5;
    margin: 0;
}

/* --- 3D ICONS --- */
.service-graphic {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-icon-3d {
    max-width: 60%;
    width: auto;
    height: auto;
    border-radius: var(--radius-card);
    transition: transform 0.5s ease;
    /* Optional: subtle glow or mask if needed, but the images should be self-sufficient */
    filter: drop-shadow(0px 10px 40px rgba(50, 164, 189, 0.1));
    display: inline-block;
    /* Helps with centering */
}

.service-icon-3d:hover {
    transform: scale(1.02) translateY(-5px);
    filter: drop-shadow(0px 15px 50px rgba(50, 164, 189, 0.25));
}

@media (max-width: 1023px) {
    .service-icon-3d {
        max-width: 80%;
        margin-top: 2rem;
    }
}

/* --- WHY SOFTKNACK SECTION --- */
.why-section {
    padding: 8rem 0;
    background: rgba(255, 255, 255, 0.02);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.why-card {
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    padding: 2.5rem;
    border-radius: var(--radius-card);
    transition: transform 0.3s ease;
}

.why-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent);
}

.why-icon {
    width: 48px;
    height: 48px;
    background: rgba(50, 164, 189, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
}

.why-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.why-desc {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* --- DELIVERY MODEL SECTION --- */
.delivery-model-section {
    padding: 8rem 0;
}

.model-steps {
    display: grid;
    gap: 2rem;
    margin-top: 4rem;
}

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

.model-step {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.step-number {
    font-size: 4rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.03);
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
}

.step-content {
    position: relative;
    z-index: 1;
    padding-top: 2.5rem;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.step-desc {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* --- CTA SECTION --- */
.section-cta {
    padding: 8rem 0;
    position: relative;
    text-align: center;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(50, 164, 189, 0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .service-section {
        padding: 4rem 0;
    }

    .service-title {
        font-size: 1.75rem;
    }

    .why-section,
    .delivery-model-section {
        padding: 4rem 0;
    }
}

@media (max-width: 640px) {
    .service-section {
        padding: 3rem 0;
    }

    .service-title {
        font-size: 1.5rem;
    }

    .service-desc {
        font-size: 0.9375rem;
    }

    .feature-item {
        font-size: 0.875rem;
    }

    .section-cta {
        padding: 3rem 0;
    }

    .delivery-step {
        padding: 1.5rem;
    }

    .step-title {
        font-size: 1.125rem;
    }

    .step-desc {
        font-size: 0.875rem;
    }
}