
/* service_detail.css */

/* ─── HERO SECTION ───────────────────────────── */
.sd-hero {
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 5% 80px;
    position: relative;
    overflow: hidden;
    background: var(--d);
}

.sd-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(18, 176, 133, 0.08), transparent 60%);
    pointer-events: none;
}

.sd-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--tm);
    margin-bottom: 32px;
    position: relative;
    z-index: 2;
    animation: fdD 0.6s ease 0.1s both;
    flex-wrap: wrap;
    justify-content: center;
}

.sd-breadcrumb a {
    color: var(--tm);
    text-decoration: none;
    transition: var(--tr);
}

.sd-breadcrumb a:hover {
    color: var(--pl);
}

.sd-bc-current {
    color: var(--t1);
    font-weight: 600;
}

.sd-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    background: var(--pu);
    border: 1.5px solid var(--pbr);
    border-radius: 50px;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
    animation: fdD 0.6s ease 0.2s both;
    box-shadow: 0 0 20px var(--pg);
}

.sd-badge-icon {
    font-size: 20px;
}

.sd-badge-cat {
    font-size: 13px;
    font-weight: 700;
    color: var(--pl);
}

.sd-hero-title {
    font-size: clamp(36px, 6vw, 68px);
    font-weight: 900;
    line-height: 1.2;
    color: var(--t1);
    margin-bottom: 20px;
    max-width: 900px;
    position: relative;
    z-index: 2;
    animation: fdD 0.6s ease 0.3s both;
    background: var(--gc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sd-hero-desc {
    font-size: 17px;
    color: var(--t2);
    line-height: 1.8;
    max-width: 680px;
    margin: 0 auto 40px;
    font-weight: 300;
    position: relative;
    z-index: 2;
    animation: fdD 0.6s ease 0.4s both;
}

.sd-hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
    animation: fdD 0.6s ease 0.5s both;
}

.sd-stat {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: var(--d3);
    border: 1px solid var(--pb);
    border-radius: 16px;
    transition: var(--tr);
}

.sd-stat:hover {
    border-color: var(--pbr);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px var(--pg);
}

.sd-stat-icon {
    font-size: 28px;
}

.sd-stat h4 {
    font-size: 24px;
    font-weight: 800;
    color: var(--pl);
    margin-bottom: 2px;
}

.sd-stat p {
    font-size: 12px;
    color: var(--tm);
    font-weight: 600;
}

/* ─── FEATURES ───────────────────────────────── */
.sd-features {
    background: var(--d2);
    padding: 100px 5%;
}

.sd-features h2,
.sd-roi h2,
.sd-process h2,
.sd-tech h2,
.sd-cases h2,
.sd-faq h2 {
    font-size: clamp(32px, 4.5vw, 48px);
    font-weight: 900;
    text-align: center;
    color: var(--t1);
    margin-bottom: 50px;
}

.sd-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.sd-feature-card {
    background: var(--d3);
    border: 1px solid var(--pb);
    border-radius: 18px;
    padding: 28px 22px;
    text-align: center;
    transition: var(--tr);
}

.sd-feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--pbr);
    box-shadow: 0 10px 28px var(--pg);
}

.sd-feature-icon {
    font-size: 36px;
    margin-bottom: 14px;
}

.sd-feature-card h3 {
    font-size: 16px;
    color: var(--t1);
    font-weight: 700;
    line-height: 1.8;
}

/* ─── ROI SECTION ────────────────────────────── */
.sd-roi {
    background: var(--d);
    padding: 100px 5%;
}

.sd-roi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.sd-roi-card {
    background: var(--d3);
    border: 1px solid var(--pb);
    border-radius: 20px;
    padding: 32px 28px;
    transition: var(--tr);
    position: relative;
    overflow: hidden;
}

.sd-roi-card::before {
    content: "";
    position: absolute;
    inset-inline: 0;
    top: 0;
    height: 4px;
    background: var(--gm);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.sd-roi-card:hover {
    transform: translateY(-8px);
    border-color: var(--pbr);
    box-shadow: var(--sh), 0 0 30px var(--pg);
}

.sd-roi-card:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.sd-roi-icon {
    font-size: 42px;
    margin-bottom: 16px;
}

.sd-roi-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--t1);
    margin-bottom: 16px;
}

.sd-roi-card p {
    font-size: 14px;
    color: var(--t2);
    line-height: 1.8;
    margin-bottom: 8px;
}

.sd-roi-card p:last-child {
    font-weight: 700;
    color: var(--pl);
    font-size: 15px;
}

/* ─── PROCESS ───────────────────────────────── */
.sd-process {
    background: var(--d2);
    padding: 100px 5%;
}

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

.sd-timeline::before {
    content: "";
    position: absolute;
    right: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--p), transparent);
    transform: translateX(50%);
}

.sd-timeline-item {
    position: relative;
    padding: 32px 40px;
    background: var(--d3);
    border: 1px solid var(--pb);
    border-radius: 18px;
    margin-bottom: 32px;
    transition: var(--tr);
}

.sd-timeline-item:nth-child(even) {
    margin-right: 52%;
}

.sd-timeline-item:nth-child(odd) {
    margin-left: 52%;
}

.sd-timeline-item::before {
    content: "";
    position: absolute;
    top: 50%;
    width: 16px;
    height: 16px;
    background: var(--p);
    border: 3px solid var(--d);
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 0 4px var(--pu);
}

.sd-timeline-item:nth-child(even)::before {
    left: -40px;
}

.sd-timeline-item:nth-child(odd)::before {
    right: -40px;
}

.sd-timeline-item:hover {
    transform: translateY(-6px);
    border-color: var(--pbr);
    box-shadow: 0 12px 32px var(--pg);
}

.sd-timeline-item h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--pl);
    margin-bottom: 10px;
}

.sd-timeline-item p {
    font-size: 14px;
    color: var(--t2);
    line-height: 1.8;
    font-weight: 300;
}

/* ─── TECH ──────────────────────────────────── */
.sd-tech {
    background: var(--d);
    padding: 80px 5%;
    overflow: hidden;
}

.sd-marquee {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: marqueeScroll 30s linear infinite;
}

.sd-marquee:hover {
    animation-play-state: paused;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.sd-tech-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: var(--d3);
    border: 1px solid var(--pb);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--t1);
    white-space: nowrap;
    transition: var(--tr);
}

.sd-tech-item:hover {
    border-color: var(--pbr);
    background: var(--pu);
    color: var(--pl);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px var(--pg);
}

/* ─── CASES ─────────────────────────────────── */
.sd-cases {
    background: var(--d2);
    padding: 100px 5%;
}

.sd-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto;
}

.sd-case-card {
    background: var(--d3);
    border: 1px solid var(--pb);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--tr);
}

.sd-case-card:hover {
    transform: translateY(-10px);
    border-color: var(--pbr);
    box-shadow: var(--sh), 0 0 40px var(--pg);
}

.sd-case-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: var(--tr);
}

.sd-case-card:hover img {
    transform: scale(1.05);
}

.sd-case-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--t1);
    padding: 24px 24px 8px;
}

.sd-case-card p {
    font-size: 14px;
    color: var(--t2);
    line-height: 1.7;
    padding: 0 24px 12px;
}

.sd-case-card p:last-child {
    font-weight: 700;
    color: var(--pl);
    padding-bottom: 24px;
}

/* ─── FAQ ───────────────────────────────────── */
.sd-faq {
    background: var(--d);
    padding: 100px 5%;
}

.sd-faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    gap: 16px;
}

.sd-faq-item {
    background: var(--d3);
    border: 1px solid var(--pb);
    border-radius: 18px;
    padding: 0;
    overflow: hidden;
    transition: var(--tr);
}

.sd-faq-item.open {
    border-color: var(--pbr);
    box-shadow: 0 8px 24px var(--pg);
}

.sd-faq-question {
    width: 100%;
    border: 0;
    background: transparent;
    color: var(--t1);
    font: inherit;
    font-size: 17px;
    font-weight: 700;
    padding: 22px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    text-align: right;
}

.sd-faq-toggle {
    font-size: 24px;
    color: var(--pl);
    line-height: 1;
    transition: transform 0.3s ease;
}

.sd-faq-item.open .sd-faq-toggle {
    transform: rotate(45deg);
}

.sd-faq-answer {
    padding: 0 24px 22px;
    font-size: 14px;
    color: var(--t2);
    line-height: 1.9;
    font-weight: 300;
}

/* ─── REVEAL ────────────────────────────────── */
.sd-stat,
.sd-feature-card,
.sd-roi-card,
.sd-timeline-item,
.sd-tech-item,
.sd-case-card,
.sd-faq-item {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.sd-stat.visible,
.sd-feature-card.visible,
.sd-roi-card.visible,
.sd-timeline-item.visible,
.sd-tech-item.visible,
.sd-case-card.visible,
.sd-faq-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── RESPONSIVE ────────────────────────────── */
@media (max-width: 992px) {
    .sd-timeline::before {
        right: 24px;
        transform: none;
    }

    .sd-timeline-item:nth-child(even),
    .sd-timeline-item:nth-child(odd) {
        margin-right: 48px;
        margin-left: 0;
    }

    .sd-timeline-item:nth-child(even)::before,
    .sd-timeline-item:nth-child(odd)::before {
        right: -32px;
        left: auto;
    }
}

@media (max-width: 768px) {
    .sd-hero {
        padding-top: 100px;
    }

    .sd-hero-stats {
        gap: 16px;
    }

    .sd-stat {
        width: 100%;
        justify-content: center;
    }

    .sd-timeline-item {
        padding: 24px 22px;
    }

    .sd-case-card img {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .sd-breadcrumb {
        font-size: 12px;
    }

    .sd-hero-desc {
        font-size: 15px;
    }

    .sd-faq-question {
        font-size: 15px;
        padding: 18px 18px;
    }

    .sd-faq-answer {
        padding: 0 18px 18px;
    }
}