=========================================================================
 * 
 *                      XingHan-Team 官网程序 
 * =========================================================================
 * 
 * @package     XingHan-Team Official Website
 * @author      XingHan Development Team
 * @copyright   Copyright (c) 2024, XingHan-Team
 * @link        https://www.ococn.cn
 * @since       Version 1.0.0
 * @filesource  By 奉天
 * 
 * =========================================================================
 * 
 * XingHan-Team 星涵网络工作室官方网站管理系统
 * 版权所有 (C) 2024 XingHan-Team。保留所有权利。
 * 
 * 本软件受著作权法和国际公约的保护。
 * 
 * 感谢您选择 XingHan-Team 的产品。如有任何问题或建议，请联系我们。
 * 
 * =========================================================================
 */ 
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

header {
    background-color: transparent;
    transition: background-color 0.3s ease;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #007bff;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    transition: color 0.3s ease;
}

header.scrolled nav ul li a {
    color: #333;
}

nav ul li a:hover {
    color: #007bff;
}

/* 移动端菜单样式 */
.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: #fff;
}

header.scrolled .menu-toggle {
    color: #333;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    nav ul.show {
        display: flex;
    }

    nav ul li {
        margin: 0;
        text-align: center;
    }

    nav ul li a {
        display: block;
        padding: 1rem;
        color: #333;
    }
}

main {
    padding-top: 0;
}

section {
    padding: 6rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

section.hero {
    padding: 0;
    height: 100vh;
    max-width: none;
}

.hero {
    position: relative;
    color: #fff;
    text-align: center;
    overflow: hidden;
}

.fullscreen-swiper {
    width: 100%;
    height: 100vh;
}

.swiper-slide {
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-content {
    text-align: center;
    max-width: 80%;
    color: #fff;
    padding: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 10px;
}

.slide-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slide-content p {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #fff;
    opacity: 0.7;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: #007bff;
}

/* 移除导航按钮样式 */
.swiper-button-next,
.swiper-button-prev {
    display: none;
}

/* 调整分页指示器位置 */
.swiper-pagination {
    bottom: 20px !important;
}

@media (max-width: 768px) {
    .slide-content h1 {
        font-size: 2rem;
    }

    .slide-content p {
        font-size: 1rem;
    }
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.cta-button {
    display: inline-block;
    background-color: #007bff;
    color: #fff;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #0056b3;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #fff;
    opacity: 0.7;
}

.swiper-pagination-bullet-active {
    background: #007bff;
    opacity: 1;
}

h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #007bff;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-image {
    flex: 0 0 50%;
    max-width: 50%;
}

.about-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.about-text {
    flex: 1;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        gap: 2rem;
    }

    .about-image {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 0 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.service-item {
    background-color: #fff;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.service-icon {
    font-size: 3.5rem;
    color: #007bff;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
}

.service-item:hover .service-icon {
    transform: scale(1.1);
}

.service-item h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    position: relative;
    z-index: 2;
}

.service-item p {
    color: #666;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.service-decoration {
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background-color: rgba(0, 123, 255, 0.1);
    border-radius: 50%;
    z-index: 1;
    transition: transform 0.3s ease;
}

.service-item:hover .service-decoration {
    transform: scale(1.2);
}

.service-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0,123,255,0.1) 0%, rgba(255,255,255,0) 70%);
    transition: transform 0.3s ease;
    transform: scale(0);
    z-index: 1;
}

.service-item:hover::before {
    transform: scale(1);
}

.service-link {
    display: inline-block;
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.service-link:hover {
    color: #0056b3;
}

.service-link i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.service-link:hover i {
    transform: translateX(5px);
}

footer,
.site-footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 1.25rem 1rem;
}

.site-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.site-footer-bar {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.8;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem 0.5rem;
}

.site-footer-bar a {
    color: #fff;
    text-decoration: none;
    opacity: 0.95;
}

.site-footer-bar a:hover {
    color: #7ec8ff;
    text-decoration: underline;
}

.site-footer-sep {
    opacity: 0.5;
    user-select: none;
}

.site-footer-copy {
    white-space: nowrap;
}

/* 隐私协议 / 联系我们 独立页 */
.legal-page-body {
    background-color: #f8f9fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-header-public {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-header-public nav ul li a.active {
    color: #007bff;
}

.site-header-public .logo a {
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
    font-size: 1.8rem;
}

.site-header-public nav ul li a {
    color: #333;
}

.legal-page-main {
    flex: 1;
    padding: 2.5rem 1rem 3rem;
}

.legal-page-container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    padding: 2rem 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.legal-page-title {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: #222;
}

.legal-page-intro {
    color: #666;
    margin-bottom: 1.5rem;
}

.legal-page-content h2 {
    font-size: 1.15rem;
    margin: 1.5rem 0 0.75rem;
    color: #333;
}

.legal-page-content p,
.legal-page-content li {
    color: #444;
    line-height: 1.8;
}

.legal-page-content ul {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}

.legal-updated {
    margin-top: 2rem;
    color: #888;
}

.contact-card-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.contact-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.25rem;
    text-align: center;
}

.contact-card i {
    font-size: 1.75rem;
    color: #007bff;
    margin-bottom: 0.5rem;
}

.contact-card h3 {
    font-size: 1rem;
    margin-bottom: 0.35rem;
}

.contact-card a {
    color: #007bff;
}

.auth-privacy-check {
    font-size: 0.85rem;
}

.auth-privacy-check a {
    color: #007bff;
}

/* 服务咨询页 - 与截图一致，兼容主流浏览器 */
.consult-page-body {
    background-color: #f0f2f5;
}

.consult-page-main {
    padding: 2.5rem 1rem 3.5rem;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.consult-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0.5rem;
}

.consult-page-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.consult-page-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 0.75rem;
    letter-spacing: 0.02em;
}

.consult-page-subtitle {
    font-size: 0.95rem;
    color: #888;
    margin: 0;
    line-height: 1.6;
}

.consult-login-prompt {
    text-align: center;
    background: #fff;
    border-radius: 10px;
    padding: 2.5rem 1.5rem;
    margin-bottom: 2rem;
    -webkit-box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    color: #666;
}

.consult-product-grid {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 0 -0.625rem 2rem;
    gap: 0;
}

.consult-product-grid .consult-product-card {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%;
    padding: 13px 0.625rem 1.25rem;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.consult-loading,
.consult-empty-hint {
    width: 100%;
    text-align: left;
    padding: 1rem 0.5rem;
    color: #999;
    margin: 0;
}

.consult-product-card {
    background: #fff;
    border-radius: 10px;
    padding: 1.75rem 1.25rem 1.25rem;
    -webkit-box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    height: 100%;
    min-height: 300px;
    border: none;
}

.consult-product-icon {
    font-size: 2.25rem;
    color: #007bff;
    margin-bottom: 1rem;
    line-height: 1;
}

.consult-product-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 0.65rem;
    color: #222;
}

.consult-product-desc {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    color: #999;
    font-size: 0.8rem;
    line-height: 1.55;
    margin: 0 0 1rem;
}

.consult-product-price {
    font-size: 1.35rem;
    font-weight: 700;
    color: #f39c12;
    margin: 0 0 1rem;
}

.btn-consult-primary,
.consult-product-card .btn-consult-now {
    display: block;
    width: 100%;
    padding: 0.55rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #fff;
    background-color: #007bff;
    border: 1px solid #007bff;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.btn-consult-primary:hover,
.consult-product-card .btn-consult-now:hover {
    background-color: #0069d9;
    border-color: #0062cc;
    color: #fff;
}

.btn-consult-outline,
.consult-product-card .btn-consult-login {
    display: block;
    width: 100%;
    padding: 0.55rem 1rem;
    font-size: 0.9rem;
    color: #007bff;
    background: #fff;
    border: 1px solid #007bff;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
}

.consult-form-panel {
    background: #fff;
    border-radius: 10px;
    padding: 1.75rem;
    margin-bottom: 2rem;
    -webkit-box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.consult-form-title {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.consult-selected-price {
    color: #f39c12;
    font-weight: 600;
    margin-bottom: 1rem;
}

.consult-form-actions {
    margin-top: 0.5rem;
}

.consult-form-actions .btn-consult-outline {
    display: inline-block;
    width: auto;
    margin-left: 0.5rem;
}

.consult-history-panel {
    background: #fff;
    border-radius: 10px;
    padding: 2rem 2rem 2.5rem;
    -webkit-box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    margin-top: 0.5rem;
}

.consult-history-head {
    position: relative;
    text-align: center;
    margin-bottom: 1.75rem;
    min-height: 2.5rem;
}

.consult-history-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #222;
    margin: 0;
    line-height: 2.5rem;
}

.btn-negotiate {
    position: absolute;
    right: 0;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    padding: 0.4rem 1rem;
    font-size: 0.875rem;
    color: #007bff;
    background: #fff;
    border: 1px solid #007bff;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
}

.btn-negotiate:hover {
    background: #007bff;
    color: #fff;
}

.consult-history-body {
    min-height: 80px;
}

.consult-inquiry-item {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-bottom: 0.75rem;
    text-align: left;
}

.consult-inquiry-head {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 0.35rem;
}

.consult-admin-reply {
    background: #f0f7ff;
    border-left: 3px solid #007bff;
    padding: 0.5rem 0.75rem;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #333;
    text-align: left;
}

/* 客服二维码弹窗 */
.consult-qr-dialog {
    max-width: 360px;
}

.consult-qr-content {
    border-radius: 10px;
    border: none;
}

.consult-qr-image {
    max-width: 220px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.consult-qr-placeholder {
    padding: 1.5rem 0;
}

.consult-qr-tip {
    font-size: 0.9rem;
    color: #666;
}

.site-header-public {
    background: #fff;
    -webkit-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
}

.site-header-public nav ul li a {
    color: #333;
    font-size: 0.95rem;
}

.site-header-public nav ul li a.active {
    color: #007bff;
    font-weight: 600;
}

.site-header-public .logo a {
    color: #007bff;
    font-weight: 700;
    font-size: 1.35rem;
}

@media (max-width: 992px) {
    .consult-product-grid .consult-product-card {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 768px) {
    .site-footer-bar {
        flex-direction: column;
        gap: 0.25rem;
    }

    .site-footer-sep {
        display: none;
    }

    .legal-page-container {
        padding: 1.25rem 1rem;
    }

    .consult-page-title {
        font-size: 1.5rem;
    }

    .consult-product-grid .consult-product-card {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .consult-history-head {
        padding-top: 2.5rem;
    }

    .btn-negotiate {
        position: absolute;
        right: auto;
        left: 50%;
        top: auto;
        bottom: 100%;
        -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        transform: translateX(-50%);
        margin-bottom: 0.75rem;
    }

    .consult-history-panel {
        padding: 1.5rem 1rem 2rem;
    }
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
    }

    nav ul {
        margin-top: 1rem;
    }

    nav ul li {
        margin-left: 0;
        margin-right: 1rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .about-content {
        flex-direction: column;
        padding: 2rem;
    }

    .about-image {
        max-width: 100%;
    }

    section {
        padding: 4rem 5%;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 0 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.team-member {
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.member-image {
    height: 250px;
}

.team-member-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-member:hover .team-member-img {
    transform: scale(1.1);
}

.member-info {
    padding: 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.member-info h3 {
    margin: 1.3rem 0;
    color: #007bff;
    font-size: 1.8rem;
}

.position {
    font-style: italic;
    color: #666;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.bio {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 1.5rem;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: auto;
}

.social-icon {
    color: #007bff;
    font-size: 1.5rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.2);
    color: #0056b3;
}

.member-number {
    position: absolute;
    bottom: 10px;
    right: 15px;
    font-size: 5rem;
    font-weight: bold;
    color: rgba(0, 123, 255, 0.1);
    line-height: 1;
    z-index: 0;
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .member-image {
        height: 250px;
    }

    .member-info {
        padding: 1.5rem;
    }

    .member-number {
        font-size: 4rem;
    }

    .member-info h3 {
        font-size: 1.5rem;
    }

    .position {
        font-size: 1rem;
    }

    .bio {
        font-size: 0.9rem;
    }

    .social-icon {
        font-size: 1.3rem;
    }
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 0 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.portfolio-item {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    position: relative;
}

.portfolio-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.portfolio-info {
    padding: 1.5rem;
}

.portfolio-info h3 {
    margin-bottom: 0.5rem;
    color: #007bff;
    font-size: 1.2rem;
}

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

.portfolio-info .btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    font-size: 0.9rem;
}

.portfolio-info .btn:hover {
    background-color: #0056b3;
}


@media (max-width: 1200px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }

    .portfolio-item {
        max-width: 100%;
    }

    .portfolio-item img {
        height: auto;
        max-height: 250px;
    }

    .portfolio-info {
        padding: 1rem;
    }

    .portfolio-info h3 {
        font-size: 1.1rem;
    }

    .portfolio-info p {
        font-size: 0.85rem;
    }

    .portfolio-info .btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }
}


#portfolio {
    max-width: 100%;
    overflow-x: hidden;
    padding-left: 15px;
    padding-right: 15px;
}


@media (max-width: 768px) {
    #portfolio {
        padding-left: 10px;
        padding-right: 10px;
    }

    .portfolio-grid {
        gap: 1.5rem;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding: 20px 0;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background-color: #007bff;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #007bff;
    margin: 0;
    position: relative;
    z-index: 2;
}

.section-subtitle {
    position: absolute;
    top: 30%; 
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem; 
    font-weight: bold;
    color: rgba(0, 0, 0, 0.05);
    text-transform: uppercase;
    white-space: nowrap;
    z-index: 1;
}

#about, #services, #team, #portfolio {
    padding: 6rem 0;
}

.about-content, .service-grid, .team-grid, .portfolio-grid {
    margin-top: 3rem;
}



@media (max-width: 768px) {
    body {
        overflow-x: hidden; 
    }

    main {
        padding-left: 0;
        padding-right: 0;
    }

    section {
        padding-left: 15px;
        padding-right: 15px;
    }

    .about-content,
    .service-grid,
    .team-grid,
    .portfolio-grid {
        padding-left: 15px;
        padding-right: 15px;
    }

    .hero,
    .fullscreen-swiper,
    .swiper-slide {
        width: 100vw; 
        max-width: none;
    }

    .section-subtitle {
        font-size: 2rem; 
        top: 25%; 
    }
}


#about, #services, #team, #portfolio {
    max-width: 100%;
    overflow-x: hidden;
    padding-left: 5%;
    padding-right: 5%;
}


@media (max-width: 768px) {
    nav {
        padding: 1rem 15px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    nav ul li {
        margin: 0.5rem;
    }
}

.portfolio-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #007bff;
    color: #fff;
    padding: 5px 10px;
    font-size: 0.8rem;
    font-weight: bold;
    border-radius: 20px;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}


@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

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


@media (max-width: 768px) {
    .portfolio-tag {
        font-size: 0.7rem;
        padding: 3px 8px;
    }
}


#team-query {
    background-color: #f8f9fa;
    padding: 4rem 0;
    text-align: center;
}

.team-query-content {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.custom-btn {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    border-radius: 30px;
    text-transform: uppercase;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-primary.custom-btn {
    background-color: #007bff;
    border-color: #007bff;
    color: #fff;
}

.btn-primary.custom-btn:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.btn-secondary.custom-btn {
    background-color: #6c757d;
    border-color: #6c757d;
    color: #fff;
}

.btn-secondary.custom-btn:hover {
    background-color: #545b62;
    border-color: #545b62;
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .team-query-content {
        flex-direction: column;
        align-items: center;
    }

    .custom-btn {
        width: 80%;
        margin-bottom: 1rem;
    }
}


#about, #services, #team, #portfolio, #team-query {
    max-width: 100%;
    overflow-x: hidden;
    padding-left: 5%;
    padding-right: 5%;
}


@media (max-width: 768px) {
    nav {
        padding: 1rem 15px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    nav ul li {
        margin: 0.5rem;
    }
}


.modal-dialog {
    display: flex;
    align-items: center;
    min-height: calc(100% - 1rem);
}

@media (min-width: 576px) {
    .modal-dialog {
        max-width: 500px;
        margin: 1.75rem auto;
    }
}

.modal-content {
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}


.modal-footer {
    justify-content: center !important;
    padding: 1rem;
}

.modal-footer .btn {
    min-width: 100px;
    margin: 0 10px;
}

.modal-body {
    padding: 20px;
}

.modal-body form {
    margin-bottom: 0;
}


.modal-body .form-label {
    font-weight: bold;
}

.modal-body .form-control {
    margin-bottom: 15px;
}

.modal-header {
    border-bottom: 1px solid #e9ecef;
    background-color: #f8f9fa;
    padding: 1rem;
}

.modal-title {
    font-weight: bold;
    color: #007bff;
}

.modal-header .btn-close {
    margin: -0.5rem -0.5rem -0.5rem auto;
}

@media (max-width: 576px) {
    .modal-footer .btn {
        width: 100%;
        margin: 5px 0;
    }
}

.modal-content {
    max-height: 90vh;
    overflow-y: auto;
}

@media (min-width: 576px) {
    .modal-dialog {
        max-width: 500px;
        margin: 1.75rem auto;
    }
}


#studio-culture {
    background-color: #ffffff;
    padding: 4rem 5%;
}

.culture-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 3rem;
}

.culture-item {
    flex-basis: calc(33.333% - 2rem);
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.culture-item h3 {
    color: #007bff;
    margin-bottom: 1rem;
}

.culture-item p {
    color: #333;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .culture-item {
        flex-basis: 100%;
    }
}

#studio-environment {
    background-color: #ffffff;
    padding: 4rem 5%;
}

.environment-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 3rem;
}

.environment-item {
    flex-basis: calc(50% - 1rem);
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.environment-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.environment-info {
    padding: 1.5rem;
}

.environment-info h3 {
    color: #007bff;
    margin-bottom: 0.5rem;
}

.environment-info p {
    color: #333;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .environment-item {
        flex-basis: 100%;
    }
}

.logo-image {
    max-height: 50px;
    width: auto;
}

@media (max-width: 768px) {
    .logo-image {
        max-height: 40px;
    }
}

/* 登录页样式 */
.login-container {
    max-width: 400px;
    margin: 100px auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.login-form {
    display: flex;
    flex-direction: column;
}

.login-form input {
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.login-form button {
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.login-form button:hover {
    background-color: #0056b3;
}

.login-title {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

/* 导航栏登录/注册 */
.nav-auth-item {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-left: 1rem !important;
}

.nav-auth-link {
    text-decoration: none;
    color: inherit;
    font-weight: 600;
    font-size: 0.95rem;
}

.nav-auth-link:hover {
    color: #007bff;
}

.nav-auth-sep {
    opacity: 0.6;
    font-size: 0.85rem;
}

.nav-user-label {
    margin-right: 0.5rem;
    font-size: 0.95rem;
}

header:not(.scrolled) .nav-auth-link,
header:not(.scrolled) .nav-user-label {
    color: #fff;
}

header.scrolled .nav-auth-link,
header.scrolled .nav-user-label {
    color: #333;
}

.auth-modal-content {
    border: none;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.auth-tabs {
    justify-content: center;
    gap: 0.5rem;
}

.auth-tabs .nav-link {
    border-radius: 20px;
    padding: 0.4rem 1.5rem;
    color: #666;
}

.auth-tabs .nav-link.active {
    background-color: #007bff;
}

.auth-submit-btn {
    min-width: 140px;
    padding: 0.5rem 2rem;
}

#btnSendSmsCode {
    white-space: nowrap;
}

@media (max-width: 768px) {
    .nav-auth-item {
        margin-left: 0 !important;
        padding: 0.5rem 1rem;
        border-top: 1px solid #eee;
    }
}



/* ======================================
强制手机端兼容修复 - 解决变形/拉伸问题
====================================== */
/* 1. 修复轮播图全屏适配，手机端绝不变形 */
.hero, .fullscreen-swiper, .swiper-slide {
  height: auto !important;
  min-height: 400px !important;
  max-height: 640px !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

/* 2. 手机端专属样式（自动适配所有手机） */
@media (max-width: 768px) {
  /* 轮播图手机端高度自动，不压扁 */
  .swiper-slide {
    min-height: 350px !important;
    padding: 20px !important;
  }
  /* 轮播文字自动缩小，不溢出屏幕 */
  .slide-content h1 {
    font-size: 24px !important;
    line-height: 1.3 !important;
    margin-bottom: 10px !important;
  }
  .slide-content p {
    font-size: 14px !important;
    line-height: 1.5 !important;
  }
  /* 文字居中，手机端更美观 */
  .slide-content {
    text-align: center !important;
    width: 100% !important;
    padding: 0 15px !important;
  }
}

/* 3. 全局图片禁止拉伸变形 */
img {
  max-width: 100% !important;
  height: auto !important;
  object-fit: cover !important;
}

/* 1. 让导航栏成为定位父容器（关键！） */
header nav {
    position: relative;
}

/* 2. 手机端：把菜单按钮固定到右上角 */
@media (max-width: 768px) {
    .menu-toggle {
        position: absolute;
        top: 15px;    /* 距离顶部的距离，可微调 */
        right: 15px;  /* 距离右侧的距离，可微调 */
        z-index: 999; /* 确保按钮在最上层，不被挡住 */
        color: #ffffff; /* 按钮颜色（白色，适配深色背景） */
        font-size: 26px; /* 按钮大小，可根据需要调整 */
        background: rgba(0,0,0,0.2); /* 可选：加个半透明背景，更显眼 */
        padding: 5px 10px;
        border-radius: 4px;
    }
}

/* ======================================
手机端底部链接强制一行显示修复
====================================== */
@media (max-width: 768px) {
    /* 让底部链接容器变成水平布局 */
    footer ul, 
    footer .footer-links, 
    footer .nav-links {
        display: flex !important;
        flex-direction: row !important; /* 强制水平排列 */
        justify-content: center !important; /* 居中显示 */
        align-items: center !important;
        gap: 20px !important; /* 链接之间的间距，可微调 */
        padding: 0 !important;
        margin: 15px 0 !important;
        width: 100% !important;
    }

    /* 去掉列表默认样式，适配一行 */
    footer ul li, 
    footer .footer-links a {
        list-style: none !important;
        margin: 0 !important;
        font-size: 14px !important; /* 手机端缩小字体，避免溢出 */
    }

    /* 适配深色背景，文字颜色调整 */
    footer ul li a, 
    footer .footer-links a {
        color: #cccccc !important; /* 浅灰色文字，适配深色背景 */
        text-decoration: none !important;
    }
}











