/**
 * wiztype.css — Screen 4: Wizard Type Selection (last wizard step)
 * Layout: horizontal — summary left, action buttons right
 * Design tokens matched to welcome.css / base.css
 *
 * Architecture: ZERO inline CSS. SSR. External only.
 */

/* ═══ LAYOUT CONTAINER ═══ */
.wiztype-layout {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: clamp(2rem, 10vw, 10rem);
    width: 100%;
    height: 100%;
    flex: 1;
    align-self: stretch;
    padding: 88px 2.5rem 40px;
}

/* ═══ SUMMARY (left column) ═══ */
.wiztype-summary {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-shrink: 0;
    padding: 1.5rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(192, 192, 192, 0.3);
    background: rgba(255, 255, 255, 0.02);
    position: relative;
    align-self: center;
}

.wiztype-summary-glow {
    position: absolute;
    top: 0;
    left: 25%;
    width: 50%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(192, 192, 192, 0.5), transparent);
}

.wiztype-summary-title {
    font-family: 'Inter', sans-serif;
    font-size: 9px;
    font-weight: 500;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.wiztype-product-img {
    width: clamp(144px, 17vw, 230px);
    aspect-ratio: 9/16;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: #1a1a1e;
}

.wiztype-product-img.wiztype-img-landscape {
    aspect-ratio: 16/9;
}

.wiztype-product-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.wiztype-badges {
    display: flex;
    gap: 6px;
    align-items: center;
}

.wiztype-badge {
    font-family: 'Inter', sans-serif;
    font-size: 9px;
    font-weight: 500;
    color: rgba(192, 192, 192, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    padding: 3px 8px;
    border-radius: 4px;
    border: 1px solid rgba(192, 192, 192, 0.25);
    background: rgba(192, 192, 192, 0.06);
}

/* ═══ CONNECTOR — CHEVRON PULSE ═══ */
.wiztype-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 80px;
    flex-shrink: 0;
    align-self: center;
}

.wiztype-chevron {
    font-family: 'Inter', sans-serif;
    font-size: 22px;
    font-weight: 300;
    color: rgba(192, 192, 192, 0.2);
    line-height: 1;
    animation: chevronPulse 2s ease-in-out infinite;
}

.wiztype-chevron.c1 { animation-delay: 0s; }
.wiztype-chevron.c2 { animation-delay: 0.25s; }
.wiztype-chevron.c3 { animation-delay: 0.5s; }

@keyframes chevronPulse {
    0%, 100% { color: rgba(192, 192, 192, 0.15); }
    50%      { color: rgba(192, 192, 192, 0.8); }
}

/* ═══ ACTIONS CARD (right column) ═══ */
.wiztype-actions-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 1.5rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(192, 192, 192, 0.3);
    background: rgba(255, 255, 255, 0.02);
    position: relative;
    width: 320px;
    flex-shrink: 0;
}

.wiztype-actions-glow {
    position: absolute;
    top: 0;
    left: 25%;
    width: 50%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(192, 192, 192, 0.5), transparent);
}

.wiztype-actions-title {
    font-family: 'Inter', sans-serif;
    font-size: 9px;
    font-weight: 500;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

/* ═══ MINI-CARDS ═══ */
.wiztype-minicard {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wiztype-minicard:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.wiztype-minicard-ft {
    background: transparent;
    border: 1px solid rgba(192, 192, 192, 0.25);
}

.wiztype-minicard-ft:hover {
    border-color: rgba(192, 192, 192, 0.4);
    box-shadow: 0 4px 20px rgba(192, 192, 192, 0.08);
}

.wiztype-minicard-pro {
    background: transparent;
    border: 1px solid rgba(192, 192, 192, 0.25);
}

.wiztype-minicard-pro:hover {
    border-color: rgba(192, 192, 192, 0.4);
    box-shadow: 0 4px 20px rgba(192, 192, 192, 0.08);
}

/* ═══ SEPARATOR ═══ */
.wiztype-separator {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 80%;
}

.wiztype-sep-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(192, 192, 192, 0.25), transparent);
}

.wiztype-sep-text {
    font-family: 'Inter', sans-serif;
    font-size: 9px;
    font-weight: 500;
    color: #666;
    text-transform: lowercase;
    letter-spacing: 0.1em;
}

/* ═══ FAST-TRACK BUTTON ═══ */
.wiztype-btn-fast {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 48px;
    padding: 0 1.5rem;
    border-radius: 14px;
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #000;
    background: #fff;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 2px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.wiztype-btn-fast::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 10%, rgba(130, 190, 255, 0.7) 40%, rgba(255, 150, 190, 0.7) 60%, transparent 90%);
    background-size: 200% 200%;
    animation: wiztypePastelFlow 4s ease-in-out infinite;
    pointer-events: none;
}

.wiztype-btn-fast:hover {
    box-shadow: 0 4px 24px rgba(130, 190, 255, 0.3), 0 2px 8px rgba(0, 0, 0, 0.3);
}

.wiztype-btn-fast span,
.wiztype-btn-fast svg {
    position: relative;
    z-index: 2;
}

.wiztype-btn-fast svg {
    width: 12px;
    height: 12px;
    fill: #000;
    flex-shrink: 0;
}

@keyframes wiztypePastelFlow {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ═══ WIZARD PRO BUTTON ═══ */
.wiztype-btn-pro {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 48px;
    padding: 0 1.5rem;
    border-radius: 14px;
    border: 1px solid rgba(192, 192, 192, 0.4);
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
    transition: all 0.3s ease;
}

.wiztype-btn-pro:hover {
    border-color: rgba(192, 192, 192, 0.6);
    box-shadow: 0 0 16px rgba(192, 192, 192, 0.12);
}

.wiztype-btn-pro svg {
    width: 17px;
    height: 17px;
    stroke: currentColor;
    fill: none;
    flex-shrink: 0;
}

/* ═══ DESCRIPTION TEXT ═══ */
.wiztype-desc {
    font-family: 'Inter', sans-serif;
    font-size: 9px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
    text-align: center;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* ═══ TABLET (768px) ═══ */
@media (max-width: 768px) {
    .wiztype-layout {
        gap: 1.5rem;
        padding: 53px 1.5rem 5px;
    }

    .wiztype-product-img {
        width: clamp(80px, 15vw, 120px);
    }

    .wiztype-actions-card {
        width: 280px;
    }

    .wiztype-connector {
        width: 40px;
    }
}

/* ═══ MOBILE (480px) ═══ */
@media (max-width: 480px) {
    .wiztype-layout {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0.75rem;
        padding: 0 1.5rem;
    }

    .wiztype-summary {
        width: 100%;
        padding: 1rem;
        gap: 8px;
    }

    .wiztype-product-img {
        width: 80px;
    }

    .wiztype-badge {
        font-size: 8px;
        padding: 2px 6px;
    }

    .wiztype-connector {
        transform: rotate(90deg);
        width: 30px;
    }

    .wiztype-actions-card {
        width: 100%;
    }

    .wiztype-desc {
        max-width: 100%;
    }
}
