/* Reset and Base Styles */
:root {
    --background: #000000;
    --text-primary: #ffffff;
    --text-secondary: #a1a1a9;
    --accent: #3b82f6;
    --accent-dark: #2563eb;
    --border: #27272a;
    --surface: #18181b;
    --font-sans: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.page-background {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 40%),
                radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.1) 0%, transparent 40%);
    z-index: -1;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 24px;
}

/* Header */
.main-header {
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.main-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 600;
}

.logo-image {
    width: 28px;
    height: 28px;
}

/* Legal Content */
main .container {
    background-color: var(--surface);
    border-radius: 12px;
    margin-top: 40px;
    margin-bottom: 40px;
    border: 1px solid var(--border);
}

h1, h2, h3 {
    color: var(--text-primary);
    border-bottom: 1px solid var(--border);
    padding-bottom: 10px;
    margin-top: 24px;
    margin-bottom: 16px;
}

h1 {
    margin-top: 0;
}

p, li {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

ul {
    padding-left: 20px;
}

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

strong {
    color: var(--text-primary);
}

code {
    background-color: #000;
    border: 1px solid var(--border);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
}

.highlight {
    background-color: #000;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid var(--accent);
    margin: 24px 0;
}

/* Footer */
.main-footer {
    padding: 48px 0;
    border-top: 1px solid var(--border);
}

.main-footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    background-color: transparent;
    border: none;
    margin-top: 0;
    margin-bottom: 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-bottom p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 0;
}
