:root {
    --matrix-blue: #0A192F;
    --matrix-blue-light: #112240;
    --matrix-blue-lighter: #233554;
    --neon-yellow: #F2FF00;
    --laser-red: #FF4D4D;
    --logic-white: #E6F1FF;
    --slate: #8892b0;
    --light-slate: #a8b2d1;
    --white: #e6f1ff;
    --font-sans: 'Inter', -apple-system, system-ui, sans-serif;
    --font-mono: 'Fira Code', 'Roboto Mono', monospace;
}

body {
    background-color: var(--matrix-blue);
    color: var(--light-slate);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--white);
    font-weight: 700;
}

.mono {
    font-family: var(--font-mono);
}

.text-neon {
    color: var(--neon-yellow);
}

.text-laser {
    color: var(--laser-red);
}

.bg-matrix-dark {
    background-color: var(--matrix-blue);
}

.navbar {
    background-color: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--matrix-blue-lighter);
    padding: 1rem 2rem;
}

.navbar-brand {
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--neon-yellow) !important;
}

.nav-link {
    color: var(--white) !important;
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--neon-yellow) !important;
}

.btn-outline-neon {
    color: var(--neon-yellow);
    border-color: var(--neon-yellow);
    border-radius: 4px;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-outline-neon:hover {
    background-color: rgba(242, 255, 0, 0.1);
    color: var(--neon-yellow);
    border-color: var(--neon-yellow);
}

footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--matrix-blue-lighter);
}

.footer-logo {
    color: var(--neon-yellow);
    font-weight: 800;
    font-size: 1.5rem;
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--neon-yellow);
}

.card {
    background-color: var(--matrix-blue-light);
    border: 1px solid var(--matrix-blue-lighter);
    border-radius: 8px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--neon-yellow);
}

/* 矩陣背景動畫效果預留 */
#matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.1;
}
