/* 本地字体定义 */
/* Noto Sans SC - 思源黑体 */
@font-face {
  font-family: 'Noto Sans SC';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../assets/fonts/Noto_Sans_SC/NotoSansSC-VariableFont_wght.ttf') format('truetype');
}
@font-face {
  font-family: 'Noto Sans SC';
  font-style: normal;
  font-weight: 400; /* regular */
  font-display: swap;
  src: url('../assets/fonts/Noto_Sans_SC/NotoSansSC-VariableFont_wght.ttf') format('truetype');
}
@font-face {
  font-family: 'Noto Sans SC';
  font-style: normal;
  font-weight: 700; /* bold */
  font-display: swap;
  src: url('../assets/fonts/Noto_Sans_SC/NotoSansSC-VariableFont_wght.ttf') format('truetype');
}

/* Orbitron */
@font-face {
  font-family: 'Orbitron';
  font-style: normal;
  font-weight: 400; /* regular */
  font-display: swap;
  src: url('../assets/fonts/Orbitron/Orbitron-VariableFont_wght.ttf') format('truetype');
}
@font-face {
  font-family: 'Orbitron';
  font-style: normal;
  font-weight: 700; /* bold */
  font-display: swap;
  src: url('../assets/fonts/Orbitron/Orbitron-VariableFont_wght.ttf') format('truetype');
}
@font-face {
  font-family: 'Orbitron';
  font-style: normal;
  font-weight: 900; /* black */
  font-display: swap;
  src: url('../assets/fonts/Orbitron/Orbitron-VariableFont_wght.ttf') format('truetype');
}

/* CSS变量 */
:root {
    --primary-color: #00ffff;
    --secondary-color: #ff00ff;
    --accent-color: #ffff00;
    --bg-color: #0a0a0a;
    --text-color: #ffffff;
    --text-secondary: #cccccc;
    --text-muted: #888888;
    --border-color: rgba(0, 255, 255, 0.2);

    --animation-duration: 0.5s;
    --border-radius: 10px;
    --box-shadow: 0 10px 30px rgba(0, 255, 255, 0.1);

    /* 响应式变量 */
    --vh: 1vh;
    --vw: 1vw;
    --container-padding: 2rem;
    --section-padding: 100px;
    --navbar-height: 80px;
}

/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    background: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    line-height: 1.6;
    min-height: calc(var(--vh, 1vh) * 100);
}

/* 粒子背景 */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    display: flex;
    flex-direction: column;
    user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-select: none;
    text-decoration: none;
}

.logo-text {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 900;
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-subtitle {
    font-size: 0.7rem;
    color: #888;
    letter-spacing: 2px;
    font-family: 'Orbitron', monospace;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    white-space: nowrap;
    font-weight: 500;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00ffff, #ff00ff);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* 主页面 */
.hero {
    height: calc(var(--vh, 1vh) * 100);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--navbar-height) 5% 0;
    position: relative;
    scroll-margin-top: var(--navbar-height);
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-title {
    font-family: 'Orbitron', monospace;
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.glitch {
    position: relative;
    background: linear-gradient(45deg, #00ffff, #ff00ff, #ffff00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glitch 2s infinite;
}

@keyframes glitch {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #00ffff;
    margin-bottom: 1rem;
    font-weight: 300;
}

.hero-description {
    font-size: 1.1rem;
    color: #cccccc;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

/* 按钮样式 */
.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.3);
}

.btn-primary {
    background: linear-gradient(45deg, #00ffff, #0080ff);
    color: #000;
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #00ffff;
}

.btn-secondary:hover {
    background: rgba(0, 255, 255, 0.1);
}

/* 浮动元素 */
.hero-visual {
    flex: 1;
    position: relative;
    height: 500px;
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
}

.element {
    position: absolute;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.element-1 {
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, #00ffff, transparent);
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.element-2 {
    width: 150px;
    height: 150px;
    background: linear-gradient(45deg, #ff00ff, transparent);
    top: 50%;
    right: 20%;
    animation-delay: 2s;
}

.element-3 {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #ffff00, transparent);
    bottom: 20%;
    left: 50%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* 通用容器和标题 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 100px 0;
    scroll-margin-top: var(--navbar-height);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.section-title {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #888;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* 关于我们部分 */
.about {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    scroll-margin-top: var(--navbar-height);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #cccccc;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: rgba(0, 255, 255, 0.1);
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.stat-number {
    display: block;
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 900;
    color: #00ffff;
    margin-bottom: 0.5rem;
    font-variant-numeric: tabular-nums;
}

.stat-label {
    font-size: 0.9rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

/* 服务部分 */
.services {
    background: #0f0f0f;
    scroll-margin-top: var(--navbar-height);
}

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

.service-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.service-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #00ffff;
}

.service-description {
    color: #cccccc;
    line-height: 1.6;
}

/* 技术部分 */
.technology {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    scroll-margin-top: var(--navbar-height);
}

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

.tech-category {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 3px solid var(--primary-color);
}

.tech-category-title {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: 'Orbitron', monospace;
}

.tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-list span {
    background: rgba(0, 255, 255, 0.1);
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    border: 1px solid rgba(0, 255, 255, 0.2);
    transition: none; /* 移除所有过渡效果 */
    cursor: default; /* 默认光标 */
}

/* 移除旧的tech-item悬停效果 */
.tech-item:hover {
    transform: none;
    box-shadow: none;
}

/* 联系我们部分 */
.contact {
    background: #0a0a0a;
    scroll-margin-top: var(--navbar-height);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 2.5rem;
    align-items: start;
}

.contact-info, .contact-form {
    background: rgba(10, 25, 47, 0.6);
    border-radius: 15px;
    padding: 2.5rem;
    border: 1px solid var(--border-color);
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-info-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.location-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.location-tab {
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-muted);
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 20px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.location-tab:hover {
    color: var(--text-color);
    background: rgba(0, 255, 255, 0.1);
}

.location-tab.active {
    color: var(--primary-color);
    background: rgba(0, 255, 255, 0.1);
    border-color: var(--border-color);
}

.location-content .location-panel {
    display: none;
    animation: fadeInUp 0.5s ease-out;
}

.location-content .location-panel.active {
    display: block;
}

.location-panel h4 {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.location-panel p {
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.location-panel i {
    color: var(--primary-color);
    width: 16px;
    text-align: center;
}

.contact-form {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form:hover {
    border-color: rgba(0, 255, 255, 0.3);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.15);
}

.form-title {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

.form-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: 2rem;
}

.form-agreement-group {
    display: flex;
    align-items: center;
}

.form-agreement-group input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
}

.form-agreement-group label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.form-agreement-group a {
    color: var(--primary-color);
    text-decoration: none;
}

.form-agreement-group a:hover {
    text-decoration: underline;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #00ffff;
}

.form-group label .required {
    color: #ff4444;
    margin-left: 0.2rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 5px;
    color: #ffffff;
    font-family: inherit;
    font-size: 1rem; /* 增加字体大小 */
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input[type="file"] {
    padding: 0.6rem 0.8rem;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.3);
    border: 2px dashed rgba(0, 255, 255, 0.3);
}

.form-group input[type="file"]:hover {
    border-color: rgba(0, 255, 255, 0.5);
    background: rgba(0, 255, 255, 0.05);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300ffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.8rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
}

.form-group select option {
    background: #1a1a1a;
    color: #ffffff;
    padding: 0.5rem;
}

.form-help {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: rgba(0, 255, 255, 0.7);
    font-style: italic;
}

.form-group input.invalid, .form-group select.invalid, .form-group textarea.invalid {
    border-color: #ff4444;
}

.error-message {
    color: #ff4444;
    font-size: 0.8rem;
    margin-top: 0.5rem;
    min-height: 1rem; /* 防止布局在显示/隐藏错误时跳动 */
}

.form-agreement-group .error-message {
    margin-left: 0.5rem;
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
    border-color: #ff4444 !important;
}

.form-group.has-error label {
    color: #ff4444 !important;
}

.form-agreement-group.has-error {
    border: 1px solid #ff4444 !important; /* Add border to the group */
    padding: 0.5rem; /* Add some padding for the border */
    border-radius: 5px; /* Match other form elements */
}

.form-agreement-group.has-error label {
    color: #ff4444 !important;
}

.form-agreement-group.has-error input[type="checkbox"] + label {
    color: #ff4444 !important;
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
    border-color: #ff4444 !important;
}

.form-group.has-error label {
    color: #ff4444 !important;
}

.form-agreement-group.has-error label {
    color: #ff4444 !important;
}

.form-agreement-group.has-error input[type="checkbox"] + label {
    color: #ff4444 !important;
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
    border-color: #ff4444 !important;
}

.form-group.has-error label {
    color: #ff4444 !important;
}

.form-agreement-group.has-error label {
    color: #ff4444 !important;
}

.form-agreement-group.has-error input[type="checkbox"] + label {
    color: #ff4444 !important;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #00ffff;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.btn-block {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
}

/* 页脚样式 */
.footer {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    color: var(--text-secondary);
    margin-top: 4rem;
}

.footer-top {
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
}

.footer-section h4 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-section h4.collapsible-header i {
    transition: transform 0.3s ease;
    display: none !important; /* Hide on desktop by default */
}

/* Collapsible styles for mobile */
@media (max-width: 767px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-section h4.collapsible-header {
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.8rem 0;
        border-bottom: 1px solid var(--border-color);
        margin-bottom: 0;
    }

    .footer-section h4.collapsible-header i {
        display: inline-block !important; /* Show on mobile */
    }

    .footer-section h4.collapsible-header.active i {
        transform: rotate(180deg);
    }

    .footer-links.collapsible-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }

    .footer-links.collapsible-content.active {
        max-height: 200px; /* Adjust as needed based on content height */
        transition: max-height 0.3s ease-in;
    }

    .footer-links li {
        padding: 0.5rem 0;
    }
}

.footer-brand {
    position: relative;
}

.company-name-simple {
    margin: 0 0 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.name-cn-simple {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.name-en-simple {
    font-family: 'Orbitron', monospace;
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.footer-tagline-simple {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 500;
    margin: 0 0 1.5rem 0;
    opacity: 0.9;
}

.footer-description-simple {
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.company-stats-simple {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.stat-simple {
    font-size: 0.85rem;
    color: var(--text-muted);
    background: rgba(0, 255, 255, 0.05);
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 255, 255, 0.1);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    color: var(--text-muted);
}

.footer-contact i {
    margin-right: 0.8rem;
    color: var(--primary-color);
    width: 16px;
    text-align: center;
}

.social-links {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--text-muted);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid var(--border-color);
}

.social-links a:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 255, 255, 0.2);
}

.footer-bottom {
    padding: 1.5rem 0;
    border-top: 1px solid var(--border-color);
    background: rgba(0, 0, 0, 0.5);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.footer-links-bottom a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links-bottom a:hover {
    color: var(--primary-color);
}

.copyright-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem; /* Adjusted gap for better spacing */
    font-size: 0.9rem;
    color: var(--text-muted);
}

@media (max-width: 991px) {
    .footer-bottom-content {
        flex-direction: column-reverse;
        text-align: center;
        gap: 1.5rem;
    }

    .copyright-info {
        justify-content: center;
        font-size: 0.8rem;
        gap: 0.5rem;
    }

    .footer-links-bottom {
        gap: 1rem 1.5rem;
    }
}

/* 移动端菜单 */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #00ffff;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(-45deg);
}

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

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(45deg);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 999;
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
}

.mobile-menu.active {
    display: block;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.mobile-menu ul {
    list-style: none;
    text-align: center;
}

.mobile-menu li {
    margin: 1rem 0;
}

.mobile-menu a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.2rem;
    padding: 1rem;
    display: block;
    transition: all 0.3s ease;
    text-align: center;
    font-weight: 500;
    border-radius: 8px;
    margin: 0 1rem;
}

.mobile-menu a:hover {
    background: rgba(0, 255, 255, 0.1);
    color: var(--primary-color);
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease-out;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 15px;
    max-width: 680px;
    width: 90%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    animation: slideUp 0.3s ease-out;
    box-shadow: 0 20px 60px rgba(0, 255, 255, 0.2);
    overflow: hidden;
}

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem;
    border-bottom: 1px solid var(--border-color);
    flex-shrink: 0;
}

.modal-header h2 {
    color: var(--primary-color);
    font-family: 'Orbitron', monospace;
    margin: 0;
    font-size: 1.5rem;
}

.close {
    color: #888;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover {
    color: #fff;
}

.modal-body {
    padding: 1.5rem;
    flex: 1;
    overflow-y: auto;
    min-height: 0;
}

/* 探索步骤样式 */
.explore-steps {
    min-height: 300px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.step {
    display: none;
    text-align: center;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    animation: fadeInUp 0.5s ease-out;
}

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

.step.active {
    display: flex;
}

.step-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.step h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.option-btn {
    padding: 0.8rem;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 10px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.option-btn:hover,
.option-btn.selected {
    background: rgba(0, 255, 255, 0.2);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.solution-details {
    text-align: left;
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.contact-options {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-btn {
    padding: 0.8rem 1.5rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 25px;
    color: #000;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-btn.secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.contact-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.3);
}

.step-navigation {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    flex-shrink: 0;
    margin-top: 1.5rem;
}

.nav-btn {
    padding: 0.6rem 1.2rem;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 25px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.nav-btn:hover:not(:disabled) {
    background: rgba(0, 255, 255, 0.2);
    border-color: var(--primary-color);
}

.nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Align prev button to the start */
.step-navigation > .nav-btn:first-child {
    justify-self: start;
}

/* Align next button to the end */
.step-navigation > .nav-btn:last-child {
    justify-self: end;
}

.step-indicators {
    display: flex;
    gap: 0.5rem;
    justify-self: center; /* Center the indicators in their grid cell */
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* 关于我们标签页样式 */
.about-tabs {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.tab-buttons {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    flex-wrap: wrap;
    flex-shrink: 0;
}

.tab-btn {
    padding: 1rem 1.5rem;
    background: transparent;
    border: none;
    color: #888;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

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

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-content {
    min-height: 300px;
    flex: 1;
    overflow-y: auto;
}

.tab-panel {
    display: none;
    animation: fadeInUp 0.5s ease-out;
}

.tab-panel.active {
    display: block;
}

.tab-panel h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.tab-panel p {
    line-height: 1.8;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    text-indent: 2em;
}

.vision-mission {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.vision,
.mission {
    background: rgba(0, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.vision h4,
.mission h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.team-member {
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.member-avatar {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.team-member h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.achievements-list {
    margin-top: 2rem;
}

.achievement {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.achievement-icon {
    font-size: 2rem;
}

.achievement h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.achievement p {
    color: #888;
    margin: 0;
}

/* Icon Spacing */
.modal-header h2 i,
.tab-panel h3 i {
    margin-right: 0.8rem;
}

/* --- 响应式设计 --- */

/* 大屏幕 (1200px+) */
@media (min-width: 1200px) {
    .container { max-width: 1400px; }
    .hero-title { font-size: 5rem; }
    .services-grid { grid-template-columns: repeat(3, 1fr); }
    .tech-grid { grid-template-columns: repeat(4, 1fr); }
}

/* 中等屏幕 (992px - 1199px) */
@media (max-width: 1199px) and (min-width: 992px) {
    .hero-title { font-size: 3.5rem; }
    .services-grid { grid-template-columns: repeat(3, 1fr); }
    .tech-grid { grid-template-columns: repeat(3, 1fr); }
}

/* 平板设备 (768px - 991px) */
@media (max-width: 991px) and (min-width: 768px) {
    .nav-container { padding: 0 1rem; }
    .hero { padding: 0 3%; }
    .hero-title { font-size: 3rem; }
    .about-grid { grid-template-columns: 1fr; gap: 3rem; }
    .stats { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .tech-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
}

/* 小屏幕平板和手机 (最大 767px) */
@media (max-width: 767px) {
    .nav-menu { display: none; }
    .mobile-menu-toggle { display: flex; }
    .hero { flex-direction: column; text-align: center; padding: calc(var(--navbar-height) + 100px) 2rem 2rem; min-height: auto; }
    .hero-content { max-width: 100%; margin-bottom: 1.5rem; }
    .hero-title { font-size: 2.8rem; margin-bottom: 1.5rem; }
    .hero-visual { height: 180px; }
    .hero-buttons { flex-direction: row; justify-content: center; gap: 1rem; flex-wrap: wrap; }
    .btn { width: auto; }
    .section { padding: 80px 0; }
    .section-title { font-size: 2rem; margin-bottom: 2rem; }
    .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
    .stats { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
    .stat-item { padding: 1rem; }
    .stat-number { font-size: 1.5rem; }
    .stat-label { font-size: 0.7rem; }
    .services-grid, .tech-wall { grid-template-columns: 1fr; gap: 1.5rem; }
    .tech-category { text-align: left; }
    .service-card, .contact-form { padding: 1.5rem; }
    .service-card {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .service-icon { margin: 0 0 1.5rem 0; }
    .tech-category { text-align: left; }
    .contact-highlights { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
    .footer-bottom-content { flex-direction: column; text-align: center; gap: 1.5rem; }
    .footer-links-bottom { justify-content: center; }
    .social-links { justify-content: center; }
    .copyright-info { flex-wrap: wrap; justify-content: center; gap: 0.3rem; }
    .modal-content { width: 95%; margin: 1rem; }
    .modal-header, .modal-body { padding: 1rem; }
    .vision-mission, .team-grid { grid-template-columns: 1fr; }
    .options { grid-template-columns: repeat(2, 1fr); }

    .location-tabs {
        overflow-x: auto;
        white-space: nowrap;
        -ms-overflow-style: none;  /* IE and Edge */
        scrollbar-width: none;  /* Firefox */
    }

    .location-tabs::-webkit-scrollbar {
        display: none; /* Chrome, Safari, and Opera */
    }

    .location-tab {
        flex-shrink: 0; /* 防止标签收缩 */
        padding: 0.4rem 0.8rem; /* 减小内边距 */
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

/* 手机设备 (最大575px) */
@media (max-width: 575px) {
    :root { --navbar-height: 70px; }
    .nav-container { padding: 0 1rem; }
    .logo-text { font-size: 1.2rem; }
    .logo-subtitle { font-size: 0.6rem; }
    .hero { padding: calc(var(--navbar-height) + 80px) 1rem 2rem; }
    .hero-title { font-size: 2.2rem; line-height: 1.1; margin-bottom: 1rem; }
    .hero-subtitle { font-size: 1.2rem; margin-bottom: 0.8rem; }
    .hero-description { font-size: 1rem; margin-bottom: 1.5rem; }
    .hero-visual { height: 180px; }
    .btn { width: auto; padding: 10px 20px; font-size: 0.9rem; }
    .container { padding: 0 1rem; }
    .section { padding: 60px 0; }
    .section-title { font-size: 1.8rem; margin-bottom: 1.5rem; }
    .section-subtitle { font-size: 1rem; margin-bottom: 2rem; }
    .about-text p { font-size: 1rem; margin-bottom: 1rem; }
    .stats, .services-grid, .tech-wall { gap: 1rem; }
    .stat-item, .service-card, .tech-category, .contact-form { padding: 1rem; }
    .stat-number { font-size: 1.5rem; }
    .stat-label { font-size: 0.8rem; }
    .service-icon { width: 60px; height: 60px; font-size: 1.5rem; margin-bottom: 1rem; }
    .service-title { font-size: 1.1rem; margin-bottom: 0.8rem; }
    .service-description { font-size: 0.9rem; line-height: 1.5; }
    .tech-name { font-size: 1rem; }
    .tech-description { font-size: 0.8rem; }
    .form-group { margin-bottom: 1rem; }
    .form-group input, .form-group textarea { padding: 0.6rem; font-size: 0.9rem; }
    .social-links a { font-size: 1.2rem; margin: 0 0.5rem; }
    .footer-top { padding: 2rem 0 1rem; }
    .footer-section h4 { font-size: 1.2rem; }
    .footer-links-bottom { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 1rem; }
    .contact-info, .contact-form { padding: 2rem; }
    .contact-info-title { font-size: 1.8rem; }
    .tech-icons { gap: 1.5rem; }
    .tech-icons i { font-size: 2rem; }

    .modal-header h2 i {
    margin-right: 0.8rem;
}

.tab-panel h3 i {
    margin-right: 0.6rem;
}
    .modal-content { max-height: 80vh; }
    .modal-header h2 { font-size: 1.1rem; }
    .modal-body { padding: 0.8rem; }
    .step-icon { font-size: 2.5rem; margin-bottom: 0.5rem; }
    .step h3 { font-size: 1.1rem; margin-bottom: 1rem; }
    .options { gap: 0.5rem; margin-bottom: 1rem; }
    .option-btn { padding: 0.6rem; font-size: 0.8rem; }
    .solution-details { padding: 1rem; font-size: 0.9rem; }
    .solution-details h4 { font-size: 1rem; }
    .solution-details ul { padding-left: 1.2rem; }
    .step-navigation { padding-top: 0.5rem; margin-top: 0.8rem; }
    .nav-btn { padding: 0.5rem 1rem; font-size: 0.8rem; }
    .contact-btn { padding: 0.6rem 1rem; font-size: 0.8rem; }
    .close { font-size: 1.5rem; }
}

/* 横屏模式优化 */
@media (max-height: 500px) and (orientation: landscape) {
    .hero { min-height: 120vh; padding: var(--navbar-height) 2rem 20px; }
    .hero-title { font-size: 2rem; margin-bottom: 0.5rem; }
    .hero-subtitle { font-size: 1rem; margin-bottom: 0.5rem; }
    .hero-description { font-size: 0.9rem; margin-bottom: 1rem; }
    .hero-visual { height: 200px; }
    .section { padding: 40px 0; }
}

/* 打印样式 */
@media print {
    .navbar, .hero-visual, .floating-elements, #particles-js, .btn, .footer, .mobile-menu-toggle { display: none; }
    body { background: white; color: black; }
    .section { padding: 20px 0; page-break-inside: avoid; }
    .section-title { color: black; font-size: 1.5rem; -webkit-text-fill-color: black; }
}

/* 消息提示样式 */
.message-toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    color: #fff;
    font-weight: 500;
    z-index: 10001;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.message-toast.show {
    opacity: 1;
    transform: translateY(0);
}

.message-toast.success {
    background-color: #28a745;
}

.message-toast.error {
    background-color: #dc3545;
}

.message-toast.info {
    background-color: #17a2b8;
}
