/**
 * Terms of Service - Specific CSS
 * Nordersun v6.2
 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #f9fafb;
    color: #333;
    line-height: 1.6;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 40px 30px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.page-title {
    font-size: 48px;
    color: #0071dc;
    margin-bottom: 10px;
    font-weight: 700;
    text-align: center;
}

.page-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 40px;
    text-align: center;
}

/* Accordion */
.accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.accordion-item {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item:hover {
    border-color: #0071dc;
    box-shadow: 0 4px 15px rgba(0, 113, 220, 0.1);
}

.accordion-item.active {
    border-color: #0071dc;
    box-shadow: 0 4px 15px rgba(0, 113, 220, 0.15);
}

.accordion-header {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.accordion-header:hover {
    background: rgba(0, 113, 220, 0.05);
}

.accordion-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
    flex: 1;
    padding-right: 20px;
}

.accordion-header i {
    font-size: 20px;
    color: #0071dc;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
}

.accordion-item.active .accordion-content {
    max-height: 2000px;
    opacity: 1;
    padding: 0 24px 20px 24px;
}

.accordion-content p {
    font-size: 16px;
    line-height: 1.7;
    color: #666;
    margin-bottom: 15px;
}

.accordion-content ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.accordion-content li {
    font-size: 16px;
    line-height: 1.7;
    color: #666;
    margin-bottom: 8px;
}

.accordion-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-top: 20px;
    margin-bottom: 12px;
}

.accordion-content b,
.accordion-content strong {
    color: #0071dc;
}

/* Footer */
.footer {
    background-color: white;
    border-top: 1px solid #e0e0e0;
    padding: 40px 30px;
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    text-decoration: none;
    color: #666;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #0071dc;
}

.footer-text {
    color: #999;
    font-size: 14px;
}

/* Language Selector */
.language-selector {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
}

.lang-btn {
    width: 40px;
    height: 28px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    padding: 0;
    background: white;
}

.lang-btn:hover {
    border-color: #0071dc;
    transform: scale(1.1);
}

.lang-btn.active {
    border-color: #0071dc;
    box-shadow: 0 2px 8px rgba(0, 113, 220, 0.3);
}

.lang-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .lang-btn {
        width: 36px;
        height: 24px;
    }

    .page-title {
        font-size: 32px;
    }

    .container {
        margin: 20px 15px;
        padding: 20px 15px;
    }

    .accordion-header h3 {
        font-size: 16px;
    }

    .accordion-content p,
    .accordion-content li {
        font-size: 15px;
    }
}
