/* ======================
   Services Page
   ====================== */

.services-main {
    padding-top: calc(var(--header-height) + 1.5rem);
    max-width: 1200px;
    margin: 0 2rem;
    padding-left: 2rem;
    padding-right: 2rem;
}

.service-detail {
    padding-top: 2rem;
    padding-bottom: 3rem;
    margin-top: 0;
    margin-bottom: 2rem;
    scroll-margin-top: calc(var(--header-height) + 2rem);
}

.service-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.service-header h1 {
    font-size: 2.8rem;
    background: var(--metallic-blue-mid);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    font-weight: 700;
}

.service-header h2 {
    font-size: 1.3rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.service-content {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.25);
}

.service-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 2.5rem;
}

.service-areas {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.service-areas h3 {
    font-size: 1.5rem;
    color: var(--metallic-blue-light);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.service-areas ul {
    list-style: none;
    padding: 0;
}

.service-areas li {
    padding: 0.5rem 0 0.2rem 1.5rem;
    margin-bottom: 0rem;
    position: relative;
    color: var(--text-primary);
    line-height: 1.6;
}

.service-areas li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--metallic-blue-light);
    font-weight: bold;
}

.service-area-item {
    margin-bottom: 2.5rem;
}

.service-area-item:last-child {
    margin-bottom: 0;
}

.service-area-item h3 {
    font-size: 1.4rem;
    color: var(--metallic-blue-light);
    margin-bottom: 1rem;
    font-weight: 700;
}

.service-area-item h4 {
    font-size: 1.2rem;
    color: var(--metallic-blue-light);
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.service-area-item p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-primary);
}

/* AI Agent Lineup */
.agent-lineup {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--metallic-blue-dark);
}

.agent-lineup-title {
    font-size: 1.8rem;
    color: var(--metallic-blue-light);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    font-weight: 700;
    text-align: center;
}

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

.agent-card {
    background: var(--bg-secondary);
    border-radius: 15px;
    padding: 0;
    text-align: center;
    border: 0px solid transparent;
    overflow: hidden;
}

.agent-icon {
    width: 100%;
    height: 200px;
    margin: 0;
    display: block;
    overflow: hidden;
}

.agent-icon img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.agent-card h4 {
    font-size: 1.5rem;
    color: var(--metallic-blue-bright);
    margin-bottom: 0.3rem;
    margin-top: 1.5rem;
    padding: 0 2rem;
    font-weight: 700;
}

.agent-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    padding: 0 2rem;
}

.agent-summary {
    font-size: 1rem;
    color: var(--text-primary);
    line-height: 1.6;
    padding: 0 2rem 2rem 2rem;
}

/* Contact CTA Section */
.contact-cta-section {
    margin-top: 0rem;
    margin-bottom: 3rem;
    padding-top: 0rem;
    padding-bottom: 0rem;
    text-align: center;
}

.contact-cta-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.25);
    border: 1px solid var(--metallic-blue-dark);
}

.contact-cta-card h2 {
    font-size: 2rem;
    background: var(--metallic-blue-mid);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    font-weight: 700;
}

.contact-cta-card p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-cta-btn {
    display: inline-block;
    padding: 1rem 3rem;
    background: var(--gradient-metallic);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s;
}

.contact-cta-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .services-main {
        padding-left: 1rem;
        padding-right: 1rem;
        margin: 0;
        padding-top: calc(var(--header-height) - 0.5rem);
    }

    .service-detail {
        padding-top: 0.5rem;
        padding-bottom: 0.8rem;
        padding-left: 0;
        padding-right: 0;
        margin: 0 0 3rem 0;
    }

    .service-detail:first-of-type {
        padding-top: 1rem;
    }

    .service-header {
        margin-bottom: 0.8rem;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .service-header h1 {
        font-size: 1.8rem;
        margin-bottom: 0.4rem;
        margin-top: 1rem;
    }

    .service-header h2 {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 0.5rem;
    }

    .service-content {
        padding: 1.5rem 1rem;
        margin-left: 0.5rem;
        margin-right: 0.5rem;
    }

    .service-description {
        font-size: 0.95rem;
        line-height: 1.7;
        margin-bottom: 1.5rem;
    }

    .service-areas {
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
    }

    .service-area-item {
        margin-bottom: 1.5rem;
    }

    .service-area-item h3 {
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
    }

    .service-area-item h4 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .service-area-item p {
        font-size: 0.9rem;
        line-height: 1.7;
    }

    .service-areas li {
        font-size: 0.9rem;
        padding: 0.4rem 0 0.2rem 1.2rem;
    }

    /* AI Agent Lineup Mobile */
    .agent-lineup {
        margin-top: 1.5rem;
        padding-top: 1rem;
    }

    .agent-lineup-title {
        font-size: 1.4rem;
        margin-bottom: 1rem;
        gap: 0.5rem;
    }

    .agents-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .agent-icon {
        height: 180px;
    }

    .agent-card {
        margin-left: 1.5rem;
        margin-right: 1.5rem;
    }

    .agent-card h4 {
        font-size: 1.2rem;
        margin-top: 1rem;
        padding: 0 1rem;
    }

    .agent-subtitle {
        font-size: 0.8rem;
        padding: 0 1rem;
        margin-bottom: 0.8rem;
    }

    .agent-summary {
        font-size: 0.9rem;
        line-height: 1.6;
        padding: 0 1rem 1.5rem 1rem;
    }

    .modal-content {
        padding: 2rem 1.5rem;
    }

    .agent-modal-header h2 {
        font-size: 1.5rem;
    }

    .agent-modal-title {
        font-size: 1.1rem;
    }

    .contact-cta-section {
        margin-top: 0;
        margin-bottom: 2rem;
        padding: 0.5rem;
    }

    .contact-cta-card {
        padding: 1.5rem 1rem;
    }

    .contact-cta-card h2 {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }

    .contact-cta-card p {
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
    }

    .contact-cta-btn {
        padding: 0.8rem 2rem;
        font-size: 0.95rem;
    }
}
