/* Shared styles for Stash2Go documentation pages */

.doc-container { max-width: 800px; margin: 0 auto; }
.doc-hero { margin-bottom: 32px; }
.doc-hero h1 { font-size: 32px; margin-bottom: 8px; }
.doc-hero .user-quote {
    font-style: italic;
    font-size: 16px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 0;
    animation: subtextShift 15s ease infinite;
}

.step-card {
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    padding: 24px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.18);
    margin-bottom: 20px;
    animation: cardShift 15s ease infinite;
}

.step-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.step-number {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    color: white;
    flex-shrink: 0;
}

.step-title {
    font-size: 18px;
    font-weight: 700;
    color: white;
}

.step-text {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255,255,255,0.9);
    margin-bottom: 0;
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.step-tip {
    margin-top: 12px;
    padding: 10px 14px;
    background: rgba(255,255,255,0.08);
    border-radius: 8px;
    border: 1px solid rgba(139,92,246,0.25);
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    line-height: 1.5;
}
.step-tip strong { color: white; }

.step-see-also {
    margin-top: 12px;
    padding: 10px 14px;
    background: rgba(139,92,246,0.1);
    border-radius: 8px;
    border: 1px solid rgba(139,92,246,0.2);
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    line-height: 1.5;
}
.step-see-also a {
    color: rgba(200,180,255,0.95);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.step-see-also a:hover {
    color: white;
}

.beta-badge {
    display: inline-block;
    padding: 2px 8px;
    background: rgba(139,92,246,0.25);
    border: 1px solid rgba(139,92,246,0.4);
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(200,180,255,0.95);
    vertical-align: middle;
    margin-left: 6px;
}

/* ── Guide Number Badges ────────────────────────────────────────────── */

.guide-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 26px;
    border-radius: 13px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    font-size: 12px;
    font-weight: 700;
    color: rgba(255,255,255,0.5);
    padding: 0 6px;
    margin-right: 10px;
    vertical-align: middle;
    line-height: 1;
    flex-shrink: 0;
}

.doc-hero h1 {
    display: flex;
    align-items: center;
}

.nav-link .guide-badge-next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    background: rgba(255,255,255,0.1);
    font-size: 10px;
    font-weight: 700;
    color: rgba(255,255,255,0.45);
    padding: 0 5px;
    margin-left: 6px;
    line-height: 1;
}

.platform-note {
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    margin-top: 24px;
    margin-bottom: 0;
}

.nav-links {
    display: flex;
    justify-content: space-between;
    margin-top: 24px;
    gap: 12px;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    background: rgba(255,255,255,0.08);
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.12);
    transition: all 0.2s;
}
.nav-link:hover {
    color: white;
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.25);
}

/* ── Screenshot Frame ───────────────────────────────────────────────── */

.screenshot-frame {
    margin: 0 auto 16px;
    max-width: 100%;
    border-radius: 10px;
    overflow: hidden;
    background: #1a1a1a;
    box-shadow: 0 6px 30px rgba(0,0,0,0.45);
}

.screenshot-frame img {
    width: 100%;
    display: block;
    cursor: pointer;
    transition: opacity 0.15s;
}
.screenshot-frame img:hover {
    opacity: 0.92;
}

.screenshot-frame .screenshot-placeholder {
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2a1a4e 0%, #1a3a3a 100%);
    color: rgba(255,255,255,0.4);
    font-size: 13px;
    text-align: center;
    padding: 20px;
}

/* ── Side-by-side screenshots ──────────────────────────────────────── */

.screenshot-row {
    display: flex;
    gap: 12px;
    margin: 0 auto 16px;
    max-width: 100%;
}

.screenshot-row img {
    flex: 1;
    min-width: 0;
    border-radius: 10px;
    display: block;
    box-shadow: 0 6px 30px rgba(0,0,0,0.45);
    cursor: pointer;
}

/* ── Screenshot Lightbox Modal ────────────────────────────────────── */

.lightbox-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
    cursor: pointer;
}
.lightbox-overlay.visible { opacity: 1; }

.lightbox-content {
    max-width: 92vw;
    max-height: 88vh;
    position: relative;
    cursor: default;
}

.lightbox-content img {
    max-width: 92vw;
    max-height: 82vh;
    display: block;
    border-radius: 8px;
    box-shadow: 0 12px 60px rgba(0,0,0,0.6);
}

.lightbox-label {
    text-align: center;
    margin-top: 10px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
}

.lightbox-close {
    position: absolute;
    top: -14px; right: -14px;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    color: white;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.3); }

/* ── iPhone Frame ─────────────────────────────────────────────────── */

.phone-frame {
    display: inline-block;
    background: #1c1c1e;
    border-radius: 36px;
    padding: 8px;
    border: 2px solid #3a3a3c;
    box-shadow: 0 8px 40px rgba(0,0,0,0.5);
    position: relative;
    max-width: 240px;
}
.phone-frame img {
    display: block;
    border-radius: 28px;
    width: 100%;
    cursor: pointer;
    transition: opacity 0.15s;
}
.phone-frame img:hover { opacity: 0.92; }

.phone-row {
    display: flex;
    gap: 20px;
    margin: 0 auto 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.phone-row .phone-frame {
    width: 240px;
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .screenshot-row { flex-direction: column; gap: 10px; }
    .phone-row .phone-frame { width: 200px; }
}
@media (max-width: 400px) {
    .phone-row .phone-frame { width: 160px; }
}
