/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #764ba2 75%, #667eea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #667eea;
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-toggle::after {
    content: '▼';
    font-size: 10px;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 8px 0;
    min-width: 140px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 10px 16px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.dropdown-item:hover {
    background: rgba(102, 126, 234, 0.2);
    color: #667eea;
    transform: translateX(5px);
}

.dropdown-item.active {
    background: rgba(102, 126, 234, 0.3);
    color: #667eea;
    border-left: 3px solid #667eea;
}

/* Mobile responsive - hide dropdown on mobile */
@media (max-width: 768px) {
    .dropdown-menu {
        display: none;
    }
    
    .dropdown-toggle::after {
        display: none;
    }
}

.hkust-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white !important;
    border-radius: 25px;
    font-size: 1rem;
    transition: transform 0.3s ease;
    white-space: nowrap;
    min-width: fit-content;
}

.hkust-link:hover {
    transform: translateY(-2px);
}

.hkust-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.download-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white !important;
    padding: 10px 20px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.signup-btn {
    background: transparent;
    color: white !important;
    padding: 10px 20px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-left: 10px;
    flex-direction: row-reverse;
}

.signup-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}



.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 10001;
    position: relative;
    padding: 10px;
    background: transparent;
    border: none;
    outline: none;
    pointer-events: auto;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    min-width: 44px;
    min-height: 44px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
    display: block;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: transparent;
    color: white;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px 0;
}

/* 基础背景 */
body {
    background: #000000 url('logo_Pictures/bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
}

.hero::before {
    display: none;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    z-index: 2;
    text-align: left;
}

.hkust-badge {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: transparent;
    padding: 0;
    margin-bottom: 3rem;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    border: none;
    box-shadow: none;
    font-size: 1.2rem;
    font-weight: 500;
}

.hkust-badge:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.hkust-badge-logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #f5576c 75%, #4facfe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 50px rgba(102, 126, 234, 0.5);
    letter-spacing: -0.02em;
    max-width: 1200px;
    text-align: left;
}

.gradient-text {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    line-height: 1.6;
    max-width: 800px;
    text-align: left;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    max-width: 1200px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 20px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    white-space: nowrap;
    min-width: 180px;
    justify-content: center;
    flex: 1;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    padding: 100px 0;
    background: transparent;
    color: white;
}

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

.about-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.about-text p {
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* Technology Section */
.technology {
    padding: 100px 0;
    background: transparent;
    color: white;
}

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

.tech-card {
    padding: 2.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.tech-card:hover {
    transform: translateY(-10px);
}

.tech-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.tech-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.tech-card p {
    line-height: 1.6;
    opacity: 0.9;
}

/* Product Section */
.product {
    padding: 100px 0;
    background: transparent;
    color: white;
}

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

.product-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateX(10px);
}

.feature-item i {
    font-size: 1.5rem;
    color: #667eea;
    margin-top: 0.2rem;
}

.feature-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.feature-item p {
    color: #666;
    line-height: 1.6;
}

.product-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-outline {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-outline:hover {
    background: #667eea;
    color: white;
}

.product-visual img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

/* Services Section */
.services {
    padding: 100px 0;
    background: transparent;
    color: white;
}

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

.service-card {
    padding: 2rem;
    text-align: center;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border: 1px solid #f0f0f0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* Team Section */
.team {
    padding: 100px 0;
    background: transparent;
    color: white;
}

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

.team-info h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: white;
}

.team-info p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.institution-logos {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.institution-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.institution-logo:hover {
    opacity: 1;
}

.team-image {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

/* Vision Section */
.vision {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.vision-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.vision-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.vision-quote {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    max-width: 600px;
    margin: 0 auto;
}

.vision-quote p {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    font-style: italic;
}

.vision-quote span {
    opacity: 0.8;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: transparent;
    color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: #667eea;
    margin-top: 0.2rem;
}

.contact-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
}

.contact-item p {
    color: rgba(255, 255, 255, 0.8);
}

.contact-form {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 20px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

/* Sign Up Page */
.signup-section {
    min-height: 100vh;
    background: black;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 40px 20px;
    position: relative;
    overflow: visible;
}

.signup-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('logo_Pictures/bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3;
    z-index: -1;
}



.signup-container {
    max-width: 500px;
    width: 100%;
    position: relative;
    z-index: 2;
}

.signup-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-height: 90vh;
    overflow-y: auto;
}

.signup-header {
    text-align: center;
    margin-bottom: 2rem;
}

.signup-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.signup-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

.social-login {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.google-btn {
    border-color: rgba(255, 255, 255, 0.2);
}

.github-btn {
    border-color: #333;
}





.signup-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.signup-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.signup-form label {
    color: white;
    font-weight: 500;
    font-size: 0.95rem;
}

.signup-form input {
    padding: 14px 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.signup-form input:focus {
    outline: none;
    border-color: #667eea;
    background: rgba(255, 255, 255, 0.15);
}

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

.signup-form small {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}



.signup-submit-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 16px 24px;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.signup-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.login-link {
    text-align: center;
    margin-top: 2rem;
    color: rgba(255, 255, 255, 0.7);
}

.login-link-text {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.login-link-text:hover {
    color: #764ba2;
}

/* Google Account Selection Styles */
.account-selection {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.account-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.account-option:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.account-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.account-info h3 {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.account-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

.back-link {
    text-align: center;
    margin-top: 2rem;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.back-btn:hover {
    color: white;
}

/* Subpage Layout - Unified Height */
.subpage-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.subpage-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* 移动端sign up页面独立滚动 */
@media (max-width: 768px) {
    .subpage-container {
        min-height: auto;
        height: auto;
    }
    
    body {
        overflow-y: auto;
        background-attachment: scroll; /* 移动端使用scroll而不是fixed */
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
    
    .signup-section {
        min-height: auto;
        height: auto;
        padding: 20px 0;
    }
}

/* About Page Styles */
.about-hero {
    padding: 120px 0 80px 0;
    min-height: 50vh;
    height: 50vh;
    background: transparent;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Community page specific height */
.community-hero {
    padding: 120px 0 80px 0;
    min-height: 50vh;
    height: 50vh;
    background: transparent;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.community-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('logo_Pictures/bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1;
    z-index: -1;
}

.community-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #f5576c 75%, #4facfe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('logo_Pictures/bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1;
    z-index: -1;
}

.about-hero-content {
    position: relative;
    z-index: 2;
}

.about-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #f5576c 75%, #4facfe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-hero p {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.about-content-section {
    padding: 100px 0;
    min-height: 50vh;
    background: black;
    color: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
}

.about-text h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: white;
}

.about-text p {
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    font-size: 1.1rem;
    max-width: 1000px;
    word-wrap: break-word;
}

.about-text ul {
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    font-size: 1.1rem;
}

.about-text ul li {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.wechat-contact {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.wechat-qr {
    width: 120px;
    height: 120px;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.wechat-contact p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

.vision-quote-section {
    padding: 80px 0;
    min-height: 30vh;
    background: black;
    color: white;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vision-quote p {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    font-style: italic;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.vision-quote span {
    opacity: 0.8;
    font-size: 1.1rem;
}

/* Technology Page Styles */
.tech-hero {
    padding: 120px 0 80px 0;
    min-height: 50vh;
    height: 50vh;
    background: transparent;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('logo_Pictures/bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1;
    z-index: -1;
}

.tech-hero-content {
    position: relative;
    z-index: 2;
}

.tech-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #f5576c 75%, #4facfe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tech-hero p {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.tech-grid-section {
    padding: 100px 0;
    min-height: 40vh;
    background: black;
    color: white;
}

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

.tech-features {
    padding: 100px 0;
    min-height: 40vh;
    background: black;
    color: white;
}

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

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2rem;
    color: #667eea;
    margin-top: 0.2rem;
}

.feature-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: white;
}

.feature-content p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Active Navigation Link */
.nav-links a.active {
    color: #667eea;
    font-weight: 600;
}

/* Responsive Design for Sign Up */
@media (max-width: 768px) {
    .signup-card {
        padding: 2rem;
        margin: 1rem;
    }
    
    .signup-header h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    /* 优化移动端表单输入 */
    .signup-form input {
        font-size: 16px; /* 防止iOS Safari自动缩放 */
        padding: 12px 16px;
    }
    
    /* 优化移动端按钮 */
    .social-btn {
        padding: 12px 16px;
        font-size: 16px;
    }
    
    .signup-submit-btn {
        padding: 14px 20px;
        font-size: 16px;
    }
}

/* Responsive Design for About and Technology Pages */
@media (max-width: 768px) {
    .about-hero h1,
    .tech-hero h1 {
        font-size: 2.5rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 100%;
        padding: 0 20px;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
    }
    
    .vision-quote p {
        font-size: 1.5rem;
    }
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.footer-logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.footer-logo span {
    font-size: 1.3rem;
    font-weight: 600;
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #fff;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #667eea;
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #333;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: #667eea;
}

.hkust-footer-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.hkust-footer-link:hover {
    color: #667eea;
}

.hkust-footer-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #ccc;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    padding: 20px;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

/* Override for login modal */
.modal-content.login-modal {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    margin: 0;
}

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

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
    z-index: 10;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.close:hover {
    color: white;
}

/* Override for login modal close button */
.login-modal .close {
    color: rgba(255, 255, 255, 0.8);
}

.login-modal .close:hover {
    color: white;
}

.modal-content h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.modal-content p {
    color: #666;
    margin-bottom: 2rem;
}

/* Override for login modal text colors */
.login-modal h2 {
    color: white !important;
}

.login-modal p {
    color: rgba(255, 255, 255, 0.8) !important;
}

.download-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.download-option {
    padding: 1.5rem;
    border: 2px solid #f0f0f0;
    border-radius: 15px;
    text-align: center;
    transition: border-color 0.3s ease;
}

.download-option:hover {
    border-color: #667eea;
}

.download-option h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.download-option p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

/* Star twinkle animation */
@keyframes twinkle {
    0%, 100% {
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #111 !important;
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 0.9rem 0;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        z-index: 1000;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        /* 添加安全区域支持，避免被移动端地址栏遮挡 */
        padding-bottom: calc(0.9rem + env(safe-area-inset-bottom));
    }
    
    .nav-links.active {
        display: flex !important;
    }
    
    .nav-links a {
        padding: 0.7rem 2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        text-align: left;
        font-size: 1.1rem;
        color: #fff !important;
        background: transparent !important;
        transition: background 0.2s;
    }
    
    .nav-links a:hover, .nav-links a:active {
        background: rgba(40, 40, 40, 0.85) !important;
        color: #fff !important;
    }
    
    .nav-links a:last-child {
        border-bottom: none;
        /* 为最后一个元素添加额外的底部间距，确保不被地址栏遮挡 */
        margin-bottom: env(safe-area-inset-bottom);
    }
    
    /* 移动端Sign Up按钮特殊样式 */
    .nav-links .signup-btn {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
        color: white !important;
        border-radius: 25px;
        margin: 0.3rem 2rem;
        text-align: center;
        font-weight: 600;
        border: none !important;
        /* 确保按钮在移动端地址栏上方可见 */
        position: relative;
        z-index: 1000;
        /* 添加额外的底部间距，确保不被地址栏遮挡 */
        margin-bottom: calc(0.3rem + env(safe-area-inset-bottom));
    }
    
    .nav-links .signup-btn:hover {
        background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%) !important;
        transform: translateY(-1px);
    }
    
    .nav-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        z-index: 10001;
        position: relative;
    }
    
    /* 汉堡菜单动画效果 */
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    /* 确保汉堡菜单在移动端可以正常点击 */
    .nav-toggle {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    
    .nav-toggle span {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    
    /* 通用移动端处理 - 确保导航菜单不被地址栏遮挡（适用于所有移动设备） */
    .nav-links {
        padding-bottom: calc(0.7rem + 20px); /* 通用额外底部间距 */
    }
    
    .nav-links .signup-btn {
        margin-bottom: calc(0.3rem + 20px); /* 通用额外底部间距 */
    }
    
    /* iOS Safari 特殊处理 - 额外的安全区域支持 */
    @supports (-webkit-touch-callout: none) {
        .nav-links {
            padding-bottom: calc(0.7rem + env(safe-area-inset-bottom) + 20px);
        }
        
        .nav-links .signup-btn {
            margin-bottom: calc(0.3rem + env(safe-area-inset-bottom) + 20px);
        }
    }
    
    /* Android Chrome 和其他移动浏览器的额外支持 */
    @media screen and (max-width: 768px) and (max-height: 900px) {
        .nav-links {
            padding-bottom: calc(0.7rem + 30px); /* 小屏幕设备的额外间距 */
        }
        
        .nav-links .signup-btn {
            margin-bottom: calc(0.3rem + 30px); /* 小屏幕设备的额外间距 */
        }
    }
    
    /* 通用移动端底部安全区域处理 */
    @media screen and (max-width: 768px) {
        /* 为所有移动设备添加底部安全区域 */
        body {
            padding-bottom: env(safe-area-inset-bottom);
            background-attachment: scroll; /* 移动端使用scroll而不是fixed */
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            width: 100%;
            overflow-x: hidden;
        }
        
        /* 确保导航菜单在所有移动设备上都可见 */
        .nav-links {
            min-height: calc(100vh - env(safe-area-inset-top));
            padding-top: calc(0.9rem + env(safe-area-inset-top));
        }
        
        /* 确保Sign Up按钮在所有移动设备上都可见 */
        .nav-links .signup-btn {
            position: sticky;
            bottom: env(safe-area-inset-bottom);
            margin-bottom: 0.5rem;
        }
    }
    
    /* 修复移动端内容显示问题 */
    .hero {
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        overflow: hidden;
        /* 确保在移动端有足够的底部间距 */
        padding-bottom: env(safe-area-inset-bottom);
    }
    
    .hero-container {
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
        position: relative;
        z-index: 2;
    }
    
    .hero-content {
        text-align: center;
        color: white;
        max-width: 800px;
        margin: 0 auto;
    }
    
    .hero-title {
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 1.5rem;
        line-height: 1.2;
        color: white !important;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        opacity: 0.9;
        line-height: 1.6;
        color: white !important;
    }
    
    .hkust-badge {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.5rem 1rem;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 25px;
        text-decoration: none;
        color: white;
        font-size: 0.9rem;
        margin-bottom: 2rem;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .hkust-badge-logo {
        width: 20px;
        height: 20px;
        object-fit: contain;
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .btn {
        padding: 1rem 2rem;
        border-radius: 50px;
        text-decoration: none;
        font-weight: 600;
        transition: all 0.3s ease;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        min-width: 200px;
        justify-content: center;
        font-size: 1rem;
    }
    
    .btn-primary {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        border: none;
    }
    
    .btn-secondary {
        background: rgba(255, 255, 255, 0.1);
        color: white;
        border: 1px solid rgba(255, 255, 255, 0.3);
        backdrop-filter: blur(10px);
    }
    
    .btn-logo {
        width: 20px;
        height: 20px;
        object-fit: contain;
    }
    
    .hero-container {
        text-align: left;
        align-items: flex-start;
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 3rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .btn {
        min-width: 180px;
        padding: 18px 26px;
        font-size: 1.05rem;
        flex: none;
    }
    
    .about-content,
    .product-content,
    .team-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .download-options {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .btn {
        padding: 16px 24px;
        font-size: 1rem;
        min-width: 160px;
        flex: none;
    }
    
    .hero-buttons {
        gap: 0.8rem;
    }
    
    .tech-card,
    .service-card {
        padding: 1.5rem;
    }
} 

/* Login Modal Styles */
.login-modal {
    max-width: 500px;
    width: 90%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    margin: 20px auto;
    max-height: 90vh;
    overflow-y: auto;
}

.login-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.login-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.login-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.login-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.login-form label {
    color: white;
    font-weight: 500;
    font-size: 1rem;
}

.login-form input {
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.login-form input:focus {
    outline: none;
    border-color: #667eea;
    background: rgba(255, 255, 255, 0.15);
}

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

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    cursor: pointer;
}

.remember-me input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #667eea;
}

.forgot-password {
    color: #667eea;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #764ba2;
}

.login-submit-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    margin-top: 0.5rem;
}

.login-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

.signup-link {
    text-align: center;
    margin-top: 1rem;
}

.signup-link p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

.signup-link-text {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.signup-link-text:hover {
    color: #764ba2;
}

/* Responsive Design for Login Modal */
@media (max-width: 768px) {
    .login-modal {
        padding: 2rem;
        margin: 20px;
        width: 95%;
        max-width: none;
    }
    
    .login-header h2 {
        font-size: 2rem;
    }
    
    .login-options {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .modal {
        padding: 10px;
    }
} 

/* Team Members Grid */
.team-members-grid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    align-items: center;
    margin-top: 2.5rem;
}
.team-row {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    justify-content: center;
}
.team-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 110px;
}
.team-member img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
    margin-bottom: 0.5rem;
    background: #222;
}
.member-name {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 0.2rem;
}
.member-info {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    text-align: center;
    word-break: break-all;
}
.member-degree {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    text-align: center;
    word-break: break-all;
}
@media (max-width: 900px) {
    .team-row {
        gap: 1.2rem;
        justify-content: center;
    }
    .team-member {
        width: 90px;
    }
    .team-member img {
        width: 70px;
        height: 70px;
    }
    .member-name {
        font-size: 0.9rem;
    }
    .member-info {
        font-size: 0.75rem;
    }
    .member-degree {
        font-size: 0.7rem;
    }
}

@media (max-width: 768px) {
    .team-members-grid {
        gap: 2rem;
    }
    .team-row {
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
    }
    .team-member {
        width: 80px;
        flex: 0 0 auto;
    }
    .team-member img {
        width: 60px;
        height: 60px;
    }
    .member-name {
        font-size: 0.8rem;
    }
    .member-info {
        font-size: 0.7rem;
    }
    .member-degree {
        font-size: 0.65rem;
    }
    
    /* 确保每行最多4个人 */
    .team-row:first-child {
        justify-content: center;
    }
    
    .team-row:nth-child(2) {
        justify-content: center;
    }
    
    .team-row:nth-child(3) {
        justify-content: center;
    }
}
@media (max-width: 600px) {
    .team-members-grid {
        gap: 1.2rem;
    }
    .team-row {
        flex-wrap: wrap;
        gap: 0.7rem;
    }
    .team-member {
        width: 70px;
    }
    .team-member img {
        width: 50px;
        height: 50px;
    }
    .member-name {
        font-size: 0.75rem;
    }
    .member-info {
        font-size: 0.65rem;
    }
    .member-degree {
        font-size: 0.6rem;
    }
} 

.team-section-center {
    max-width: 900px;
    margin: 0 auto 2.5rem auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.overview-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #fff;
    text-align: center;
}

.team-intro-text {
    font-size: 1rem;
    margin-bottom: 2.5rem;
    text-align: left;
    color: #fff;
    line-height: 1.7;
    max-width: 700px;
}
@media (max-width: 900px) {
    .team-section-center, .team-intro-text {
        max-width: 95vw;
    }
    
    .overview-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .overview-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .overview-title {
        font-size: 1.5rem;
    }
} 

/* Try Now Section Styles */
.try-now-section {
    background: url('logo_Pictures/bg.png') center bottom;
    background-size: cover;
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

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

.try-now-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.try-now-content p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.try-now-btn {
    position: relative;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border: none;
    border-radius: 50px;
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #667eea;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    overflow: hidden;
    text-decoration: none;
}

.try-now-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s;
}

.try-now-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.25);
    color: #5a67d8;
}

.try-now-btn:hover::before {
    left: 100%;
}

.try-now-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.btn-text {
    position: relative;
    z-index: 2;
}

.btn-icon {
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.try-now-btn:hover .btn-icon {
    transform: translateX(5px);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .try-now-section {
        padding: 35px 0;
    }
    
    .try-now-content h2 {
        font-size: 1.8rem;
    }
    
    .try-now-btn {
        padding: 16px 32px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .try-now-content h2 {
        font-size: 1.5rem;
    }
    
    .try-now-content p {
        font-size: 0.9rem;
    }
    
    .try-now-btn {
        padding: 14px 28px;
        font-size: 0.95rem;
        gap: 8px;
    }
} 