/* ============================================
   CASE DELIVERED — IMMERSIVE MYSTERY EXPERIENCE
   Design System & Complete Styles
   ============================================ */

/* ---- CSS VARIABLES ---- */
:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-card: #161616;
    --bg-card-hover: #1a1a1a;
    --text-primary: #e8e4df;
    --text-secondary: #8a867f;
    --text-muted: #5a5750;
    --red-primary: #c41e1e;
    --red-glow: #ff2b2b;
    --red-dark: #8b1a1a;
    --amber: #d4a857;
    --amber-muted: #917638;
    --green-whatsapp: #25d366;
    --yellow-sticky: #f0d860;
    --yellow-sticky-dark: #c4ad3c;
    --blue-evidence: #3a6ea5;
    --font-typewriter: 'Special Elite', 'Courier Prime', monospace;
    --font-mono: 'JetBrains Mono', 'Courier Prime', monospace;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s ease;
    --transition-slow: 0.8s ease;
    --border-subtle: 1px solid rgba(255, 255, 255, 0.06);
    --glow-red: 0 0 20px rgba(196, 30, 30, 0.3);
    --glow-amber: 0 0 20px rgba(212, 168, 87, 0.2);
}

/* ---- RESET & BASE ---- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    min-height: 100vh;
    min-height: 100dvh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    cursor: default;
}

/* Living animated background — dark fluid gradient mesh */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(139, 26, 26, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(196, 30, 30, 0.05) 0%, transparent 40%),
        radial-gradient(ellipse at 60% 80%, rgba(212, 168, 87, 0.04) 0%, transparent 45%),
        radial-gradient(ellipse at 10% 90%, rgba(58, 110, 165, 0.03) 0%, transparent 40%);
    animation: ambientDrift 20s ease-in-out infinite alternate;
}

@keyframes ambientDrift {
    0% {
        background:
            radial-gradient(ellipse at 20% 50%, rgba(139, 26, 26, 0.08) 0%, transparent 50%),
            radial-gradient(ellipse at 80% 20%, rgba(196, 30, 30, 0.05) 0%, transparent 40%),
            radial-gradient(ellipse at 60% 80%, rgba(212, 168, 87, 0.04) 0%, transparent 45%),
            radial-gradient(ellipse at 10% 90%, rgba(58, 110, 165, 0.03) 0%, transparent 40%);
    }
    33% {
        background:
            radial-gradient(ellipse at 40% 30%, rgba(139, 26, 26, 0.06) 0%, transparent 50%),
            radial-gradient(ellipse at 70% 60%, rgba(196, 30, 30, 0.07) 0%, transparent 40%),
            radial-gradient(ellipse at 20% 70%, rgba(212, 168, 87, 0.03) 0%, transparent 45%),
            radial-gradient(ellipse at 90% 40%, rgba(58, 110, 165, 0.04) 0%, transparent 40%);
    }
    66% {
        background:
            radial-gradient(ellipse at 60% 60%, rgba(139, 26, 26, 0.07) 0%, transparent 50%),
            radial-gradient(ellipse at 30% 80%, rgba(196, 30, 30, 0.04) 0%, transparent 40%),
            radial-gradient(ellipse at 80% 30%, rgba(212, 168, 87, 0.05) 0%, transparent 45%),
            radial-gradient(ellipse at 50% 10%, rgba(58, 110, 165, 0.03) 0%, transparent 40%);
    }
    100% {
        background:
            radial-gradient(ellipse at 30% 40%, rgba(139, 26, 26, 0.09) 0%, transparent 50%),
            radial-gradient(ellipse at 90% 50%, rgba(196, 30, 30, 0.06) 0%, transparent 40%),
            radial-gradient(ellipse at 40% 90%, rgba(212, 168, 87, 0.04) 0%, transparent 45%),
            radial-gradient(ellipse at 70% 70%, rgba(58, 110, 165, 0.03) 0%, transparent 40%);
    }
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Global Overlays for cinematic feel */
.scanlines {
    position: fixed;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0),
        rgba(255,255,255,0) 50%,
        rgba(0,0,0,0.2) 50%,
        rgba(0,0,0,0.2)
    );
    background-size: 100% 4px;
    z-index: 1000;
    pointer-events: none;
    opacity: 0.15;
}

.noise-overlay {
    position: fixed;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.05;
    z-index: 999;
    pointer-events: none;
    mix-blend-mode: screen;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    color: inherit;
}

a {
    color: var(--amber);
    text-decoration: none;
}

/* ---- GLOBAL OVERLAYS ---- */
.scanlines {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 10000;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.03) 2px,
        rgba(0, 0, 0, 0.03) 4px
    );
    opacity: 0.5;
}

.vignette {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 9999;
    background: radial-gradient(ellipse at center, transparent 50%, rgba(0,0,0,0.7) 100%);
}

.noise-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
    animation: noiseShift 0.5s steps(10) infinite;
}

@keyframes noiseShift {
    0% { transform: translate(0, 0); }
    10% { transform: translate(-5%, -5%); }
    20% { transform: translate(5%, 10%); }
    30% { transform: translate(-10%, 5%); }
    40% { transform: translate(10%, -5%); }
    50% { transform: translate(-5%, 10%); }
    60% { transform: translate(10%, 5%); }
    70% { transform: translate(-10%, -10%); }
    80% { transform: translate(5%, -5%); }
    90% { transform: translate(-5%, 5%); }
    100% { transform: translate(0, 0); }
}

#particles-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 9997;
    opacity: 0.3;
}

/* ---- PHASE SYSTEM ---- */
.phase {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 100;
    overflow-y: auto;
    overflow-x: hidden;
}

.phase.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

#phase-caseroom.active,
#phase-conversion.active,
#phase-product.active {
    display: block;
}

/* ============================================
   PHASE 0: BOOT SEQUENCE
   ============================================ */
.boot-container {
    text-align: left;
    padding: 2rem;
    width: 100%;
    max-width: 600px;
}

.boot-text {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--red-primary);
    line-height: 1.8;
    white-space: pre-wrap;
}

.boot-cursor {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--red-primary);
    animation: cursorBlink 0.6s infinite;
}

@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* ============================================
   PHASE 1: INCOMING CALL
   ============================================ */
.call-screen {
    text-align: center;
    padding: 2rem;
    animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.call-signal-bars {
    display: flex;
    gap: 3px;
    justify-content: center;
    margin-bottom: 3rem;
}

.call-signal-bars span {
    width: 4px;
    background: var(--text-secondary);
    border-radius: 2px;
}

.call-signal-bars span:nth-child(1) { height: 6px; }
.call-signal-bars span:nth-child(2) { height: 10px; }
.call-signal-bars span:nth-child(3) { height: 14px; opacity: 0.4; }
.call-signal-bars span:nth-child(4) { height: 18px; opacity: 0.2; }

.call-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    position: relative;
}

.call-avatar-ring {
    position: absolute;
    inset: -8px;
    border: 2px solid var(--red-primary);
    border-radius: 50%;
    animation: ringPulse 2s ease-in-out infinite;
}

@keyframes ringPulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.15); opacity: 0; }
}

.call-avatar-inner {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--red-primary);
    font-family: var(--font-typewriter);
    border: 2px solid rgba(196, 30, 30, 0.3);
}

.call-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 0.5rem;
}

.call-number {
    font-size: 1.75rem;
    font-weight: 300;
    margin-bottom: 0.25rem;
    letter-spacing: 1px;
}

.call-sublabel {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.call-actions {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 2rem;
}

.call-btn {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    color: white;
}

.call-btn:active {
    transform: scale(0.92);
}

.call-btn-decline {
    background: #ff3b30;
    box-shadow: 0 4px 20px rgba(255, 59, 48, 0.4);
}

.call-btn-accept {
    background: #34c759;
    box-shadow: 0 4px 20px rgba(52, 199, 89, 0.4);
    animation: acceptPulse 2s ease-in-out infinite;
}

@keyframes acceptPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(52, 199, 89, 0.4); }
    50% { box-shadow: 0 4px 35px rgba(52, 199, 89, 0.7); }
}

.call-swipe-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    animation: swipeHintPulse 2s ease-in-out infinite;
}

.swipe-arrow {
    width: 16px;
    height: 2px;
    background: var(--text-muted);
    position: relative;
}

.swipe-arrow::after {
    content: '';
    position: absolute;
    right: 0;
    top: -3px;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--text-muted);
    border-top: 2px solid var(--text-muted);
    transform: rotate(45deg);
}

@keyframes swipeHintPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Call vibration */
.vibrating {
    animation: vibrate 0.15s linear infinite;
}

@keyframes vibrate {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-2px) rotate(-0.5deg); }
    75% { transform: translateX(2px) rotate(0.5deg); }
}

/* Decline overlay */
.decline-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: var(--bg-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 200;
    animation: glitchIn 0.3s ease;
}

.decline-overlay.hidden {
    display: none;
}

@keyframes glitchIn {
    0% { clip-path: inset(50% 0 50% 0); }
    20% { clip-path: inset(0 0 80% 0); }
    40% { clip-path: inset(30% 0 20% 0); }
    60% { clip-path: inset(10% 0 60% 0); }
    80% { clip-path: inset(0 0 10% 0); }
    100% { clip-path: inset(0 0 0 0); }
}

.reconnecting {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--red-primary);
    margin-top: 2rem;
}

.dots {
    animation: dotsAnim 1.5s steps(3) infinite;
}

@keyframes dotsAnim {
    0% { content: ''; }
    33% { content: '.'; }
    66% { content: '..'; }
    100% { content: '...'; }
}

/* ============================================
   GLITCH TEXT EFFECT
   ============================================ */
.glitch-text {
    font-family: var(--font-typewriter);
    font-size: 1.5rem;
    color: var(--text-primary);
    position: relative;
    text-align: center;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
}

.glitch-text::before {
    color: var(--red-primary);
    animation: glitch1 3s infinite linear;
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
}

.glitch-text::after {
    color: var(--blue-evidence);
    animation: glitch2 3s infinite linear;
    clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
}

@keyframes glitch1 {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-3px, 2px); }
    40% { transform: translate(3px, -1px); }
    60% { transform: translate(-1px, 1px); }
    80% { transform: translate(2px, -2px); }
}

@keyframes glitch2 {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(2px, -1px); }
    40% { transform: translate(-2px, 2px); }
    60% { transform: translate(1px, -2px); }
    80% { transform: translate(-3px, 1px); }
}

/* ============================================
   PHASE 2: VOICE MESSAGE
   ============================================ */
.voice-screen {
    text-align: center;
    padding: 2rem;
    max-width: 400px;
    width: 100%;
}

.voice-waveform {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    height: 60px;
    margin-bottom: 1rem;
}

.voice-waveform .bar {
    width: 3px;
    background: var(--red-primary);
    border-radius: 2px;
    transition: height 0.1s ease;
}

.voice-timer {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.voice-transcript {
    font-family: var(--font-typewriter);
    font-size: 1.1rem;
    color: var(--text-primary);
    line-height: 1.8;
    min-height: 100px;
    text-align: left;
}

.voice-encrypted {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* ============================================
   PHASE 3: PROFILE CARD
   ============================================ */
.profile-screen {
    padding: 2rem;
    max-width: 500px;
    width: 100%;
    animation: fadeInUp 0.6s ease;
}

.profile-header {
    text-align: center;
    margin-bottom: 2rem;
}

.classified-stamp {
    font-family: var(--font-typewriter);
    font-size: 2rem;
    font-weight: 700;
    color: var(--red-primary);
    letter-spacing: 8px;
    opacity: 0.7;
    transform: rotate(-3deg);
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(196, 30, 30, 0.3);
}

.profile-title {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
}

.profile-card {
    background: var(--bg-card);
    border: var(--border-subtle);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--red-primary), var(--amber), var(--red-primary));
}

.profile-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: var(--border-subtle);
}

.profile-badge {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.profile-fingerprint {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-name {
    font-family: var(--font-mono);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.profile-status {
    font-size: 0.8rem;
    color: var(--red-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: var(--red-primary);
    border-radius: 50%;
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(196, 30, 30, 0.5); }
    50% { opacity: 0.5; box-shadow: 0 0 0 4px rgba(196, 30, 30, 0); }
}

.profile-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.profile-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.profile-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.profile-value {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.confidence-bar {
    width: 80px;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.confidence-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--red-primary), var(--amber));
    border-radius: 3px;
    width: 0%;
    transition: width 1.5s ease;
}

.blurred {
    filter: blur(4px);
    user-select: none;
}

.blurred-row {
    opacity: 0.7;
}

/* CTA Button */
.cta-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--red-primary), var(--red-dark));
    color: white;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s ease;
}

.cta-btn:hover::before {
    left: 100%;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-red);
}

.cta-btn:active {
    transform: translateY(0);
}

/* ============================================
   PHASE 4: CHOICE SYSTEM
   ============================================ */
.choice-screen {
    padding: 2rem;
    max-width: 500px;
    width: 100%;
    animation: fadeInUp 0.6s ease;
}

.choice-question {
    font-family: var(--font-typewriter);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
    min-height: 2em;
}

.choice-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.choice-btn {
    background: var(--bg-card);
    border: var(--border-subtle);
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all var(--transition-fast);
    text-align: left;
    width: 100%;
}

.choice-btn:hover {
    background: var(--bg-card-hover);
    border-color: rgba(196, 30, 30, 0.3);
    transform: translateX(4px);
}

.choice-btn:active {
    transform: translateX(2px) scale(0.98);
}

.choice-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.choice-text {
    font-size: 1rem;
    font-weight: 500;
    display: block;
}

.choice-subtext {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: block;
    margin-top: 0.25rem;
}

.choice-response {
    margin-top: 2rem;
    font-family: var(--font-typewriter);
    font-size: 1rem;
    color: var(--amber);
    text-align: center;
    min-height: 1.5em;
}

/* ============================================
   PHASE 5: CASE ROOM
   ============================================ */
.caseroom-header {
    position: sticky;
    top: 0;
    z-index: 500;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: var(--border-subtle);
}

.caseroom-title {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.case-badge {
    background: var(--red-primary);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.6rem;
    font-weight: 700;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.caseroom-menu {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.caseroom-menu-item {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-secondary);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.caseroom-menu-item:hover {
    color: white;
}

#btn-caseroom-buy {
    color: var(--red-primary);
    border: 1px solid rgba(196, 30, 30, 0.3);
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: 700;
}

#btn-caseroom-buy:hover {
    background: rgba(196, 30, 30, 0.15);
    color: white;
}

.caseroom-timer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.timer-label {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.timer-value {
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 700;
    color: var(--red-primary);
    background: rgba(196, 30, 30, 0.1);
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid rgba(196, 30, 30, 0.2);
}

.timer-value.warning {
    animation: timerFlash 0.5s ease-in-out infinite;
}

@keyframes timerFlash {
    0%, 100% { color: var(--red-primary); background: rgba(196, 30, 30, 0.1); }
    50% { color: #fff; background: rgba(196, 30, 30, 0.4); }
}

.caseroom-board {
    position: relative;
    min-height: calc(100vh - 60px);
    min-height: calc(100dvh - 60px);
    height: calc(100dvh - 60px);
    padding: 1rem;
    background:
        url('assets/images/evidence_board.png') center center / cover no-repeat;
    background-attachment: local;
    overflow: hidden;
}

.caseroom-board::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.85);
    z-index: 1;
}

/* Evidence Items */
.evidence-item {
    position: absolute;
    left: var(--x);
    top: var(--y);
    z-index: 10;
    cursor: pointer;
    transition: transform var(--transition-fast), filter var(--transition-fast);
    max-width: 180px;
}

.evidence-item:hover {
    transform: scale(1.08) rotate(-1deg);
    z-index: 20;
    filter: brightness(1.2);
}

.evidence-item:active {
    transform: scale(1.04);
}

.evidence-pin {
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 14px;
    background: radial-gradient(circle, #e53935 0%, #b71c1c 100%);
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.5);
    z-index: 5;
}

.evidence-photo img {
    border: 3px solid rgba(255 ,255, 255, 0.1);
    border-radius: 2px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    max-height: 150px;
    object-fit: cover;
}

.evidence-label {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-top: 0.5rem;
    text-align: center;
}

/* Sticky notes */
.sticky-note {
    max-width: 160px;
}

.sticky-content {
    background: var(--yellow-sticky);
    color: #333;
    padding: 1rem;
    font-family: var(--font-typewriter);
    font-size: 0.8rem;
    transform: rotate(-2deg);
    box-shadow: 2px 3px 8px rgba(0,0,0,0.3);
    line-height: 1.4;
}

.sticky-note.yellow .sticky-content {
    background: #ffeaa7;
}

.sticky-author {
    font-size: 0.7rem;
    margin-top: 0.5rem;
    color: #666;
    text-align: right;
}

/* File folders */
.file-folder {
    background: var(--bg-card);
    border: var(--border-subtle);
    border-radius: 4px;
    overflow: hidden;
    max-width: 200px;
}

.file-tab {
    background: rgba(196, 30, 30, 0.15);
    color: var(--red-primary);
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 1px;
    padding: 0.4rem 0.75rem;
    border-bottom: 1px solid rgba(196, 30, 30, 0.2);
}

.file-content {
    padding: 0.75rem;
    font-size: 0.75rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.redacted {
    background: var(--text-primary);
    color: var(--text-primary);
    user-select: none;
    border-radius: 2px;
    padding: 0 2px;
}

/* Locked files */
.locked-file {
    background: var(--bg-card);
    border: 1px dashed rgba(196, 30, 30, 0.3);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    min-width: 140px;
}

.locked-file svg {
    opacity: 0.5;
}

.locked-file span {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 1px;
}

.locked-sub {
    font-family: var(--font-body) !important;
    font-size: 0.65rem !important;
    color: var(--red-primary) !important;
    letter-spacing: 0 !important;
}

/* WhatsApp message */
.wa-message {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 0.75rem;
    max-width: 220px;
    border: var(--border-subtle);
}

.wa-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: var(--border-subtle);
}

.wa-avatar {
    width: 28px;
    height: 28px;
    background: var(--green-whatsapp);
    border-radius: 50%;
    font-size: 0.6rem;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wa-name {
    font-size: 0.75rem;
    font-weight: 600;
    flex: 1;
}

.wa-time {
    font-size: 0.6rem;
    color: var(--text-muted);
}

.wa-bubble {
    font-size: 0.8rem;
    line-height: 1.5;
    position: relative;
}

.wa-ticks {
    text-align: right;
    font-size: 0.65rem;
    color: #53bdeb;
    margin-top: 0.25rem;
}

/* Red strings */
.red-strings {
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
}

.string-line {
    stroke: var(--red-primary);
    stroke-width: 0.15;
    opacity: 0.5;
    stroke-dasharray: 2 1;
}

/* Micro response toast */
.micro-response {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(22, 22, 22, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(196, 30, 30, 0.2);
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-typewriter);
    font-size: 0.85rem;
    color: var(--amber);
    z-index: 600;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
    white-space: nowrap;
}

.micro-response.visible {
    transform: translateX(-50%) translateY(0);
}

/* Clue detail overlay */
.clue-detail-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 700;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    animation: fadeIn 0.3s ease;
}

.clue-detail-overlay.visible {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.clue-detail-content {
    max-width: 500px;
    width: 100%;
    background: var(--bg-card);
    border: var(--border-subtle);
    border-radius: 12px;
    padding: 2rem;
}

.clue-detail-content h3 {
    font-family: var(--font-typewriter);
    color: var(--red-primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.clue-detail-content p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.clue-detail-content .clue-classified {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: var(--border-subtle);
}

.clue-close-btn {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 1.2rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.clue-close-btn:hover {
    background: rgba(196, 30, 30, 0.2);
    color: var(--red-primary);
}

/* ============================================
   PHASE 6: GLITCH SCREEN
   ============================================ */
.glitch-screen {
    text-align: center;
    padding: 2rem;
}

.glitch-warning {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--red-primary);
    letter-spacing: 3px;
    margin-bottom: 2rem;
    animation: glitchFlicker 3s infinite;
}

@keyframes glitchFlicker {
    0%, 100% { opacity: 1; }
    5% { opacity: 0; }
    10% { opacity: 1; }
    15% { opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    85% { opacity: 0; }
    90% { opacity: 1; }
}

.glitch-screen .glitch-text {
    font-size: 2rem;
}

.glitch-sub {
    font-family: var(--font-typewriter);
    font-size: 1rem;
    color: var(--text-muted);
    margin-top: 1.5rem;
    animation: fadeInOut 3s ease-in-out;
}

@keyframes fadeInOut {
    0% { opacity: 0; }
    30% { opacity: 1; }
    70% { opacity: 1; }
    100% { opacity: 0.6; }
}


.glitch-static {
    position: fixed;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='6' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
    opacity: 0.08;
    pointer-events: none;
    animation: staticFlicker 0.1s steps(8) infinite;
    z-index: -1;
}

@keyframes staticFlicker {
    0% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(-1%, 1%) scale(1.01); }
    50% { transform: translate(1%, -1%) scale(0.99); }
    75% { transform: translate(-1%, -1%) scale(1.01); }
    100% { transform: translate(1%, 1%) scale(1); }
}

/* ============================================
   PHASE 7: CONVERSION
   ============================================ */
.conversion-screen {
    padding: 2rem;
    max-width: 700px;
    margin: 0 auto;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.conversion-progress {
    margin-bottom: 3rem;
    text-align: center;
}

.progress-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
}

.progress-bar-container {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--red-primary), var(--amber));
    border-radius: 4px;
    width: 0%;
    transition: width 2.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.progress-percentage {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--amber);
}

.conversion-block {
    text-align: center;
    margin-bottom: 3rem;
}

.block-icon {
    margin-bottom: 1.5rem;
    animation: lockBounce 2s ease-in-out infinite;
}

@keyframes lockBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.block-title {
    font-family: var(--font-typewriter);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.block-subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.physical-case-preview {
    margin-bottom: 2rem;
}

.case-preview-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--red-primary);
    letter-spacing: 2px;
    margin-bottom: 1rem;
    text-align: center;
}

.case-preview-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.preview-image-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: var(--border-subtle);
}

.preview-image-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.preview-image-card:hover img {
    transform: scale(1.05);
}

.preview-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 1rem 0.75rem 0.75rem;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
}

.case-contents-list {
    background: var(--bg-card);
    border: var(--border-subtle);
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 2rem;
}

.content-item {
    font-size: 0.85rem;
    padding: 0.5rem 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: var(--border-subtle);
}

.content-item:last-child {
    border-bottom: none;
}

.content-check {
    color: var(--green-whatsapp);
    font-size: 1rem;
}

.locked-content {
    color: var(--text-muted);
}

.content-lock {
    font-size: 0.9rem;
}

/* Access case button */
.access-case-btn {
    width: 100%;
    padding: 1.25rem 2rem;
    background: linear-gradient(135deg, var(--red-primary), #991515);
    color: white;
    font-family: var(--font-typewriter);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 2px;
    border-radius: 12px;
    margin-bottom: 1rem;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.access-case-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(196, 30, 30, 0.4);
}

.pulse-glow {
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 4px 20px rgba(196, 30, 30, 0.3); }
    50% { box-shadow: 0 4px 40px rgba(196, 30, 30, 0.6); }
}

.delivery-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* ============================================
   PHASE 8: PRODUCT PAGE
   ============================================ */
.product-screen {
    padding-bottom: 2rem;
}

.product-hero {
    text-align: center;
    padding: 5rem 2rem 4rem;
    position: relative;
}

.product-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%; right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(196, 30, 30, 0.3), transparent);
}

.stamp-text {
    display: block;
    font-family: var(--font-typewriter);
    font-size: 3rem;
    font-weight: 700;
    color: var(--red-primary);
    letter-spacing: 8px;
    text-shadow: 0 0 20px rgba(196, 30, 30, 0.2);
    line-height: 1.2;
}

.stamp-text.small {
    font-size: 1rem;
    letter-spacing: 4px;
}

.product-tagline {
    font-family: var(--font-typewriter);
    font-size: 1rem;
    color: var(--text-secondary);
    margin-top: 1rem;
    letter-spacing: 1px;
}

/* Sections */
.section-title {
    font-family: var(--font-typewriter);
    font-size: 1.3rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-primary);
    position: relative;
}

.how-it-works,
.social-proof,
.case-options,
.detective-rank-section,
.case-of-week {
    padding: 3rem 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

/* Steps */
.steps-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.step-card {
    background: var(--bg-card);
    border: var(--border-subtle);
    border-radius: 12px;
    padding: 1.5rem;
    position: relative;
    transition: all var(--transition-fast);
}

.step-card:hover {
    border-color: rgba(196, 30, 30, 0.2);
    transform: translateY(-2px);
}

.step-number {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--red-primary);
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.step-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.step-card h3 {
    font-family: var(--font-typewriter);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.step-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Lifestyle grid */
.lifestyle-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.lifestyle-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
    border: var(--border-subtle);
}

.lifestyle-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.lifestyle-card:hover img {
    transform: scale(1.05);
}

.lifestyle-overlay {
    position: absolute;
    bottom: 0;
    left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    padding: 3rem 1.5rem 1.5rem;
}

.lifestyle-tag {
    display: inline-block;
    background: var(--red-primary);
    color: white;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    padding: 3px 10px;
    border-radius: 4px;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.lifestyle-overlay p {
    font-family: var(--font-typewriter);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.lifestyle-author {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Case cards */
.cases-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.case-card {
    background: var(--bg-card);
    border: var(--border-subtle);
    border-radius: 16px;
    overflow: hidden;
    transition: all var(--transition-fast);
    position: relative;
}

.case-card:hover {
    border-color: rgba(196, 30, 30, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.case-card-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--red-primary);
    color: white;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 1px;
    z-index: 5;
}

.new-badge {
    background: var(--amber) !important;
    color: #111 !important;
}

.date-badge {
    background: #e91e8c !important;
}

.case-card-img {
    height: 200px;
    overflow: hidden;
}

.case-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.case-card:hover .case-card-img img {
    transform: scale(1.05);
}

.case-card-content {
    padding: 1.25rem;
}

.case-card-content h3 {
    font-family: var(--font-typewriter);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.case-difficulty {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.difficulty-dots {
    display: flex;
    gap: 4px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.dot.filled {
    background: var(--red-primary);
}

.case-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.case-price {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.price-amount {
    font-family: var(--font-typewriter);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.price-note {
    font-size: 0.75rem;
    color: var(--green-whatsapp);
}

.case-cta {
    width: 100%;
    padding: 0.875rem;
    background: linear-gradient(135deg, var(--red-primary), var(--red-dark));
    color: white;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 1px;
    border-radius: 8px;
    transition: all var(--transition-fast);
}

.case-cta:hover {
    box-shadow: var(--glow-red);
    transform: translateY(-1px);
}

/* Locked Cases */
.locked-case {
    opacity: 0.6;
    filter: grayscale(0.5);
    pointer-events: none;
}

.restricted-badge {
    background: #444 !important;
    color: #999 !important;
}

.locked-cta {
    background: #333 !important;
    color: #888 !important;
    border: 1px solid #444;
    cursor: not-allowed;
    box-shadow: none !important;
    transform: none !important;
}

/* Detective ranks */
.rank-track {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border: var(--border-subtle);
    border-radius: 16px;
}

.rank-item {
    text-align: center;
    padding: 1rem;
    opacity: 0.4;
    transition: opacity var(--transition-fast);
}

.rank-item.active-rank {
    opacity: 1;
}

.rank-badge {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.rank-name {
    font-family: var(--font-typewriter);
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.rank-desc {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.rank-connector {
    width: 30px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

/* Case of the week */
.case-of-week {
    text-align: center;
    background: var(--bg-card);
    border: var(--border-subtle);
    border-radius: 16px;
    max-width: 600px;
    margin: 0 auto 3rem;
    padding: 2.5rem 1.5rem;
}

.cotw-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--amber);
    letter-spacing: 2px;
    margin-bottom: 1rem;
    padding: 4px 12px;
    border: 1px solid rgba(212, 168, 87, 0.3);
    border-radius: 20px;
}

.case-of-week h2 {
    font-family: var(--font-typewriter);
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.case-of-week p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.cotw-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.cotw-stat {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.cotw-cta {
    max-width: 300px;
    margin: 0 auto;
}

/* Footer */
.site-footer {
    padding: 3rem 1.5rem 2rem;
    text-align: center;
    border-top: var(--border-subtle);
    margin-top: 2rem;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-whatsapp {
    margin-bottom: 1.5rem;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--green-whatsapp);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    color: white;
}

.footer-copy {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.footer-credit {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.footer-credit a {
    color: var(--amber);
}

/* ============================================
   EXIT INTENT OVERLAY
   ============================================ */
.exit-intent-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 20000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.exit-intent-overlay.visible {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.exit-content {
    text-align: center;
    max-width: 400px;
}

.exit-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.exit-title {
    font-family: var(--font-typewriter);
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.exit-message {
    font-family: var(--font-typewriter);
    font-size: 1.1rem;
    color: var(--amber);
    margin-bottom: 2rem;
}

.exit-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.exit-btn {
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.exit-btn.stay {
    background: var(--red-primary);
    color: white;
}

.exit-btn.stay:hover {
    box-shadow: var(--glow-red);
}

.exit-btn.leave {
    background: transparent;
    border: var(--border-subtle);
    color: var(--text-muted);
}

.exit-btn.leave:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.exit-sub {
    font-family: var(--font-typewriter);
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
}

/* ============================================
   ORDER MODAL
   ============================================ */
.order-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 25000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.order-modal.visible {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.order-modal-content {
    max-width: 450px;
    width: 100%;
    background: var(--bg-card);
    border: var(--border-subtle);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
}

.order-close {
    position: absolute;
    top: 1rem; right: 1rem;
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    font-size: 1.1rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.order-close:hover {
    background: rgba(196, 30, 30, 0.2);
    color: var(--red-primary);
}

.order-modal-content h2 {
    font-family: var(--font-typewriter);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.order-modal-content > p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.order-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.order-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: var(--border-subtle);
    border-radius: 12px;
    transition: all var(--transition-fast);
    color: var(--text-primary);
}

.order-option:hover {
    border-color: rgba(196, 30, 30, 0.3);
    background: rgba(255, 255, 255, 0.06);
}

.whatsapp-order:hover {
    border-color: rgba(37, 211, 102, 0.3);
}

.order-option-icon {
    font-size: 1.5rem;
}

.order-option-text strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 0.15rem;
}

.order-option-text small {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.order-trust {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.trust-item {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ============================================
   LIVE FEED
   ============================================ */
.live-feed {
    position: fixed;
    top: 1rem;
    left: 1rem;
    background: rgba(22, 22, 22, 0.9);
    backdrop-filter: blur(8px);
    border: var(--border-subtle);
    border-radius: 20px;
    padding: 0.4rem 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    color: var(--text-muted);
    z-index: 800;
    opacity: 0;
    transition: opacity var(--transition-medium);
    pointer-events: none;
}

.live-feed.visible {
    opacity: 1;
}

.live-dot {
    width: 6px;
    height: 6px;
    background: var(--red-primary);
    border-radius: 50%;
    animation: livePulse 2s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* ============================================
   SKIP INTRO
   ============================================ */
.skip-intro {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: rgba(22, 22, 22, 0.8);
    backdrop-filter: blur(8px);
    border: var(--border-subtle);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    z-index: 900;
    opacity: 0;
    transition: opacity var(--transition-medium);
    pointer-events: none;
}

.skip-intro.visible {
    opacity: 1;
    pointer-events: auto;
    cursor: pointer;
}

.skip-intro:hover {
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.2);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (min-width: 768px) {
    .steps-container {
        grid-template-columns: repeat(3, 1fr);
    }

    .lifestyle-grid {
        grid-template-columns: 1fr 1fr;
    }

    .cases-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .stamp-text {
        font-size: 4rem;
    }

    .call-number {
        font-size: 2.5rem;
    }

    .block-title {
        font-size: 2rem;
    }
}

@media (min-width: 1024px) {
    .caseroom-board {
        min-height: calc(100vh - 60px);
    }

    .evidence-item {
        max-width: 220px;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.hidden {
    display: none !important;
}

.fade-in {
    animation: fadeIn 0.5s ease;
}

.slide-up {
    animation: fadeInUp 0.5s ease;
}

/* Typing cursor */
.typing-cursor::after {
    content: '|';
    animation: cursorBlink 0.6s infinite;
    color: var(--red-primary);
    margin-left: 2px;
}

/* Screen shake */
.screen-shake {
    animation: screenShake 0.5s ease;
}

@keyframes screenShake {
    0%, 100% { transform: translate(0); }
    10% { transform: translate(-5px, 3px); }
    20% { transform: translate(5px, -3px); }
    30% { transform: translate(-3px, 5px); }
    40% { transform: translate(3px, -5px); }
    50% { transform: translate(-5px, 3px); }
    60% { transform: translate(5px, -3px); }
    70% { transform: translate(-3px, 5px); }
    80% { transform: translate(3px, -5px); }
    90% { transform: translate(-5px, 3px); }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(196, 30, 30, 0.3);
    border-radius: 2px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--red-primary);
}

/* ============================================
   GIFT SECTION
   ============================================ */
.gift-section {
    text-align: center;
    padding: 3rem 1.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.gift-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.gift-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.gift-occasions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.occasion-tag {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.occasion-tag:hover {
    border-color: rgba(196, 30, 30, 0.3);
    background: rgba(196, 30, 30, 0.05);
}

.gift-cta {
    max-width: 320px;
    margin: 0 auto;
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-section {
    padding: 3rem 1.5rem;
    max-width: 700px;
    margin: 0 auto;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.faq-item {
    background: var(--bg-card);
    border: var(--border-subtle);
    border-radius: 12px;
    overflow: hidden;
    transition: all var(--transition-fast);
}

.faq-item[open] {
    border-color: rgba(196, 30, 30, 0.2);
}

.faq-question {
    padding: 1.25rem 1.5rem;
    font-family: var(--font-typewriter);
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style: none;
    color: var(--text-primary);
    transition: color var(--transition-fast);
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '+';
    font-family: var(--font-mono);
    font-size: 1.2rem;
    color: var(--red-primary);
    flex-shrink: 0;
    margin-left: 1rem;
    transition: transform var(--transition-fast);
}

.faq-item[open] .faq-question::after {
    content: '−';
    transform: rotate(0);
}

.faq-question:hover {
    color: var(--amber);
}

.faq-answer {
    padding: 0 1.5rem 1.25rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    animation: faqSlideDown 0.3s ease;
}

@keyframes faqSlideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   FLOATING STICKY PURCHASE BAR
   ============================================ */
.floating-cta {
    position: fixed;
    bottom: -80px;
    left: 0; right: 0;
    z-index: 900;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(196, 30, 30, 0.2);
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    transition: bottom 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-cta.visible {
    bottom: 0;
}

.floating-cta-info {
    flex: 1;
    min-width: 0;
}

.floating-cta-title {
    font-family: var(--font-typewriter);
    font-size: 0.85rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.floating-cta-price {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--amber);
    margin-top: 2px;
}

.floating-cta-btn {
    background: var(--red-primary);
    color: white;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    letter-spacing: 1px;
    white-space: nowrap;
    transition: all var(--transition-fast);
    box-shadow: 0 0 25px rgba(196, 30, 30, 0.3);
    animation: ctaPulseGlow 2s ease-in-out infinite;
}

.floating-cta-btn:hover {
    background: var(--red-glow);
    transform: scale(1.03);
}

@keyframes ctaPulseGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(196, 30, 30, 0.3); }
    50% { box-shadow: 0 0 35px rgba(196, 30, 30, 0.5), 0 0 60px rgba(196, 30, 30, 0.15); }
}

/* ============================================
   SOCIAL PROOF NOTIFICATION TOAST
   ============================================ */
.social-proof-toast {
    position: fixed;
    bottom: 90px;
    left: 1.5rem;
    z-index: 850;
    background: rgba(22, 22, 22, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 0.85rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    max-width: 340px;
    transform: translateX(-120%);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.social-proof-toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.toast-text {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.toast-text strong {
    color: var(--text-primary);
    display: block;
}

.toast-time {
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ============================================
   EMOTIONAL STORYTELLING SECTION ("Imagine this")
   ============================================ */
.imagine-section {
    padding: 4rem 1.5rem;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.imagine-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--red-primary);
}

.imagine-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--red-primary);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.imagine-text {
    font-family: var(--font-typewriter);
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.imagine-text em {
    color: var(--text-primary);
    font-style: normal;
    border-bottom: 1px solid rgba(196, 30, 30, 0.3);
}

.imagine-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: 1px solid rgba(196, 30, 30, 0.4);
    color: var(--red-primary);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.imagine-cta:hover {
    background: rgba(196, 30, 30, 0.1);
    border-color: var(--red-primary);
    box-shadow: var(--glow-red);
}

/* ============================================
   TRUST BADGES SECTION
   ============================================ */
.trust-section {
    padding: 2rem 1.5rem;
    max-width: 700px;
    margin: 0 auto;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.trust-badge-card {
    text-align: center;
    padding: 1.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    transition: border-color var(--transition-fast);
}

.trust-badge-card:hover {
    border-color: rgba(196, 30, 30, 0.15);
}

.trust-badge-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.trust-badge-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    line-height: 1.4;
}

/* ============================================
   PRODUCT HERO ENHANCEMENT
   ============================================ */
.product-hero-visual {
    display: flex;
    justify-content: center;
    margin: 2rem auto 0;
    max-width: 280px;
    position: relative;
}

.product-hero-visual img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(196, 30, 30, 0.1);
    transition: transform var(--transition-slow);
}

.product-hero-visual:hover img {
    transform: scale(1.03) rotate(-1deg);
}

.hero-live-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--red-primary);
    color: white;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 1px;
    animation: badgePulse 2s ease-in-out infinite;
    box-shadow: 0 0 15px rgba(196, 30, 30, 0.4);
}

.hero-viewers {
    text-align: center;
    margin-top: 1rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
}

.hero-viewers .viewer-count {
    color: var(--amber);
    font-weight: 600;
}

/* Hero CTA — big prominent button right on hero */
.hero-cta-container {
    text-align: center;
    margin-top: 2rem;
}

.hero-buy-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--red-primary), #a01515);
    color: white;
    font-family: var(--font-typewriter);
    font-size: 1.1rem;
    font-weight: 700;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-fast);
    box-shadow: 0 8px 30px rgba(196, 30, 30, 0.3), inset 0 -2px 0 rgba(0,0,0,0.2);
}

.hero-buy-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.6s ease;
}

.hero-buy-btn:hover::before {
    left: 100%;
}

.hero-buy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(196, 30, 30, 0.45), inset 0 -2px 0 rgba(0,0,0,0.2);
}

.hero-buy-btn:active {
    transform: translateY(0);
}

.hero-price-tag {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.75rem;
    font-family: var(--font-mono);
}

.hero-price-tag .price-red {
    color: var(--amber);
    font-weight: 600;
}

/* ============================================
   FINAL PUSH SECTION (before footer)
   ============================================ */
.final-push {
    text-align: center;
    padding: 4rem 1.5rem;
    max-width: 550px;
    margin: 0 auto;
    position: relative;
}

.final-push-title {
    font-family: var(--font-typewriter);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.final-push-sub {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* ============================================
   MOBILE RESPONSIVE ENHANCEMENTS
   ============================================ */
@media (max-width: 480px) {
    .floating-cta {
        padding: 0.6rem 1rem;
    }

    .floating-cta-title {
        font-size: 0.75rem;
    }

    .floating-cta-btn {
        font-size: 0.7rem;
        padding: 0.65rem 1rem;
    }

    .social-proof-toast {
        left: 0.75rem;
        right: 0.75rem;
        max-width: unset;
        bottom: 80px;
    }

    .hero-buy-btn {
        font-size: 1rem;
        padding: 0.85rem 2rem;
        width: 100%;
        justify-content: center;
    }

    .trust-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }

    .trust-badge-icon {
        font-size: 1.2rem;
    }

    .trust-badge-label {
        font-size: 0.6rem;
    }

    .imagine-text {
        font-size: 1rem;
    }

    .product-hero-visual {
        max-width: 220px;
    }
}

@media (min-width: 768px) {
    .floating-cta {
        padding: 0.85rem 2rem;
    }

    .hero-buy-btn {
        font-size: 1.2rem;
        padding: 1.1rem 3rem;
    }

    .product-hero-visual {
        max-width: 320px;
    }

    .trust-grid {
        gap: 1.5rem;
    }
}
