/* ── Chrome Extension Download Page ─────────────────────────────────── */
.ext-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}

/* Hero */
.ext-hero {
    text-align: center;
    padding: 48px 0 40px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 48px;
}

.ext-hero__icon {
    margin-bottom: 20px;
}

.ext-hero__icon img {
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(79,156,249,.25);
}

.ext-hero__title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 12px;
}

.ext-hero__desc {
    color: var(--muted);
    font-size: 1.1rem;
    max-width: 520px;
    margin: 0 auto 28px;
    line-height: 1.6;
}

.ext-hero__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: background .2s, transform .1s;
}

.btn-primary:hover {
    background: #3b82f6;
    transform: translateY(-1px);
}

.ext-hero__badge {
    color: var(--muted);
    font-size: .8rem;
}

/* Features */
.ext-features {
    margin-bottom: 48px;
}

.ext-features h2,
.ext-install h2,
.ext-permissions h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 20px;
}

.ext-features__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.ext-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 16px;
}

.ext-feature__icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 36px;
    text-align: center;
}

.ext-feature strong {
    display: block;
    font-size: .9rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.ext-feature p {
    font-size: .8rem;
    color: var(--muted);
    margin: 0;
    line-height: 1.5;
}

/* Install steps */
.ext-install {
    margin-bottom: 48px;
}

.ext-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 20px;
}

.ext-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.ext-step:last-child {
    border-bottom: none;
}

.ext-step__num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    font-size: .9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.ext-step strong {
    display: block;
    font-size: .95rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.ext-step p {
    font-size: .85rem;
    color: var(--muted);
    margin: 0;
    line-height: 1.6;
}

.ext-step code {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 1px 5px;
    font-size: .8rem;
    color: var(--accent);
}

.ext-install__note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: .85rem;
    color: var(--muted);
    line-height: 1.5;
}

.ext-install__note svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--accent);
}

/* Permissions */
.ext-permissions {
    margin-bottom: 48px;
}

.ext-perms-list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ext-perms-list li {
    font-size: .85rem;
    color: var(--muted);
    padding: 10px 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    line-height: 1.5;
}

.ext-perms-list li strong {
    color: var(--text);
    font-family: monospace;
    font-size: .85rem;
}

.ext-perms-note {
    font-size: .85rem;
    color: var(--muted);
    line-height: 1.6;
}

/* CTA */
.ext-cta {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
    text-align: center;
}

.ext-cta h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 8px;
}

.ext-cta p {
    color: var(--muted);
    font-size: .9rem;
    margin: 0 0 20px;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 600px) {
    .ext-features__grid {
        grid-template-columns: 1fr;
    }
    .ext-hero__title {
        font-size: 1.5rem;
    }
}
