
/* service_list.css */

/* ─── HERO WITH GRAPH ───────────────────────────── */
.srv-hero {
    min-height: 100vh;
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    padding: 0 5%;
    overflow: hidden;
}

.srv-hero-content {
    position: relative;
    z-index: 2;
    padding-top: 80px;
}

.srv-hero-title {
    font-size: clamp(38px, 5.5vw, 72px);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 22px;
    animation: fdD 0.8s ease 0.4s both;
}

.srv-hero-title .l1 {
    display: block;
    color: var(--t1);
}

.srv-hero-title .l2 {
    display: block;
    background: var(--gc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.srv-hero-desc {
    font-size: 16.5px;
    color: var(--t2);
    line-height: 1.95;
    max-width: 540px;
    font-weight: 300;
    animation: fdD 0.8s ease 0.6s both;
}

/* Interactive Graph */
.srv-graph-container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fdD 0.8s ease 0.8s both;
}

.srv-graph {
    width: 100%;
    max-width: 550px;
    height: 550px;
    filter: drop-shadow(0 8px 32px rgba(18, 176, 133, 0.15));
}

/* Graph Nodes */
.graph-node {
    cursor: pointer;
    transition: all 0.3s ease;
}

.graph-node:hover .node-circle,
.graph-node:focus .node-circle {
    filter: drop-shadow(0 0 12px rgba(18, 176, 133, 0.6));
}

.graph-node:hover .node-icon,
.graph-node:focus .node-icon {
    transform: scale(1.12);
    transform-origin: center;
}

.graph-node:focus {
    outline: none;
}

.node-circle {
    transition: all 0.3s ease;
}

.node-icon {
    transition: transform 0.3s ease;
    pointer-events: none;
}

.node-label {
    pointer-events: none;
    user-select: none;
}

/* Graph Lines */
.graph-line {
    stroke: rgba(18, 176, 133, 0.2);
    stroke-width: 1.5;
    stroke-dasharray: 4 4;
    transition: all 0.3s ease;
}

.graph-line.active {
    stroke: rgba(18, 176, 133, 0.75);
    stroke-width: 2.5;
    filter: drop-shadow(0 0 4px rgba(18, 176, 133, 0.4));
}

/* Pulse Rings */
.pulse-ring {
    fill: none;
    stroke: var(--p1);
    stroke-width: 2;
    opacity: 0;
    transform-origin: center;
}

.pulse-ring.is-active {
    animation: ringPulse 1.5s ease-out infinite;
}

@keyframes ringPulse {
    0% {
        opacity: 0.6;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(1.6);
    }
}

/* ─── SEARCH & FILTER ────────────────────────────── */
.srv-filter-section {
    background: var(--d2);
    padding: 60px 5%;
    border-bottom: 1px solid var(--pb);
}

.srv-search-wrap {
    max-width: 700px;
    margin: 0 auto 40px;
}

.srv-search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--d3);
    border: 2px solid var(--pb);
    border-radius: 60px;
    padding: 18px 28px;
    transition: var(--tr);
}

.srv-search-box:focus-within {
    border-color: var(--p);
    box-shadow: 0 0 0 4px rgba(14, 148, 110, 0.12), 0 0 30px var(--pg);
}

.srv-search-icon {
    font-size: 22px;
    margin-left: 14px;
    opacity: 0.6;
}

.srv-search-box input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--t1);
    font-size: 16px;
    font-family: inherit;
}

.srv-search-box input::placeholder {
    color: var(--tm);
}

.srv-tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.srv-tab {
    padding: 12px 28px;
    border-radius: 30px;
    border: 1.5px solid var(--pb);
    background: transparent;
    color: var(--t2);
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: var(--tr);
}

.srv-tab:hover,
.srv-tab.active {
    background: var(--gm);
    border-color: var(--p);
    color: #fff;
    box-shadow: 0 6px 22px var(--pg);
    transform: translateY(-2px);
}

/* ─── SERVICES GRID ──────────────────────────────── */
.srv-main {
    background: var(--d);
    padding: 100px 5%;
}

.srv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.srv-card {
    background: var(--d3);
    border: 1px solid var(--pb);
    border-radius: 22px;
    padding: 36px 32px;
    position: relative;
    overflow: hidden;
    transition: var(--tr);
}

.srv-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gm);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.srv-card:hover {
    transform: translateY(-12px);
    border-color: var(--pbr);
    box-shadow: var(--sh), var(--sg);
}

.srv-card:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.srv-card-icon {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    background: var(--pu);
    border: 1px solid var(--pb);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 24px;
    transition: var(--tr);
}

.srv-card:hover .srv-card-icon {
    background: var(--p);
    border-color: var(--p);
    transform: rotate(-12deg) scale(1.12);
    box-shadow: 0 10px 30px var(--pg);
}

.srv-card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--t1);
    margin-bottom: 12px;
}

.srv-card-desc {
    font-size: 14px;
    color: var(--t2);
    line-height: 1.85;
    font-weight: 300;
    margin-bottom: 18px;
}

.srv-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.srv-tag {
    padding: 5px 12px;
    background: var(--d4);
    border: 1px solid var(--pb);
    border-radius: 20px;
    font-size: 11px;
    color: var(--tm);
    font-weight: 600;
}

.srv-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--pl);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--tr);
    opacity: 0;
    transform: translateX(-10px);
}

.srv-card:hover .srv-card-link {
    opacity: 1;
    transform: translateX(0);
}

.srv-no-results {
    text-align: center;
    padding: 80px 20px;
}

.no-results-icon {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.3;
}

.srv-no-results h3 {
    font-size: 24px;
    color: var(--t1);
    margin-bottom: 10px;
}

.srv-no-results p {
    font-size: 15px;
    color: var(--t2);
}

/* ─── SOLUTION BUNDLES ───────────────────────────── */
.srv-bundles {
    background: var(--d2);
    padding: 100px 5%;
}

.sec-hd {
    text-align: center;
    margin-bottom: 50px;
}

.sec-lbl {
    font-size: 13px;
    color: var(--tm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.sec-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 900;
    color: var(--t1);
    margin-bottom: 14px;
}

.sec-desc {
    font-size: 15px;
    color: var(--t2);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
}

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

.bundle-card {
    display: block;
    background: var(--d3);
    border: 1px solid var(--pb);
    border-radius: 24px;
    padding: 36px 30px;
    position: relative;
    overflow: hidden;
    transition: var(--tr);
}

.bundle-card.featured {
    border-color: var(--p);
    box-shadow: 0 0 30px var(--pg);
}

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

.bundle-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    background: var(--gm);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    box-shadow: 0 4px 14px var(--pg);
    z-index: 1;
}

.bundle-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.bundle-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--t1);
    margin-bottom: 12px;
}

.bundle-desc {
    font-size: 14px;
    color: var(--t2);
    line-height: 1.8;
    margin-bottom: 24px;
}

.bundle-services {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--pb);
}

.bundle-service {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--t2);
}

.bs-icon {
    color: var(--p);
    font-weight: 700;
    font-size: 16px;
}

.bundle-synergy {
    margin-bottom: 24px;
}

.synergy-result {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sr-old {
    font-size: 14px;
    color: var(--tm);
    text-decoration: line-through;
}

.sr-new {
    font-size: 28px;
    font-weight: 800;
    background: var(--gc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sr-save {
    font-size: 13px;
    font-weight: 700;
    color: #4ade80;
    background: rgba(74, 222, 128, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
    width: fit-content;
}

.bundle-cta {
    width: 100%;
    padding: 14px;
    background: transparent;
    border: 2px solid var(--pbr);
    border-radius: 50px;
    color: var(--pl);
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: var(--tr);
}

.bundle-cta:hover {
    background: var(--gm);
    border-color: var(--p);
    color: #fff;
    box-shadow: 0 8px 28px var(--pg);
    transform: translateY(-3px);
}

/* ─── RECOMMENDATION WIZARD ──────────────────────── */
.srv-wizard {
    background: var(--d);
    padding: 100px 5%;
}

.wizard-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--d3);
    border: 1px solid var(--pb);
    border-radius: 28px;
    padding: 50px 40px;
    position: relative;
    overflow: hidden;
}

.wizard-container::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(14, 148, 110, 0.04), transparent);
    pointer-events: none;
}

.wizard-header {
    text-align: center;
    margin-bottom: 50px;
}

.wizard-title {
    font-size: 32px;
    font-weight: 900;
    color: var(--t1);
    margin-bottom: 12px;
}

.wizard-desc {
    font-size: 15px;
    color: var(--t2);
    font-weight: 300;
    line-height: 1.8;
}

.wizard-steps {
    position: relative;
    min-height: 280px;
}

.wizard-step {
    display: none;
    animation: fdD 0.5s ease both;
}

.wizard-step.active {
    display: block;
}

.ws-number {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--pu);
    border: 2px solid var(--pbr);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 900;
    color: var(--pl);
    margin: 0 auto 24px;
    box-shadow: 0 0 20px var(--pg);
}

.ws-question {
    font-size: 22px;
    font-weight: 700;
    color: var(--t1);
    text-align: center;
    margin-bottom: 32px;
}

.ws-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.ws-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    background: var(--d4);
    border: 1.5px solid var(--pb);
    border-radius: 16px;
    color: var(--t2);
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: var(--tr);
    text-align: right;
}

.ws-option:hover,
.ws-option.selected {
    border-color: var(--p);
    background: var(--pu);
    color: var(--pl);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px var(--pg);
}

.wso-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.wso-text {
    font-size: 14px;
}

/* Wizard Result */
.ws-result {
    text-align: center;
    animation: fdD 0.6s ease both;
}

.wsr-icon {
    font-size: 56px;
    margin-bottom: 16px;
}

.wsr-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--t1);
    margin-bottom: 28px;
}

.wsr-services {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.wsr-service-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    background: var(--d4);
    border: 1px solid var(--pb);
    border-radius: 14px;
    text-align: right;
    transition: var(--tr);
    animation: fdU 0.5s ease both;
}

.wsr-service-item.highlight {
    border-color: var(--p);
    background: var(--pu);
    box-shadow: 0 0 20px var(--pg);
}

.wsr-service-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.wsr-service-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--t1);
    margin-bottom: 4px;
}

.wsr-service-reason {
    font-size: 12px;
    color: var(--tm);
    font-weight: 300;
}

.wsr-restart {
    padding: 13px 36px;
    background: transparent;
    border: 2px solid var(--pbr);
    border-radius: 50px;
    color: var(--pl);
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: var(--tr);
}

.wsr-restart:hover {
    background: var(--pu);
    box-shadow: 0 0 22px var(--pg);
    transform: translateY(-3px);
}

/* Wizard Progress */
.wizard-progress {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 40px;
}

.wp-bar {
    flex: 1;
    height: 4px;
    background: var(--d4);
    border-radius: 2px;
    overflow: hidden;
}

.wp-fill {
    height: 100%;
    background: var(--gm);
    border-radius: 2px;
    width: 33.33%;
    transition: width 0.5s ease;
    box-shadow: 0 0 10px var(--pg);
}

.wp-text {
    font-size: 13px;
    color: var(--tm);
    font-weight: 600;
    white-space: nowrap;
}

/* ─── GRAPH TOOLTIP ─────────────────────────────── */
.graph-tooltip {
    position: fixed;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(18, 176, 133, 0.3);
    border-radius: 12px;
    padding: 16px 20px;
    pointer-events: none;
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.25s ease;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    min-width: 200px;
}

.graph-tooltip.visible {
    opacity: 1;
    transform: translateY(0);
}

.gt-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--pl);
    margin-bottom: 6px;
}

.gt-desc {
    font-size: 12px;
    color: var(--t2);
    line-height: 1.7;
    font-weight: 300;
}

.gt-deps {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--pb);
}

.gt-dep-label {
    font-size: 11px;
    color: var(--tm);
    margin-bottom: 6px;
    font-weight: 600;
}

.gt-dep-item {
    display: inline-block;
    padding: 3px 8px;
    background: var(--pu);
    border: 1px solid var(--pb);
    border-radius: 10px;
    font-size: 11px;
    color: var(--pl);
    margin: 2px;
}

/* ─── SCROLL REVEAL ─────────────────────────────── */
.rv {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.rv.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 1100px) {
    .srv-hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 100px;
    }

    .srv-hero-content {
        padding-top: 0;
    }

    .srv-hero-desc {
        margin: 0 auto;
    }

    .srv-graph-container {
        max-width: 500px;
        margin: 0 auto;
        order: -1;
    }
}

@media (max-width: 768px) {
    .bundle-grid {
        grid-template-columns: 1fr;
    }

    .ws-options {
        grid-template-columns: 1fr;
    }

    .wizard-container {
        padding: 36px 24px;
    }

    .srv-graph {
        height: 400px;
    }
}

@media (max-width: 600px) {
    .srv-filter-section {
        padding: 50px 5%;
    }

    .srv-tabs {
        gap: 8px;
    }

    .srv-tab {
        padding: 10px 18px;
        font-size: 13px;
    }

    .srv-graph {
        max-width: 100%;
        height: 380px;
    }

    .graph-tooltip {
        min-width: 160px;
        padding: 12px 16px;
    }
}
