.terms-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
    line-height: 1.6;
    counter-reset: section;
}

.terms-title {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2em;
}

.terms-section {
    margin-bottom: 30px;
    counter-increment: section;
}

.terms-section h2 {
    color: #2c3e50;
    border-bottom: 2px solid;
    border-image: linear-gradient(45deg, var(--yellow), var(--green)) 1;
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
}

.terms-section h2::before {
    content: counter(section) ". ";
}

.terms-list {
    list-style-type: none;
    margin-left: 0;
    padding-left: 0;
    counter-reset: subsection;
}

.terms-list li {
    margin-bottom: 15px;
    padding-left: 45px;
    position: relative;
    font-family: 'Roboto', sans-serif;
}

.terms-list li::before {
    content: counter(section) "." counter(subsection);
    counter-increment: subsection;
    position: absolute;
    left: 0;
    width: 40px;
    font-weight: bold;
    color: #333;
    font-family: 'Montserrat', sans-serif;
}

.prohibited-list {
    list-style-type: none;
    margin-left: 20px;
    padding-left: 0;
}

.prohibited-list li {
    margin-bottom: 8px;
    padding-left: 25px;
    position: relative;
    font-family: 'Roboto', sans-serif;
}

.prohibited-list li::before {
    content: "–";
    position: absolute;
    left: 0;
    color: #333;
    font-weight: bold;
}

.highlight {
    background-color: #f8f9fa;
    padding: 20px;
    border-left: 4px solid #2662d3;
    margin: 20px 0;
    border-radius: 4px;
}

.highlight p {
    margin: 0;
    font-family: 'Roboto', sans-serif;
}

.highlight strong {
    color: #2c3e50;
}

/* Tables for Privacy Policy / Cookie Policy */
.terms-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14px;
    font-family: 'Roboto', sans-serif;
}

.terms-table th,
.terms-table td {
    border: 1px solid #e0e0e0;
    padding: 12px 15px;
    text-align: left;
}

.terms-table th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
}

.terms-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.terms-table tr:hover {
    background-color: #e8f5e9;
}

/* Section titles without counter for nested h3 */
.terms-section h3 {
    color: #34495e;
    margin: 25px 0 15px;
    font-size: 1.1rem;
    font-family: 'Montserrat', sans-serif;
}

/* Update timestamp */
.terms-update {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-bottom: 30px;
    font-style: italic;
}

/* Footer navigation */
.terms-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    text-align: center;
}

.terms-footer a {
    color: #10C36C;
    text-decoration: none;
    font-weight: 500;
}

.terms-footer a:hover {
    text-decoration: underline;
}

/* Links in content */
.terms-section a {
    color: #10C36C;
    text-decoration: none;
}

.terms-section a:hover {
    text-decoration: underline;
}

/* Unordered lists (for Privacy Policy) */
.terms-section ul.terms-list {
    counter-reset: none;
}

.terms-section ul.terms-list li::before {
    content: "•";
    color: #10C36C;
    font-weight: bold;
    counter-increment: none;
    width: auto;
}

.terms-section ul.terms-list li {
    padding-left: 25px;
}

/* Responsive */
@media (max-width: 768px) {
    .terms-container {
        padding: 20px 15px;
    }
    
    .terms-list li {
        padding-left: 45px;
    }
    
    .terms-list li::before {
        width: 35px;
    }

    .terms-table {
        font-size: 12px;
    }

    .terms-table th,
    .terms-table td {
        padding: 8px 10px;
    }
}

@media (max-width: 480px) {
    .terms-table {
        display: block;
        overflow-x: auto;
    }
    
    .terms-list li {
        padding-left: 40px;
    }
    
    .terms-list li::before {
        width: 32px;
    }
}