/* Terms and Conditions Page Styles */

/* Breadcrumbs */
.breadcrumbs {
    padding: 1rem 0;
    background: linear-gradient(135deg, rgba(127, 251, 240, 0.05) 0%, rgba(127, 251, 240, 0.02) 100%);
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 2rem;
}

.breadcrumbs ol {
    list-style: none;
    display: flex;
    gap: 0.5rem;
    padding: 0;
    margin: 0;
    align-items: center;
}

.breadcrumbs ol li {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.breadcrumbs ol li:not(:last-child)::after {
    content: '/';
    margin-left: 0.5rem;
    color: var(--text-muted);
}

.breadcrumbs ol li a {
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.breadcrumbs ol li a:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

.breadcrumbs h2 {
    color: var(--accent);
    font-size: 1.75rem;
    font-weight: 800;
    margin-top: 0.75rem;
    margin-bottom: 0;
    letter-spacing: -0.5px;
}

/* Terms Content Section */
.terms-section {
    padding: 2rem 0;
}

.terms-container {
    max-width: 900px;
    margin: 0 auto;
}

/* Terms Card */
.terms-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.terms-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent) 0%, var(--accent-dark) 100%);
}

/* Terms Introduction */
.terms-intro {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.terms-intro h3 {
    color: var(--accent);
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 0 1rem 0;
    letter-spacing: -0.3px;
}

.terms-intro p {
    color: var(--text-primary);
    font-size: 1rem;
    line-height: 1.8;
    margin: 0;
}

/* Terms Content */
.terms-content {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.terms-section-item {
    scroll-margin-top: 100px;
}

.terms-section-item h3 {
    color: var(--accent);
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.terms-section-item h3::before {
    content: '';
    width: 4px;
    height: 24px;
    background: linear-gradient(180deg, var(--accent) 0%, var(--accent-dark) 100%);
    border-radius: 2px;
}

.terms-section-item p {
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.8;
    margin: 0 0 1.25rem 0;
    text-align: justify;
}

.terms-section-item p:last-child {
    margin-bottom: 0;
}

/* Terms Lists */
.terms-section-item ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.terms-section-item ul li {
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.8;
    padding: 0.5rem 0 0.5rem 1.75rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.terms-section-item ul li::before {
    content: '●';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 1.2rem;
    line-height: 1.5;
}

/* Terms Links */
.terms-section-item a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.terms-section-item a:hover {
    color: var(--accent-hover);
    border-bottom-color: var(--accent-hover);
}

/* Table of Contents (Optional) */
.terms-toc {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-bottom: 2rem;
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.terms-toc-title {
    color: var(--accent);
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border-color);
}

.terms-toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.terms-toc ul li {
    margin-bottom: 0.5rem;
}

.terms-toc ul li a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition);
    display: block;
    padding: 0.375rem 0.5rem;
    border-radius: var(--radius-sm);
}

.terms-toc ul li a:hover {
    color: var(--accent);
    background: rgba(127, 251, 240, 0.1);
    padding-left: 0.75rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .terms-card {
        padding: 2rem 1.5rem;
    }
    
    .terms-toc {
        position: static;
        max-height: none;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .terms-card {
        padding: 1.5rem 1rem;
        border-radius: var(--radius-md);
    }
    
    .terms-intro h3,
    .terms-section-item h3 {
        font-size: 1.25rem;
    }
    
    .terms-section-item p {
        font-size: 0.9rem;
        text-align: left;
    }
    
    .breadcrumbs h2 {
        font-size: 1.5rem;
    }
}

/* Scrollbar Styling for TOC */
.terms-toc::-webkit-scrollbar {
    width: 6px;
}

.terms-toc::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 3px;
}

.terms-toc::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 3px;
}

.terms-toc::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

