/* 宇宙科技主题 */
:root {
    --bg-primary: #0a0a1a;
    --bg-secondary: #0d1025;
    --bg-card: rgba(15, 20, 40, 0.85);
    --text-primary: #e0e6ed;
    --text-secondary: #a0aec0;
    --accent-cyan: #00d4ff;
    --accent-blue: #0066ff;
    --accent-purple: #b366ff;
    --accent-pink: #ff66b2;
    --accent-green: #00ff88;
    --glow-cyan: 0 0 20px rgba(0, 212, 255, 0.3);
    --glow-purple: 0 0 20px rgba(179, 102, 255, 0.3);
    --border-glow: 1px solid rgba(0, 212, 255, 0.2);
}

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

body {
    font-family: 'Inter', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.site-footer {
    text-align: center;
    padding: 2rem 1rem;
    margin-top: auto;
    position: relative;
    z-index: 10;
    flex-shrink: 0;
}

.site-footer p {
    margin: 0;
    font-size: 0.8rem;
    color: rgba(0, 212, 255, 0.5);
}

#space-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

#trail-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.main-content {
    position: relative;
    z-index: 10;
}

.navbar {
    background: rgba(10, 10, 26, 0.95) !important;
    border-bottom: var(--border-glow);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
}

.navbar-brand {
    color: var(--accent-cyan) !important;
    font-weight: 700;
    font-size: 1.5rem;
    text-shadow: var(--glow-cyan);
    letter-spacing: 2px;
}

.nav-link {
    color: var(--text-secondary) !important;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem !important;
}

.nav-link:hover {
    color: var(--accent-cyan) !important;
    text-shadow: var(--glow-cyan);
}

.card {
    background: var(--bg-card) !important;
    border: var(--border-glow) !important;
    border-radius: 16px !important;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    border-color: rgba(0, 245, 255, 0.4) !important;
    box-shadow: var(--glow-cyan), inset 0 0 30px rgba(0, 245, 255, 0.05);
}

.card-header {
    background: transparent !important;
    border-bottom: 1px solid rgba(0, 245, 255, 0.1) !important;
    color: var(--accent-cyan) !important;
    font-weight: 600;
    padding: 1.5rem !important;
}

.card-body {
    padding: 2rem !important;
}

.form-control {
    background: rgba(15, 20, 40, 0.6) !important;
    border: 1px solid rgba(0, 245, 255, 0.2) !important;
    color: var(--text-primary) !important;
    border-radius: 8px !important;
    padding: 0.75rem 1rem !important;
    transition: all 0.3s ease;
}

.form-control:focus {
    background: rgba(15, 20, 40, 0.8) !important;
    border-color: var(--accent-cyan) !important;
    box-shadow: var(--glow-cyan) !important;
    color: var(--text-primary) !important;
}

.form-control::placeholder {
    color: var(--text-secondary) !important;
}

.form-label {
    color: var(--text-secondary) !important;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.btn {
    border-radius: 8px !important;
    padding: 0.75rem 1.5rem !important;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue)) !important;
    border: none !important;
    color: var(--bg-primary) !important;
}

.btn-primary:hover {
    box-shadow: var(--glow-cyan) !important;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent !important;
    border: 1px solid var(--accent-purple) !important;
    color: var(--accent-purple) !important;
}

.btn-secondary:hover {
    background: rgba(179, 102, 255, 0.1) !important;
    box-shadow: var(--glow-purple) !important;
    transform: translateY(-2px);
}

.btn-success {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan)) !important;
    border: none !important;
    color: var(--bg-primary) !important;
}

.btn-success:hover {
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.4) !important;
    transform: translateY(-2px);
}

.btn-danger {
    background: linear-gradient(135deg, #6699ff, #99bbff) !important;
    border: none !important;
}

.btn-danger:hover {
    box-shadow: 0 0 20px rgba(102, 153, 255, 0.4) !important;
}

.alert {
    background: rgba(15, 20, 40, 0.8) !important;
    border: 1px solid rgba(0, 245, 255, 0.2) !important;
    border-radius: 8px !important;
    color: var(--text-primary) !important;
    animation: alertFadeOut 3s ease 2s forwards;
}

@keyframes alertFadeOut {
    0% { opacity: 1; transform: translateY(0); }
    70% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(-10px); height: 0; padding: 0; margin: 0; overflow: hidden; }
}

.alert-success {
    border-color: rgba(0, 102, 255, 0.3) !important;
    background: rgba(0, 102, 255, 0.1) !important;
}

.alert-danger {
    border-color: rgba(102, 153, 255, 0.3) !important;
    background: rgba(102, 153, 255, 0.1) !important;
}

.alert-warning {
    border-color: rgba(0, 212, 255, 0.3) !important;
    background: rgba(0, 212, 255, 0.1) !important;
}

.alert-info {
    border-color: rgba(0, 245, 255, 0.3) !important;
    background: rgba(0, 245, 255, 0.1) !important;
}

/* 合作中客户最后一段淡蓝色背景 */
tr.cooperation-active {
    background: rgba(80, 160, 255, 0.2) !important;
}
td.cooperation-cell {
    background: rgba(80, 160, 255, 0.25) !important;
    border-color: rgba(80, 160, 255, 0.5) !important;
    color: #70b8ff !important;
    font-weight: 500;
}

.welcome-section {
    text-align: center;
    padding: 4rem 2rem;
    animation: fadeInUp 1s ease-out;
    position: relative;
    z-index: 10;
}

.welcome-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-cyan);
    text-shadow: 0 0 20px rgba(0, 245, 255, 0.5), 0 0 40px rgba(0, 245, 255, 0.3), 0 0 60px rgba(0, 245, 255, 0.2);
    margin-bottom: 1.5rem;
    letter-spacing: 4px;
    animation: glowPulse 3s ease-in-out infinite;
    line-height: 1.3;
}

.welcome-title-lg {
    font-size: 4rem;
    font-weight: 800;
    color: var(--accent-cyan);
    text-shadow: 0 0 30px rgba(0, 245, 255, 0.5), 0 0 60px rgba(0, 245, 255, 0.3), 0 0 90px rgba(0, 245, 255, 0.2);
    margin-bottom: 2rem;
    letter-spacing: 6px;
    animation: glowPulse 3s ease-in-out infinite;
    line-height: 1.2;
}

.welcome-subtitle {
    font-size: 1.25rem;
    color: var(--text-primary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
    animation: fadeInUp 1s ease-out 0.5s both;
    text-shadow: 0 0 10px rgba(0, 245, 255, 0.3);
    background: rgba(10, 10, 26, 0.6);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 245, 255, 0.1);
}

.welcome-subtitle-lg {
    font-size: 1.4rem;
    color: var(--text-primary);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    animation: fadeInUp 1s ease-out 0.5s both;
    text-shadow: 0 0 15px rgba(0, 245, 255, 0.3);
    background: rgba(10, 10, 26, 0.6);
    padding: 2rem 3rem;
    border-radius: 16px;
    border: 1px solid rgba(0, 245, 255, 0.1);
}

.left-panel {
    height: 100%;
    padding: 2rem 1rem;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.welcome-title-center {
    font-size: 2rem;
    font-weight: 700;
    color: #00d4ff;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5), 0 0 40px rgba(0, 212, 255, 0.3);
    letter-spacing: 3px;
    animation: fadeInUp 2s ease-out forwards, glowPulse 3s ease-in-out infinite;
    animation-delay: 0.5s;
    line-height: 1.4;
    text-align: center;
    white-space: nowrap;
    opacity: 0;
    z-index: 10;
}

.right-panel {
    height: 100%;
    padding: 2rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.solar-system-area {
    width: 100%;
    height: 300px;
    position: relative;
}

.footer-slogan {
    position: fixed;
    bottom: 50px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(0, 212, 255, 0.8);
    letter-spacing: 2px;
    font-weight: 500;
    animation: fadeInDelay 1s ease-out 0.5s forwards;
    opacity: 0;
}

.footer-notice {
    text-align: center;
    font-size: 0.8rem;
    color: rgba(160, 196, 255, 0.6);
    letter-spacing: 1px;
    font-weight: 400;
}

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

@media (max-width: 992px) {
    .welcome-title-center {
        font-size: 1.3rem;
    }
    
    .left-panel, .right-panel {
        height: auto;
        padding: 2rem 1rem;
        align-items: center !important;
    }
    
    .left-panel {
        padding-left: 1rem !important;
    }
    
    .solar-system-area {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .welcome-title-center {
        font-size: 1.1rem;
        letter-spacing: 2px;
    }
    
    .card {
        margin: 0 1rem;
    }
    
    .footer-slogan {
        font-size: 0.75rem;
        padding: 0 0.5rem;
    }
    
    .footer-notice {
        font-size: 0.65rem;
        padding: 0 0.5rem;
    }
    
    .solar-system-area {
        height: 300px;
    }
}

@media (min-width: 1200px) {
    .welcome-title-center {
        font-size: 1.8rem;
    }
}

.info-card {
    background: var(--bg-card);
    border: var(--border-glow);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.info-label {
    color: #8892a0;
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.info-value {
    color: #c0c8d4;
    font-size: 0.95rem;
    font-weight: 400;
}

.chart-container {
    background: var(--bg-card);
    border: var(--border-glow);
    border-radius: 16px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.chart-title {
    color: var(--accent-cyan);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-shadow: var(--glow-cyan);
}

.accordion-item {
    background: var(--bg-card) !important;
    border: var(--border-glow) !important;
    margin-bottom: 1rem;
    border-radius: 12px !important;
}

.accordion-button {
    background: transparent !important;
    color: var(--text-primary) !important;
    font-weight: 600;
}

.accordion-button:not(.collapsed) {
    background: rgba(0, 245, 255, 0.1) !important;
    color: var(--accent-cyan) !important;
    box-shadow: none !important;
}

.accordion-button:focus {
    box-shadow: none !important;
    border-color: var(--accent-cyan) !important;
}

.accordion-body {
    background: transparent !important;
    color: var(--text-primary) !important;
    padding: 1.5rem !important;
}

.table {
    color: var(--text-primary) !important;
}

.table th {
    color: var(--accent-cyan) !important;
    border-bottom: 1px solid rgba(0, 245, 255, 0.2) !important;
}

.table td {
    border-bottom: 1px solid rgba(0, 245, 255, 0.1) !important;
}

a {
    color: var(--accent-cyan);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-purple);
    text-shadow: var(--glow-purple);
}

.border-top {
    border-color: rgba(0, 245, 255, 0.1) !important;
}

.nav-tabs {
    border-bottom: var(--border-glow) !important;
}

.nav-tabs .nav-link {
    background: transparent !important;
    border: none !important;
    color: var(--text-secondary) !important;
    font-weight: 600;
    padding: 1rem !important;
    transition: all 0.3s ease;
    border-radius: 0 !important;
}

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

.nav-tabs .nav-link.active {
    background: rgba(0, 245, 255, 0.1) !important;
    color: var(--accent-cyan) !important;
    border-bottom: 2px solid var(--accent-cyan) !important;
}

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

@keyframes glowPulse {
    0%, 100% {
        text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
    }
    50% {
        text-shadow: 0 0 40px rgba(0, 212, 255, 0.6), 0 0 60px rgba(0, 212, 255, 0.3);
    }
}

@keyframes borderGlow {
    0%, 100% {
        border-color: rgba(0, 245, 255, 0.2);
    }
    50% {
        border-color: rgba(0, 245, 255, 0.4);
    }
}

.page-enter {
    animation: fadeInUp 0.6s ease-out;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-cyan);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-purple);
}

@media (max-width: 992px) {
    .welcome-title-lg {
        font-size: 2.5rem;
    }
    .welcome-subtitle-lg {
        font-size: 1.1rem;
        padding: 1.5rem 2rem;
    }
    .feature-cards {
        gap: 1rem;
    }
    .feature-card {
        padding: 1.5rem 2rem;
        min-width: 120px;
    }
}

@media (max-width: 768px) {
    .welcome-title {
        font-size: 1.8rem;
    }
    .welcome-title-lg {
        font-size: 2rem;
    }
    .welcome-subtitle {
        font-size: 1rem;
    }
    .welcome-subtitle-lg {
        font-size: 1rem;
        padding: 1rem 1.5rem;
    }
    .card-body {
        padding: 1.5rem !important;
    }
    .feature-card {
        min-width: 100%;
    }
}
