/* ──────────────────────────────────────────────────────────────────────────
   Virtual Cable installer guide — page-specific styles
   (relies on tokens from download.css: --blue, --bg, --text, --muted, …)
   ────────────────────────────────────────────────────────────────────────── */

.vc-wrap {
    max-width: 920px;
    margin: 0 auto;
    padding: 0 48px;
}

/* ── Primary download panel ─────────────────────────────────────────────── */
.vc-download {
    margin: 8px auto 64px;
    background:  rgba(63, 81, 181, 0.05);
    border: 1px solid var(--blue-border);
    border-radius: 22px;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.vc-dl-text {
    flex: 1;
    min-width: 0;
}

.vc-dl-text h3 {
    font-family: 'Sora', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 5px;
}

.vc-dl-text p {
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.6;
}

.vc-dl-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.vc-dl-meta span {
    font-size: 14px;
    font-weight: 600;
    color: var(--blue);
    background: var(--blue-bg);
    border: 1px solid var(--blue-border);
    padding: 3px 10px;
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.vc-dl-meta span svg {
    width: 12px;
    height: 12px;
}

.vc-dl-btn {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 210px;
    padding: 14px 26px;
    border-radius: 12px;
    background: var(--blue);
    color: #fff;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(63, 81, 181, 0.3);
    transition: background 0.25s, transform 0.2s, box-shadow 0.2s;
}

.vc-dl-btn:hover {
    background: var(--blue-light);
    transform: translateY(-1px);
    box-shadow: 0 9px 24px rgba(63, 81, 181, 0.4);
}

.vc-dl-btn svg {
    width: 17px;
    height: 17px;
}

/* progress fill (smoothly animated by JS) */
.vc-dl-progress {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: rgba(255, 255, 255, 0.24);
    z-index: 0;
    pointer-events: none;
}

.vc-dl-btn .vc-dl-ico,
.vc-dl-btn .vc-dl-label {
    position: relative;
    z-index: 1;
}

/* loading state */
.vc-dl-btn.loading {
    cursor: progress;
    transform: none;
}

.vc-dl-btn.loading:hover {
    transform: none;
    background: var(--blue);
}

.vc-dl-btn.loading .vc-dl-ico {
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    animation: vc-spin 0.7s linear infinite;
}

.vc-dl-btn.loading .vc-dl-ico path,
.vc-dl-btn.loading .vc-dl-ico polyline,
.vc-dl-btn.loading .vc-dl-ico line {
    display: none;
}

.vc-dl-btn.done {
    background: #10b981;
}

@keyframes vc-spin {
    to {
        transform: rotate(360deg);
    }
}

/* ── Section heading ────────────────────────────────────────────────────── */
.vc-section-head {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 40px;
}

.vc-section-head .sub-label {
    text-align: center;
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 12px;
}

.vc-section-head h2 {
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text);
    margin: 6px 0 12px;
}

.vc-section-head p {
    font-size: 1.05rem;
    color: var(--muted);
    line-height: 1.7;
}

/* ── Steps ──────────────────────────────────────────────────────────────── */
.vc-steps {
    position: relative;
    margin: 0 auto 64px;
    counter-reset: vcstep;
}

.vc-step {
    position: relative;
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 24px;
    padding-bottom: 40px;
}

/* last step shouldn't add space on top of .vc-steps' own bottom margin */
.vc-step:last-child {
    padding-bottom: 0;
}

/* connecting line */
.vc-step:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 25px;
    top: 56px;
    bottom: 6px;
    width: 2px;
    background: linear-gradient(var(--blue-border), rgba(63, 81, 181, 0.04));
}

.vc-step-num {
    width: 45px;
    height: 45px;
    border-radius: 50px;
    background: #fff;
    border: 1px solid var(--blue-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 18px;
    color: var(--blue);
    z-index: 1;
}

.vc-step-body {
    padding-top: 4px;
    min-width: 0;
}

.vc-step-body h3 {
    font-family: 'Sora', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.vc-step-body p {
    font-size: 0.98rem;
    color: var(--muted);
    line-height: 1.75;
    margin-bottom: 8px;
}

.vc-step-body p strong {
    color: var(--text);
}

.vc-step-body code {
    background: var(--blue-bg);
    color: var(--blue);
    padding: 2px 7px;
    border-radius: 6px;
    font-family: "JetBrains Mono", ui-monospace, monospace;
    font-size: 0.85em;
    font-weight: 600;
}

/* "or" choice chips inside a step */
.vc-choice {
    display: flex;
    align-items: stretch;
    gap: 14px;
    margin: 14px 0 4px;
    flex-wrap: wrap;
}

.vc-choice-card {
    flex: 1;
    min-width: 220px;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px 18px;
    background: #fff;
}

.vc-choice-card .vc-choice-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 8px;
}

.vc-choice-card .vc-choice-tag svg {
    width: 14px;
    height: 14px;
}

.vc-choice-card p {
    font-size: 0.9rem;
    margin: 0;
}

.vc-or {
    display: flex;
    align-items: center;
    font-size: 11px;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ── Screenshots (real images) ──────────────────────────────────────────── */
.vc-shot {
    margin: 18px 0 4px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 22px 60px rgba(20, 26, 51, 0.16);
    background: #f0f1f5;
    line-height: 0;
}

.vc-shot img {
    display: block;
    width: 100%;
    height: auto;
}

.vc-step-body .vc-shot-cap {
    font-size: 0.86rem;
    color: var(--muted);
    margin-top: 10px;
}

/* ── Callout boxes ──────────────────────────────────────────────────────── */
.callout {
    display: flex;
    gap: 13px;
    padding: 15px 18px;
    border-radius: 13px;
    margin: 16px 0 4px;
    font-size: 0.92rem;
    line-height: 1.65;
}

.callout svg {
    width: 19px;
    height: 19px;
    flex-shrink: 0;
    margin-top: 1px;
}

.callout strong {
    display: block;
    margin-bottom: 2px;
}

.callout.info {
    background: var(--blue-bg);
    border: 1px solid var(--blue-border);
    color: #34406e;
}

.callout.info svg {
    color: var(--blue);
}

.callout.warn {
    background: rgba(245, 158, 11, 0.09);
    border: 1px solid rgba(245, 158, 11, 0.25);
    color: #7a4d06;
}

.callout.warn svg {
    color: #d97706;
}

.callout.ok {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.22);
    color: #0b6e4f;
}

.callout.ok svg {
    color: #059669;
}

/* ── Verify devices pills ───────────────────────────────────────────────── */
.vc-devices {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin: 16px 0 4px;
}

.vc-device {
    flex: 1;
    min-width: 230px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
}

.vc-device .vc-dev-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--blue-bg);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.vc-device .vc-dev-icon svg {
    width: 21px;
    height: 21px;
}

.vc-device .vc-dev-from {
    font-size: 12px;
    color: var(--muted);
}

.vc-device .vc-dev-to {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    color: var(--text);
    font-size: 1rem;
}

/* ── "What it does" feature grid ────────────────────────────────────────── */
.vc-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 64px;
}

.vc-feature {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 22px 24px;
}

.vc-feature .vc-feat-icon {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: var(--blue-bg);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 13px;
}

.vc-feature .vc-feat-icon svg {
    width: 20px;
    height: 20px;
}

.vc-feature h4 {
    font-family: 'Sora', sans-serif;
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
}

.vc-feature p {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.65;
}

/* ── FAQ / troubleshooting accordion ────────────────────────────────────── */
.vc-faq {
    margin: 0 auto 64px;
}

.vc-faq-item {
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
    margin-bottom: 12px;
    overflow: hidden;
}

.vc-faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Sora', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    text-align: left;
}

.vc-faq-q svg {
    width: 18px;
    height: 18px;
    color: var(--blue);
    flex-shrink: 0;
    transition: transform 0.25s;
}

.vc-faq-item.open .vc-faq-q svg {
    transform: rotate(180deg);
}

.vc-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.vc-faq-a-inner {
    padding: 0 22px 20px;
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.75;
}

.vc-faq-a-inner code {
    background: var(--blue-bg);
    color: var(--blue);
    padding: 2px 6px;
    border-radius: 5px;
    font-family: "JetBrains Mono", ui-monospace, monospace;
    font-size: 0.85em;
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .vc-wrap {
        padding: 0 20px;
    }

    .vc-download {
        flex-direction: column;
        text-align: center;
        padding: 26px 22px;
    }

    .vc-dl-meta {
        justify-content: center;
    }

    .vc-dl-btn {
        width: 100%;
    }

    .vc-step {
        grid-template-columns: 42px 1fr;
        gap: 16px;
    }

    .vc-step-num {
        width: 42px;
        height: 42px;
        font-size: 1.05rem;
    }

    .vc-step:not(:last-child)::before {
        left: 20px;
    }

    .vc-features {
        grid-template-columns: 1fr;
    }

    .vc-shot {
        margin: 14px 0 4px;
    }
}
