:root {
    /* High-Contrast Professional Blue Palette */
    --bg-deep: #020617;
    --bg-accent: #0f172a;
    --bg-body: #ffffff;
    
    /* The "Light to Dark" Spectrum */
    --brand-primary: #1e40af;   /* Deep Royal Blue */
    --brand-secondary: #0ea5e9; /* Mid-tone Azure */
    --brand-accent: #38bdf8;    /* Bright Sky Blue */
    
    --text-main: #0f172a;
    --text-muted: #64748b;
    --text-light: #f8fafc;
    --border-color: #e2e8f0;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg-body: #020617;
        --text-main: #f8fafc;
        --text-muted: #94a3b8;
        --border-color: #1e293b;
    }
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', system-ui, -apple-system, sans-serif; }

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* --- HERO HEADER --- */
.marketing-header {
    position: relative;
    width: 100%;
    height: 35vh;
    min-height: 350px;
    /* Restored the triple-layered radial gradient from original */
    background: 
        radial-gradient(circle at 15% 20%, rgba(56, 189, 248, 0.35) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(30, 64, 175, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(14, 165, 233, 0.2) 0%, transparent 60%),
        var(--bg-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.art-canvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

.hero-overlay { position: relative; z-index: 10; text-align: center; padding: 2rem; pointer-events: none; }

.badge {
    display: inline-block;
    padding: 6px 18px;
    background: linear-gradient(135deg, var(--brand-accent), var(--brand-primary));
    color: white;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    letter-spacing: 0.05em;
    box-shadow: 0 0 30px rgba(30, 64, 175, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-overlay h1 {
    font-size: clamp(2.2rem, 5.5vw, 4rem);
    font-weight: 900;
    color: var(--text-light);
    margin: 0;
    line-height: 0.9;
    letter-spacing: -0.05em;
    background: linear-gradient(to bottom, #fff 40%, rgba(186, 230, 253, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 25px rgba(30, 64, 175, 0.4));
}

/* --- MAIN CONTENT --- */
.main-content {
    flex: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 24px;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 80px;
    align-items: center;
}

@media (max-width: 960px) {
    .main-content { grid-template-columns: 1fr; text-align: center; gap: 40px; padding: 40px 24px; }
}

.intro-text h2 { font-size: 2.75rem; font-weight: 800; margin-bottom: 24px; line-height: 1.05; letter-spacing: -0.02em; }
.intro-text p { font-size: 1.2rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 40px; }

.login-card {
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 32px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.btn {
    display: flex; align-items: center; justify-content: center; gap: 14px;
    width: 100%; padding: 14px; border-radius: 14px; font-size: 1rem; font-weight: 600;
    cursor: pointer; transition: var(--transition); margin-bottom: 12px;
    border: 1px solid var(--border-color); background: var(--bg-body);
    color: var(--text-main); text-decoration: none;
}
.btn:hover { background-color: #f8f9fa; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); }

footer { padding: 60px 24px; border-top: 1px solid var(--border-color); }
.footer-grid { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; color: var(--text-muted); font-size: 0.95rem; }
@media (max-width: 768px) { .footer-grid { flex-direction: column; gap: 32px; text-align: center; } }