/* Speed Section Split Layout */
.speed-section-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    margin-top: 60px;
}

@media (min-width: 992px) {
    .speed-section-layout {
        grid-template-columns: 1fr 1fr; /* 左右分栏 */
        align-items: center;
    }
}

.speed-content-side {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.speed-feature-block h3 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.speed-feature-block p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 90%;
}

/* Demo Side Enhancements */
.speed-demo-side {
    position: relative;
}

.speed-demo-side::before {
    /* Optional: Add a subtle glow behind the terminal */
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    background: radial-gradient(circle, rgba(16, 163, 127, 0.1) 0%, rgba(0,0,0,0) 70%);
    z-index: -1;
    border-radius: 50%;
}

/* Override speed-demo.css specific to this layout context if needed */
.speed-demo-container {
    /* Ensure it takes full width of its column but maintains max-width constraint */
    width: 100%;
    max-width: 600px; /* Slightly narrower for split layout */
    margin: 0 auto;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3); /* Deeper shadow for 'floating' effect */
    height: 420px; /* Taller to balance visual weight */
}

.demo-terminal {
    height: 100%;
}

