.terms-hero {
    min-height: 60vh;
    padding-top: 120px;
}

.terms-hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.terms-last-updated {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    color: var(--text-tertiary);
    font-size: var(--fs-sm);
    margin-top: var(--spacing-lg);
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
    border: 1px solid var(--border-primary);
}

.terms-content {
    padding: var(--spacing-xxxl) 0;
    background: var(--bg-primary);
}

.terms-sections {
    transition: opacity var(--transition-normal);
}

.terms-section-header {
    text-align: center;
    margin-bottom: var(--spacing-xxxl);
    padding-bottom: var(--spacing-xl);
    border-bottom: 2px solid var(--border-primary);
}

.terms-section-header h2 {
    font-size: var(--fs-3xl);
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.terms-section-header i {
    color: var(--primary-color);
    margin-right: var(--spacing-sm);
}

.terms-meta {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
    margin-top: var(--spacing-md);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--text-tertiary);
    font-size: var(--fs-sm);
    padding: var(--spacing-xs) var(--spacing-md);
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
    border: 1px solid var(--border-secondary);
}

.meta-item i {
    color: var(--primary-color);
}

.terms-content-section {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
    scroll-margin-top: 100px;
}

.terms-content-section .section-header h3 {
    gap: var(--spacing-sm);
    color: var(--text-primary);
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--border-primary);
}

.terms-content-section .section-header i {
    color: var(--primary-color);
}

.section-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.section-content p:last-child {
    margin-bottom: 0;
}


.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-md);
    padding: var(--spacing-md) var(--spacing-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    z-index: var(--z-toast);
    transform: translateX(100%);
    opacity: 0;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-lg);
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification-success {
    border-color: #22C55E;
}

.notification-success i {
    color: #22C55E;
}

.notification-error {
    border-color: #EF4444;
}

.notification-error i {
    color: #EF4444;
}

.notification-info {
    border-color: var(--accent-blue);
}

.notification-info i {
    color: var(--accent-blue);
}

@media (max-width: 1024px) {
    
    .terms-nav-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .terms-actions-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .terms-actions-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .terms-hero {
        min-height: 50vh;
        padding-top: 100px;
    }
    
    .terms-nav-grid {
        grid-template-columns: 1fr;
    }
    
    .terms-toc ul {
        grid-template-columns: 1fr;
    }
    
    .meta-item {
        font-size: var(--fs-xs);
    }
    
    .terms-actions-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .terms-actions-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: var(--fs-3xl);
    }
    
    .terms-content-section {
        padding: var(--spacing-md);
    }
    
    .notification {
        left: var(--spacing-sm);
        right: var(--spacing-sm);
        top: var(--spacing-sm);
    }
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}