﻿/* SmartScreen / download-warning walkthrough, shared by the downloads page
   and the paid landing pages (via resources/smartscreen-guide/guide.php).
   Moved verbatim from downloads/style.css. */

/* SmartScreen Guide */
/* Break the walkthrough out wider than the 1200px .container so the steps
   (and their screenshots) render larger. Centered via the margin/transform pair. */
.download-guides {
    width: 100%;
}

.smartscreen-guide {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--elevation-md);
    border: 1px solid var(--gray-border);
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.smartscreen-guide.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.smartscreen-guide[hidden] {
    display: none;
}

.smartscreen-guide-header {
    text-align: center;
    margin-bottom: 24px;
}

.smartscreen-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--blue-50);
    color: var(--blue-700);
    padding: 6px 16px;
    border-radius: var(--radius-xl);
    font-size: var(--text-xs);
    font-weight: 600;
    margin-bottom: 16px;
}

.smartscreen-status svg {
    width: 16px;
    height: 16px;
}

.smartscreen-guide-header h2 {
    margin: 0 0 12px 0;
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--gray-800);
    letter-spacing: -0.01em;
}

.smartscreen-guide-header p {
    margin: 0 auto;
    max-width: 640px;
    color: var(--black);
    font-size: var(--text-sm);
    line-height: 1.55;
}

.smartscreen-steps {
    list-style: none;
    padding: 0;
    /* Center the row of steps and cap its width to the step count, so a single
       step stays small while the card itself spans the full section width. */
    margin: 0 auto;
    max-width: calc(var(--step-count, 3) * 340px);
    display: grid;
    grid-template-columns: repeat(var(--step-count, 3), 1fr);
    gap: 28px;
}

.smartscreen-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.smartscreen-step-number {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-round);
    background: var(--primary-blue);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--text-sm);
    margin-bottom: 14px;
}

.smartscreen-step-title {
    margin: 0 0 18px 0;
    font-size: var(--text-sm);
    color: var(--gray-800);
    line-height: 1.45;
    /* Reserve room for the longest title (3 lines) so every image starts at the
       same height and the images line up along their tops. */
    min-height: 4.4em;
    max-width: 280px;
}

.smartscreen-step-image {
    background: var(--gray-50);
    border-radius: var(--radius-md);
    padding: 16px;
    width: 100%;
    display: flex;
    justify-content: center;
    border: 1px solid var(--gray-200);
}

.smartscreen-step-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    display: block;
}

@media (max-width: 1024px) {
    .smartscreen-steps {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
        gap: 32px;
    }
    .smartscreen-step-title {
        min-height: 0;
    }
}

@media (max-width: 768px) {
    .smartscreen-guide {
        padding: 32px 24px;
    }
    .smartscreen-guide-header {
        margin-bottom: 32px;
    }
    .smartscreen-guide-header h2 {
        font-size: var(--text-lg);
    }
    .smartscreen-guide-header p {
        font-size: var(--text-sm);
    }
}


