/* ═══════════════════════════════════════════════════════════
   SERVICE PAGES STYLES
   Design system: Plus Jakarta Sans, gradient palette, no emojis
   ═══════════════════════════════════════════════════════════ */

/* ─── COMMON CANVAS STYLES ─── */
.service-hero-canvas,
.service-features-canvas,
.service-cta-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ─── SECTION CONTAINER ─── */
.section-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

/* ═══════════════════════════════════════════════════════════
   SERVICE INDEX PAGE (List of services)
   ═══════════════════════════════════════════════════════════ */

.service-index-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    overflow: hidden;
}

.service-index-content {
    text-align: center;
    padding: 6rem 0;
}

.service-index-title {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 0.95;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.service-index-intro {
    font-size: 1.25rem;
    color: #4b5563;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Services Grid (Index page) */
.services-list-section {
    background: #ffffff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.service-list-card {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 2.5rem;
    background: #ffffff;
    border-radius: 1.5rem;
    border: 2px solid #f1f5f9;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    color: inherit;
}

.service-list-card:hover {
    transform: translateY(-4px);
    border-color: #667eea;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.12);
}

.service-list-card-content {
    flex: 1;
}

.service-list-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 1rem;
    margin-bottom: 1.5rem;
}

.service-list-icon svg {
    color: #ffffff;
}

.service-list-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-list-description {
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.service-list-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.service-tag {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
}

.service-list-arrow {
    flex-shrink: 0;
    margin-left: 1rem;
    color: #667eea;
    transition: transform 0.3s;
}

.service-list-card:hover .service-list-arrow {
    transform: translateX(4px);
}

/* ═══════════════════════════════════════════════════════════
   SERVICE PAGE HERO
   ═══════════════════════════════════════════════════════════ */

.service-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    overflow: hidden;
}

.service-hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 8rem 0;
}

.service-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.service-hero-tag {
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.service-hero-title {
    font-size: 5rem;
    font-weight: 700;
    line-height: 0.95;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.service-hero-subtitle {
    font-size: 1.5rem;
    color: #4b5563;
    line-height: 1.5;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.service-hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.service-hero-button {
    padding: 1.25rem 2.5rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-block;
}

.service-hero-button-primary {
    background: #000000;
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-hero-button-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.service-hero-button-secondary {
    background: #ffffff;
    color: #000000;
    border: 2px solid #000000;
}

.service-hero-button-secondary:hover {
    background: #000000;
    color: #ffffff;
    transform: scale(1.05);
}

/* ═══════════════════════════════════════════════════════════
   SERVICE CONTENT SECTIONS
   ═══════════════════════════════════════════════════════════ */

.service-content-section {
    background: #ffffff;
}

.service-section-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.service-paragraph {
    font-size: 1.125rem;
    color: #4b5563;
    line-height: 1.7;
    max-width: 900px;
    margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════════
   SERVICE STATS SECTION
   ═══════════════════════════════════════════════════════════ */

.service-stats-section {
    position: relative;
    background: #ffffff;
    padding: 6rem 0;
}

.service-stats-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.service-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.service-stat-item {
    text-align: center;
    position: relative;
}

.service-stat-dot {
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.4);
}

.service-stat-value {
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #FF8C00 0%, #FF6347 50%, #D2691E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
}

.service-stat-label {
    font-size: 1rem;
    color: #6b7280;
    font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════
   SERVICE FEATURES SECTION
   ═══════════════════════════════════════════════════════════ */

.service-features-section {
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    padding: 6rem 0;
}

.service-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.service-feature-card {
    padding: 2.5rem;
    background: #ffffff;
    border-radius: 1.5rem;
    border: 2px solid transparent;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.service-feature-card:hover {
    transform: translateY(-5px);
    border-image: linear-gradient(135deg, #667eea, #764ba2);
    border-image-slice: 1;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.15);
}

.service-feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 1rem;
    margin-bottom: 1.5rem;
}

.service-feature-icon svg {
    color: #667eea;
}

.service-feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-feature-description {
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════
   SERVICE PROCESS SECTION
   ═══════════════════════════════════════════════════════════ */

.service-process-section {
    background: #ffffff;
    padding: 6rem 0;
}

.service-process-timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.service-process-timeline::before {
    content: '';
    position: absolute;
    left: 2.5rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
}

.service-process-step {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.service-process-number {
    flex-shrink: 0;
    width: 5rem;
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    font-size: 2rem;
    font-weight: 900;
    border-radius: 50%;
    position: relative;
    z-index: 1;
}

.service-process-content {
    flex: 1;
    padding-top: 0.5rem;
}

.service-process-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.service-process-text {
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════
   SERVICE USE CASES SECTION
   ═══════════════════════════════════════════════════════════ */

.service-use-cases-section {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    padding: 6rem 0;
}

.service-use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.service-use-case-card {
    padding: 3rem;
    background: #ffffff;
    border-radius: 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-use-case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.15);
}

.service-use-case-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-use-case-description {
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-use-case-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* ═══════════════════════════════════════════════════════════
   SERVICE CTA SECTION
   ═══════════════════════════════════════════════════════════ */

.service-cta-section {
    position: relative;
    background: linear-gradient(135deg, #FF8C00 0%, #FF6347 50%, #D2691E 100%);
    padding: 8rem 0;
    overflow: hidden;
}

.service-cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.service-cta-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.service-cta-text {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.service-cta-button {
    display: inline-block;
    padding: 1.5rem 3rem;
    background: #ffffff;
    color: #667eea;
    font-weight: 700;
    font-size: 1.125rem;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.service-cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* ═══════════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════════ */

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fade-in-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
.delay-600 { animation-delay: 0.6s; }
.delay-800 { animation-delay: 0.8s; }
.delay-1000 { animation-delay: 1s; }

/* ═══════════════════════════════════════════════════════════
   GRADIENT TEXT UTILITY
   ═══════════════════════════════════════════════════════════ */

.gradient-text {
    background: linear-gradient(135deg, #FF8C00 0%, #FF6347 50%, #D2691E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE (MOBILE)
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    /* Index Hero */
    .service-index-title {
        font-size: 3rem;
    }

    .service-index-intro {
        font-size: 1rem;
    }

    /* Services Grid */
    .services-grid {
        grid-template-columns: 1fr;
    }

    /* Service Hero */
    .service-hero {
        min-height: 80vh;
    }

    .service-hero-content {
        padding: 4rem 0;
    }

    .service-hero-title {
        font-size: 3rem;
    }

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

    .service-hero-buttons {
        flex-direction: column;
    }

    .service-hero-button {
        width: 100%;
    }

    /* Section Title */
    .service-section-title {
        font-size: 2.5rem;
    }

    /* Stats */
    .service-stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-stat-value {
        font-size: 2.5rem;
    }

    /* Features */
    .service-features-grid {
        grid-template-columns: 1fr;
    }

    /* Process */
    .service-process-timeline::before {
        left: 1.5rem;
    }

    .service-process-number {
        width: 3rem;
        height: 3rem;
        font-size: 1.25rem;
    }

    .service-process-title {
        font-size: 1.25rem;
    }

    /* Use Cases */
    .service-use-cases-grid {
        grid-template-columns: 1fr;
    }

    /* CTA */
    .service-cta-title {
        font-size: 2.5rem;
    }

    .service-cta-text {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .service-hero-title {
        font-size: 2.5rem;
    }

    .service-section-title {
        font-size: 2rem;
    }

    .service-cta-title {
        font-size: 2rem;
    }
}
