:root {
    --primary-bg: #263238; /* 超輕量炭灰 */
    --accent-color: #EEFF41; /* 科技螢光綠 */
    --text-white: #FAFAFA; /* 透濕純淨白 */
    --secondary-blue: #1A237E; /* 分子穩定藍 */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-mono: 'Fira Code', 'Courier New', monospace;
}

body {
    background-color: var(--primary-bg);
    color: var(--text-white);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.navbar {
    background-color: rgba(38, 50, 56, 0.95);
    border-bottom: 1px solid rgba(238, 255, 65, 0.2);
    backdrop-filter: blur(10px);
}

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

.nav-link {
    color: var(--text-white) !important;
    font-size: 0.9rem;
    text-transform: uppercase;
    margin: 0 10px;
    transition: color 0.3s;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-color) !important;
}

.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: radial-gradient(circle at center, #37474f 0%, #263238 100%);
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.6;
}

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

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(238, 255, 65, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
}

.btn-accent {
    background-color: var(--accent-color);
    color: var(--primary-bg);
    font-weight: bold;
    padding: 12px 30px;
    border-radius: 0;
    transition: all 0.3s;
    border: none;
}

.btn-accent:hover {
    background-color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(238, 255, 65, 0.2);
}

.section-title {
    color: var(--accent-color);
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

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

.card-fiber {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    transition: all 0.3s;
    height: 100%;
}

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

.card-fiber .card-title {
    color: var(--accent-color);
}

.tech-tag {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    padding: 2px 8px;
    margin-right: 5px;
    display: inline-block;
}

footer {
    background-color: #1a2327;
    padding: 50px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.spec-table {
    color: var(--text-white);
}

.spec-table th {
    color: var(--accent-color);
    border-color: rgba(255, 255, 255, 0.1);
}

.spec-table td {
    border-color: rgba(255, 255, 255, 0.1);
}

.math-block {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-left: 4px solid var(--accent-color);
    margin: 20px 0;
    font-family: var(--font-mono);
}

.dashboard-card {
    background: #1e272c;
    border: 1px solid #37474f;
    padding: 20px;
    margin-bottom: 20px;
}

.chart-placeholder {
    height: 200px;
    background: repeating-linear-gradient(45deg, rgba(238, 255, 65, 0.05), rgba(238, 255, 65, 0.05) 10px, transparent 10px, transparent 20px);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed rgba(238, 255, 65, 0.3);
}
