/* ===================================
   STYLES POUR LES PAGES (About, Support, FAQ, License)
   =================================== */

/* --- COMMON STYLES --- */

.about-view,
.support-view,
.faq-view,
.license-view {
    min-height: 80vh;
    padding: 4rem 0;
    animation: fadeIn 0.5s ease;
}

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

.back-button {
    background: rgba(0, 217, 255, 0.1);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.back-button:hover {
    background: var(--primary-color);
    color: var(--bg-color);
    transform: translateX(-5px);
}

/* --- ABOUT PAGE --- */

.about-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-section {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 217, 255, 0.1);
    transition: all 0.3s ease;
}

.about-section:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 32px rgba(0, 217, 255, 0.15);
    transform: translateY(-2px);
}

.about-section h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.about-section h2::before {
    content: '';
    width: 4px;
    height: 24px;
    background: var(--primary-color);
    border-radius: 2px;
}

.about-section p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
}

.creator-info {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: rgba(0, 217, 255, 0.05);
    border-radius: 12px;
    border-left: 3px solid var(--primary-color);
}

.creator-info p {
    margin: 0.5rem 0;
    font-size: 1rem;
}

.creator-info strong {
    color: var(--primary-color);
}

.values-list {
    list-style: none;
    display: grid;
    gap: 1.5rem;
}

.values-list li {
    background: rgba(0, 217, 255, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.values-list li:hover {
    background: rgba(0, 217, 255, 0.1);
    transform: translateX(10px);
}

.values-list strong {
    color: var(--primary-color);
    font-size: 1.3rem;
    display: block;
    margin-bottom: 0.5rem;
}

.contact-list {
    list-style: none;
    margin-top: 1rem;
}

.contact-list li {
    padding: 0.5rem 0;
    font-size: 1.1rem;
}

.contact-list a {
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.contact-list a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* --- SUPPORT PAGE --- */

.support-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.support-intro {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    text-align: center;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.support-section {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(0, 217, 255, 0.1);
}

.support-section h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.support-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: var(--text-color);
    font-weight: 500;
    font-size: 1rem;
}

.form-group input,
.form-group textarea {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 0.875rem 1rem;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 217, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
    font-family: inherit;
}

.btn {
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--bg-color);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 217, 255, 0.4);
}

.success-message {
    background: rgba(0, 255, 150, 0.1);
    border: 1px solid rgba(0, 255, 150, 0.3);
    color: #00ff96;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.error-message {
    background: rgba(255, 50, 50, 0.1);
    border: 1px solid rgba(255, 50, 50, 0.3);
    color: #ff5050;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.contact-method {
    margin-bottom: 2rem;
}

.contact-method h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.contact-method p {
    color: var(--text-light);
    font-size: 1rem;
}

.contact-method a {
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.contact-method a:hover {
    color: var(--accent-color);
}

.contact-description {
    font-size: 0.95rem !important;
    opacity: 0.8;
}

.quick-help {
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.1), rgba(0, 255, 255, 0.05));
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(0, 217, 255, 0.2);
}

.quick-help h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.quick-help a {
    color: var(--accent-color);
    font-weight: 600;
    transition: all 0.3s ease;
}

.quick-help a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* --- FAQ PAGE --- */

.faq-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.faq-intro {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    text-align: center;
}

.faq-categories {
    max-width: 900px;
    margin: 0 auto;
}

.faq-category {
    margin-bottom: 3rem;
}

.faq-category h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.faq-category h2::before {
    content: '';
    width: 6px;
    height: 32px;
    background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
    border-radius: 3px;
}

.faq-questions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 217, 255, 0.1);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 20px rgba(0, 217, 255, 0.1);
}

.faq-item.active {
    border-color: var(--primary-color);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--text-color);
    padding: 1.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

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

.faq-icon {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 300;
    min-width: 30px;
    text-align: center;
}

.faq-answer {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.8;
    animation: slideDown 0.3s ease;
}

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

.faq-contact {
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.1), rgba(0, 255, 255, 0.05));
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    margin-top: 3rem;
    border: 1px solid rgba(0, 217, 255, 0.2);
}

.faq-contact h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.faq-contact p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* --- LICENSE PAGE --- */

.license-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.license-intro {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    padding: 1.5rem;
    background: rgba(0, 217, 255, 0.05);
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
}

.license-section {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 217, 255, 0.1);
}

.license-section h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.license-section p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.8;
}

.license-list {
    list-style: none;
    margin-top: 1rem;
}

.license-list li {
    padding: 1rem;
    margin-bottom: 0.75rem;
    border-radius: 8px;
    font-size: 1.05rem;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.license-list.allowed li {
    background: rgba(0, 255, 150, 0.05);
    border-left: 3px solid #00ff96;
}

.license-list.forbidden li {
    background: rgba(255, 50, 50, 0.05);
    border-left: 3px solid #ff5050;
}

.license-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-light);
    font-size: 0.95rem;
}

/* --- QUOTE PAGE --- */

.quote-view {
    min-height: 80vh;
    padding: 4rem 0;
    animation: fadeIn 0.5s ease;
}

.quote-header {
    text-align: center;
    margin-bottom: 3rem;
}

.quote-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.quote-intro {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

.quote-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.quote-form-section {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid rgba(0, 217, 255, 0.1);
}

.quote-form {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.form-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-section h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-section h3::before {
    content: '';
    width: 3px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 2px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group select {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 0.875rem 1rem;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 217, 255, 0.1);
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.checkbox-label:hover {
    background: rgba(0, 217, 255, 0.05);
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.checkbox-label span {
    color: var(--text-color);
    font-size: 1rem;
}

.btn-large {
    width: 100%;
    padding: 1.25rem 2rem;
    font-size: 1.1rem;
}

.quote-info-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(0, 217, 255, 0.1);
    transition: all 0.3s ease;
}

.info-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 32px rgba(0, 217, 255, 0.15);
    transform: translateY(-2px);
}

.info-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.info-card h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.info-card p {
    color: var(--text-light);
    line-height: 1.7;
}

.process-list {
    list-style: none;
    color: var(--text-light);
}

.process-list li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.process-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.contact-link {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Footer CTA */
.custom-plugin-text {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.footer-cta {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--bg-color);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 217, 255, 0.4);
}

/* --- RESPONSIVE --- */

@media (max-width: 1024px) {
    .quote-grid {
        grid-template-columns: 1fr;
    }

    .quote-info-section {
        order: -1;
    }

    .info-card {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .about-view,
    .support-view,
    .faq-view,
    .license-view,
    .quote-view {
        padding: 2rem 0;
    }

    .about-content h1,
    .support-content h1,
    .faq-content h1,
    .license-content h1,
    .quote-header h1 {
        font-size: 2rem;
    }

    .quote-form-section {
        padding: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .about-section,
    .support-section,
    .license-section {
        padding: 1.5rem;
    }

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

    .faq-category h2 {
        font-size: 1.5rem;
    }

    .faq-question {
        font-size: 1rem;
        padding: 1rem;
    }

    .faq-answer {
        padding: 0 1rem 1rem 1rem;
    }
}

@media (max-width: 480px) {
    .about-content h1,
    .support-content h1,
    .faq-content h1,
    .license-content h1 {
        font-size: 1.75rem;
    }

    .back-button {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}
