/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: #3498db;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4 {
    margin-bottom: 20px;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.primary {
    background-color: #31BAAB;
    color: white;
}

.primary:hover {
    background-color: #2A9D90;
}

.secondary {
    background-color: transparent;
    border: 2px solid #31BAAB;
    color: #31BAAB;
}

.secondary:hover {
    background-color: #31BAAB;
    color: white;
}

/* 头部导航 */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    vertical-align: middle;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

nav ul li a i {
    margin-right: 6px;
    font-size: 0.9em;
    color: #31BAAB;
}

nav ul li a:hover {
    color: #31BAAB;
}

nav ul li a:hover i {
    transform: scale(1.1);
    transition: transform 0.2s ease;
}

/* 第一屏：介绍 - 添加流光动画 */
.hero {
    padding-top: 150px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e0f7fa 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    width: 100%;
}

/* 调整所有动画层的z-index，确保它们在内容之下 */
.hero::before,
.hero::after,
.hero-glow,
.hero-glow-2 {
    pointer-events: none; /* 关键修复：允许鼠标事件穿透动画层 */
    z-index: 0; /* 降低z-index，确保在内容之下 */
}

/* 确保内容在动画层之上 */
.hero .container {
    position: relative;
    z-index: 2; /* 提高内容的z-index */
}

.hero-content, 
.hero-image {
    position: relative;
    z-index: 2; /* 确保内容在动画层之上 */
}

/* 第一层流光 */
.hero::before {
    content: "";
    position: absolute;
    width: 400%;
    height: 400%;
    top: -150%;
    left: -150%;
    background: linear-gradient(
        45deg,
        rgba(49, 186, 171, 0.1) 0%,
        rgba(49, 186, 171, 0) 20%,
        rgba(77, 208, 225, 0.1) 40%,
        rgba(100, 220, 200, 0.1) 60%,
        rgba(173, 216, 230, 0.1) 80%,
        rgba(49, 186, 171, 0) 100%
    );
    animation: flowLight 20s linear infinite;
}

/* 第二层流光 */
.hero::after {
    content: "";
    position: absolute;
    width: 400%;
    height: 400%;
    top: -150%;
    left: -150%;
    background: linear-gradient(
        135deg,
        rgba(100, 220, 200, 0) 0%,
        rgba(173, 216, 230, 0.1) 20%,
        rgba(135, 206, 250, 0.1) 40%,
        rgba(64, 224, 208, 0.1) 60%,
        rgba(127, 255, 212, 0.1) 80%,
        rgba(100, 220, 200, 0) 100%
    );
    animation: flowLight2 25s linear infinite;
    opacity: 0.7;
}

/* 第三层流光 */
.hero-glow {
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: radial-gradient(
        circle at center,
        rgba(49, 186, 171, 0.05) 0%,
        rgba(173, 216, 230, 0.05) 25%,
        rgba(135, 206, 250, 0.05) 50%,
        rgba(64, 224, 208, 0.05) 75%,
        rgba(240, 248, 255, 0) 100%
    );
    animation: pulse 8s ease-in-out infinite;
}

/* 第四层流光 */
.hero-glow-2 {
    content: "";
    position: absolute;
    width: 300%;
    height: 300%;
    top: -100%;
    left: -100%;
    background: conic-gradient(
        from 0deg,
        rgba(64, 224, 208, 0) 0%,
        rgba(64, 224, 208, 0.05) 25%,
        rgba(127, 255, 212, 0.05) 50%,
        rgba(173, 216, 230, 0.05) 75%,
        rgba(64, 224, 208, 0) 100%
    );
    animation: rotate 30s linear infinite;
    opacity: 0.6;
}

@keyframes flowLight {
    0% {
        transform: translateX(-30%) translateY(-30%) rotate(0deg);
    }
    100% {
        transform: translateX(-30%) translateY(-30%) rotate(360deg);
    }
}

@keyframes flowLight2 {
    0% {
        transform: translateX(-30%) translateY(-30%) rotate(180deg);
    }
    100% {
        transform: translateX(-30%) translateY(-30%) rotate(540deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.7;
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* 更新主标题样式，用于logo替换文字 */
.hero-title {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.hero-title img {
    height: 60px;
    margin-right: 10px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

.hero h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #31BAAB;
    text-align: left;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #555;
}

.cta-buttons {
    margin-top: 30px;
    position: relative;
    z-index: 3;
}

.cta-buttons .btn {
    margin-right: 15px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* 第二屏：安装方式 */
.install {
    background-color: #f9f9f9;
}

.browser-options {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
}

.browser-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 300px;
}

.browser-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.browser-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #31BAAB;
}

.browser-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.browser-card p {
    margin-bottom: 25px;
    color: #666;
}

.install-btn {
    background-color: #31BAAB;
    color: white;
}

.install-btn:hover {
    background-color: #2A9D90;
}

/* 第三屏：关于我们 */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

/* 添加居中样式 */
.about-content.centered {
    flex-direction: column;
    text-align: center;
}

.about-text {
    flex: 1;
}

/* 更新文本样式使其居中 */
.about-content.centered .about-text {
    max-width: 800px;
    margin: 0 auto;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #555;
}

/* 移除团队照片相关样式
.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.about-image img {
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    max-width: 100%;
}
*/

/* 第四屏：联系我们 - 移除留言表单相关样式 */
.contact {
    background-color: #f9f9f9;
}

.contact > p {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.1rem;
    color: #555;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 0; /* 修改，原来是60px */
}

.contact-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    width: 250px;
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #31BAAB;
}

.contact-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.contact-card p {
    color: #666;
    margin-bottom: 15px;
}

.qrcode {
    width: 120px;
    margin: 0 auto;
}

.contact-btn {
    background-color: #31BAAB;
    color: white;
    padding: 8px 16px;
    font-size: 0.9rem;
}

.contact-btn:hover {
    background-color: #2A9D90;
}

/* 更新底部布局 */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 60px 0 30px;
    text-align: center;
}

.footer-content {
    margin-bottom: 30px;
}

/* 居中logo和描述 */
.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 15px;
}

.footer-logo p {
    color: #bbb;
    font-size: 1rem;
}

/* 简化的横排菜单 */
.footer-links-simple {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-links-simple a {
    color: #bbb;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-links-simple a:hover {
    color: #31BAAB;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-bottom p {
    color: #bbb;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.footer-social {
    margin-top: 15px;
}

.footer-social a {
    color: #bbb;
    font-size: 1.2rem;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #31BAAB;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero-content, .hero-image {
        flex: 1 100%;
        padding-right: 0;
    }
    
    .hero {
        padding-top: 120px;
    }
    
    .hero-content {
        margin-bottom: 50px;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-text {
        margin-bottom: 40px;
    }
    
    .browser-options, .contact-methods {
        flex-direction: column;
        align-items: center;
    }
    
    .browser-card, .contact-card {
        width: 100%;
        max-width: 350px;
        margin-bottom: 30px;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-logo {
        margin-bottom: 40px;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
    }
    
    .link-group {
        margin-bottom: 30px;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-social {
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    nav {
        display: none;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    
    .footer-links-simple {
        flex-direction: column;
        gap: 15px;
    }
    
    nav ul li a span {
        display: none;
    }
    
    nav ul li a i {
        font-size: 1.2em;
        margin-right: 0;
    }
    
    nav ul li {
        margin-left: 20px;
    }
} 