:root {
    --primary-color: #4E23DC;
    --secondary-color: #6C63FF;
    --dark-color: #333;
    --light-color: #f4f4f4;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --max-width: 1200px;
    --navbar-width: 90%;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #fff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--dark-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 10px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: var(--transition);
}

.btn:hover {
    background: #3a1bb0;
    transform: translateY(-3px);
}

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

.btn-outline:hover {
    background: var(--primary-color);
    color: #fff;
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding-left: 20px;
    padding-right: 20px;
    max-width: var(--navbar-width);
    margin: 0 auto;
    width: 100%;
}

.logo {
    margin-right: auto;
}

.logo a {
    display: flex;
    align-items: center;
    color: var(--dark-color);
    font-weight: 700;
    font-size: 1.5rem;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-menu li {
    margin-left: 80px;
}

.nav-menu a {
    color: var(--dark-color);
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

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

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    margin-bottom: 5px;
    border-radius: 2px;
    transition: var(--transition);
}

/* 主要内容区域 */
main {
    margin-top: 80px; /* 导航栏高度 */
}

/* 英雄区域 */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero .container {
    padding: 80px 0; /* 为固定导航栏留出空间 */
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* 特性区域 */
.features {
    padding: 80px 0;
    background-color: var(--light-color);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.2rem;
    color: var(--dark-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
}

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

.feature-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: var(--transition);
}

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

.feature-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* 关于我们预览 */
.about-preview {
    padding: 80px 0;
}

.about-preview .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-content p {
    margin-bottom: 30px;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* 关于我们页面样式 */
.about-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-hero .container {
    padding: 80px 0; /* 为固定导航栏留出空间 */
}

.about-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.about-hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px;
}

.about-content {
    padding: 80px 0;
}

.about-content .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text .section-title {
    text-align: left;
    margin-bottom: 30px;
}

.about-text .section-title::after {
    left: 0;
    transform: none;
}

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

.about-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* 页脚 */
footer {
    background-color: #000000;
    color: #fff;
    padding: 60px 0 20px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo img.logo-icon {
    height: 40px;
    margin-right: 10px;
}

.footer-logo span {
    color: #fff;
    font-weight: 700;
    font-size: 1.5rem;
}

.footer-links h3,
.footer-contact h3,
.footer-social h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
}

.footer-links h3::after,
.footer-contact h3::after,
.footer-social h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #ccc;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 15px;
    color: #ccc;
    display: flex;
    align-items: center;
}

.footer-contact p i {
    margin-right: 10px;
    color: var(--primary-color);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #333;
    border-radius: 50%;
    color: #fff;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    font-size: 0.9rem;
    color: #ccc;
}

.footer-bottom a {
    color: #ccc;
    transition: var(--transition);
}

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

/* 响应式设计 */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .about-preview .container {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .navbar {
        height: 70px;
    }
    
    main {
        margin-top: 70px;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: #fff;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 40px;
        transition: var(--transition);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .hero {
        padding: 0;
        min-height: 100vh;
    }
    
    .hero .container {
        padding: 70px 20px; /* 为移动端固定导航栏留出空间 */
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    /* 联系页面响应式调整 */
    .contact-content .container {
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-logo .company-intro {
        color: #ccc;
        font-size: 0.6rem;
        line-height: 1.6;
        margin-top: 15px;
        max-width: 300px;
    }
    
    @media (max-width: 576px) {
        .footer-logo .company-intro {
            text-align: center;
            max-width: 100%;
        }
    }
    
    .footer-links h3::after,
    .footer-contact h3::after,
    .footer-social h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links,
    .footer-contact,
    .footer-social {
        text-align: center;
    }
    
    .footer-contact p {
        justify-content: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    /* 进一步调整联系页面在更小屏幕上的样式 */
    .contact-content {
        padding: 50px 0;
    }
    
    .contact-content .container {
        gap: 20px;
        padding: 0 15px;
    }
    
    .contact-hero h1 {
        font-size: 2rem;
    }
    
    .contact-hero p {
        font-size: 1rem;
    }
    
    .qrcode-container img {
        max-width: 150px;
    }
}

/* 添加到现有的CSS文件中 */

.logo-icon {
    height: 40px;
    width: auto;
    margin-right: 10px;
}

.logo-text {
    height: 30px;
    width: auto;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .logo-icon {
        height: 35px;
    }
    
    .logo-text {
        height: 25px;
    }
}

@media (max-width: 480px) {
    .logo-icon {
        height: 30px;
    }
    
    .logo-text {
        height: 20px;
    }
}

/* 联系我们页面样式 */
.contact-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-hero .container {
    padding: 80px 0; /* 为固定导航栏留出空间 */
}

.contact-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.contact-hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px;
}

.contact-content {
    padding: 80px 0;
}

.contact-content .container {
    display: flex;
    flex-direction: column;
    gap: 50px;
    align-items: stretch;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 在线留言部分优化 */
.contact-form {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.contact-form .section-title {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.contact-form .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
}

.contact-form p {
    margin-bottom: 20px;
    line-height: 1.6;
    color: #555;
}

.contact-form .btn {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.contact-form .btn:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 联系信息部分优化 */
.contact-info {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.contact-info .section-title {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.contact-info .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 8px;
    transition: var(--transition);
    text-align: left;
    max-width: 600px;
    margin: 0 auto 30px;
}

.contact-item:hover {
    background: #f8f9fa;
    transform: translateY(-3px);
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 20px;
    margin-top: 5px;
    min-width: 30px;
    text-align: center;
}

.contact-item h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.contact-item p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* 企业微信二维码部分优化 */
.wechat-qrcode {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.wechat-qrcode .section-title {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.wechat-qrcode .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
}

.qrcode-container {
    text-align: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: inline-block;
    margin: 0 auto;
}

.qrcode-container img {
    max-width: 300px; /* 放大微信图片 */
    height: auto;
    margin-bottom: 15px;
    border-radius: 5px;
}

.qrcode-container p {
    color: #666;
    font-size: 1rem;
    margin: 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(78, 35, 220, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    /* ... existing code ... */
    
    /* 联系页面响应式调整 */
    .contact-content .container {
        gap: 30px;
    }
}

@media (max-width: 576px) {
    /* ... existing code ... */
    
    /* 进一步调整联系页面在更小屏幕上的样式 */
    .contact-content {
        padding: 50px 0;
    }
    
    .contact-content .container {
        gap: 20px;
        padding: 0 15px;
    }
    
    /* ... existing code ... */
}

/* 添加下滑箭头指示器样式 */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    width: 12px;
    height: 12px;
    border-right: 3px solid #fff;
    border-bottom: 3px solid #fff;
    transform: rotate(45deg);
    margin: -6px 0;
    opacity: 0.7;
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.5));
    transition: all 0.3s ease;
}

.scroll-indicator span:nth-child(1) {
    animation: scroll-delay 2s infinite;
}

.scroll-indicator span:nth-child(2) {
    animation: scroll-delay 2s infinite 0.2s;
}

.scroll-indicator span:nth-child(3) {
    animation: scroll-delay 2s infinite 0.4s;
}

.scroll-indicator:hover span {
    opacity: 1;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 1));
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-20px);
    }
    60% {
        transform: translateX(-50%) translateY(-10px);
    }
}

@keyframes scroll-delay {
    0%, 20%, 50%, 80%, 100% {
        opacity: 0.7;
        transform: rotate(45deg) translate(0, 0);
    }
    40% {
        opacity: 1;
        transform: rotate(45deg) translate(-7px, -7px);
    }
    60% {
        opacity: 0.7;
        transform: rotate(45deg) translate(0, 0);
    }
}

/* 响应式设计 */
@media (max-width: 576px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-logo .company-intro {
        color: #ccc;
        font-size: 0.6rem;
        line-height: 1.6;
        margin-top: 15px;
        max-width: 300px;
    }
    
    @media (max-width: 576px) {
        .footer-logo .company-intro {
            text-align: center;
            max-width: 100%;
        }
    }
    
    .footer-links h3::after,
    .footer-contact h3::after,
    .footer-social h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links,
    .footer-contact,
    .footer-social {
        text-align: center;
    }
    
    .footer-contact p {
        justify-content: center;
    }
    
    .social-icons {
        justify-content: center;
    }
}

/* 添加到现有的CSS文件中 */

.logo-icon {
    height: 40px;
    width: auto;
    margin-right: 10px;
}

.logo-text {
    height: 30px;
    width: auto;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .logo-icon {
        height: 35px;
    }
    
    .logo-text {
        height: 25px;
    }
}

@media (max-width: 480px) {
    .logo-icon {
        height: 30px;
    }
    
    .logo-text {
        height: 20px;
    }
}

/* 产品服务页面样式 */
.products-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.products-hero .container {
    padding: 80px 0; /* 为固定导航栏留出空间 */
}

.products-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.products-hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px;
}

.products-grid {
    padding: 80px 0;
    background-color: var(--light-color);
}

.products-grid .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: var(--transition);
}

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

.product-card i {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.product-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.product-card p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.7;
}

.service-process {
    padding: 80px 0;
    background: #fff;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

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

/* 响应式调整 */
@media (max-width: 768px) {
    .products-hero {
        padding: 0;
        min-height: 100vh;
    }

    .products-hero .container {
        padding: 70px 20px; /* 为移动端固定导航栏留出空间 */
    }

    .products-hero h1 {
        font-size: 2rem;
    }

    .products-grid,
    .service-process {
        padding: 60px 0;
    }

    .process-steps {
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .products-hero h1 {
        font-size: 1.8rem;
    }

    .product-card {
        padding: 30px 20px;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

/* 添加统一的下滑箭头指示器样式 */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    width: 12px;
    height: 12px;
    border-right: 3px solid #fff;
    border-bottom: 3px solid #fff;
    transform: rotate(45deg);
    margin: -6px 0;
    opacity: 0.7;
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.5));
    transition: all 0.3s ease;
}

.scroll-indicator span:nth-child(1) {
    animation: scroll-delay 2s infinite;
}

.scroll-indicator span:nth-child(2) {
    animation: scroll-delay 2s infinite 0.2s;
}

.scroll-indicator span:nth-child(3) {
    animation: scroll-delay 2s infinite 0.4s;
}

.scroll-indicator:hover span {
    opacity: 1;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 1));
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-20px);
    }
    60% {
        transform: translateX(-50%) translateY(-10px);
    }
}

@keyframes scroll-delay {
    0%, 20%, 50%, 80%, 100% {
        opacity: 0.7;
        transform: rotate(45deg) translate(0, 0);
    }
    40% {
        opacity: 1;
        transform: rotate(45deg) translate(-7px, -7px);
    }
    60% {
        opacity: 0.7;
        transform: rotate(45deg) translate(0, 0);
    }
}

/* 下拉箭头可点击反馈 */
.scroll-indicator {
    cursor: pointer;
}
.scroll-indicator:focus {
    outline: 2px solid rgba(255, 255, 255, 0.6);
    outline-offset: 4px;
}

/* 移除之前定义的特殊效果类，保持所有页面效果一致 */

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

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo img.logo-icon {
    height: 40px;
    margin-right: 10px;
}

.footer-logo span {
    color: #fff;
    font-weight: 700;
    font-size: 1.5rem;
}

.footer-links h3,
.footer-contact h3,
.footer-social h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
}

.footer-links h3::after,
.footer-contact h3::after,
.footer-social h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #ccc;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 15px;
    color: #ccc;
    display: flex;
    align-items: center;
}

.footer-contact p i {
    margin-right: 10px;
    color: var(--primary-color);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #333;
    border-radius: 50%;
    color: #fff;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    font-size: 0.9rem;
    color: #ccc;
}

.footer-bottom a {
    color: #ccc;
    transition: var(--transition);
}

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

/* 首页首屏轮播样式与暗色毛玻璃 */
.hero.hero-carousel {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #E8ECF3;
    background: radial-gradient(1000px 600px at 70% 0%, #1E2430 0%, #0B0E12 70%);
    overflow: hidden;
}
.hero.hero-carousel::before {
    content: '';
    position: absolute;
    inset: -10%;
    background:
      radial-gradient(800px 400px at 20% 30%, rgba(78,35,220,0.08), transparent 70%),
      radial-gradient(600px 300px at 80% 60%, rgba(108,99,255,0.08), transparent 70%);
    pointer-events: none;
}
.hero.hero-carousel::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(transparent 98%, rgba(255,255,255,0.08) 100%),
                      radial-gradient(circle at center, rgba(255,255,255,0.03) 0, transparent 60%);
    opacity: 0.4;
    pointer-events: none;
}

.hero .container { padding: 80px 20px; }

.slides {
    position: relative;
    width: 100%;
}
/* 让轮播内容居中并整体上移一些 */
.hero.hero-carousel .slides {
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-200px);
}
/* 移动端上移幅度稍小，避免遮挡 */
@media (max-width: 768px) {
    .hero.hero-carousel .slides {
        transform: translateY(-20px);
    }
}
.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateY(10px) scale(0.98);
    transition: opacity 560ms ease, transform 560ms ease;
    pointer-events: none;
}
.slide.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}
.slide.enter .slide-text > * { animation: pop-in 480ms ease both; }
.slide.enter .slide-text > *:nth-child(2) { animation-delay: 80ms; }
.slide.enter .slide-text > *:nth-child(3) { animation-delay: 160ms; }
.slide.enter .slide-text > *:nth-child(4) { animation-delay: 240ms; }
@keyframes pop-in {
    from { opacity: 0; transform: translateY(12px) scale(0.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* 布局 */
.slide-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}
.slide-text h1 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 16px;
    color: #F0F4FA;
}
.slide-text p {
    font-size: 1.1rem;
    color: #AEB7C4;
    margin-bottom: 20px;
}

/* 徽章与芯片 */
.badge-group { display: flex; gap: 10px; margin-bottom: 14px; }
.badge {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    padding: 6px 12px;
    border-radius: 999px;
    backdrop-filter: blur(6px);
    color: #DDE3EB;
    font-size: 0.85rem;
}
.chips, .chip-row { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    padding: 6px 12px;
    border-radius: 999px;
    backdrop-filter: blur(6px);
    color: #DDE3EB;
    font-size: 0.85rem;
}
.chip.small { font-size: 0.78rem; padding: 5px 10px; }

/* 暗色玻璃拟态卡片 + 呼吸动画 */
.glass-card {
    background: rgba(20, 24, 32, 0.45);
    border: 1px solid rgba(255,255,255,0.16);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 22px 24px;
    backdrop-filter: blur(18px);
    color: #DDE3EB;
}
.glass-card h3 { margin-bottom: 10px; color: #F0F4FA; }
.glass-card p { color: #AEB7C4; margin-bottom: 10px; }

.breathing {
    animation: breathe 3.2s ease-in-out infinite;
}
@keyframes breathe {
    0%   { transform: translateY(0) scale(1); box-shadow: 0 0 0 rgba(78,35,220,0); }
    50%  { transform: translateY(-3px) scale(1.03); box-shadow: 0 0 18px rgba(108,99,255,0.25); }
    100% { transform: translateY(0) scale(1); box-shadow: 0 0 0 rgba(78,35,220,0); }
}

/* 左右箭头 */
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px; height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    backdrop-filter: blur(6px);
    cursor: pointer;
    transition: transform 200ms ease, background 200ms ease, box-shadow 200ms ease;
}
.arrow.left  { left: 24px; }
.arrow.right { right: 24px; }
.arrow:hover {
    transform: translateY(-50%) scale(1.06);
    background: rgba(255,255,255,0.14);
    box-shadow: 0 6px 20px rgba(0,0,0,0.35);
}
.arrow::before {
    content: '';
    display: block;
    width: 10px; height: 10px;
    border-right: 2px solid #E8ECF3;
    border-bottom: 2px solid #E8ECF3;
    transform: rotate(-45deg);
    margin: 16px auto;
}
.arrow.left::before { transform: rotate(135deg); }

/* 下滑指示器保持可点击 */
.scroll-indicator { cursor: pointer; }

/* 响应式 */
@media (max-width: 992px) {
    .slide-grid { grid-template-columns: 1fr; gap: 24px; }
    .slide-text h1 { font-size: 2.3rem; }
}
@media (max-width: 576px) {
    .arrow { width: 38px; height: 38px; }
    .arrow::before { margin: 14px auto; }
}