/* ============================================
   ANONIME - Pages Styles (Legal, FAQ, Help, etc.)
   ============================================ */

/* Page Content Layout */
.page-content {
    position: relative;
    z-index: 1;
    padding: 140px 40px 80px;
    max-width: 1000px;
    margin: 0 auto;
    min-height: 100vh;
}

.page-header {
    text-align: center;
    margin-bottom: 60px;
}

.page-header h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 16px;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-date,
.page-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Content Container */
.content-container {
    background: var(--background-card);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(127, 90, 240, 0.1);
    padding: 50px;
}

/* Content Sections */
.content-section {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(127, 90, 240, 0.1);
}

.content-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.content-section h2 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: var(--text);
}

.content-section h3 {
    font-size: 1.2rem;
    margin: 24px 0 12px;
    color: var(--primary-light);
}

.content-section p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.content-section ul {
    margin: 16px 0;
    padding-left: 24px;
}

.content-section li {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 10px;
}

.content-section li strong {
    color: var(--text);
}

.content-section a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color var(--transition-fast);
}

.content-section a:hover {
    color: var(--accent);
}

/* Rules Section */
.rules-section {
    background: linear-gradient(135deg, rgba(127, 90, 240, 0.15) 0%, rgba(254, 228, 64, 0.05) 100%);
    border: 1px solid rgba(127, 90, 240, 0.3);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    margin-bottom: 50px;
}

.rules-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--text);
}

.rules-icon {
    font-size: 1.8rem;
}

.rules-intro {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 1.05rem;
}

.rules-list {
    list-style: none;
    padding: 0;
    counter-reset: rules-counter;
}

.rules-list li {
    position: relative;
    padding: 16px 16px 16px 50px;
    margin-bottom: 12px;
    background: var(--background-card);
    border-radius: var(--border-radius);
    border-left: 3px solid var(--primary);
    color: var(--text-secondary);
    line-height: 1.6;
    counter-increment: rules-counter;
    transition: all var(--transition-normal);
}

.rules-list li::before {
    content: counter(rules-counter);
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
}

.rules-list li:hover {
    border-left-color: var(--accent);
    background: rgba(127, 90, 240, 0.1);
}

.rules-list li:last-child {
    margin-bottom: 0;
}

/* FAQ Styles */
.faq-category {
    margin-bottom: 50px;
}

.category-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--primary);
}

.category-icon {
    font-size: 1.6rem;
}

.faq-item {
    background: var(--background-light);
    border-radius: var(--border-radius);
    margin-bottom: 12px;
    overflow: hidden;
    border: 1px solid rgba(127, 90, 240, 0.1);
    transition: all var(--transition-normal);
}

.faq-item:hover {
    border-color: rgba(127, 90, 240, 0.3);
}

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

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: none;
    border: none;
    color: var(--text);
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: all var(--transition-fast);
}

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

.faq-arrow {
    flex-shrink: 0;
    transition: transform var(--transition-normal);
    color: var(--primary);
}

.faq-item.open .faq-arrow {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
}

.faq-item.open .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 24px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.faq-contact {
    text-align: center;
    padding: 50px;
    background: linear-gradient(135deg, rgba(127, 90, 240, 0.1) 0%, transparent 100%);
    border-radius: var(--border-radius-lg);
    margin-top: 40px;
}

.faq-contact h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.faq-contact p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

/* Help Center Styles */
.help-search {
    margin-bottom: 50px;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    background: var(--background-light);
    border: 2px solid rgba(127, 90, 240, 0.2);
    border-radius: 50px;
    transition: all var(--transition-normal);
}

.search-box:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(127, 90, 240, 0.2);
}

.search-box svg {
    color: var(--text-secondary);
    flex-shrink: 0;
}

.search-box input {
    flex: 1;
    background: none;
    border: none;
    color: var(--text);
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    outline: none;
}

.search-box input::placeholder {
    color: var(--text-secondary);
}

.help-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.help-card {
    display: flex;
    flex-direction: column;
    padding: 30px;
    background: var(--background-light);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(127, 90, 240, 0.1);
    transition: all var(--transition-normal);
    text-decoration: none;
}

.help-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.help-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.help-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--text);
}

.help-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.help-section {
    margin-bottom: 50px;
    padding-top: 30px;
}

.help-section h2 {
    font-size: 1.5rem;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--primary);
}

.help-articles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.help-article {
    padding: 24px;
    background: var(--background-light);
    border-radius: var(--border-radius);
    border: 1px solid rgba(127, 90, 240, 0.1);
    transition: all var(--transition-normal);
}

.help-article:hover {
    border-color: rgba(127, 90, 240, 0.3);
}

.help-article h4 {
    font-size: 1.05rem;
    margin-bottom: 10px;
    color: var(--text);
}

.help-article p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.help-article a {
    color: var(--primary);
}

.help-contact {
    text-align: center;
    padding: 50px;
    background: linear-gradient(135deg, rgba(127, 90, 240, 0.1) 0%, transparent 100%);
    border-radius: var(--border-radius-lg);
    margin-top: 40px;
}

.help-contact h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.help-contact p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.contact-options {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* Contact Page Styles */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
}

.contact-form-container {
    background: var(--background-light);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    border: 1px solid rgba(127, 90, 240, 0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 18px;
    background: var(--background);
    border: 2px solid rgba(127, 90, 240, 0.2);
    border-radius: var(--border-radius);
    color: var(--text);
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    transition: all var(--transition-normal);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(127, 90, 240, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-secondary);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23A0A0A0' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 50px;
}

.form-group select option {
    background: var(--background);
    color: var(--text);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-hint {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.checkbox-label input {
    width: 20px;
    height: 20px;
    accent-color: var(--primary);
}

.checkbox-label a {
    color: var(--primary);
}

.btn-full {
    width: 100%;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    padding: 24px;
    background: var(--background-light);
    border-radius: var(--border-radius);
    border: 1px solid rgba(127, 90, 240, 0.1);
    transition: all var(--transition-normal);
}

.info-card:hover {
    border-color: rgba(127, 90, 240, 0.3);
}

.info-icon {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.info-card h3 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.info-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.info-card a {
    color: var(--primary);
    font-weight: 500;
    transition: color var(--transition-fast);
}

.info-card a:hover {
    color: var(--accent);
}

.response-time {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: rgba(127, 90, 240, 0.1);
    border-radius: var(--border-radius);
    border: 1px solid rgba(127, 90, 240, 0.2);
}

.response-time svg {
    color: var(--primary);
    flex-shrink: 0;
}

.response-time strong {
    display: block;
    margin-bottom: 4px;
}

.response-time p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

.social-links {
    padding: 24px;
    background: var(--background-light);
    border-radius: var(--border-radius);
    border: 1px solid rgba(127, 90, 240, 0.1);
}

.social-links h4 {
    font-size: 1rem;
    margin-bottom: 16px;
}

.social-icons {
    display: flex;
    gap: 16px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--background);
    border-radius: var(--border-radius);
    color: var(--text-secondary);
    transition: all var(--transition-normal);
}

.social-icon:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* Cookies Table */
.cookie-table {
    margin: 24px 0;
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid rgba(127, 90, 240, 0.2);
}

.cookie-row {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    padding: 16px 20px;
    background: var(--background-light);
    border-bottom: 1px solid rgba(127, 90, 240, 0.1);
}

.cookie-row:last-child {
    border-bottom: none;
}

.cookie-row.header {
    background: rgba(127, 90, 240, 0.15);
    font-weight: 700;
    color: var(--text);
}

.cookie-row span {
    color: var(--text-secondary);
}

.cookie-row.header span {
    color: var(--text);
}

/* Legal Notice Box */
.legal-notice {
    background: rgba(127, 90, 240, 0.1);
    border: 1px solid rgba(127, 90, 240, 0.3);
    border-radius: var(--border-radius);
    padding: 24px;
    margin-bottom: 24px;
}

.legal-notice p {
    color: var(--text);
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Clause Index */
.clause-index {
    list-style: none;
    padding: 0;
    columns: 2;
    column-gap: 30px;
}

.clause-index li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(127, 90, 240, 0.1);
    font-size: 0.95rem;
}

/* Ordered Lists for Legal */
.content-section ol {
    margin: 16px 0;
    padding-left: 24px;
}

.content-section ol li {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

/* Legal Footer */
.legal-footer {
    text-align: center;
    padding: 30px 0 0;
    margin-top: 40px;
    border-top: 1px solid rgba(127, 90, 240, 0.2);
    color: var(--text-secondary);
}

/* Active Nav Link */
.nav-links a.active {
    color: var(--primary);
}

.nav-links a.active::after {
    width: 100%;
}

/* Responsive */
@media (max-width: 1024px) {
    .help-categories {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-content {
        padding: 120px 20px 60px;
    }
    
    .content-container {
        padding: 30px 20px;
    }
    
    .help-categories {
        grid-template-columns: 1fr;
    }
    
    .help-articles {
        grid-template-columns: 1fr;
    }
    
    .contact-options {
        flex-direction: column;
        align-items: center;
    }
    
    .cookie-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .cookie-row.header {
        display: none;
    }
    
    .clause-index {
        columns: 1;
    }
    
    .rules-section {
        padding: 24px;
    }
    
    .rules-list li {
        padding: 14px 14px 14px 45px;
        font-size: 0.9rem;
    }
    
    .rules-list li::before {
        left: 10px;
        width: 22px;
        height: 22px;
        font-size: 0.75rem;
    }
}

