:root {
    --bg-base: #080d1a;
    --bg-surface: #0f172a;
    --bg-card: #131d35;
    --bg-card-hover: #182442;
    --border: #1e293b;
    --border-highlight: #334155;
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --primary-glow: rgba(99, 102, 241, 0.25);
    --secondary: #10b981;
    --secondary-hover: #059669;
    --secondary-glow: rgba(16, 185, 129, 0.2);
    --accent: #38bdf8;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    --gold: #f59e0b;
    --radius: 12px;
    --radius-lg: 18px;
    --container-max: 1160px;
}

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

body {
    background-color: var(--bg-base);
    color: var(--text-main);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.15s ease;
}

a:hover {
    color: #7dd3fc;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* Header / Navigation */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(8, 13, 26, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

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

.brand-link {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
}

.brand-logo {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    border: 1px solid #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.brand-logo svg {
    width: 22px;
    height: 22px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.nav-link {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.15s ease;
}

.nav-link:hover {
    color: #fff;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid transparent;
    text-decoration: none;
    line-height: 1.3;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #4f46e5);
    color: #ffffff;
    box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #7073f4, #5c55ec);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
    color: #ffffff;
    transform: translateY(-1px);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary), #059669);
    color: #ffffff;
    box-shadow: 0 4px 14px var(--secondary-glow);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #22c55e, #10b981);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
    color: #ffffff;
    transform: translateY(-1px);
}

.btn-outline {
    background: rgba(30, 41, 59, 0.6);
    color: var(--text-main);
    border-color: var(--border-highlight);
}

.btn-outline:hover {
    background: var(--bg-card-hover);
    border-color: #475569;
    color: #fff;
}

.btn-sm {
    padding: 7px 14px;
    font-size: 0.85rem;
    border-radius: 8px;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1.05rem;
    border-radius: 14px;
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.badge-primary {
    background: rgba(99, 102, 241, 0.15);
    color: #a5b4fc;
    border: 1px solid rgba(99, 102, 241, 0.35);
}

.badge-emerald {
    background: rgba(16, 185, 129, 0.15);
    color: #6ee7b7;
    border: 1px solid rgba(16, 185, 129, 0.35);
}

.badge-gold {
    background: rgba(245, 158, 11, 0.15);
    color: #fcd34d;
    border: 1px solid rgba(245, 158, 11, 0.35);
}

/* Main Content */
main {
    flex: 1;
}

/* Legal & Document Articles */
.legal-header {
    padding: 60px 0 30px;
    text-align: center;
    border-bottom: 1px solid var(--border);
    background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.12), transparent 70%);
}

.legal-header h1 {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.legal-header p {
    color: var(--text-muted);
    font-size: 1rem;
}

.legal-body {
    padding: 50px 0 80px;
    max-width: 820px;
    margin: 0 auto;
}

.legal-body section {
    margin-bottom: 36px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
}

.legal-body h2 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.legal-body p {
    color: #cbd5e1;
    margin-bottom: 14px;
    font-size: 0.98rem;
    line-height: 1.7;
}

.legal-body p:last-child {
    margin-bottom: 0;
}

.legal-body ul {
    list-style: disc;
    padding-left: 24px;
    margin-bottom: 14px;
    color: #cbd5e1;
}

.legal-body li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.callout-box {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 10px;
    padding: 16px 20px;
    margin: 18px 0;
}

.callout-box.amber {
    background: rgba(245, 158, 11, 0.08);
    border-color: rgba(245, 158, 11, 0.25);
}

/* Footer */
footer {
    background: #060a14;
    border-top: 1px solid var(--border);
    padding: 60px 0 40px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-brand h3 {
    color: #fff;
    font-size: 1.15rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-brand p {
    line-height: 1.6;
    margin-bottom: 18px;
    color: var(--text-dim);
    max-width: 320px;
}

.footer-col h4 {
    color: #fff;
    font-size: 0.95rem;
    margin-bottom: 16px;
    font-weight: 600;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-col a:hover {
    color: #fff;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--text-dim);
}

.paddle-mor-notice {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 18px;
    margin-bottom: 24px;
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Mobile Styles */
@media (max-width: 860px) {
    .nav-menu {
        display: none;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 580px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}
