:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --accent: #f59e0b;
    --dark-bg: #0f172a;
    --text-light: #f8fafc;
    --glass: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: var(--dark-bg);
    color: var(--text-light);
    overflow-x: hidden;
}

/* Background Gradients */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, #1e3a8a 0%, #0f172a 50%);
    z-index: -1;
    animation: pulseBg 20s infinite ease-in-out;
}

@keyframes pulseBg {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

/* Glassmorphism Components */
.glass-nav,
.glass-card {
    background: var(--glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}

.glass-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    margin: 1rem;
    position: sticky;
    top: 1rem;
    z-index: 100;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
}

.highlight {
    color: var(--primary);
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 4rem 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.badge {
    background: rgba(37, 99, 235, 0.2);
    color: #60a5fa;
    padding: 0.5rem 1rem;
    border-radius: 99px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: inline-block;
}

h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.cta-button-pulse {
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    padding: 1.25rem 2.5rem;
    border-radius: 99px;
    font-size: 1.5rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.4);
    transition: transform 0.2s;
    animation: vibrate 3s infinite;
}

.cta-button-pulse:hover {
    transform: scale(1.05);
}

.cta-button-small {
    background: var(--primary);
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
}

/* Content */
.content-wrapper {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.glass-card {
    padding: 2rem;
    line-height: 1.8;
    color: #cbd5e1;
}

.hidden {
    display: none;
}

@keyframes vibrate {

    0%,
    100% {
        transform: scale(1);
    }

    5%,
    95% {
        transform: scale(1.02);
    }
}

/* ==================== FOOTER STYLES ==================== */

footer,
.legal-footer {
    text-align: center;
    padding: 2rem 1rem;
    border-top: 1px solid var(--glass-border);
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    margin-top: 3rem;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

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

.footer-links .separator {
    color: #475569;
}

.footer-copyright {
    color: #64748b;
    font-size: 0.875rem;
    margin: 0.5rem 0;
}

.footer-disclosure {
    color: #f59e0b;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

/* ==================== LEGAL PAGE STYLES ==================== */

.legal-header {
    padding: 0;
}

.legal-nav-links {
    display: flex;
    gap: 1.5rem;
}

.legal-nav-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
}

.legal-nav-links a:hover {
    color: var(--primary);
}

.legal-wrapper {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.legal-content {
    padding: 3rem;
    line-height: 1.8;
}

.legal-content h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
}

.legal-updated {
    text-align: center;
    color: #64748b;
    font-size: 0.875rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--glass-border);
}

.legal-content h2 {
    color: #e2e8f0;
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--glass-border);
}

.legal-content h3 {
    color: #cbd5e1;
    font-size: 1.125rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-content p {
    color: #94a3b8;
    margin-bottom: 1rem;
}

.legal-content ul {
    color: #94a3b8;
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

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

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

.legal-callout {
    background: rgba(37, 99, 235, 0.1);
    border-left: 4px solid var(--primary);
    padding: 1.25rem;
    margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
}

.legal-callout.warning {
    background: rgba(245, 158, 11, 0.1);
    border-left-color: var(--accent);
}

.legal-callout.primary {
    background: rgba(239, 68, 68, 0.1);
    border-left-color: #ef4444;
}

.legal-callout p {
    margin: 0.5rem 0;
}

.legal-callout p:first-child {
    margin-top: 0;
}

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

.disclaimer-highlight {
    margin: 2rem 0;
}

/* ==================== COOKIE CONSENT BANNER ==================== */

.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    padding: 1.5rem;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s ease-out;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.cookie-consent-banner.visible {
    transform: translateY(0);
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 768px) {
    .cookie-consent-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.cookie-consent-text {
    flex: 1;
}

.cookie-consent-text h4 {
    color: #f8fafc;
    font-size: 1rem;
    margin: 0 0 0.5rem 0;
}

.cookie-consent-text p {
    color: #94a3b8;
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.5;
}

.cookie-consent-text a {
    color: var(--primary);
    text-decoration: none;
}

.cookie-consent-text a:hover {
    text-decoration: underline;
}

.cookie-consent-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.cookie-btn-accept {
    background: var(--primary);
    color: white;
}

.cookie-btn-accept:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.cookie-btn-decline {
    background: transparent;
    color: #94a3b8;
    border: 1px solid var(--glass-border);
}

.cookie-btn-decline:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #e2e8f0;
}

.cookie-btn-settings {
    background: transparent;
    color: #64748b;
    border: none;
    font-size: 0.75rem;
    text-decoration: underline;
}

.cookie-btn-settings:hover {
    color: #94a3b8;
}

/* CCPA-specific notice */
.cookie-consent-banner.ccpa .cookie-consent-text h4::after {
    content: ' (California)';
    font-weight: 400;
    color: #64748b;
}

/* GDPR-specific notice */
.cookie-consent-banner.gdpr .cookie-consent-text h4::after {
    content: ' (EU)';
    font-weight: 400;
    color: #64748b;
}