/* CLI Download Page */
.cli-main {
    max-width: 800px;
}

.cli-hero {
    text-align: center;
    padding: 32px 0 24px;
}

.cli-hero-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(0, 212, 170, 0.1);
    color: var(--accent);
}

.cli-hero-icon svg {
    width: 28px;
    height: 28px;
}

.cli-hero-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 8px;
}

.cli-hero-desc {
    font-size: 15px;
    color: var(--text-dim);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.5;
}

.cli-section {
    margin-bottom: 32px;
}

.cli-section-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 12px;
}

/* Download Cards */
.cli-download-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media (max-width: 600px) {
    .cli-download-grid {
        grid-template-columns: 1fr;
    }
}

.cli-download-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 20px;
}

.cli-download-platform {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.cli-platform-icon {
    width: 24px;
    height: 24px;
    color: var(--text);
}

.cli-platform-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
}

.cli-download-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cli-download-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: border-color 0.15s, background 0.15s;
}

.cli-download-btn:hover {
    border-color: var(--accent);
    background: rgba(0, 212, 170, 0.05);
}

/* PIP Card */
.cli-pip-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 20px;
}

.cli-code-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #19211d;
    border-radius: 6px;
    padding: 14px 16px;
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--accent);
}

.cli-copy-btn {
    flex-shrink: 0;
    background: none;
    border: none;
    color: var(--text-dim);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: color 0.15s, background 0.15s;
}

.cli-copy-btn:hover {
    color: var(--text);
    background: var(--bg-input);
}

.cli-copy-btn.copied {
    color: var(--accent);
}

.cli-pip-note {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 12px 0 0;
    font-size: 13px;
    color: var(--text-dim);
}

.cli-pip-note a {
    color: var(--accent);
    text-decoration: none;
}

.cli-pip-note a:hover {
    text-decoration: underline;
}

/* About Card */
.cli-about-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 20px;
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.6;
}

.cli-about-card p {
    margin: 0 0 12px;
}

.cli-about-card p:last-child {
    margin-bottom: 0;
}

.cli-about-card ul {
    margin: 0 0 12px;
    padding-left: 20px;
}

.cli-about-card li {
    margin-bottom: 6px;
}

.cli-about-card code {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--accent);
    background: rgba(0, 212, 170, 0.08);
    padding: 1px 5px;
    border-radius: 3px;
}

/* Tips Grid */
.cli-tips-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

@media (max-width: 700px) {
    .cli-tips-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 400px) {
    .cli-tips-grid {
        grid-template-columns: 1fr;
    }
}

.cli-tip-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}

.cli-tip-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(0, 212, 170, 0.1);
    color: var(--accent);
}

.cli-tip-icon svg {
    width: 20px;
    height: 20px;
}

.cli-tip-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 6px;
}

.cli-tip-command {
    display: block;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--accent);
    background: #19211d;
    padding: 4px 8px;
    border-radius: 4px;
    margin-bottom: 8px;
}

.cli-tip-desc {
    font-size: 12px;
    color: var(--text-dim);
    margin: 0;
    line-height: 1.4;
}

/* CTA */
.cli-cta-section {
    margin-top: 16px;
}

.cli-cta-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 32px;
    text-align: center;
}

.cli-cta-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 8px;
}

.cli-cta-desc {
    font-size: 14px;
    color: var(--text-dim);
    max-width: 440px;
    margin: 0 auto 16px;
    line-height: 1.5;
}

.cli-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: var(--accent);
    color: #0a0a0f;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: opacity 0.15s;
}

.cli-cta-btn:hover {
    opacity: 0.9;
}

/* Login link for unauthenticated state */
.cli-login-link {
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--accent);
    text-decoration: none;
    border: 1px solid var(--accent);
    border-radius: 6px;
    transition: background 0.15s;
}

.cli-login-link:hover {
    background: rgba(0, 212, 170, 0.1);
}
