/* FaxFlow page-specific styles */

.faxflow-share {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.faxflow-share-btn {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    padding: 0.6rem 1.25rem;
    border-radius: var(--border-radius-sm);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.faxflow-share-btn:hover,
.faxflow-share-btn:focus {
    background: rgba(255, 255, 255, 0.28);
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.faxflow-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.faxflow-hero-actions .modern-btn-outline {
    border-color: rgba(255, 255, 255, 0.7);
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.faxflow-hero-actions .modern-btn-outline:hover,
.faxflow-hero-actions .modern-btn-outline:focus {
    background: #fff;
    color: var(--primary-color);
    border-color: #fff;
}

.faxflow-badge {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.95);
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
    padding: 0.4rem 0.9rem;
    border-radius: var(--border-radius-sm);
    margin-bottom: 1.25rem;
}

.faxflow-section {
    scroll-margin-top: 5rem;
}

.faxflow-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #fff;
    font-weight: 700;
    margin-bottom: 1rem;
}

.faxflow-video-wrap {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--border-radius-sm);
    background: #0f172a;
}

.faxflow-video-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.faxflow-caption {
    text-align: center;
    color: #475569;
    font-size: 0.95rem;
    margin-top: 1rem;
}

.faxflow-screenshot {
    background: #0f172a;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
}

.faxflow-screenshot img {
    width: 100%;
    height: auto;
    display: block;
}

.faxflow-screenshot-label {
    text-align: center;
    font-weight: 600;
    color: var(--dark-color);
    margin-top: 0.75rem;
}

.faxflow-privacy-note {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: var(--border-radius-sm);
    padding: 1rem 1.25rem;
    color: #92400e;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.faxflow-faq details {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius-sm);
    padding: 1rem 1.25rem;
    margin-bottom: 0.75rem;
}

.faxflow-faq summary {
    font-weight: 600;
    color: var(--dark-color);
    cursor: pointer;
    list-style: none;
}

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

.faxflow-faq summary::before {
    content: '+';
    display: inline-block;
    width: 1.25rem;
    margin-right: 0.5rem;
    color: var(--primary-color);
    font-weight: 700;
}

.faxflow-faq details[open] summary::before {
    content: '−';
}

.faxflow-faq details p {
    margin: 0.75rem 0 0.25rem;
    color: var(--dark-color);
    line-height: 1.6;
}

.faxflow-messages {
    margin-bottom: 1.5rem;
}

.faxflow-alert-success {
    background: #d1fae5;
    border: 1px solid #10b981;
    color: #065f46;
    padding: 1rem 1.25rem;
    border-radius: var(--border-radius-sm);
    font-weight: 500;
}

@media (max-width: 768px) {
    .faxflow-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .faxflow-hero-actions .modern-btn,
    .faxflow-hero-actions .modern-btn-outline {
        text-align: center;
    }
}
