:root {
    /* Rich Sovereign Palette */
    --c-bg-base: #040810;
    --c-bg-surface: rgba(12, 18, 30, 0.6);
    --c-border: rgba(16, 185, 129, 0.2);
    --c-border-subtle: rgba(255, 255, 255, 0.05);
    
    --c-emerald: #10B981;
    --c-emerald-dim: rgba(16, 185, 129, 0.15);
    --c-gold: #D97706;
    --c-gold-bright: #FFD700;
    --c-gold-dim: rgba(217, 119, 6, 0.15);
    
    --c-text: #F8FAFC;
    --c-text-muted: #94A3B8;

    --font-head: 'Space Grotesk', 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body.dark-theme {
    background-color: var(--c-bg-base);
    color: var(--c-text);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background Systems */
#particles-js {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -2;
    pointer-events: none;
}

.ambient-glow {
    position: fixed;
    width: 60vw; height: 60vw;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -1; pointer-events: none;
    opacity: 0.35;
}
.bg-left {
    top: -10%; left: -20%;
    background: radial-gradient(circle, var(--c-emerald) 0%, transparent 60%);
    animation: drift 20s infinite alternate;
}
.bg-right {
    bottom: -20%; right: -10%;
    background: radial-gradient(circle, var(--c-gold) 0%, transparent 60%);
    animation: drift 25s infinite alternate-reverse;
}

@keyframes drift {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(-5%) scale(1.1); }
}

/* Glassmorphism */
.glass-effect, .glass-card {
    background: var(--c-bg-surface);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--c-border-subtle);
}

/* Typography & Gradients */
h1, h2, h3, h4 { font-family: var(--font-head); letter-spacing: -0.03em; }

.text-gradient-emerald {
    background: linear-gradient(135deg, #34D399, #10B981, #059669);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.text-gradient-gold {
    background: linear-gradient(135deg, #FDE68A, #D97706, #B8860B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navigation Structure */
.navbar {
    position: fixed;
    top: 20px; left: 50%; transform: translateX(-50%);
    width: 95%; max-width: 1400px;
    border-radius: 100px;
    z-index: 1000;
    transition: var(--transition-smooth);
    border: 1px solid var(--c-border);
}
.navbar.scrolled {
    background: rgba(12, 18, 30, 0.85);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    border-color: rgba(16, 185, 129, 0.4);
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1.5rem;
}
.logo {
    display: flex; align-items: center; gap: 1rem;
}
.lgc-symbol-wrapper {
    width: 44px; height: 44px;
}
.lgc-symbol { width: 100%; height: 100%; }

.brand-text {
    display: flex; flex-direction: column; line-height: 1.1;
}
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; }
.brand-legal { font-size: 0.75rem; color: var(--c-gold-bright); letter-spacing: 0.05em; text-transform: uppercase; }

.nav-links { display: flex; gap: 2rem; }
.nav-links a { color: var(--c-text); text-decoration: none; font-size: 0.95rem; font-weight: 500;}
.hover-underline { position: relative; }
.hover-underline::after {
    content: ''; position: absolute; width: 0; height: 2px;
    bottom: -4px; left: 0; background: var(--c-emerald); transition: var(--transition-smooth);
}
.hover-underline:hover::after { width: 100%; }

.nav-actions { display: flex; gap: 1rem; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0.8rem 1.8rem; font-weight: 600; font-family: var(--font-body);
    border-radius: 100px; cursor: pointer; transition: var(--transition-smooth);
    text-decoration: none; border: none; font-size: 0.95rem;
}
.btn-outline { background: transparent; border: 1px solid var(--c-border-subtle); color: var(--c-text); }
.btn-outline:hover { background: rgba(255,255,255,0.05); }

.btn-primary { background: linear-gradient(135deg, #059669, #10B981); color: #fff; }
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.1); }
.btn-glass { background: var(--c-bg-surface); border: 1px solid var(--c-border-subtle); color: var(--c-text); backdrop-filter: blur(10px); }
.btn-glass:hover { border-color: rgba(255,255,255,0.2); }

.glow-emerald { box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4); }
.glow-gold { border-color: rgba(217, 119, 6, 0.5); box-shadow: 0 4px 15px rgba(217, 119, 6, 0.1); }
.glow-gold:hover { background: rgba(217, 119, 6, 0.15); border-color: var(--c-gold-bright); color: var(--c-gold-bright); }

/* Hero Section */
.hero-section {
    position: relative; min-height: 100vh;
    display: flex; align-items: center; justify-content: space-between;
    padding: 8rem 5% 4rem; max-width: 1600px; margin: 0 auto;
}
.hero-bg-image {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center;
    z-index: -1; opacity: 0.2; filter: contrast(1.2) sepia(0.2) hue-rotate(-20deg);
}
.hero-vignette {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, transparent 30%, var(--c-bg-base) 90%);
    z-index: -1; pointer-events: none;
}
.hero-content {
    flex: 1; max-width: 700px; padding-right: 2rem; z-index: 10;
}
.auth-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 16px; border-radius: 100px;
    background: var(--c-bg-surface); border: 1px solid var(--c-border);
    font-size: 0.85rem; color: var(--c-emerald); font-weight: 600;
    margin-bottom: 2rem; letter-spacing: 0.05em; text-transform: uppercase;
}
.pulse-dot {
    width: 8px; height: 8px; background: var(--c-emerald); border-radius: 50%;
    box-shadow: 0 0 10px var(--c-emerald); animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

.hero-title { font-size: 4.5rem; line-height: 1.05; margin-bottom: 1.5rem; }
.hero-subtitle { font-size: 1.25rem; color: var(--c-text-muted); margin-bottom: 2.5rem; }
.hero-buttons { display: flex; gap: 1.5rem; }

/* Hero Visual */
.hero-visual { flex: 1; position: relative; height: 60vh; z-index: 2; }
.floating-dashboard-wrapper {
    position: relative; width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    perspective: 1000px;
}
.main-dashboard-img {
    width: 90%; max-width: 700px; border-radius: var(--radius-md);
    box-shadow: 0 20px 50px rgba(0,0,0,0.8), 0 0 40px var(--c-emerald-dim);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    transform: rotateY(-10deg) rotateX(5deg);
    border: 1px solid var(--c-border);
}
.floating-dashboard-wrapper:hover .main-dashboard-img {
    transform: rotateY(-2deg) rotateX(2deg) scale(1.02);
}
.floating-element {
    position: absolute; border-radius: var(--radius-sm);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
    animation: floatElement 6s ease-in-out infinite alternate;
}
.el-1 { bottom: 10%; right: 5%; width: 120px; }
.media-icon { width: 100%; border-radius: var(--radius-sm); border: 1px solid var(--c-border-subtle); background: var(--c-bg-surface); padding: 5px;}

@keyframes floatElement {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-20px) rotate(5deg); }
}

/* Marquee Credentials */
.credentials-bar {
    width: 100%; padding: 12px 0; border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border);
    overflow: hidden; white-space: nowrap; display: flex;
}
.marquee-track {
    display: flex; gap: 3rem; align-items: center;
    font-family: var(--font-head); font-weight: 700; color: var(--c-emerald); letter-spacing: 0.1em;
    animation: marquee 30s linear infinite; font-size: 0.9rem; opacity: 0.8;
}
.bullet { color: var(--c-gold); }
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } 
}

/* Core Pillars */
.core-pillars { padding: 8rem 5%; max-width: 1400px; margin: 0 auto; }
.section-header { margin-bottom: 4rem; }
.section-header h2 { font-size: 3rem; margin-bottom: 1rem; }
.section-desc { font-size: 1.2rem; color: var(--c-text-muted); }
.text-center { text-align: center; }

.pillar-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }
.pillar-card {
    position: relative; padding: 2.5rem; border-radius: var(--radius-lg);
    transition: var(--transition-smooth); overflow: hidden;
}
.card-glow-bg {
    position: absolute; top: -50px; right: -50px; width: 150px; height: 150px;
    border-radius: 50%; filter: blur(40px); opacity: 0; transition: var(--transition-smooth);
}
.card-glow-bg.emerald { background: var(--c-emerald); }
.card-glow-bg.gold { background: var(--c-gold); }
.pillar-card:hover { transform: translateY(-10px); border-color: rgba(255,255,255,0.2); }
.pillar-card:hover .card-glow-bg { opacity: 0.4; }
.pillar-card.active { border-color: var(--c-border); }
.icon-wrapper { width: 50px; height: 50px; color: var(--c-emerald); margin-bottom: 1.5rem; }
.icon-wrapper.gold-tint { color: var(--c-gold-bright); }
.pillar-card h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.pillar-card p { color: var(--c-text-muted); margin-bottom: 2rem; }
.card-link { color: var(--c-text); text-decoration: none; font-weight: 600; border-bottom: 1px solid transparent; transition: var(--transition-smooth); }
.pillar-card:hover .card-link { border-bottom-color: var(--c-text); }

/* Auth Section */
.auth-section { padding: 4rem 5% 8rem; max-width: 1200px; margin: 0 auto; }
.split-auth {
    display: flex; align-items: stretch; gap: 4rem; padding: 4rem; border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(12, 18, 30, 0.8) 100%);
    border: 1px solid var(--c-border); box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.auth-info { flex: 1; }
.auth-info h2 { font-size: 2.5rem; margin-bottom: 1.5rem; }
.auth-info p { color: var(--c-text-muted); font-size: 1.1rem; margin-bottom: 2rem; }
.auth-list { list-style: none; }
.auth-list li { margin-bottom: 1rem; display: flex; align-items: center; gap: 10px; font-weight: 500; }
.icon-check { color: var(--c-emerald); font-weight: 800; }

.auth-form-wrapper { flex: 1; display: flex; justify-content: center; align-items: center; }
.auth-box { width: 100%; padding: 2.5rem; border-color: var(--c-border-subtle); }
.auth-box h3 { margin-bottom: 1.5rem; font-size: 1.25rem; border-bottom: 1px solid var(--c-border-subtle); padding-bottom: 1rem; }
.input-group { margin-bottom: 1.5rem; }
.input-group label { display: block; margin-bottom: 0.5rem; font-size: 0.85rem; color: var(--c-text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.input-group input {
    width: 100%; padding: 1rem; border-radius: var(--radius-sm);
    background: rgba(0,0,0,0.3); border: 1px solid var(--c-border-subtle);
    color: var(--c-text); font-family: var(--font-body); font-size: 1rem; transition: var(--transition-smooth);
}
.input-group input:focus { outline: none; border-color: var(--c-emerald); box-shadow: 0 0 15px var(--c-emerald-dim); }
.full-width { width: 100%; }

/* Footer LGC LLC Specifics */
footer { padding: 5rem 5% 2rem; border-top: 1px solid var(--c-border-subtle); background: #020408; position: relative;}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 4rem; max-width: 1400px; margin: 0 auto; margin-bottom: 4rem; }
.brand-col .logo { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.lgc-symbol-small { width: 30px; height: 30px; }
.footer-mission { color: var(--c-text-muted); margin-bottom: 2rem; max-width: 400px; }

.credentials-badge {
    background: rgba(16, 185, 129, 0.05); border: 1px solid var(--c-border);
    padding: 1rem; border-radius: var(--radius-sm); font-size: 0.85rem;
    color: var(--c-text-muted); line-height: 1.8; font-family: var(--font-head);
    display: inline-block;
}
.credentials-badge strong { color: var(--c-emerald); }

.footer-col h4 { margin-bottom: 1.5rem; font-size: 1.1rem; color: var(--c-text); }
.footer-col a { display: block; color: var(--c-text-muted); text-decoration: none; margin-bottom: 0.8rem; transition: var(--transition-smooth); }
.footer-col a:hover { color: var(--c-emerald); transform: translateX(5px); }

.footer-bottom {
    text-align: center; color: var(--c-text-muted); font-size: 0.85rem; font-family: var(--font-head);
    padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.05); letter-spacing: 0.05em;
}

/* Media Queries */
@media (max-width: 1024px) {
    .hero-section { flex-direction: column; text-align: center; padding-top: 10rem; }
    .hero-content { padding-right: 0; margin-bottom: 3rem; }
    .hero-buttons { justify-content: center; }
    .split-auth { flex-direction: column; padding: 2rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .nav-links { display: none; }
}
@media (max-width: 768px) {
    .hero-title { font-size: 3rem; }
    .credentials-bar { padding: 8px 0; }
}
