:root {
    --primary: #f7931a;
    --primary-dark: #e67e00;
    --dark: #1a1a2e;
    --text-dark: #2c3e50;
    --text-light: #6b7280;
    --white: #ffffff;
    --light-bg: #f8fafc;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
    --radius: 12px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    background: var(--dark);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
}

.logo-text {
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 8px 12px;
    border-radius: 6px;
}

.nav-links a:hover {
    color: var(--primary);
    background: rgba(247, 147, 26, 0.1);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
}

.legal-page {
    padding: 4rem 0 6rem;
    background: var(--light-bg);
    min-height: calc(100vh - 200px);
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.legal-content h1 {
    font-size: 2.25rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.legal-meta {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.legal-content h2 {
    font-size: 1.35rem;
    color: var(--dark);
    margin: 2rem 0 1rem;
}

.legal-content h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin: 1.5rem 0 0.75rem;
}

.legal-content p,
.legal-content li {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-content ul,
.legal-content ol {
    margin: 0 0 1rem 1.5rem;
}

.legal-content a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.legal-content a:hover {
    text-decoration: underline;
}

.legal-content .legal-intro {
    font-size: 1.05rem;
    color: var(--text-dark);
}

.footer {
    background: var(--dark);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-section h4 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.footer-section p {
    opacity: 0.8;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section a,
.footer-bottom a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
    display: inline-block;
    margin-bottom: 0.75rem;
}

.footer-section a:hover,
.footer-bottom a:hover {
    opacity: 1;
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.6;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .legal-content {
        padding: 2rem 1.5rem;
    }

    .legal-content h1 {
        font-size: 1.75rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
