/* Main Container */
.terms-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Hero Section */
.terms-hero {
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    color: white;
    padding: 60px 20px;
    border-radius: 10px;
    margin: 30px 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.terms-hero-content {
    position: relative;
    z-index: 2;
}

.terms-main-title {
    font-size: 2.8rem;
    margin-bottom: 10px;
    font-weight: 800;
}

.terms-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

.terms-hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.shape-circle, .shape-triangle, .shape-square {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
}

.shape-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    top: -50px;
    right: -50px;
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 200px solid rgba(255, 255, 255, 0.1);
    bottom: -100px;
    left: -50px;
    transform: rotate(15deg);
}

.shape-square {
    width: 120px;
    height: 120px;
    bottom: 20px;
    right: 20px;
    transform: rotate(45deg);
}

/* Content Section */
.terms-content-section {
    margin: 50px 0;
}

.terms-article {
    margin-bottom: 40px;
}

.terms-article-title {
    color: #6e8efb;
    font-size: 1.8rem;
    margin-bottom: 15px;
    position: relative;
    padding-left: 20px;
}

.terms-article-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: #a777e3;
    border-radius: 50%;
}

.terms-list {
    padding-left: 20px;
}

.terms-list li {
    margin-bottom: 8px;
    position: relative;
}

.terms-list li::before {
    content: '•';
    color: #a777e3;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

/* Info Boxes */
.terms-info-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 60px 0;
}

.terms-info-box {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #6e8efb;
}

.terms-info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.terms-box-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.terms-info-box h3 {
    color: #6e8efb;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.terms-info-box p {
    color: #666;
}

.terms-box-1 {
    border-top-color: #6e8efb;
}

.terms-box-2 {
    border-top-color: #a777e3;
}

.terms-box-3 {
    border-top-color: #4facfe;
}

/* FAQ Section */
.terms-faq-section {
    margin: 80px 0;
}

.terms-faq-title {
    text-align: center;
    font-size: 2.2rem;
    color: #6e8efb;
    margin-bottom: 40px;
    position: relative;
}

.terms-faq-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #6e8efb, #a777e3);
    margin: 15px auto 0;
}

.terms-faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.terms-faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.terms-faq-question {
    width: 100%;
    text-align: left;
    padding: 20px;
    background: white;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: #444;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s ease;
}

.terms-faq-question:hover {
    background: #f9f9f9;
}

.terms-faq-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.terms-faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: #f9f9f9;
}

.terms-faq-item.active .terms-faq-answer {
    padding: 20px;
    max-height: 500px;
}

.terms-faq-item.active .terms-faq-icon {
    transform: rotate(45deg);
}

.terms-internal-link {
    color: #6e8efb;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.terms-internal-link:hover {
    color: #a777e3;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .terms-main-title {
        font-size: 2.2rem;
    }
    
    .terms-info-boxes {
        grid-template-columns: 1fr;
    }
    
    .terms-article-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .terms-main-title {
        font-size: 1.8rem;
    }
    
    .terms-hero {
        padding: 40px 20px;
    }
    
    .terms-faq-question {
        font-size: 1rem;
        padding: 15px;
    }
}