/* legal.css - orbits8 Legal Pages (Client Agreement, Privacy Policy, Risk Disclosure, Terms of Use) */
@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,300;14..32,400;14..32,500;14..32,600;14..32,700;14..32,800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2962ff;
    --accent: #00e676;
    --dark-bg: #0a0f1c;
    --card-bg: rgba(18, 28, 45, 0.95);
    --border-light: rgba(68, 255, 170, 0.15);
    --text-white: #ffffff;
    --text-gray: #a0aec0;
    --warning-bg: rgba(255, 193, 7, 0.1);
    --warning-border: rgba(255, 193, 7, 0.3);
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--dark-bg);
    color: var(--text-white);
    overflow-x: hidden;
}

/* Animated Graph Background */
.graph-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.legal-wrapper {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.legal-container {
    max-width: 1000px;
    width: 100%;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid var(--border-light);
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Legal Header */
.legal-header {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(0, 230, 118, 0.1), rgba(41, 98, 255, 0.05));
    border-bottom: 1px solid var(--border-light);
}

.legal-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff, var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.5rem;
}

.legal-header p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Legal Content */
.legal-content {
    padding: 3rem;
}

.legal-section {
    margin-bottom: 2rem;
}

.legal-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-light);
}

.legal-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 1rem 0 0.5rem;
    color: var(--text-white);
}

.legal-section p {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.legal-section ul, 
.legal-section ol {
    margin: 1rem 0 1rem 2rem;
    color: var(--text-gray);
    line-height: 1.7;
}

.legal-section li {
    margin-bottom: 0.5rem;
}

.legal-section li strong {
    color: var(--accent);
}

/* Warning Banner (for Risk Disclosure) */
.warning-banner {
    background: var(--warning-bg);
    border-left: 4px solid #ffc107;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 12px;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.warning-banner i {
    font-size: 1.5rem;
    color: #ffc107;
    flex-shrink: 0;
}

.warning-banner p {
    margin: 0;
    line-height: 1.6;
}

.warning-banner strong {
    color: #ffc107;
}

/* Acceptance Section */
.acceptance-section {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(0, 230, 118, 0.05);
    border-radius: 12px;
    border: 1px solid var(--border-light);
    text-align: center;
}

.acceptance-section p {
    color: var(--text-gray);
    font-style: italic;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .legal-wrapper {
        padding: 1rem;
    }
    
    .legal-header {
        padding: 2rem 1rem;
    }
    
    .legal-header h1 {
        font-size: 1.8rem;
    }
    
    .legal-content {
        padding: 1.5rem;
    }
    
    .legal-section h2 {
        font-size: 1.3rem;
    }
    
    .legal-section ul, 
    .legal-section ol {
        margin-left: 1rem;
    }
    
    .warning-banner {
        flex-direction: column;
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .legal-header h1 {
        font-size: 1.5rem;
    }
    
    .legal-content {
        padding: 1rem;
    }
    
    .legal-section h2 {
        font-size: 1.2rem;
    }
    
    .legal-section p,
    .legal-section li {
        font-size: 0.9rem;
    }
}