/* Unit Zero FAQ // Cyberpunk Visor Layout */

:root {
    --uz-cyan: #00f0ff;
    --uz-pink: #ff00ff;
    --uz-bg: rgba(5, 5, 8, 0.9);
    --uz-glass: rgba(0, 240, 255, 0.05);
    --uz-border: rgba(0, 240, 255, 0.3);
}

.uz-faq-section.uz-faq-cyberpunk {
    padding: 40px 20px;
    background: #050508;
    color: #fff;
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
}

.uz-faq-container {
    max-width: 1000px;
    margin: 0 auto;
}

.uz-faq-header {
    text-align: center;
    margin-bottom: 50px;
}

/* Nagłówek sekcji FAQ (tytuł h1/h2 nad całym FAQ) */
.uz-faq-section-title {
    font-family: 'Orbitron', sans-serif;
    color: var(--uz-cyan);
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 10px;
    text-shadow: 0 0 15px rgba(0, 240, 255, 0.6);
}

/* Tekst pytania (wewnątrz .uz-faq-question) */
.uz-q-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.4;
    color: var(--uz-cyan);
}

.uz-faq-subtitle {
    color: var(--uz-pink);
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    opacity: 0.8;
}

.uz-faq-group {
    margin-bottom: 40px;
}

.uz-faq-group-title {
    font-family: 'Orbitron', sans-serif;
    border-left: 4px solid var(--uz-pink);
    padding-left: 15px;
    margin-bottom: 20px;
    color: #fff;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.uz-status-tag {
    font-size: 0.7rem;
    background: rgba(255, 0, 255, 0.1);
    color: var(--uz-pink);
    padding: 2px 8px;
    border: 1px solid var(--uz-pink);
}

/* Accordion Item */
.uz-faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--uz-border);
    background: var(--uz-glass);
    transition: all 0.3s ease;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
}

.uz-faq-item:hover {
    border-color: var(--uz-cyan);
    background: rgba(0, 240, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
}

.uz-faq-question {
    width: 100%;
    padding: 20px;
    background: transparent;
    border: none;
    color: #fff;
    text-align: left;
    display: flex;
    align-items: center;
    cursor: pointer;
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    gap: 15px;
    position: relative;
}

.uz-q-prefix {
    color: var(--uz-cyan);
    font-weight: bold;
}

.uz-q-text {
    flex: 1;
}

.uz-q-icon {
    color: var(--uz-cyan);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.uz-faq-item.active .uz-q-icon {
    transform: rotate(45deg);
    color: var(--uz-pink);
}

.uz-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
    background: rgba(0, 0, 0, 0.3);
}

.uz-faq-item.active .uz-faq-answer {
    max-height: 2000px;
    transition: max-height 1s ease-in-out;
}

.uz-faq-answer-content {
    padding: 20px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    border-top: 1px solid rgba(0, 240, 255, 0.1);
}

/* Terminal Cursor */
.uz-terminal-cursor {
    display: inline-block;
    width: 8px;
    height: 1.2em;
    background: var(--uz-cyan);
    margin-left: 5px;
    animation: uz-blink 1s infinite;
    vertical-align: middle;
}

@keyframes uz-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Responsiveness */
@media (max-width: 768px) {
    .uz-faq-title { font-size: 1.8rem; letter-spacing: 2px; }
    .uz-faq-question { padding: 15px; font-size: 0.9rem; }
    .uz-faq-container { padding: 0 10px; }
    .uz-faq-group-title { font-size: 1.1rem; }
}

/* Base Style (when Cyberpunk is OFF) */
.uz-faq-section.uz-faq-classic {
    padding: 40px 0;
}
.uz-faq-classic .uz-faq-item {
    border: 1px solid #ccc;
    background: #fff;
    clip-path: none;
    color: #333;
}
.uz-faq-classic .uz-faq-question {
    color: #333;
    font-family: inherit;
}
.uz-faq-classic .uz-q-icon, .uz-faq-classic .uz-q-prefix {
    color: #666;
}
.uz-faq-classic .uz-faq-answer {
    color: #444;
}
