.pipeline-main-wrapper {
    background-color: #0a0a0c;
    min-height: 100vh;
}

.pipeline-hero-section {
    position: relative;
    height: calc(100vh - 20px);
    min-height: 740px;
    padding: 6rem 3.5rem 2rem 3.5rem;
    background-color: #0a0a0c;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
}

.hero-bg-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.45;
    filter: brightness(0.85) contrast(1.15);
}

.pipeline-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(10, 10, 12, 0.5) 0%, rgba(10, 10, 12, 0.2) 50%, rgba(10, 10, 12, 0.95) 100%);
    pointer-events: none;
}

.pipeline-hero-ambient {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1000px;
    height: 600px;
    background: radial-gradient(circle, rgba(184, 29, 36, 0.32) 0%, rgba(79, 70, 229, 0.16) 45%, rgba(10, 10, 12, 0) 75%);
    filter: blur(120px);
    pointer-events: none;
    z-index: 1;
}

.pipeline-hero-center-stage {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 700px;
    margin: auto 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.monolith-glass-window {
    width: 100%;
    position: relative;
}

.hero-terminal-card {
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 18px;
    backdrop-filter: blur(36px) saturate(190%);
    -webkit-backdrop-filter: blur(36px) saturate(190%);
    overflow: hidden;
}

.hero-terminal-header {
    background: rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    padding: 0.85rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.terminal-dots {
    display: flex;
    gap: 0.45rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.red { background-color: #ff5f56; }
.dot.yellow { background-color: #ffbd2e; }
.dot.green { background-color: #27c93f; }

.terminal-title {
    font-family: 'SF Mono', Consolas, Monaco, monospace;
    font-size: 0.8rem;
    color: rgba(15, 15, 22, 0.75);
    font-weight: 600;
    letter-spacing: 0.01em;
}

.terminal-badge {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 3px 8px;
    border-radius: 4px;
    color: var(--ruby-main);
    background: rgba(184, 29, 36, 0.12);
    border: 1px solid rgba(184, 29, 36, 0.25);
}

.hero-terminal-body {
    padding: 1.4rem 1.75rem;
    font-family: 'SF Mono', Consolas, Monaco, monospace;
    font-size: 0.9rem;
    line-height: 1.8;
    color: #0f0f14;
}

.tree-line {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.tree-meta {
    margin-left: auto;
    font-size: 0.74rem;
    color: rgba(15, 15, 25, 0.65);
    font-weight: 600;
}

.indent-1 { padding-left: 1.35rem; }
.indent-2 { padding-left: 2.7rem; }

.tree-icon {
    width: 8px;
    height: 8px;
    border-radius: 2px;
    display: inline-block;
}

.tree-icon.dir { background-color: #4f46e5; }
.tree-icon.file { background-color: #059669; }
.tree-icon.code { background-color: #d97706; }
.tree-icon.config { background-color: #db2777; }
.tree-icon.git { background-color: #4f46e5; }

.tree-name {
    color: #050508;
    font-weight: 600;
}

.pipeline-hero-bottom-bar {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
    padding-bottom: 0.5rem;
}

.hero-brand-block {
    text-align: left;
}

.hero-kicker {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.2rem;
}

.hero-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.02;
    color: #ffffff;
    margin-bottom: 1.2rem;
}

.hero-subtitle {
    font-size: clamp(0.95rem, 1.2vw, 1.1rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.75);
}

.hero-cta-block {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .pipeline-hero-section {
        height: auto;
        min-height: 100vh;
        padding: 7rem 1.5rem 2rem 1.5rem;
    }

    .pipeline-hero-bottom-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        padding-bottom: 1rem;
    }

    .hero-cta-block {
        width: 100%;
        justify-content: flex-start;
    }
}