/* --- Basic Setup & Variables --- */
:root {
  --primary-glow: #00ffff;
  --text-color: #ffffff;
  --text-secondary: #cccccc;
  --panel-bg: rgba(15, 10, 30, 0.5);
  --panel-border: rgba(255, 255, 255, 0.1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; background-color: #05020a; color: var(--text-color); overflow-x: hidden; }

/* --- WebGL Canvas --- */
#webgl-canvas { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; }

/* --- Header --- */
header { position: fixed; top: 0; left: 0; width: 100%; padding: 1.5rem 5%; display: flex; justify-content: space-between; align-items: center; z-index: 100; background: rgba(10, 5, 20, 0.3); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--panel-border); }
.logo {
  display: flex;
  align-items: center;
  text-decoration: none; /* 移除链接的下划线 */
}

.logo img {
  height: 40px; /* ❗️这是控制Logo大小的关键！您可以根据需要调整这个数值 */
  width: auto; /* 保持图片的原始宽高比 */
  display: block; /* 移除图片底部可能出现的微小间隙 */
}
header nav a { color: var(--text-secondary); text-decoration: none; margin-left: 2rem; font-weight: 300; transition: color 0.3s ease; }
header nav a:hover { color: var(--text-color); }

/* --- Buttons --- */
.cta-button-primary, .cta-button-secondary, .cta-button-outline { padding: 0.75rem 1.5rem; border-radius: 50px; text-decoration: none; font-weight: 600; transition: all 0.3s ease; display: inline-block; }
.cta-button-primary { background-color: var(--text-color); color: #111; }
.cta-button-primary:hover { background-color: var(--primary-glow); box-shadow: 0 0 15px var(--primary-glow); }
.cta-button-secondary { background-color: transparent; color: var(--text-color); border: 1px solid var(--text-color); }
.cta-button-secondary:hover { background-color: var(--text-color); color: #111; }
.cta-button-outline { border: 1px solid var(--text-secondary); padding: 0.5rem 1rem; }
.cta-button-outline:hover { border-color: var(--text-color); color: var(--text-color); }
.cta-button-primary.large { font-size: 1.1rem; padding: 1rem 2.5rem; }

/* --- General Layout --- */
main { width: 100%; position: relative; z-index: 1; }
.hero-section { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 0 5%; }
.hero-section h1 { font-size: 4rem; font-weight: 700; max-width: 800px; line-height: 1.2; margin-bottom: 1rem; }
.hero-section p { font-size: 1.2rem; font-weight: 300; max-width: 700px; color: var(--text-secondary); margin-bottom: 2.5rem; }
.cta-group a { margin: 0 0.5rem; }
.content-section { padding: 6rem 5%; max-width: 1200px; margin: 0 auto; text-align: center; }
.content-section h2 { font-size: 2.5rem; margin-bottom: 3rem; }

/* --- Glassmorphism Panel --- */
.glass-panel { background: var(--panel-bg); backdrop-filter: blur(12px) saturate(150%); -webkit-backdrop-filter: blur(12px) saturate(150%); border: 1px solid var(--panel-border); border-radius: 1rem; padding: 2rem; text-align: left; }
.grid-container { display: grid; gap: 1.5rem; }
.grid-container.four-cols { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid-container.two-cols { grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); text-align: left; }
.glass-panel h3 { font-size: 1.3rem; margin-bottom: 0.25rem; }
.glass-panel h4 { font-size: 1rem; font-weight: 400; color: var(--primary-glow); margin-bottom: 1rem; }
.glass-panel p { font-weight: 300; color: var(--text-secondary); line-height: 1.6; }
.feature-item { padding: 1rem; }
.feature-item h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.feature-item p { color: var(--text-secondary); font-weight: 300; }

/* --- About & CTA Sections --- */
.mission-statement { max-width: 800px; margin: 0 auto; font-size: 1.2rem; line-height: 1.8; color: var(--text-secondary); font-weight: 300; }
.cta-section { padding: 6rem 5%; text-align: center; }
.cta-section h2 { font-size: 2.5rem; margin-bottom: 1rem; }
.cta-section p { margin-bottom: 2rem; color: var(--text-secondary); }

/* --- About Us Team Styling --- */
.team-container { display: flex; justify-content: center; gap: 3rem; margin-top: 4rem; flex-wrap: wrap; }
.team-member { max-width: 300px; text-align: center;  flex: 1;}
.team-member img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 2px solid var(--panel-border); margin-bottom: 1rem; box-shadow: 0 0 15px rgba(0, 255, 255, 0.2); }
.team-member h3 { font-size: 1.2rem; margin-bottom: 0.5rem; color: var(--text-color); }
.team-member p { font-size: 0.9rem; color: var(--text-secondary); font-weight: 300; line-height: 1.6; }

/* --- Footer --- */
footer { text-align: center; padding: 2rem 5%; border-top: 1px solid var(--panel-border); font-size: 0.9rem; color: var(--text-secondary); }

/* --- Modal & Form Styling --- */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(10, 5, 20, 0.7); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); display: flex; justify-content: center; align-items: center; z-index: 1000; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; }
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-content { background: var(--panel-bg); border: 1px solid var(--panel-border); border-radius: 1rem; padding: 2.5rem; width: 90%; max-width: 500px; position: relative; transform: scale(0.9); transition: transform 0.3s ease; }
.modal-overlay.active .modal-content { transform: scale(1); }
.modal-content h2 { font-size: 1.8rem; margin-bottom: 0.5rem; text-align: center; }
.modal-content p { text-align: center; color: var(--text-secondary); margin-bottom: 1.5rem; }
.close-button { position: absolute; top: 1rem; right: 1rem; background: transparent; border: none; color: var(--text-secondary); font-size: 2rem; cursor: pointer; line-height: 1; }
.close-button:hover { color: var(--text-color); }
.form-group { margin-bottom: 1.5rem; text-align: left; }
.form-group label { display: block; margin-bottom: 0.5rem; font-size: 0.9rem; color: var(--text-secondary); }
.form-group input { width: 100%; padding: 0.75rem; background-color: rgba(0, 0, 20, 0.5); border: 1px solid var(--panel-border); border-radius: 8px; color: var(--text-color); font-size: 1rem; font-family: 'Poppins', sans-serif; }
.form-group input:focus { outline: none; border-color: var(--primary-glow); box-shadow: 0 0 10px var(--primary-glow); }
.form-submit-button { width: 100%; padding: 1rem; border: none; cursor: pointer; }
.form-status { text-align: center; margin-top: 1rem; height: 1.2em; }
.form-status.error { color: #ff6b6b; }

/* --- Responsive Design --- */
@media (max-width: 768px) {
  .hero-section h1 { font-size: 2.5rem; }
  .hero-section p { font-size: 1rem; }
  header { padding: 1rem 5%; }
  header nav { display: none; }
}