/* 全局样式 */
:root {
    --primary-color: #ffee00;
    --secondary-color: #00cc00;
    --dark-color: #333333;
    --light-color: #ffffff;
    --gray-color: #f5f5f5;
    --text-color: #333333;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-weight: bold;
    cursor: pointer;
}

.primary-btn {
    background-color: var(--primary-color);
    color: var(--text-color);
}

.primary-btn:hover {
    background-color: #eadc00;
    transform: translateY(-2px);
}

.secondary-btn {
    background-color: var(--light-color);
    color: var(--text-color);
    border: 2px solid var(--primary-color);
}

.secondary-btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

/* 头部导航 */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--box-shadow);
    z-index: 100;
    padding: 15px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.logo h1 {
    font-size: 24px;
    font-weight: bold;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.download-btn {
    background-color: var(--primary-color);
    color: var(--text-color);
    padding: 8px 16px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.download-btn:hover {
    background-color: #eadc00;
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* 英雄区域 */
.hero {
    padding: 150px 0 100px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #f9f9f9 100%);
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h2 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 10px;
}

.hero-content h3 {
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 400px;
    margin: 0 auto;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* 特色功能 */
.features {
    padding: 80px 0;
    background-color: var(--light-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    background-color: var(--gray-color);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

/* 应用展示 */
.app-showcase {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.app-screens {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.screen {
    text-align: center;
    transition: var(--transition);
}

.screen:hover {
    transform: translateY(-10px);
}

.screen img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 20px;
}

.screen h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

/* 龟类展示 */
.turtle-gallery {
    padding: 80px 0;
    background-color: var(--light-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
}

/* 下载区域 */
.download-app {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.download-app .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.download-content {
    flex: 1;
    max-width: 500px;
}

.download-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.download-content p {
    font-size: 18px;
    margin-bottom: 30px;
}

.download-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 12px 20px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.download-btn:hover {
    background-color: #444;
    transform: translateY(-2px);
}

.download-btn i {
    font-size: 24px;
}

.download-btn span {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.download-btn small {
    font-size: 12px;
}

.download-btn strong {
    font-size: 16px;
}

/* 交易保障体系 */
.trade-process {
    margin-top: 30px;
    padding: 20px;
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.trade-process h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 10px;
}

.trade-process h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
}

.trade-process p {
    margin-bottom: 15px;
    line-height: 1.8;
    text-align: justify;
}

.qr-code {
    text-align: center;
}

.qr-code img {
    width: 150px;
    margin: 0 auto 10px;
}

.download-image {
    flex: 1;
    text-align: center;
}

.download-image img {
    max-width: 550px;
    margin: 0 auto;
}

/* 关于我们 */
.about-us {
    padding: 80px 0;
    background-color: var(--light-color);
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
}

.company-logo {
    flex: 0 0 300px;
    text-align: center;
}

.company-logo img {
    width: 200px;
    margin: 0 auto 20px;
}

/* 页脚 */
footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo {
    flex: 1;
}

.footer-logo img {
    width: 60px;
    margin-bottom: 15px;
}

.footer-logo h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.footer-links {
    flex: 2;
    display: flex;
    justify-content: space-around;
}

.link-group h3 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
}

.link-group h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 3px;
    background-color: var(--primary-color);
}

.link-group ul li {
    margin-bottom: 10px;
}

.link-group ul li a {
    transition: var(--transition);
}

.link-group ul li a:hover {
    color: var(--primary-color);
}

.link-group ul li i {
    margin-right: 10px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.social-icons a {
    display: inline-block;
    margin-left: 15px;
    font-size: 20px;
    transition: var(--transition);
}

.social-icons a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* 响应式样式 */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .app-screens {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        margin-bottom: 40px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .download-app .container {
        flex-direction: column;
        text-align: center;
    }
    
    .download-content {
        margin-bottom: 40px;
    }
    
    .download-buttons {
        justify-content: center;
    }
    
    .about-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-logo {
        margin-bottom: 30px;
    }
    
    .footer-links {
        flex-direction: column;
    }
    
    .link-group {
        margin-bottom: 30px;
    }
    
    .link-group h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-bottom {
        flex-direction: column;
    }
    
    .social-icons {
        margin-top: 20px;
    }
    
    .trade-process h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .trade-process {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .features-grid,
    .app-screens,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content h2 {
        font-size: 36px;
    }
    
    .hero-content h3 {
        font-size: 24px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .download-buttons {
        flex-direction: column;
    }
} 