/* ============================================================
   ARMANDO SENRA — Global Finance Leadership Platform
   Design System: Bloomberg Terminal + BlackRock Dashboard
   ============================================================ */

/* --- CSS Custom Properties --- */
:root {
    /* Core Palette */
    --primary: #0a0f1c;
    --primary-light: #111827;
    --secondary: #1a2332;
    --accent: #00d4aa;
    --accent-blue: #3b82f6;
    --accent-gold: #c9a84c;
    --accent-cyan: #06b6d4;
    --text-primary: #f0f4f8;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border: rgba(148, 163, 184, 0.12);
    --border-accent: rgba(0, 212, 170, 0.3);
    --glass: rgba(17, 24, 39, 0.85);
    --glass-light: rgba(26, 35, 50, 0.6);
    --gradient-primary: linear-gradient(135deg, #0a0f1c 0%, #1a2332 50%, #0f172a 100%);
    --gradient-accent: linear-gradient(135deg, #00d4aa 0%, #3b82f6 100%);
    --gradient-gold: linear-gradient(135deg, #c9a84c 0%, #f0d78c 100%);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(0, 212, 170, 0.15);

    /* Typography */
    --font-display: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;

    /* Spacing */
    --nav-height: 72px;
    --section-pad: 100px;
    --container-max: 1320px;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-display);
    background: var(--primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s var(--ease-out);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

/* --- Typography Scale --- */
.heading-xl {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.heading-lg {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.heading-md {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.heading-sm {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 600;
    line-height: 1.3;
}

.body-lg {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.body-md {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
}

.label-gold {
    color: var(--accent-gold);
}

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

.section {
    padding: var(--section-pad) 0;
    position: relative;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    background: rgba(10, 15, 28, 0.88);
    border-bottom: 1px solid var(--border);
    transition: all 0.4s var(--ease-out);
}

.nav.scrolled {
    background: rgba(10, 15, 28, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.nav-brand-icon {
    width: 38px;
    height: 38px;
    background: var(--gradient-accent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    color: var(--primary);
    position: relative;
}

.nav-brand-icon::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 10px;
    background: var(--gradient-accent);
    opacity: 0.3;
    filter: blur(8px);
    z-index: -1;
}

.nav-brand-text {
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.nav-brand-text span {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 0.85rem;
    display: block;
    margin-top: -2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-links a {
    padding: 8px 16px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: 8px;
    transition: all 0.3s var(--ease-out);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    border: none;
    background: none;
    z-index: 1001;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s var(--ease-out);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Sections --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: var(--nav-height);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 15, 28, 0.92) 0%, rgba(10, 15, 28, 0.7) 50%, rgba(10, 15, 28, 0.92) 100%);
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* --- Cards --- */
.card {
    background: var(--secondary);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity 0.4s var(--ease-out);
}

.card:hover {
    border-color: var(--border-accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.card:hover::before {
    opacity: 1;
}

.card-glass {
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
}

/* --- Data Widgets --- */
.data-widget {
    background: var(--secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    position: relative;
}

.data-widget-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.data-widget-value {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.data-widget-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 6px;
}

/* --- Metric Bar --- */
.metric-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.metric-bar:last-child {
    border-bottom: none;
}

.metric-bar-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    width: 140px;
    flex-shrink: 0;
}

.metric-bar-track {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 3px;
    overflow: hidden;
}

.metric-bar-fill {
    height: 100%;
    border-radius: 3px;
    background: var(--gradient-accent);
    transition: width 1.5s var(--ease-out);
    width: 0;
}

.metric-bar-value {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    width: 50px;
    text-align: right;
}

/* --- Timeline --- */
.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--accent), var(--accent-blue), transparent);
}

.timeline-item {
    position: relative;
    padding-bottom: 48px;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.6s var(--ease-out);
}

.timeline-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -33px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
    border: 3px solid var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.3);
}

.timeline-year {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent);
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.timeline-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.timeline-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- Map Visualization --- */
.map-container {
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 1;
}

.map-container svg {
    width: 100%;
    height: 100%;
}

.map-dot {
    fill: var(--accent);
    animation: mapPulse 2s ease-in-out infinite;
}

.map-dot:nth-child(2) { animation-delay: 0.3s; }
.map-dot:nth-child(3) { animation-delay: 0.6s; }
.map-dot:nth-child(4) { animation-delay: 0.9s; }

@keyframes mapPulse {
    0%, 100% { opacity: 0.6; r: 4; }
    50% { opacity: 1; r: 7; }
}

/* --- Infographic Charts --- */
.chart-donut {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto;
}

.chart-donut svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.chart-donut-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.chart-donut-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.chart-donut-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    border: none;
    font-family: var(--font-display);
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 170, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(0, 212, 170, 0.05);
}

/* --- Dividers --- */
.divider {
    width: 60px;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 2px;
    margin: 16px 0;
}

.divider-wide {
    width: 100%;
    height: 1px;
    background: var(--border);
    margin: 48px 0;
}

/* --- Status Indicator --- */
.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    display: inline-block;
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 212, 170, 0.4); }
    50% { box-shadow: 0 0 0 6px rgba(0, 212, 170, 0); }
}

/* --- Image Containers (No Face Cutting) --- */
.img-portrait {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.img-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
}

.img-wide {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.img-wide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

.img-square {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.img-square img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
}

/* --- Animated Counter --- */
.counter {
    font-family: var(--font-mono);
    font-variant-numeric: tabular-nums;
}

/* --- Page Transition Overlay --- */
.page-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.page-loader-bar {
    width: 200px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1px;
    overflow: hidden;
}

.page-loader-bar::after {
    content: '';
    display: block;
    width: 40%;
    height: 100%;
    background: var(--gradient-accent);
    border-radius: 1px;
    animation: loaderSlide 1s ease-in-out infinite;
}

@keyframes loaderSlide {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(350%); }
}

/* --- Grid Lines Background --- */
.grid-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.03;
    background-image:
        linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* --- Scroll Reveal Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* Staggered delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* --- Footer --- */
.footer {
    background: var(--primary-light);
    border-top: 1px solid var(--border);
    padding: 60px 0 30px;
}

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

.footer-brand h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-col h4 {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding: 4px 0;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-bottom a {
    color: var(--accent);
}

.footer-bottom a:hover {
    text-decoration: underline;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: all 0.3s var(--ease-out);
}

.footer-social a:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(0, 212, 170, 0.05);
}

/* --- Floating Particles --- */
.particles {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 8s linear infinite;
}

@keyframes particleFloat {
    0% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        opacity: 0;
        transform: translateY(-10vh) scale(1);
    }
}

/* --- Password Page Specific --- */
.password-screen {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    position: relative;
    overflow: hidden;
}

.password-grid-bg {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image:
        linear-gradient(rgba(0, 212, 170, 0.3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 170, 0.3) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: gridScroll 20s linear infinite;
}

@keyframes gridScroll {
    0% { transform: translate(0, 0); }
    100% { transform: translate(40px, 40px); }
}

.password-container {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 460px;
    padding: 0 24px;
}

.password-logo {
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border-radius: 16px;
    margin: 0 auto 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--primary);
    position: relative;
}

.password-logo::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 20px;
    background: var(--gradient-accent);
    opacity: 0.2;
    filter: blur(15px);
}

.password-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.password-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 36px;
}

.password-input-wrap {
    position: relative;
    margin-bottom: 20px;
}

.password-input-wrap input {
    width: 100%;
    padding: 16px 20px;
    font-size: 1rem;
    font-family: var(--font-mono);
    letter-spacing: 0.15em;
    background: var(--secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-primary);
    outline: none;
    transition: all 0.3s var(--ease-out);
    text-align: center;
}

.password-input-wrap input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.1);
}

.password-input-wrap input.error {
    border-color: #ef4444;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-8px); }
    40% { transform: translateX(8px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
}

.password-btn {
    width: 100%;
    padding: 16px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-display);
    background: var(--gradient-accent);
    color: var(--primary);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    letter-spacing: 0.02em;
}

.password-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 170, 0.3);
}

.password-status {
    margin-top: 16px;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.password-status.error-msg {
    color: #ef4444;
}

.password-scan-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--accent);
    opacity: 0.3;
    animation: scanLine 4s linear infinite;
}

@keyframes scanLine {
    0% { top: 0; }
    100% { top: 100%; }
}

/* --- Transition Overlay --- */
.transition-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s var(--ease-out);
}

.transition-overlay.active {
    opacity: 1;
    visibility: visible;
}

.transition-text {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--accent);
    letter-spacing: 0.1em;
}

.transition-bar {
    width: 200px;
    height: 2px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 1px;
    margin-top: 20px;
    overflow: hidden;
}

.transition-bar-fill {
    width: 0%;
    height: 100%;
    background: var(--gradient-accent);
    border-radius: 1px;
    transition: width 1.5s var(--ease-out);
}

/* --- Hover Glow Effect --- */
.glow-card {
    position: relative;
}

.glow-card::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: conic-gradient(from var(--angle, 0deg), transparent 60%, var(--accent) 80%, transparent 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s;
}

.glow-card:hover::after {
    opacity: 0.3;
}

/* --- Tab System --- */
.tabs {
    display: flex;
    gap: 4px;
    background: var(--secondary);
    border-radius: 12px;
    padding: 4px;
    border: 1px solid var(--border);
    width: fit-content;
}

.tab-btn {
    padding: 10px 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: none;
    background: none;
    color: var(--text-muted);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    font-family: var(--font-display);
}

.tab-btn.active {
    background: rgba(0, 212, 170, 0.1);
    color: var(--accent);
}

.tab-btn:hover:not(.active) {
    color: var(--text-secondary);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.4s var(--ease-out);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    :root { --section-pad: 80px; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 280px;
        background: var(--primary-light);
        border-left: 1px solid var(--border);
        flex-direction: column;
        justify-content: center;
        padding: 24px;
        gap: 4px;
        transform: translateX(100%);
        transition: transform 0.4s var(--ease-out);
        z-index: 999;
    }

    .nav-links.open {
        transform: translateX(0);
    }

    .nav-links a {
        font-size: 1rem;
        padding: 12px 16px;
        width: 100%;
    }

    .nav-toggle {
        display: flex;
    }

    .grid-2 {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    :root {
        --section-pad: 60px;
    }

    .heading-xl { font-size: 2rem; }
    .heading-lg { font-size: 1.75rem; }
    .heading-md { font-size: 1.35rem; }

    .hero { min-height: auto; padding: 120px 0 80px; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .card { padding: 24px; }
    .data-widget { padding: 18px; }
    .data-widget-value { font-size: 2rem; }
}

/* --- Utility Classes --- */
.text-accent { color: var(--accent); }
.text-gold { color: var(--accent-gold); }
.text-blue { color: var(--accent-blue); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.w-full { width: 100%; }
.relative { position: relative; }
.z-1 { z-index: 1; }
.overflow-hidden { overflow: hidden; }
