:root {
    --bg-black: #06040a;
    --card-bg: rgba(18, 12, 34, 0.65);
    --card-border: rgba(112, 0, 255, 0.2);
    --card-border-hover: rgba(0, 240, 255, 0.4);
    
    --text-primary: #f0ecfc;
    --text-secondary: #9aa0a6;
    --text-muted: #64617a;
    
    --accent-purple: #7000ff;
    --accent-blue: #00f0ff;
    --accent-blue-glow: rgba(0, 240, 255, 0.25);
    
    --status-nominal: #00ffaa;
    --status-critical: #ff3366;
    
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-black);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Ambient Background Glows */
.bg-glow-purple {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(circle, rgba(112, 0, 255, 0.18) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

.bg-glow-blue {
    position: absolute;
    top: 300px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

/* Navigation */
.nav-bar {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    background: rgba(6, 4, 10, 0.8);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1050px;
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 1.5px;
    color: var(--text-primary);
}

.brand-accent {
    color: var(--accent-blue);
}

.nav-btn {
    color: var(--accent-blue);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid var(--accent-blue);
    background: rgba(0, 240, 255, 0.05);
    transition: all 0.2s ease;
}

.nav-btn:hover {
    background: var(--accent-blue);
    color: var(--bg-black);
    box-shadow: 0 0 15px var(--accent-blue-glow);
}

/* Main Layout */
.main-layout {
    max-width: 1050px;
    margin: 0 auto;
    padding: 40px 24px 80px 24px;
}

/* Hero Ticker Card */
.hero-card {
    background: linear-gradient(135deg, rgba(26, 16, 51, 0.8) 0%, rgba(13, 8, 25, 0.9) 100%);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 36px;
    margin-bottom: 40px;
    backdrop-filter: blur(16px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-purple), var(--accent-blue), var(--accent-purple));
}

.ticker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.live-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--accent-blue);
    background: rgba(0, 240, 255, 0.08);
    padding: 4px 12px;
    border-radius: 12px;
    border: 1px solid rgba(0, 240, 255, 0.2);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-blue);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-blue);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { opacity: 0.3; }
    50% { opacity: 1; }
    100% { opacity: 0.3; }
}

.ticker-tag {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.score-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.score-value {
    font-family: var(--font-mono);
    font-size: 4.2rem;
    font-weight: 700;
    letter-spacing: -1px;
    background: linear-gradient(180deg, #ffffff 30%, #a8b2d1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
}

.status-badge-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
}

.status-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.status-badge {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
}

.status-nominal {
    color: var(--status-nominal);
    background: rgba(0, 255, 170, 0.1);
    border: 1px solid rgba(0, 255, 170, 0.3);
}

.status-critical {
    color: var(--status-critical);
    background: rgba(255, 51, 102, 0.1);
    border: 1px solid rgba(255, 51, 102, 0.3);
}

.ticker-footer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.metric-chip {
    display: flex;
    flex-direction: column;
}

.chip-title {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.chip-val {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Two Column Info Section */
.grid-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .grid-two-col { grid-template-columns: 1fr; }
    .score-value { font-size: 3rem; }
}

.info-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 28px;
    backdrop-filter: blur(10px);
}

.info-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--accent-blue);
}

.info-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.info-card p:last-child {
    margin-bottom: 0;
}

/* Vectors Section */
.vectors-section {
    margin-bottom: 60px;
}

.vectors-section h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.vector-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.vector-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.2s ease;
}

.vector-card:hover {
    border-color: var(--card-border-hover);
    transform: translateY(-2px);
}

.vector-icon {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.vector-card h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.vector-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Footer */
.main-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 32px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.attribution {
    margin-top: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.company-highlight {
    color: var(--text-primary);
    font-weight: 700;
    background: linear-gradient(90deg, var(--accent-purple), var(--accent-blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-links {
    margin-top: 16px;
}

.footer-links a {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 500;
}

.footer-links a:hover {
    text-decoration: underline;
}