
.container {
    font-family: "Songti SC", /* macOS 首选 */ "SimSun", /* Windows 备用 */ "Noto Serif SC", /* Android/现代系统 */ "Georgia", /* 英文首选 */ "Times New Roman", /* 英文备用 */ serif; /* 最终回退 */;
    /*max-width: 1800px !important;*/
    margin: 0 auto;
    padding: 0 20px;
}

header {
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}


.hero {
    position: relative;
    margin-top: 5rem;
    padding: 4rem 0;
    text-align: center;
    overflow: hidden;
    height: 32rem;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/joinus.png');
    background-size: 100%;
    background-position: top center;
    opacity: 0.2;
    z-index: -1;
}

.hero-title {
    font-size: 54px;
    font-weight: bold;
    margin-bottom: 20px;
    background: linear-gradient(120deg, #ff0000, #FFA500, #9900ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.hero-subtitle {
    font-size: 24px;
    color: #ccccff;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.glow-btn {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(45deg, #0066ff, #00ffff);
    color: white;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 150, 255, 0.5);
    border: none;
    cursor: pointer;
    margin: 20px 10px;
}

.glow-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(0, 150, 255, 0.8);
}

.glow-btn:active {
    transform: translateY(1px);
}

.section {
    padding: 1rem 0;
    position: relative;
}

.section-title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 50px;
    color: #FFA500;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.hover-shadow:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease-in-out;
}

.hologram-card {
    background: rgba(10, 20, 50, 0.3);
    border: 1px solid rgba(0, 150, 255, 0.3);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.hologram-card:before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0, 150, 255, 0.1), transparent);
    transform: rotate(45deg);
    animation: hologramShine 6s infinite linear;
    pointer-events: none;
}

@keyframes hologramShine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.hologram-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    border-color: rgba(0, 150, 255, 0.6);
}


.hologram-card h3 {
    position: relative;
    padding-bottom: 10px;
}

.hologram-card h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #00ffff, transparent);
}

.hologram-card p {
    margin-bottom: 15px;
    color: #ccccff;
}

.hologram-card ul {
    list-style-type: none;
    padding-left: 10px;
    margin-bottom: 20px;
}

.hologram-card ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: #ccccff;
}

.hologram-card ul li:before {
    content: '>';
    position: absolute;
    left: 0;
    color: #00ffff;
    font-weight: bold;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.tech-box {
    background: rgba(10, 20, 50, 0.5);
    border: 1px solid rgba(0, 150, 255, 0.2);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.tech-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border-color: rgba(0, 150, 255, 0.5);
}

.tech-icon {
    font-size: 40px;
    margin-bottom: 15px;
    color: #00ffff;
}

.tech-title {
    font-size: 20px;
    margin-bottom: 10px;
    color: #ffffff;
}

.tech-desc {
    color: #ccccff;
    font-size: 16px;
}


.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.team-spot {
    background: rgba(10, 20, 50, 0.3);
    border: 1px solid rgba(0, 150, 255, 0.2);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.team-spot:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 150, 255, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.team-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #0066ff, #00ffff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: #ffffff;
}

.team-icon.empty {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.3), rgba(0, 255, 255, 0.3));
    border: 2px dashed rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.5);
}

.team-title {
    font-size: 24px;
    margin-bottom: 15px;
    color: #ffffff;
}

.team-desc {
    color: #ccccff;
    margin-bottom: 20px;
}


.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 255, 255, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(0, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 255, 255, 0);
    }
}

/* Path animation */
.path-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: -1;
}

.path {
    position: absolute;
    width: 2px;
    height: 100px;
    background: linear-gradient(to bottom, rgba(0, 255, 255, 0), rgba(0, 255, 255, 0.5), rgba(0, 255, 255, 0));
    animation: pathAnimation 8s infinite linear;
    opacity: 0.6;
}

.path:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    height: 200px;
}

.path:nth-child(2) {
    left: 20%;
    animation-delay: 1s;
    height: 150px;
}

.path:nth-child(3) {
    left: 30%;
    animation-delay: 2s;
}

.path:nth-child(4) {
    left: 40%;
    animation-delay: 3s;
    height: 250px;
}

.path:nth-child(5) {
    left: 50%;
    animation-delay: 4s;
}

.path:nth-child(6) {
    left: 60%;
    animation-delay: 5s;
    height: 180px;
}

.path:nth-child(7) {
    left: 70%;
    animation-delay: 6s;
}

.path:nth-child(8) {
    left: 80%;
    animation-delay: 7s;
    height: 220px;
}

.path:nth-child(9) {
    left: 90%;
    animation-delay: 8s;
}

@keyframes pathAnimation {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(100vh);
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {

    html {
        font-size: 70%;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section-title {
        font-size: 28px;
    }


    .hologram-card {
        padding: 20px;
    }

    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

}

/* 模态框优化 */
.modal-backdrop.show {
    opacity: 0.8;
}

.modal-dialog {
    max-width: 500px;
}

.modal-content {
    border-radius: 15px;
    overflow: hidden;
    border: none;
}

.modal-header {
    background: linear-gradient(135deg, #0066ff, #00ffff);
    border: none;
    padding: 15px 20px;
}

.modal-title {
    color: white;
    font-size: 18px;
    font-weight: 500;
}

.btn-close {
    filter: brightness(0) invert(1);
    opacity: 1;
}

.btn-close-white {
    color: white !important;
    text-shadow: none;
    opacity: 0.9;
}

.modal-body {
    background-color: rgba(10, 20, 50, 0.8);
    padding: 25px;
}

.glow-btn-sm {
    padding: 10px 20px;
    background: linear-gradient(45deg, #0066ff, #00ffff);
    color: white;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 150, 255, 0.3);
    border: none;
    cursor: pointer;
    display: inline-block;
}

.glow-btn-sm:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 150, 255, 0.5);
}

.glow-btn-sm:active {
    transform: translateY(1px);
}

/*joinus*/
.position-header {
    position: relative;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
}

.position-header:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #00ffff, #0066ff);
    border-radius: 3px;
}

.position-category {
    position: relative;
    margin-bottom: 4rem;
}

.position-category:last-child {
    margin-bottom: 0;
}

.department-badge {
    position: absolute;
    top: -15px;
    right: 0;
    background: rgba(0, 102, 255, 0.2);
    color: #00ffff;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    border: 1px solid rgba(0, 255, 255, 0.3);
}


/* contact */
/* 基础容器 */
.contact-container {
    max-width: 800px;
    margin: 5rem auto;
    padding: 20px;
}

/* 自定义适配深色背景的辅助文字颜色 */
.text-light-muted {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* 联系方式展示样式 */
.contact-info {
    margin-bottom: 30px;
}

.contact-icon {
    width: 32px;
    text-align: center;
}

/* 悬停动画 */
.contact-item:hover {
    transform: translateX(5px);
    transition: transform 0.2s ease;
}

/* 二维码图片样式 */
.contact-info img {
    border: 1px solid #dee2e6;
    padding: 5px;
    background: white;
}

/* 表单样式 */
.contact-form {
    border-top: 4px solid #0d1b2a;
}

.contact-form .form-control:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

/* 消息提示样式 */
.alert-message {
    margin-top: 20px;
}

@media (max-width: 576px) {
    .contact-form {
        padding: 1.5rem;
    }
}

/*parallel/website,ai*/
.section-page {
    padding: 4rem 0;
}

.case-card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}
