/* ══════════════════════════════════════════════════════
   Install — Hero
══════════════════════════════════════════════════════ */
.install-hero {
    background: var(--color-primary);
    padding: 3.5rem 0 3rem;
    color: #fff;
    text-align: center;
}

    .install-hero img {
        width: 72px;
        height: 72px;
        border-radius: 1rem;
        margin-bottom: 1rem;
        box-shadow: 0 8px 24px rgba(0,0,0,.2);
    }

    .install-hero h1 {
        font-size: clamp(1.75rem, 4vw, 2.5rem);
        font-weight: 700;
        color: #fff;
        margin-bottom: .75rem;
    }

    .install-hero p {
        color: rgba(255,255,255,.85);
        font-size: 1.05rem;
        max-width: 560px;
        margin: 0 auto;
    }

/* ══════════════════════════════════════════════════════
   Install — Body wrapper
══════════════════════════════════════════════════════ */
.install-section {
    max-width: 760px;
    margin: 0 auto;
    padding: 3rem 1rem 4rem;
}

/* ══════════════════════════════════════════════════════
   Install — Already installed banner
══════════════════════════════════════════════════════ */
.install-already {
    display: none;
    background: var(--color-tertiary-bg);
    border: 1px solid var(--color-tertiary-border);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--color-tertiary-dark);
    font-weight: 600;
}

html.pwa-standalone .install-already {
    display: block;
}

html.pwa-standalone .install-tabs,
html.pwa-standalone .install-tab-panel {
    display: none !important;
}

/* ══════════════════════════════════════════════════════
   Install — CTA button
══════════════════════════════════════════════════════ */
.install-cta-button {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 1.5rem;
}

/* ══════════════════════════════════════════════════════
   Install — Tab navigation
══════════════════════════════════════════════════════ */
.install-tabs {
    display: flex;
    border-bottom: 2px solid rgba(0,0,0,.08);
    margin-bottom: 2rem;
}

.install-tab-btn {
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    padding: .65rem 1.25rem;
    font-size: .95rem;
    font-weight: 600;
    color: #888;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: .4rem;
    transition: color .2s ease, border-color .2s ease;
}

    .install-tab-btn:hover,
    .install-tab-btn.active {
        color: var(--color-primary);
    }

    .install-tab-btn.active {
        border-bottom-color: var(--color-primary);
    }

.install-tab-panel {
    display: none;
}

    .install-tab-panel.active {
        display: block;
    }

/* ══════════════════════════════════════════════════════
   Install — Step list
══════════════════════════════════════════════════════ */
.install-steps {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    counter-reset: install-step;
}

    .install-steps li {
        position: relative;
        padding: 0 0 1.25rem 2.75rem;
        counter-increment: install-step;
        color: #333;
        line-height: 1.6;
    }

        .install-steps li::before {
            content: counter(install-step);
            position: absolute;
            left: 0;
            top: 0;
            width: 2rem;
            height: 2rem;
            border-radius: 50%;
            background: var(--color-primary);
            color: #fff;
            font-weight: 700;
            font-size: .875rem;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .install-steps li strong {
            color: #111;
        }

        .install-steps li .bi {
            color: var(--color-primary);
        }

/* ══════════════════════════════════════════════════════
   Install — Note box
══════════════════════════════════════════════════════ */
.install-note {
    background: var(--color-tertiary-bg);
    border: 1px solid var(--color-tertiary-border);
    border-radius: .75rem;
    padding: 1rem 1.25rem;
    font-size: .9rem;
    color: #666;
}

/* ══════════════════════════════════════════════════════
   Responsive
══════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .install-section {
        padding: 2rem .75rem 3rem;
    }

    .install-tab-btn {
        font-size: .85rem;
        padding: .55rem .8rem;
    }
}
