/* Terms and Conditions Styles */
.terms-container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    line-height: 1.6;
    color: #333;
}

.terms-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #4361ee;
}

.terms-header h1 {
    color: #4361ee;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.terms-header h1 i {
    margin-right: 15px;
}

.last-updated {
    color: #666;
    font-style: italic;
}

.terms-intro {
    margin-bottom: 40px;
}

.terms-intro h2 {
    color: #3f37c9;
    margin-bottom: 20px;
}

.app-description {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.feature-grid li {
    display: flex;
    align-items: center;
}

.feature-grid i {
    margin-right: 10px;
    color: #4cc9f0;
    width: 20px;
    text-align: center;
}

.contact-box {
    background: #e9f7fe;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.contact-box p {
    margin: 5px 0;
    display: flex;
    align-items: center;
}

.contact-box i {
    margin-right: 10px;
    color: #4361ee;
    width: 20px;
    text-align: center;
}

.agreement-box {
    border-left: 4px solid #4361ee;
    padding: 15px;
    background: #f5f7ff;
    margin: 20px 0;
}

.warning {
    color: #d32f2f;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.warning i {
    margin-right: 10px;
}

.modification-notice {
    background: #fff8e6;
    padding: 15px;
    border-left: 4px solid #ffc107;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
}

.age-restriction {
    background: #e8f5e9;
    padding: 15px;
    border-left: 4px solid #4caf50;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
}

.toc {
    background: #f5f7ff;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 40px;
}

.toc h2 {
    color: #3f37c9;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.toc h2 i {
    margin-right: 10px;
}

.toc ol {
    columns: 2;
    padding-left: 20px;
}

.toc li {
    margin-bottom: 8px;
    break-inside: avoid;
}

.toc a {
    color: #4361ee;
    text-decoration: none;
    transition: color 0.3s ease;
}

.toc a:hover {
    color: #3f37c9;
    text-decoration: underline;
}

.terms-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.terms-section:last-child {
    border-bottom: none;
}

.terms-section h2 {
    color: #3f37c9;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.section-number {
    color: #4cc9f0;
    margin-right: 10px;
}

.terms-section h3 {
    color: #555;
    font-size: 1.3rem;
    margin: 25px 0 15px;
    display: flex;
    align-items: center;
}

.terms-section h3 i {
    margin-right: 10px;
}

.notice-box {
    background: #f0f7ff;
    padding: 15px;
    border-left: 4px solid #4361ee;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
}

.restriction-box {
    background: #ffebee;
    padding: 15px;
    border-left: 4px solid #f44336;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
}

.warning-box {
    background: #fff3e0;
    padding: 15px;
    border-left: 4px solid #ff9800;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
}

.verification-process {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
}

.compliance-notice {
    background: #e8f5e9;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    display: flex;
    align-items: center;
}

.compliance-notice i {
    margin-right: 10px;
    color: #4caf50;
}

.contact-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-top: 20px;
}

.contact-card p {
    margin: 10px 0;
    display: flex;
    align-items: center;
}

.contact-card i {
    margin-right: 10px;
    color: #4361ee;
    width: 20px;
    text-align: center;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .terms-container {
        padding: 20px;
        margin: 20px;
    }
    
    .terms-header h1 {
        font-size: 2rem;
    }
    
    .toc ol {
        columns: 1;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

/* Section-specific styles */
.representation-list {
    list-style: none;
    padding-left: 20px;
}

.representation-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 30px;
}

.representation-list li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 8px;
    height: 8px;
    background-color: #4361ee;
    border-radius: 50%;
}

.prohibited-list {
    list-style: none;
    columns: 2;
    column-gap: 30px;
    padding-left: 20px;
}

.prohibited-list li {
    margin-bottom: 10px;
    break-inside: avoid;
    position: relative;
    padding-left: 25px;
}

.prohibited-list li:before {
    content: "•";
    color: #4cc9f0;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -5px;
}

.app-specific-rules {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.app-specific-rules h3 {
    margin-top: 0;
}

.contribution-rules {
    list-style: none;
    columns: 2;
    column-gap: 30px;
    padding-left: 20px;
}

.contribution-rules li {
    margin-bottom: 10px;
    break-inside: avoid;
    position: relative;
    padding-left: 25px;
}

.contribution-rules li:before {
    content: "✓";
    color: #4caf50;
    position: absolute;
    left: 0;
}

.license-terms {
    background: #f0f7ff;
    padding: 20px;
    border-radius: 8px;
}

.license-terms li {
    margin-bottom: 10px;
}

.ownership-note {
    background: #e8f5e9;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
}

.moderation-policy {
    background: #fff3e0;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.management-rights {
    padding-left: 20px;
}

.management-rights li {
    margin-bottom: 10px;
}

.data-location {
    background: #e3f2fd;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
}

.termination-policy, .post-termination {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.disclaimer-box {
    background: #ffebee;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
}

.law-details {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
}

.jurisdiction {
    background: #e3f2fd;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
}

.resolution-process > div {
    margin-bottom: 30px;
}

.arbitration-details {
    background: #f5f5f5;
    padding: 15px;
    border-radius: 8px;
    list-style-type: none;
}

.arbitration-details li {
    margin-bottom: 8px;
}

.arbitration-details li strong {
    display: inline-block;
    width: 120px;
}

.corrections-policy {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
}

.as-is-notice {
    background: #ffebee;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: bold;
}

.liability-exclusions {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.third-party-notice {
    background: #fff3e0;
    padding: 15px;
    border-radius: 8px;
}

.exclusion-clause {
    background: #ffebee;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.cap-clause {
    background: #e8f5e9;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.jurisdictional-note {
    background: #fff3e0;
    padding: 15px;
    border-radius: 8px;
}

.indemnification-terms {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
}

.defense-rights {
    background: #e3f2fd;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
}

.data-policy {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
}

.backup-notice {
    background: #e3f2fd;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
}

.electronic-terms {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
}

.signature-consent {
    background: #e8f5e9;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    font-weight: bold;
}

.miscellaneous-terms {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
}

.key-points {
    background: #fff3e0;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .prohibited-list, .contribution-rules {
        columns: 1;
    }
    
    .arbitration-details li strong {
        display: block;
        width: auto;
    }
}