/* assets/css/bridge.css */

/* ============================================
   PRINT OFFER BRIDGE
   ============================================ */

.bridge-container {
    min-height: calc(100vh - 180px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.bridge-box {
    max-width: 540px;
    width: 100%;
}

.print-offer {
    background: var(--bg-secondary);
    border: 2px solid var(--accent-red);
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    position: relative;
    box-shadow: 0 0 40px rgba(255, 68, 68, 0.15);
}

.print-offer .offer-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.05); }
}

.print-offer h1 {
    font-size: 32px;
    margin: 16px 0 12px;
    color: var(--text-primary);
    line-height: 1.2;
}

.print-offer .offer-desc {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.print-price {
    margin-bottom: 24px;
}

.print-price .price-struck {
    font-size: 24px;
    color: var(--text-secondary);
    text-decoration: line-through;
    margin-right: 12px;
}

.print-price .price-free {
    font-size: 48px;
    font-weight: 800;
    color: var(--accent-green);
    display: block;
    margin: 8px 0;
}

.print-price .price-note {
    font-size: 16px;
    color: var(--text-secondary);
}

.print-offer .btn-xl {
    width: 100%;
    padding: 18px 24px;
    font-size: 18px;
    margin-bottom: 16px;
}

.print-offer .offer-urgency {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 10px;
    font-style: italic;
}

.divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 40px 0;
    color: var(--text-secondary);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

.email-section {
    text-align: center;
    padding: 24px 0;
}

.checkmark {
    width: 48px;
    height: 48px;
    background: var(--accent-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 24px;
    color: #fff;
}

.email-section h2 {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.email-section .subtitle {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 20px;
}

.email-providers {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.email-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 13px;
    transition: all 0.2s;
}

.email-btn:hover {
    border-color: var(--text-secondary);
}

.email-icon {
    font-size: 16px;
}

.skip-link {
    display: inline-block;
    color: var(--text-secondary);
    font-size: 13px;
    text-decoration: none;
    padding: 8px;
    transition: color 0.2s;
}

.skip-link:hover {
    color: var(--text-primary);
    text-decoration: underline;
}

@media (max-width: 480px) {
    .print-offer {
        padding: 32px 20px;
    }
    
    .print-offer h1 {
        font-size: 26px;
    }
    
    .print-price .price-free {
        font-size: 40px;
    }
    
    .print-offer .btn-xl {
        font-size: 16px;
        padding: 16px 20px;
    }
    
    .email-providers {
        flex-direction: column;
    }
    
    .email-btn {
        justify-content: center;
    }
}


/* ============================================
   VIEW TOGGLE FLOAT
   ============================================ */

.view-toggle-float {
    position: fixed;
    bottom: 80px;
    right: 20px;
    z-index: 999;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 25px;
    padding: 10px 16px;
    color: var(--text-secondary);
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.view-toggle-float:hover {
    background: var(--accent-red);
    border-color: var(--accent-red);
    color: white;
}

.view-toggle-float svg {
    width: 16px;
    height: 16px;
}

@media (max-width: 768px) {
    .view-toggle-float {
        bottom: 70px;
        padding: 8px 12px;
        font-size: 11px;
    }
}


/* ============================================
   EMAIL CAPTURE MODAL
   ============================================ */

.email-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(4px);
}

.email-modal-overlay.active {
    display: flex;
}

.email-modal {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    max-width: 420px;
    width: 100%;
    text-align: center;
    position: relative;
    animation: modalSlideUp 0.3s ease;
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.email-modal h2 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.email-modal p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 15px;
    line-height: 1.5;
}

.email-modal input[type="email"] {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 16px;
    margin-bottom: 12px;
    outline: none;
    transition: border-color 0.2s;
}

.email-modal input[type="email"]:focus {
    border-color: var(--accent-red);
}

.email-modal input[type="email"]::placeholder {
    color: var(--text-muted);
}

.email-modal button[type="submit"] {
    width: 100%;
    padding: 14px;
    background: var(--accent-red);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.email-modal button[type="submit"]:hover {
    background: #c62828;
}

.email-modal button[type="submit"]:disabled {
    background: var(--text-muted);
    cursor: not-allowed;
}

.email-modal .privacy-note {
    margin-top: 16px;
    font-size: 12px;
    color: var(--text-muted);
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 24px;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.modal-close:hover {
    background: var(--bg-primary);
    color: var(--text-primary);
}

@media (max-width: 480px) {
    .email-modal {
        padding: 32px 24px;
    }
    
    .email-modal h2 {
        font-size: 1.3rem;
    }
}