.docs-main {
    min-height: 100vh;
    padding: 120px 0 80px;
    background: var(--background);
}

.docs-header {
    text-align: center;
    margin-bottom: 80px;
}

.docs-header h1 {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.docs-header p {
    font-size: 20px;
    color: var(--text-secondary);
}

.docs-content {
    max-width: 800px;
    margin: 0 auto;
}

.faq-section {
    margin-bottom: 80px;
}

.faq-item {
    background: white;
    border-radius: 16px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-medium);
}

.faq-question {
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--surface);
}

.faq-question h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.faq-toggle {
    font-size: 24px;
    font-weight: 300;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

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

.faq-answer h4 {
    padding: 16px 32px 8px;
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.faq-answer ul {
    padding: 0 32px 24px;
    margin: 0;
    list-style: none;
}

.faq-answer li {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
}

.faq-answer li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: 600;
}

.faq-answer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.faq-answer a:hover {
    text-decoration: underline;
}

.nav-link.active {
    color: var(--primary-color);
}

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

.support-section {
    background: linear-gradient(135deg, var(--surface) 0%, #EEF4FF 100%);
    padding: 60px 40px;
    border-radius: 24px;
    text-align: center;
    border: 1px solid var(--border);
}

.support-section h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.support-section p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.support-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.support-buttons .btn-primary,
.support-buttons .btn-secondary {
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.support-buttons .btn-primary {
    background: var(--gradient);
    color: white;
}

.support-buttons .btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border);
}

.support-buttons .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.support-buttons .btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .docs-main {
        padding: 100px 16px 60px;
    }
    
    .docs-header h1 {
        font-size: 36px;
    }
    
    .docs-header p {
        font-size: 18px;
    }
    
    .faq-question {
        padding: 20px 24px;
    }
    
    .faq-question h3 {
        font-size: 18px;
    }
    
    .faq-answer p,
    .faq-answer ul {
        padding: 0 24px 20px;
    }
    
    .support-section {
        padding: 40px 24px;
        margin: 0 16px;
    }
    
    .support-section h2 {
        font-size: 28px;
    }
    
    .support-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .support-buttons .btn-primary,
    .support-buttons .btn-secondary {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .docs-header h1 {
        font-size: 28px;
    }
    
    .faq-question {
        padding: 16px 20px;
    }
    
    .faq-question h3 {
        font-size: 16px;
    }
    
    .faq-answer p,
    .faq-answer ul {
        padding: 0 20px 16px;
    }
    
    .support-section {
        padding: 32px 20px;
    }
}

/* Terms of Service Styles */
.terms-section {
    margin-bottom: 80px;
}

.terms-item {
    background: white;
    border-radius: 16px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border);
    padding: 32px;
    transition: all 0.3s ease;
}

.terms-item:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-2px);
}

.terms-item h2 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--surface);
}

.terms-item ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.terms-item li {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
    padding-left: 24px;
    position: relative;
}

.terms-item li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: 600;
    font-size: 18px;
}

.terms-item strong {
    color: var(--text-primary);
    font-weight: 600;
}

@media (max-width: 768px) {
    .terms-item {
        padding: 24px 20px;
        margin-bottom: 20px;
    }
    
    .terms-item h2 {
        font-size: 20px;
        margin-bottom: 16px;
    }
    
    .terms-item li {
        padding-left: 20px;
        margin-bottom: 12px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .terms-item {
        padding: 20px 16px;
    }
    
    .terms-item h2 {
        font-size: 18px;
    }
    
    .terms-item li {
        font-size: 14px;
        line-height: 1.6;
    }
}
