/* ==========================================
   ENHANCED INDUSTRIES DETAILS - Blagweb
 ==========================================*/

:root {
    --primary: #1677f8;
    --primary-dark: #0057d9;
    --bg-light: #f8fafc;
    --text-main: #061b3a;
    --text-muted: #60708a;
    --line: rgba(11, 44, 92, 0.08);
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
}

main .container { 
    width: min(1200px, 90%); 
    margin: auto; 
}

/* --- HERO SECTION --- */
.detail-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 80% 20%, #1e3a8a, #0f172a);
    color: #fff;
    padding: 120px 0 100px;
    overflow: hidden;
}

.detail-hero__image {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.4;
}

.detail-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(105deg, rgba(6, 27, 58, 0.96), rgba(6, 27, 58, 0.75) 60%, rgba(22, 119, 248, 0.2));
}

.detail-hero__content {
    position: relative;
    z-index: 3;
}

/* Back Button */
.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 0.55rem 1.25rem;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    backdrop-filter: blur(12px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    margin-bottom: 2rem;
}

.btn-back:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateX(-3px);
}

.btn-back i {
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.btn-back:hover i {
    transform: translateX(-2px);
}

.service-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.55rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    margin-bottom: 1.5rem;
}

.detail-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.05em;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: #36b6ff;
}

.hero-description {
    max-width: 680px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.detail-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

main .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.1rem 2.2rem;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

main .btn--primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 8px 22px -6px rgba(22, 119, 248, 0.45);
}

main .btn--primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -5px rgba(22, 119, 248, 0.6);
}

main .btn--ghost {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
}

main .btn--ghost:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    transform: translateY(-2px);
}

/* --- OVERVIEW SECTION --- */
.detail-section {
    padding: 6.5rem 0;
}

.split-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: center;
}

.service-visual {
    position: relative;
    max-width: 540px;
    margin: 0 auto;
    width: 100%;
}

.service-visual img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 26px;
    box-shadow: 0 26px 60px rgba(3, 24, 62, 0.2);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-visual:hover img {
    transform: scale(1.03);
}

.visual-chip {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.25rem;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    border-radius: 12px;
    border: 1px solid rgba(22, 119, 248, 0.15);
    box-shadow: 0 12px 30px rgba(3, 22, 56, 0.08);
    font-weight: 800;
    color: var(--text-main);
    font-size: 0.9rem;
    z-index: 10;
}

.visual-chip i {
    color: var(--primary);
    font-size: 1.2rem;
}

.section-kicker {
    background: linear-gradient(135deg, rgba(22, 119, 248, 0.08), rgba(54, 182, 255, 0.08));
    color: var(--primary);
    padding: 0.5rem 1.15rem;
    border-radius: 999px;
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: 1px solid rgba(22, 119, 248, 0.15);
    margin-bottom: 1.1rem;
}

.detail-section h2 {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    letter-spacing: -0.045em;
    line-height: 1.15;
    margin: 0.5rem 0 1.2rem;
    font-weight: 800;
}

.detail-section p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.65;
}

/* --- SECTION INTRO --- */
.section-intro {
    max-width: 680px;
    margin-bottom: 3.5rem;
}

.section-intro.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-intro p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.65;
    margin-top: 0.5rem;
}

/* --- SERVICES GRID --- */
.include-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.6rem;
    justify-content: center;
}

.include-card {
    position: relative;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(22, 119, 248, 0.08);
    border-left: 4px solid var(--primary);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 2.2rem 1.8rem;
    box-shadow: 0 10px 30px rgba(6, 27, 58, 0.03);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.include-card:hover {
    transform: translateY(-8px);
    border-color: rgba(22, 119, 248, 0.25);
    border-left-color: #36b6ff;
    background: #ffffff;
    box-shadow: 0 20px 45px -12px rgba(22, 119, 248, 0.14);
}

.include-card i {
    font-size: 1.4rem;
    color: var(--primary);
    background: rgba(22, 119, 248, 0.08);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    margin-bottom: 1.2rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.include-card:hover i {
    transform: scale(1.15) rotate(5deg);
    background: var(--primary);
    color: #fff;
}

.include-card h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-main);
    margin: 0 0 0.5rem 0;
    line-height: 1.35;
    transition: color 0.3s ease;
}

.include-card:hover h3 {
    color: var(--primary);
}

.include-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0;
}

/* --- CHALLENGES & TECH GRID --- */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    justify-content: center;
}

.tech-card {
    position: relative;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(22, 119, 248, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 2.2rem 1.85rem;
    box-shadow: 0 10px 30px rgba(6, 27, 58, 0.03);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    text-align: center;
}

.tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1677f8, #36b6ff);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.tech-card:hover {
    transform: translateY(-8px);
    border-color: rgba(22, 119, 248, 0.25);
    background: #ffffff;
    box-shadow: 0 24px 50px -15px rgba(22, 119, 248, 0.14);
}

.tech-card i {
    font-size: 1.6rem;
    color: var(--primary);
    background: rgba(22, 119, 248, 0.08);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.4rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.tech-card:hover i {
    transform: scale(1.1) rotate(5deg);
    background: var(--primary);
    color: #fff;
}

.tech-card span, .tech-card h4 {
    font-size: 1.1rem;
    color: var(--text-main);
    font-weight: 800;
    margin: 0;
    display: block;
}

/* --- PROCESS SECTION & TRACK --- */
.process-section {
    background: radial-gradient(circle at 50% 50%, #0a1b32, #040c17);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.process-section h2 {
    color: #ffffff;
}

.process-section .section-kicker {
    background: rgba(54, 182, 255, 0.1);
    color: #36b6ff;
    border-color: rgba(54, 182, 255, 0.25);
}

.process-section .section-intro p {
    color: rgba(255, 255, 255, 0.7);
}

.process-track {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 1.5rem;
    position: relative;
    width: 100%;
}

@media(min-width: 993px) {
    .process-track::before {
        content: '';
        position: absolute;
        top: 45px;
        left: 10%;
        right: 10%;
        height: 2px;
        background: linear-gradient(90deg, transparent, rgba(54, 182, 255, 0.35) 50%, transparent);
        z-index: 1;
    }
}

.process-step {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 2.2rem 1.5rem;
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1 1 0px;
    min-width: 150px;
    max-width: 220px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@media(max-width: 992px) {
    .process-track {
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 1.5rem;
        -webkit-overflow-scrolling: touch;
    }
    .process-step {
        flex: 0 0 200px;
        min-width: 200px;
    }
    .process-track::-webkit-scrollbar {
        height: 6px;
    }
    .process-track::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.05);
        border-radius: 999px;
    }
    .process-track::-webkit-scrollbar-thumb {
        background: rgba(54, 182, 255, 0.3);
        border-radius: 999px;
    }
}

.process-step:hover {
    transform: translateY(-8px);
    border-color: rgba(54, 182, 255, 0.4);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 20px 40px -10px rgba(22, 119, 248, 0.25);
}

.process-number {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1677f8, #36b6ff);
    color: #fff;
    font-weight: 800;
    font-size: 1.15rem;
    display: grid;
    place-items: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 20px -5px rgba(22, 119, 248, 0.4);
}

.process-step h4 {
    font-size: 1.05rem;
    color: #ffffff;
    font-weight: 800;
    margin: 0;
}

/* --- BENEFITS SECTION --- */
.benefits-grid .benefit-art {
    position: relative;
}

.benefits-grid .benefit-art img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 26px;
    box-shadow: 0 26px 60px rgba(3, 24, 62, 0.2);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.benefits-grid .benefit-art:hover img {
    transform: scale(1.03);
}

.benefit-art__orb {
    position: absolute;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    right: -25px;
    top: -25px;
    background: linear-gradient(135deg, #1677f8, #36b6ff);
    opacity: 0.2;
    z-index: -1;
}

.benefit-badge {
    position: absolute;
    bottom: 2rem;
    left: -1.5rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(22, 119, 248, 0.15);
    padding: 0.95rem 1.4rem;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(3, 22, 56, 0.1);
    display: flex;
    align-items: center;
    gap: 0.85rem;
    z-index: 5;
    animation: floatBadge 4s ease-in-out infinite alternate;
}

@keyframes floatBadge {
    0% { transform: translateY(0); }
    100% { transform: translateY(-8px); }
}

.benefit-badge i {
    font-size: 1.6rem;
    color: var(--primary);
}

.benefit-badge strong {
    display: block;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.1;
}

.benefit-badge span {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 700;
}

.benefit-list {
    margin: 2.2rem 0 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.benefits-grid .benefit-list {
    grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 1024px) {
    .benefit-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .benefit-list {
        grid-template-columns: 1fr;
    }
}

.benefit-item {
    position: relative;
    display: flex;
    gap: 1.2rem;
    background: #ffffff;
    border: 1px solid rgba(22, 119, 248, 0.06);
    border-left: 4px solid var(--primary);
    border-radius: 20px;
    padding: 1.6rem 1.8rem;
    box-shadow: 0 10px 30px rgba(9, 36, 79, 0.02);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    align-items: flex-start;
    overflow: hidden;
}

.benefit-item:hover {
    transform: translateY(-8px);
    border-color: rgba(22, 119, 248, 0.25);
    border-left-color: #36b6ff;
    box-shadow: 0 25px 50px rgba(22, 119, 248, 0.12), 0 5px 15px rgba(0, 0, 0, 0.03);
    background: linear-gradient(135deg, #ffffff 0%, #f4f9ff 100%);
}

.benefit-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(22, 119, 248, 0.06);
    color: var(--primary);
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 0;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: inset 0 2px 4px rgba(22,119,248,0.05);
}

.benefit-item:hover .benefit-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, var(--primary), #36b6ff);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(22,119,248,0.3);
}

.benefit-content h4 {
    font-size: 1.08rem;
    color: var(--text-main);
    font-weight: 800;
    margin: 0 0 0.4rem 0;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.benefit-item:hover .benefit-content h4 {
    color: var(--primary);
}

.benefit-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0;
}

/* Glassmorphism overrides for Benefits in dark alt-bg */
.alt-bg {
    background: radial-gradient(circle at top, #0f172a, #070a13) !important;
    padding: 6.5rem 0;
}

.alt-bg .section-intro h2 {
    color: #ffffff !important;
}

.alt-bg .section-intro p {
    color: #94a3b8 !important;
}

.alt-bg .benefit-item {
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-left: 4px solid var(--primary) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.alt-bg .benefit-item:hover {
    background: rgba(255, 255, 255, 0.04) !important;
    border-color: rgba(22, 119, 248, 0.25) !important;
    border-left-color: #36b6ff !important;
    box-shadow: 0 25px 50px -12px rgba(22, 119, 248, 0.25) !important;
    transform: translateY(-8px);
}

.alt-bg .benefit-content h4 {
    color: #ffffff !important;
}

.alt-bg .benefit-item:hover .benefit-content h4 {
    color: #38bdf8 !important;
}

.alt-bg .benefit-content p {
    color: #94a3b8 !important;
}

.alt-bg .benefit-icon-wrapper {
    background: rgba(255, 255, 255, 0.05) !important;
    color: #38bdf8 !important;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.05) !important;
}

.alt-bg .benefit-item:hover .benefit-icon-wrapper {
    background: linear-gradient(135deg, var(--primary), #36b6ff) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 20px rgba(22, 119, 248, 0.3) !important;
}

/* --- FAQ SECTION --- */
.faq-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 5rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(22, 119, 248, 0.06);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    margin-bottom: 0.8rem;
    overflow: hidden;
    padding: 0 !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.open {
    background: #ffffff;
    border-color: rgba(22, 119, 248, 0.25);
    box-shadow: 0 12px 30px rgba(3, 22, 56, 0.06);
}

.faq-question {
    width: 100%;
    border: 0;
    background: transparent;
    text-align: left;
    padding: 1.3rem 1.6rem;
    font-weight: 800;
    color: var(--text-main);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover h4 {
    color: var(--primary);
}

.faq-question h4 {
    font-size: 1.05rem;
    margin: 0;
    font-weight: 800;
    transition: color 0.3s ease;
}

.faq-question::after {
    content: '\f0fe';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--primary);
    font-size: 1.1rem;
    background: rgba(22, 119, 248, 0.08);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.open .faq-question::after {
    content: '\f068';
    background: var(--primary);
    color: #ffffff;
    transform: rotate(180deg);
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer p {
    overflow: hidden;
    margin: 0;
    padding: 0 1.6rem;
    font-size: 0.94rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.faq-item.open .faq-answer {
    grid-template-rows: 1fr;
}

.faq-item.open .faq-answer p {
    padding: 0 1.6rem 1.4rem;
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media(max-width: 992px) {
    .split-grid, .faq-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .overview-section .service-visual {
        order: 2;
    }

    .benefits-grid .benefit-art {
        order: 2;
    }
    
    .visual-chip {
        bottom: 1rem;
        right: 1rem;
        padding: 0.65rem 1rem;
        font-size: 0.8rem;
    }

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

@media(max-width: 768px) {
    .detail-hero {
        padding: 80px 0 60px;
    }

    .include-grid {
        grid-template-columns: 1fr;
    }
    
    .benefit-list {
        grid-template-columns: 1fr;
    }
    
    .process-track {
        grid-template-columns: 1fr;
    }
}