body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: url('../images/background.jpg') no-repeat center center/cover, #1a1a1a;
    color: #ffffff;
    position: relative;
}
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.6);
    z-index: 0;
    pointer-events: none;
}

header {
    background-color: rgba(10, 25, 47, 0.95); /* 深色半透明 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    height: 68px;
}

.logo {
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 1.3em;
}

.logo img {
    height: 36px;
    width: 36px;
    margin-right: 10px;
    object-fit: contain;
    background: transparent;
    border-radius: 6px;
    filter: none;
}

.logo-text {
    color: #64ffda !important;
    font-weight: 700;
    font-size: 1.3em;
    letter-spacing: 1px;
}

.tagline {
    color: #8892b0;
    font-size: 0.95em;
    font-weight: 400;
    margin-left: 8px;
}

header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

header nav ul li {
    margin-left: 28px;
}

header nav ul li:first-child {
    margin-left: 0;
}

header nav ul li a {
    color: #ccd6f6;
    text-decoration: none;
    font-size: 1em;
    font-weight: 500;
    transition: color 0.2s;
    padding: 6px 10px;
    border-radius: 4px;
}

header nav ul li a.active,
header nav ul li a:hover {
    color: #64ffda;
    background: rgba(100,255,218,0.08);
}

.btn-primary {
    background-color: #64ffda;
    color: #0a192f;
    padding: 8px 22px;
    border-radius: 24px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1em;
    border: none;
    transition: background 0.2s, color 0.2s;
    margin-right: 0;
}

.btn-primary:hover {
    background-color: #52e0c4;
    color: #0a192f;
}

.btn-secondary {
    background-color: transparent; /* Transparent background */
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border: 1px solid white; /* White border */
    border-radius: 25px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-secondary:hover {
    background-color: white;
    color: #1a1a1a; /* Dark text on hover */
}

/* Responsive adjustments */
@media (max-width: 900px) {
    header .container {
        padding: 0 12px;
    }
    .logo-text, .tagline {
        font-size: 1em;
    }
    header nav ul li {
        margin-left: 16px;
    }
}
@media (max-width: 600px) {
    header .container {
        flex-direction: column;
        height: auto;
        padding: 0 4px;
    }
    .logo {
        margin-bottom: 8px;
    }
    .tagline {
        display: none;
    }
    header nav ul {
        flex-direction: column;
        align-items: flex-start;
    }
    header nav ul li {
        margin: 6px 0 0 0;
    }
}

.hero {
    position: relative;
    min-height: 100vh;
    height: auto;
    overflow: hidden;
    box-sizing: border-box;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    padding-left: 260px;
    padding-top: 240px;
    padding-bottom: 120px;
    text-align: left;
    background: url('../images/background.jpg') no-repeat center center/cover;
    color: white;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    padding: 0;
    margin: 0;
}

.hero-content .sub-headline {
    font-size: 1.4em;
    margin-bottom: 24px;
    font-weight: 400;
}

.hero-content h1 {
    font-size: 4em;
    margin: 0 0 36px 0;
    font-weight: 700;
    line-height: 1.08;
}

.hero-content .description {
    font-size: 1.25em;
    margin-bottom: 40px;
    line-height: 1.7;
    max-width: 700px;
}

.cta-buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.cta-buttons a {
    margin-right: 28px;
    min-width: 200px;
    font-size: 1.1em;
    border-radius: 32px;
    padding: 14px 32px;
    text-align: center;
}

/* 联系页面样式 */
.main-content {
    padding-top: 120px;
    padding-bottom: 60px;
    text-align: center;
}

.main-content h1 {
    font-size: 2.8em;
    color: #e6f1ff;
    margin-bottom: 20px;
}

.main-content .intro-text {
    color: #fff !important;
    font-size: 1.35em;
    font-weight: 700;
    background: none !important;
    text-shadow: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.contact-details {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 50px;
}

.contact-item {
    background-color: rgba(23, 42, 69, 0.7);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    min-width: 280px;
    flex: 1;
    max-width: 350px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 400px;
    justify-content: space-between;
}

.contact-item .qr-code-image {
    margin-top: 10px;
    margin-bottom: 10px;
}

.contact-item .qr-caption {
    margin-top: 10px;
}

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

.contact-item h2 {
    font-size: 1.6em;
    color: #64ffda;
    margin-bottom: 15px;
}

.contact-item .icon {
    font-size: 1.5em;
    margin-right: 8px;
    vertical-align: middle;
}

.contact-item p {
    font-size: 1em;
    color: #ccd6f6;
    margin-bottom: 6px;
    line-height: 1.3;
}

.contact-item a {
    color: #64ffda;
    text-decoration: none;
    word-break: break-all;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #fff;
}

.qr-code-image {
    width: 200px;
    height: 200px;
    background-color: white;
    padding: 10px;
    border-radius: 5px;
    margin: 15px auto;
    display: block;
    transition: transform 0.3s ease;
}

.qr-code-image:hover {
    transform: scale(1.05);
}

.qr-caption {
    font-size: 0.9em;
    color: #8892b0;
}

footer {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    font-size: 0.9em;
    color: #8892b0;
    border-top: 1px solid #1f2a48;
}

/* 联系页面响应式调整 */
@media (max-width: 768px) {
    .contact-details {
        flex-direction: column;
        align-items: center;
    }
    .contact-item {
        width: 90%;
        max-width: 400px;
    }
    .main-content h1 {
        font-size: 2.2em;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding-top: 160px;
    }
    .main-content h1 {
        font-size: 1.8em;
    }
    .main-content .intro-text {
        font-size: 1em;
    }
}

.email-item p {
    margin-bottom: 8px;
}
.email-item .email-note {
    color: #8892b0;
    font-size: 0.95em;
    margin-bottom: 0;
}

.nav-link {
    color: #ccd6f6;
    text-decoration: none;
    font-size: 1em;
    font-weight: 500;
    transition: color 0.2s;
    display: flex;
    align-items: center;
}

.nav-link:hover {
    color: #64ffda;
    background: rgba(100,255,218,0.08);
    border-radius: 4px;
}

.nav-link img {
    margin-right: 10px;
}

footer {
    text-align: center; /* 文本居中 */
    padding: 2px 0; /* 上下内边距 */
    margin-top: 40px; /* 与上方内容的间距 */
    border-top: 1px solid #eee; /* 顶部边框线，可选 */
    font-size: 1.1em; /* 字体大小 */
    color: #ffffff; /* 字体颜色 */
}