/* Terms Page Styles */
.terms-page {
    background: var(--bg-primary);
    min-height: 100vh;
    padding-top: 0;
}

.terms-container {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-lg) var(--space-md);
}

/* Terms Header */
.terms-header {
    text-align: center;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 2px solid var(--border-color);
}

.terms-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.terms-date {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    font-style: italic;
}

/* Terms Body */
.terms-body {
    line-height: 1.7;
}

.terms-section {
    margin-bottom: var(--space-lg);
    padding: var(--space-md);
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.terms-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
}

.terms-section h2 {
    color: var(--color-text);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    padding-left: var(--space-sm);
}

.terms-section p {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-sm);
    padding-left: var(--space-sm);
}

.terms-section ul {
    padding-left: calc(var(--space-sm) + 20px);
    margin-bottom: var(--space-sm);
}

.terms-section li {
    color: var(--color-text-secondary);
    margin-bottom: 8px;
    position: relative;
}

.terms-section li::marker {
    color: var(--color-primary);
}

/* Terms Footer */
.terms-footer {
    margin-top: var(--space-lg);
    padding: var(--space-lg);
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    text-align: center;
}

.terms-footer p {
    color: var(--color-text);
    font-weight: 500;
    margin-bottom: var(--space-md);
    font-size: 1.1rem;
}

.terms-actions {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
}

.terms-actions button {
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

/* Responsive Design */
@media (max-width: 768px) {
    .terms-topbar-container {
        padding: 0 var(--space-sm);
    }
    
    .terms-container {
        padding: 0 var(--space-sm);
    }
    
    .terms-header h1 {
        font-size: 2rem;
    }
    
    .terms-section {
        padding: var(--space-sm);
    }
    
    .terms-section h2 {
        font-size: 1.2rem;
    }
    
    .terms-footer {
        padding: var(--space-md);
    }
    
    .terms-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .terms-actions button {
        width: 100%;
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .terms-topbar-right {
        gap: 8px;
    }
    
    .terms-topbar-right .btn-secondary {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
    
    .terms-header h1 {
        font-size: 1.75rem;
    }
    
    .terms-section {
        margin-bottom: var(--space-md);
    }
}