/* ══════════════════════════════════════════════════════════════
   LOOP/CYCLE SECTION - Ultra Premium Design
   ══════════════════════════════════════════════════════════════ */

.cycle-section {
    position: relative;
    padding: 180px 48px;
    background: var(--bg);
    overflow: hidden;
}

/* Ambient background glow */
.cycle-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1200px;
    height: 800px;
    background: radial-gradient(ellipse at center, rgba(0, 255, 136, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

/* Top line removed */

/* ══════════════════════════════════════════════════════════════
   SECTION HEADER - Centered
   ══════════════════════════════════════════════════════════════ */

.cycle-section .section-header {
    text-align: center;
    margin-bottom: 100px;
    position: relative;
    z-index: 2;
}

.cycle-section .section-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    display: block;
}

.cycle-section .section-title {
    font-family: 'Cabinet Grotesk', sans-serif;
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 800;
    letter-spacing: -2px;
    color: var(--white);
    margin-bottom: 20px;
}

.cycle-section .section-subtitle {
    font-size: 18px;
    color: var(--gray-300);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ══════════════════════════════════════════════════════════════
   PIPELINE LAYOUT
   ══════════════════════════════════════════════════════════════ */

.pipeline-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.pipeline-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
    z-index: 2;
}

/* ══════════════════════════════════════════════════════════════
   STEP NUMBER
   ══════════════════════════════════════════════════════════════ */

.pipeline-step {
    position: relative;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.9) 0%, rgba(8, 8, 8, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    font-family: 'Cabinet Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: var(--gray-500);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.pipeline-step.active .step-number {
    background: linear-gradient(135deg, var(--accent) 0%, #00cc77 100%);
    border-color: var(--accent);
    color: var(--bg);
    box-shadow: 0 0 50px rgba(0, 255, 136, 0.4), 0 10px 40px rgba(0, 255, 136, 0.2);
    animation: number-pulse 2s ease-in-out infinite;
}

@keyframes number-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

/* ══════════════════════════════════════════════════════════════
   STEP CARD
   ══════════════════════════════════════════════════════════════ */

.step-card {
    position: relative;
    background: linear-gradient(165deg, rgba(15, 15, 15, 0.7) 0%, rgba(8, 8, 8, 0.9) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 28px;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
}

.step-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 28px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 40%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    transition: all 0.6s;
}

.pipeline-step.active .step-card {
    border-color: rgba(0, 255, 136, 0.2);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), 0 0 80px rgba(0, 255, 136, 0.08);
    transform: translateY(-8px);
}

.pipeline-step.active .step-card::before {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.4) 0%, rgba(0, 255, 136, 0.1) 30%, transparent 60%);
}

/* ══════════════════════════════════════════════════════════════
   STEP VISUAL
   ══════════════════════════════════════════════════════════════ */

.step-visual {
    height: 240px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.1) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    overflow: visible;
}

/* ══════════════════════════════════════════════════════════════
   CODE VISUAL - Typewriter Effect
   ══════════════════════════════════════════════════════════════ */

.code-terminal {
    width: 100%;
    height: 100%;
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    font-family: 'JetBrains Mono', monospace;
}

.code-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.code-line {
    display: flex;
    align-items: center;
    gap: 16px;
    height: 24px;
    overflow: hidden;
}

.line-num {
    font-size: 12px;
    color: var(--gray-600);
    min-width: 16px;
    text-align: right;
    transition: color 0.4s;
}

.pipeline-step.active .line-num {
    color: var(--accent);
}

/* INACTIVE: Show gray code */
.line-text {
    font-size: 13px;
    color: var(--gray-600);
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
    transition: color 0.4s;
}

/* Syntax colors - gray when inactive */
.code-keyword { color: var(--gray-500); transition: color 0.4s; }
.code-func { color: var(--gray-500); transition: color 0.4s; }
.code-num { color: var(--gray-500); transition: color 0.4s; }

/* ACTIVE: Colorful syntax */
.pipeline-step.active .line-text {
    color: var(--gray-300);
    animation: typewriter 0.8s steps(30) forwards;
    width: 0;
}

.pipeline-step.active .code-keyword { color: #ff79c6; }
.pipeline-step.active .code-func { color: #50fa7b; }
.pipeline-step.active .code-num { color: #bd93f9; }

.pipeline-step.active .code-line:nth-child(1) .line-text { animation-delay: 0s; }
.pipeline-step.active .code-line:nth-child(2) .line-text { animation-delay: 0.3s; }
.pipeline-step.active .code-line:nth-child(3) .line-text { animation-delay: 0.6s; }
.pipeline-step.active .code-line:nth-child(4) .line-text { animation-delay: 0.9s; }
.pipeline-step.active .code-line:nth-child(5) .line-text { animation-delay: 1.2s; }

@keyframes typewriter {
    from { width: 0; }
    to { width: 100%; }
}

/* Blinking cursor */
.typing-cursor {
    position: absolute;
    bottom: 52px;
    left: 48px;
    width: 2px;
    height: 18px;
    background: var(--gray-600);
    box-shadow: none;
    transition: all 0.4s;
}

.pipeline-step.active .typing-cursor {
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent);
    animation: cursor-blink 0.8s step-end infinite;
}

@keyframes cursor-blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* ══════════════════════════════════════════════════════════════
   BUILD VISUAL - True 3D Cubes
   ══════════════════════════════════════════════════════════════ */

.build-visual {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 500px;
}

.build-scene {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    transform-style: preserve-3d;
    transform: rotateX(-20deg) rotateY(-25deg);
    transition: transform 0.6s;
}

.pipeline-step.active .build-scene {
    animation: scene-rotate 8s ease-in-out infinite;
}

@keyframes scene-rotate {
    0%, 100% { transform: rotateX(-20deg) rotateY(-25deg); }
    50% { transform: rotateX(-15deg) rotateY(-35deg); }
}

/* 3D Cube - VISIBLE when inactive (gray) */
.cube {
    width: 44px;
    height: 44px;
    position: relative;
    transform-style: preserve-3d;
    opacity: 1;
    transform: translateY(0) scale(1);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Cube faces */
.cube-face {
    position: absolute;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.5s;
}

.cube-face.front  { transform: translateZ(22px); }
.cube-face.back   { transform: rotateY(180deg) translateZ(22px); }
.cube-face.right  { transform: rotateY(90deg) translateZ(22px); }
.cube-face.left   { transform: rotateY(-90deg) translateZ(22px); }
.cube-face.top    { transform: rotateX(90deg) translateZ(22px); }
.cube-face.bottom { transform: rotateX(-90deg) translateZ(22px); }

/* INACTIVE: Gray cubes */
.cube .front  { background: linear-gradient(135deg, #3a3a3a, #2a2a2a); }
.cube .top    { background: linear-gradient(135deg, #333, #252525); }
.cube .right  { background: linear-gradient(135deg, #2c2c2c, #1f1f1f); }
.cube .left, .cube .back, .cube .bottom { background: #1a1a1a; }

/* ACTIVE: Colorful cubes with animation */
.pipeline-step.active .cube {
    animation: cube-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes cube-pop {
    0% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-15px) scale(1.1); }
    100% { transform: translateY(0) scale(1); }
}

/* Stagger cubes */
.pipeline-step.active .cube:nth-child(1) { animation-delay: 0s; }
.pipeline-step.active .cube:nth-child(2) { animation-delay: 0.08s; }
.pipeline-step.active .cube:nth-child(3) { animation-delay: 0.16s; }
.pipeline-step.active .cube:nth-child(4) { animation-delay: 0.24s; }
.pipeline-step.active .cube:nth-child(5) { animation-delay: 0.32s; }
.pipeline-step.active .cube:nth-child(6) { animation-delay: 0.40s; }
.pipeline-step.active .cube:nth-child(7) { animation-delay: 0.48s; }
.pipeline-step.active .cube:nth-child(8) { animation-delay: 0.56s; }
.pipeline-step.active .cube:nth-child(9) { animation-delay: 0.64s; }

/* Float animation after pop */
.pipeline-step.active .cube:nth-child(odd) { animation: cube-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards, cube-float-1 3s ease-in-out infinite 0.8s; }
.pipeline-step.active .cube:nth-child(even) { animation: cube-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards, cube-float-2 3s ease-in-out infinite 1s; }

@keyframes cube-float-1 {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-8px) scale(1.02); }
}
@keyframes cube-float-2 {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-5px) scale(1.01); }
}

/* ACTIVE Cube colors */
.pipeline-step.active .cube-green .front  { background: linear-gradient(135deg, #00ff88, #00cc66); }
.pipeline-step.active .cube-green .top    { background: linear-gradient(135deg, #00ee77, #00bb55); }
.pipeline-step.active .cube-green .right  { background: linear-gradient(135deg, #00dd66, #00aa44); }
.pipeline-step.active .cube-green .left,
.pipeline-step.active .cube-green .back,
.pipeline-step.active .cube-green .bottom { background: #009944; }

.pipeline-step.active .cube-blue .front   { background: linear-gradient(135deg, #60a5fa, #3b82f6); }
.pipeline-step.active .cube-blue .top     { background: linear-gradient(135deg, #5090e8, #2a71e5); }
.pipeline-step.active .cube-blue .right   { background: linear-gradient(135deg, #4080d6, #1960d4); }
.pipeline-step.active .cube-blue .left,
.pipeline-step.active .cube-blue .back,
.pipeline-step.active .cube-blue .bottom { background: #1d4ed8; }

.pipeline-step.active .cube-purple .front { background: linear-gradient(135deg, #c084fc, #a855f7); }
.pipeline-step.active .cube-purple .top   { background: linear-gradient(135deg, #b070eb, #9745e6); }
.pipeline-step.active .cube-purple .right { background: linear-gradient(135deg, #a060da, #8635d5); }
.pipeline-step.active .cube-purple .left,
.pipeline-step.active .cube-purple .back,
.pipeline-step.active .cube-purple .bottom { background: #7c3aed; }

.pipeline-step.active .cube-orange .front { background: linear-gradient(135deg, #fb923c, #f97316); }
.pipeline-step.active .cube-orange .top   { background: linear-gradient(135deg, #ea822c, #e86306); }
.pipeline-step.active .cube-orange .right { background: linear-gradient(135deg, #d9721c, #d75300); }
.pipeline-step.active .cube-orange .left,
.pipeline-step.active .cube-orange .back,
.pipeline-step.active .cube-orange .bottom { background: #ea580c; }

.pipeline-step.active .cube-pink .front   { background: linear-gradient(135deg, #f472b6, #ec4899); }
.pipeline-step.active .cube-pink .top     { background: linear-gradient(135deg, #e362a6, #db3889); }
.pipeline-step.active .cube-pink .right   { background: linear-gradient(135deg, #d25296, #ca2879); }
.pipeline-step.active .cube-pink .left,
.pipeline-step.active .cube-pink .back,
.pipeline-step.active .cube-pink .bottom { background: #db2777; }

.pipeline-step.active .cube-cyan .front   { background: linear-gradient(135deg, #22d3ee, #06b6d4); }
.pipeline-step.active .cube-cyan .top     { background: linear-gradient(135deg, #12c3de, #00a6c4); }
.pipeline-step.active .cube-cyan .right   { background: linear-gradient(135deg, #02b3ce, #0096b4); }
.pipeline-step.active .cube-cyan .left,
.pipeline-step.active .cube-cyan .back,
.pipeline-step.active .cube-cyan .bottom { background: #0891b2; }

.pipeline-step.active .cube-yellow .front { background: linear-gradient(135deg, #fde047, #eab308); }
.pipeline-step.active .cube-yellow .top   { background: linear-gradient(135deg, #ecd037, #d9a300); }
.pipeline-step.active .cube-yellow .right { background: linear-gradient(135deg, #dbc027, #c89300); }
.pipeline-step.active .cube-yellow .left,
.pipeline-step.active .cube-yellow .back,
.pipeline-step.active .cube-yellow .bottom { background: #ca8a04; }

/* ══════════════════════════════════════════════════════════════
   PLAY VISUAL - Ripple Effect
   ══════════════════════════════════════════════════════════════ */

.play-visual {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.play-rings {
    position: absolute;
    width: 120px;
    height: 120px;
}

/* INACTIVE: Visible gray rings */
.play-ring {
    position: absolute;
    inset: 0;
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    opacity: 1;
}

.play-ring:nth-child(1) { transform: scale(1); }
.play-ring:nth-child(2) { transform: scale(1.3); opacity: 0.6; }
.play-ring:nth-child(3) { transform: scale(1.6); opacity: 0.3; }

/* ACTIVE: Animated rings */
.pipeline-step.active .play-ring {
    border-color: rgba(0, 255, 136, 0.4);
    animation: ring-expand 2s ease-out infinite;
}

.pipeline-step.active .play-ring:nth-child(1) { animation-delay: 0s; }
.pipeline-step.active .play-ring:nth-child(2) { animation-delay: 0.6s; }
.pipeline-step.active .play-ring:nth-child(3) { animation-delay: 1.2s; }

@keyframes ring-expand {
    0% { transform: scale(0.8); opacity: 0.8; }
    100% { transform: scale(2); opacity: 0; }
}

/* Play button - VISIBLE when inactive (gray) */
.play-button {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(40, 40, 40, 0.9) 0%, rgba(25, 25, 25, 0.95) 100%);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.pipeline-step.active .play-button {
    background: linear-gradient(135deg, var(--accent) 0%, #00aa66 100%);
    border-color: transparent;
    box-shadow: 0 0 60px rgba(0, 255, 136, 0.6), 0 0 100px rgba(0, 255, 136, 0.3);
    animation: play-pulse 1.5s ease-in-out infinite;
}

@keyframes play-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}

/* Play icon - gray when inactive */
.play-icon {
    width: 0;
    height: 0;
    border-left: 32px solid var(--gray-500);
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    margin-left: 8px;
    transition: all 0.4s;
}

.pipeline-step.active .play-icon {
    border-left-color: var(--bg);
    animation: icon-bounce 1.5s ease-in-out infinite;
}

@keyframes icon-bounce {
    0%, 100% { transform: scale(1) translateX(0); }
    50% { transform: scale(1.15) translateX(3px); }
}

/* ══════════════════════════════════════════════════════════════
   STEP CONTENT
   ══════════════════════════════════════════════════════════════ */

.step-title {
    font-family: 'Cabinet Grotesk', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.5px;
    margin: 28px 32px 8px;
    transition: all 0.5s;
}

.pipeline-step.active .step-title {
    color: var(--accent);
    text-shadow: 0 0 30px rgba(0, 255, 136, 0.3);
}

.step-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0 32px 14px;
}

.step-desc {
    font-size: 14px;
    color: var(--gray-400);
    line-height: 1.7;
    margin: 0 32px 32px;
}

/* Progress bar */
.step-progress {
    height: 3px;
    background: rgba(255, 255, 255, 0.03);
    position: relative;
    overflow: hidden;
}

.step-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), #00dd88);
    width: 0%;
    transition: width 2.5s linear;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
}

.pipeline-step.active .step-progress-bar {
    width: 100%;
}

/* ══════════════════════════════════════════════════════════════
   CYCLE BANNER - Premium Design
   ══════════════════════════════════════════════════════════════ */

.cycle-banner {
    position: relative;
    margin-top: 80px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cycle-banner-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(ellipse at center, rgba(0, 255, 136, 0.15) 0%, transparent 70%);
    filter: blur(40px);
    pointer-events: none;
    animation: banner-glow 4s ease-in-out infinite;
}

@keyframes banner-glow {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

.cycle-banner-content {
    position: relative;
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 28px 40px;
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.9) 0%, rgba(8, 8, 8, 0.95) 100%);
    border: 1px solid rgba(0, 255, 136, 0.15);
    border-radius: 24px;
    backdrop-filter: blur(20px);
    overflow: hidden;
}

/* Gradient border */
.cycle-banner-content::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.3) 0%, transparent 40%, rgba(0, 255, 136, 0.1) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* Top accent line */
.cycle-banner-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.5), transparent);
}

.cycle-banner-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--accent) 0%, #00aa66 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg);
    box-shadow: 0 0 40px rgba(0, 255, 136, 0.4);
    animation: icon-rotate 10s linear infinite;
}

.cycle-banner-icon svg {
    width: 28px;
    height: 28px;
}

@keyframes icon-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.cycle-banner-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cycle-banner-title {
    font-family: 'Cabinet Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -0.5px;
}

.cycle-banner-desc {
    font-size: 14px;
    color: var(--gray-300);
    line-height: 1.5;
}

.cycle-banner-stats {
    display: flex;
    gap: 24px;
}

.cycle-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 12px 20px;
    background: rgba(0, 255, 136, 0.08);
    border: 1px solid rgba(0, 255, 136, 0.15);
    border-radius: 14px;
}

.cycle-stat-value {
    font-family: 'Cabinet Grotesk', sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.cycle-stat-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .pipeline-steps { gap: 24px; }
    .cube { width: 38px; height: 38px; }
    .cube-face { width: 38px; height: 38px; }
    .cube-face.front  { transform: translateZ(19px); }
    .cube-face.back   { transform: rotateY(180deg) translateZ(19px); }
    .cube-face.right  { transform: rotateY(90deg) translateZ(19px); }
    .cube-face.left   { transform: rotateY(-90deg) translateZ(19px); }
    .cube-face.top    { transform: rotateX(90deg) translateZ(19px); }
    .cube-face.bottom { transform: rotateX(-90deg) translateZ(19px); }
}

@media (max-width: 900px) {
    .pipeline-steps {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }
    .step-visual { height: 200px; }

    .cycle-banner-content {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
    }

    .cycle-banner-stats {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .cycle-section {
        padding: 70px 20px;
    }

    .cycle-section .section-header {
        margin-bottom: 50px;
    }

    .cycle-section .section-title {
        font-size: clamp(26px, 7vw, 34px);
        letter-spacing: -0.5px;
        margin-bottom: 16px;
    }

    .cycle-section .section-subtitle {
        font-size: 14px;
        padding: 0 5px;
        line-height: 1.6;
    }

    .pipeline-steps {
        max-width: 100%;
        gap: 20px;
    }

    .step-number {
        width: 48px;
        height: 48px;
        font-size: 16px;
        border-radius: 14px;
        margin-bottom: 16px;
    }

    .step-card {
        border-radius: 22px;
    }

    .step-visual {
        height: 160px;
    }

    .step-title {
        font-size: 22px;
        margin: 20px 20px 6px;
    }

    .step-desc {
        font-size: 13px;
        margin: 0 20px 24px;
    }

    .code-terminal {
        padding: 20px;
    }

    .code-line {
        gap: 10px;
        height: 20px;
    }

    .line-num {
        font-size: 10px;
    }

    .line-text {
        font-size: 11px;
    }

    .play-button {
        width: 70px;
        height: 70px;
    }

    .play-icon {
        border-left-width: 22px;
        border-top-width: 14px;
        border-bottom-width: 14px;
        margin-left: 6px;
    }

    .cube {
        width: 36px;
        height: 36px;
    }

    .cube-face {
        width: 36px;
        height: 36px;
    }

    .cube-face.front  { transform: translateZ(18px); }
    .cube-face.back   { transform: rotateY(180deg) translateZ(18px); }
    .cube-face.right  { transform: rotateY(90deg) translateZ(18px); }
    .cube-face.left   { transform: rotateY(-90deg) translateZ(18px); }
    .cube-face.top    { transform: rotateX(90deg) translateZ(18px); }
    .cube-face.bottom { transform: rotateX(-90deg) translateZ(18px); }

    .cycle-banner-icon {
        width: 52px;
        height: 52px;
        border-radius: 14px;
    }

    .cycle-banner-icon svg {
        width: 22px;
        height: 22px;
    }

    .cycle-banner-title {
        font-size: 20px;
    }

    .cycle-banner-desc {
        font-size: 13px;
    }

    .cycle-stat {
        padding: 10px 16px;
    }

    .cycle-stat-value {
        font-size: 22px;
    }

    .cycle-stat-label {
        font-size: 10px;
    }
}
