/* Plik: css/page-support.css */

/* --- HERO SECTION (Tytuł na górze) --- */
.support-hero {
    padding: 100px 0 60px;
    text-align: center;
    /* Delikatny gradient w tle pod tytułem */
    background: radial-gradient(circle at center top, rgba(99, 102, 241, 0.15), transparent 70%);
}

.support-title {
    font-size: 3.5rem;
    /* Powiększone */
    margin-bottom: 1rem;

    /* Gradient tekstu */
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;

    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
}

.support-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.faq-header {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--text-main);
    font-weight: 700;
}

/* --- UKŁAD GRID (To odpowiada za podział Lewo/Prawo) --- */
.support-content {
    display: grid;
    /* Dwie równe kolumny */
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    /* Odstęp między kolumnami */
    padding-bottom: 80px;
    align-items: start;
    /* Wyrównanie do góry */
}

@media (max-width: 900px) {
    .support-content {
        grid-template-columns: 1fr;
        /* Na telefonach jedna pod drugą */
        gap: 3rem;
    }
}

/* --- FAQ (Lewa Kolumna) --- */
.faq-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 1rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--accent-primary);
    transform: translateY(-2px);
    background: var(--bg-hover);
}

.faq-question {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Kółeczko ze znakiem zapytania */
.faq-question::before {
    content: '?';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    background: var(--accent-secondary);
    color: var(--accent-primary);
    border-radius: 50%;
    font-size: 0.9rem;
    font-weight: 800;
}

.faq-answer {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-left: 36px;
    /* Wcięcie tekstu pod ikonkę */
}

/* --- FAQ HELP CARD (New Design) --- */
.faq-help-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
    padding: 1.5rem;

    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    text-decoration: none;

    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Subtelny gradient hover */
.faq-help-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent 0%, rgba(99, 102, 241, 0.05) 50%, transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.faq-help-card:hover::before {
    transform: translateX(100%);
}

.faq-help-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.faq-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--accent-primary);
    border-radius: 12px;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.faq-help-card:hover .faq-card-icon {
    background: var(--accent-primary);
    color: white;
    transform: scale(1.1);
}

.faq-card-content {
    flex: 1;
}

.faq-card-content h4 {
    margin: 0 0 4px 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    transition: color 0.3s ease;
}

.faq-help-card:hover .faq-card-content h4 {
    color: var(--accent-primary);
}

.faq-card-content p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.faq-card-arrow {
    color: var(--text-muted);
    transition: all 0.3s ease;
    opacity: 0.5;
}

.faq-help-card:hover .faq-card-arrow {
    color: var(--accent-primary);
    transform: translateX(5px);
    opacity: 1;
}

@media (max-width: 600px) {
    .faq-help-card {
        padding: 1.25rem;
        gap: 1rem;
    }

    .faq-card-icon {
        width: 40px;
        height: 40px;
    }
}



/* --- KARTA KONTAKTOWA (Prawa Kolumna - Ghost Style) --- */
.contact-section {
    height: 100%;
    /* Żeby zajmowała całą wysokość */
}

.contact-card {
    /* Przezroczyste tło */
    background: transparent;

    /* Przerywana ramka */
    border: 2px dashed var(--border-color);
    border-radius: 24px;

    padding: 3rem 2rem;

    /* Centrowanie zawartości */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;

    /* Sticky: Dzięki temu karta będzie "gonić" użytkownika podczas przewijania FAQ */
    position: sticky;
    top: 100px;
}

/* Ikona koperty */
.mail-icon-large {
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
    background: rgba(99, 102, 241, 0.1);
    /* Bardzo delikatne tło pod ikoną */
    padding: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mail-icon-large svg {
    width: 48px;
    height: 48px;
}

.contact-title {
    color: var(--brand-light);
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.contact-desc {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 400px;
}

/* Przycisk mailowy */
.mail-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    /* 1. CENTRALIZACJA KOLORU */
    background: var(--accent-gradient);

    color: white;
    padding: 16px 36px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;

    /* 2. SPÓJNY CIEŃ */
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.mail-button:hover {
    /* 3. EFEKT NAJECHANIA (UX) */
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.5);
    filter: brightness(1.15);
}