
.stage {
    width: 100%;
    max-width: 560px;
    margin: auto;
    margin-bottom: 25px
}

/* ---- The progress knot itself ---- */
.progress-knot {
    background: rgba(255,255,255,0.035);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: 20px;
    padding: 28px 24px 22px;
    box-shadow: 0 20px 60px -20px rgba(0,0,0,0.6);
}

.knot-meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 22px;
}

.knot-meta .step-count {
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.06em;
    color: #9c98b0;
}

.knot-meta .step-title {
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: #b28b00;
}

.knot-track {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

/* connecting line sits behind the nodes */
.knot-line {
    position: absolute;
    top: 18px;
    left: 18px;
    right: 18px;
    height: 2px;
    background: rgba(255,255,255,0.09);
    z-index: 0;
    border-radius: 2px;
    overflow: hidden;
}

.knot-line-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #33c17e, #e3bb54);
    transition: width 0.45s ease;
    border-radius: 2px;
}

.knot-node {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.knot-node .dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1.5px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.03);
    color: #6f6c82;
}

.knot-node .label {
    font-size: 12px;
    color: #7c7990;
    text-align: center;
    max-width: 90px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

/* upcoming = default state above */

.knot-node.is-active .dot {
    border-color: #e3bb54;
    background: rgba(227,187,84,0.12);
    color: #b28b00;
    box-shadow: 0 0 0 4px rgba(227,187,84,0.08);
}
.knot-node.is-active .label {
    color: #b28b00;
    font-weight: 500;
}

.knot-node.is-done .dot {
    border-color: #33c17e;
    background: #1c5f43;
    color: #d7f5e6;
}
.knot-node.is-done .label {
    color: #7fd8ab;
}

.knot-node.is-done .dot svg {
    width: 15px;
    height: 15px;
}

/* ---- demo controls (not part of the component) ---- */
.demo-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
}
.demo-controls button {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    padding: 8px 16px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.04);
    color: #d8d5e6;
    cursor: pointer;
}
.demo-controls button.active {
    border-color: #e3bb54;
    color: #b28b00;
}
