/* _shared/css/specta.css — sections unique to specta.dexo.ch.
   Shared design system (incl. pricing) lives in tokens.css + base.css. */

/* --- NAV secondary button (Login) --- */
.nav-cta--secondary { background: transparent; color: var(--color-accent) !important; border: 1px solid var(--color-accent); padding: calc(0.45rem - 1px) calc(1.1rem - 1px); transition: background 0.2s, color 0.2s; }
.nav-cta--secondary:hover { background: var(--color-accent) !important; color: var(--color-white) !important; }

/* --- HOW IT WORKS --- */
.howto { padding-top: var(--space-lg); padding-bottom: var(--space-xl); }
.howto-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); }

/* --- SCREENSHOTS GALLERY --- */
.screenshots { padding-top: var(--space-lg); padding-bottom: var(--space-xl); }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }
.shot { display: flex; flex-direction: column; gap: 0.6rem; }
.shot-frame { position: relative; aspect-ratio: 16 / 10; background: var(--color-surface-warm); border: 1px solid var(--color-border); border-radius: 10px; overflow: hidden; display: flex; align-items: center; justify-content: center; cursor: zoom-in; }
.shot-frame img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s ease; }
.shot-frame:hover img { transform: scale(1.03); }
.shot-zoom-hint { position: absolute; bottom: 8px; right: 8px; background: rgba(0,0,0,0.45); color: #fff; font-size: 0.72rem; padding: 3px 8px; border-radius: 20px; pointer-events: none; opacity: 0; transition: opacity 0.2s; }
.shot-frame:hover .shot-zoom-hint { opacity: 1; }

/* Lightbox */
.lbx-overlay { display: none; position: fixed; inset: 0; z-index: 9000; background: rgba(0,0,0,0.88); align-items: center; justify-content: center; }
.lbx-overlay.open { display: flex; }
.lbx-img { max-width: 94vw; max-height: 90vh; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,0.6); object-fit: contain; }
.lbx-close { position: fixed; top: 1.2rem; right: 1.4rem; background: none; border: none; color: #fff; font-size: 2rem; cursor: pointer; line-height: 1; padding: 0.2rem 0.5rem; }
.lbx-close:hover { color: #ccc; }
.lbx-nav { position: fixed; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.12); border: none; color: #fff; font-size: 1.8rem; cursor: pointer; padding: 0.6rem 1rem; border-radius: 6px; line-height: 1; }
.lbx-nav:hover { background: rgba(255,255,255,0.22); }
.lbx-prev { left: 1rem; }
.lbx-next { right: 1rem; }
.lbx-caption { position: fixed; bottom: 1.2rem; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.75); font-size: 0.85rem; text-align: center; max-width: 600px; pointer-events: none; }

/* --- VSA SEVERITY SCALE --- */
.vsa { padding-top: var(--space-lg); padding-bottom: var(--space-xl); }
.vsa-inner { background: var(--color-white); border: 1px solid var(--color-border); border-radius: 16px; padding: var(--space-lg); }
.vsa-inner h2 { font-family: var(--font-sans); font-weight: 400; font-size: 1.6rem; margin-bottom: var(--space-sm); color: var(--color-ink); }
.vsa-inner p { font-size: 0.98rem; color: var(--color-ink-light); line-height: 1.7; max-width: 680px; margin-bottom: var(--space-md); }
.vsa-scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-sm); margin-top: var(--space-md); }
.vsa-level { padding: var(--space-sm); border-radius: 10px; color: var(--color-white); text-align: center; }
.vsa-level-num { font-family: var(--font-sans); font-size: 1.8rem; line-height: 1; margin-bottom: 0.3rem; }
.vsa-level-label { font-size: 0.82rem; font-weight: 500; letter-spacing: 0.02em; }
.vsa-note { margin-top: var(--space-sm); font-size: 0.85rem; font-style: italic; color: var(--color-ink-muted); }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .howto-grid, .gallery { grid-template-columns: 1fr; }
    .vsa-inner { padding: var(--space-md); }
    .vsa-scale { grid-template-columns: repeat(5, 1fr); gap: 0.4rem; }
    .vsa-level { padding: 0.6rem 0.3rem; }
    .vsa-level-num { font-size: 1.4rem; }
    .vsa-level-label { font-size: 0.7rem; }
}
