/* ========================================
   SERVICE DETAIL PAGES — Shared Styles
   ======================================== */

/* HERO */
.service-hero {
    position: relative;
    padding: 100px 0 80px;
    background: linear-gradient(135deg, #0a1628 0%, #0f2847 40%, #0c3a5e 70%, #0e4d6e 100%);
    overflow: hidden;
    text-align: center;
}

.service-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 600px 400px at 20% 50%, rgba(16, 175, 227, 0.12), transparent),
        radial-gradient(ellipse 500px 300px at 80% 30%, rgba(29, 78, 216, 0.1), transparent);
    pointer-events: none;
}

.service-hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: 0 auto;
}

.service-badge {
    display: inline-block;
    background: rgba(16, 175, 227, 0.15);
    color: #10afe3;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
    border: 1px solid rgba(16, 175, 227, 0.25);
}

.service-hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 24px 0;
    letter-spacing: -1px;
    line-height: 1.15;
}

.service-hero-sub {
    font-size: 1.2rem;
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.service-hero .btn-primary {
    padding: 16px 36px;
    font-size: 1.05rem;
    text-decoration: none;
}

/* INTRO SECTION */
.service-intro {
    padding: 80px 0;
    background: #f8fafc;
}

.service-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.service-intro-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease;
}

.service-intro-image img:hover {
    transform: translateY(-6px);
}

.service-intro-text h2 {
    font-size: 2.2rem;
    color: #0f172a;
    margin-top: 0;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    line-height: 1.25;
}

.service-intro-text p {
    font-size: 1.1rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 16px;
}

/* FEATURES SECTION */
.service-features {
    padding: 80px 0;
    background: #ffffff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 20px 18px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #10afe3, #1d4ed8);
    transform: scaleX(0);
    transition: transform 0.35s ease;
    transform-origin: left;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
    border-color: rgba(16, 175, 227, 0.2);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, rgba(16, 175, 227, 0.1), rgba(29, 78, 216, 0.08));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: #10afe3;
}

.feature-icon svg {
    width: 18px;
    height: 18px;
}

.feature-card h3 {
    font-size: 1rem;
    color: #0f172a;
    margin: 0 0 8px 0;
    font-weight: 700;
}

.feature-card p {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* USE CASES SECTION */
.service-usecases {
    padding: 80px 0;
    background: #f1f5f9;
}

.usecases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.usecase-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 24px 20px;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.usecase-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.usecase-number {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #10afe3, #1d4ed8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    line-height: 1;
}

.usecase-card h3 {
    font-size: 1.2rem;
    color: #0f172a;
    margin: 0 0 12px 0;
    font-weight: 700;
}

.usecase-card p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.65;
    margin: 0;
}

/* CTA SECTION */
.service-cta {
    padding: 80px 0;
    background: #ffffff;
}

.cta-card {
    background: linear-gradient(135deg, #0a1628, #0f2847, #0c3a5e);
    border-radius: 24px;
    padding: 64px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 400px 250px at 30% 50%, rgba(16, 175, 227, 0.12), transparent),
        radial-gradient(ellipse 300px 200px at 70% 40%, rgba(29, 78, 216, 0.08), transparent);
    pointer-events: none;
}

.cta-card h2 {
    font-size: 2.2rem;
    color: #ffffff;
    margin: 0 0 16px 0;
    position: relative;
    z-index: 1;
    letter-spacing: -0.5px;
}

.cta-card p {
    font-size: 1.15rem;
    color: #94a3b8;
    margin: 0 0 32px 0;
    position: relative;
    z-index: 1;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 32px;
}

.cta-card .btn-primary {
    position: relative;
    z-index: 1;
}

/* RESPONSIVE */
@media (max-width: 1024px) {

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

@media (max-width: 768px) {
    .service-hero {
        padding: 70px 0 50px;
    }

    .service-hero h1 {
        font-size: 2.2rem;
    }

    .service-hero-sub {
        font-size: 1.05rem;
    }

    .service-hero .btn-primary {
        padding: 14px 24px;
        font-size: 1rem;
    }

    .service-intro-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .features-grid,
    .usecases-grid {
        grid-template-columns: 1fr;
    }

    .cta-card {
        padding: 40px 24px;
    }

    .cta-card h2 {
        font-size: 1.6rem;
    }
}