/* 基础样式与变量 */
:root {
    --primary-color: #F0B90B;
    --secondary-color: #121212;
    --accent-color: #FF9332;
    --text-light: #FFFFFF;
    --text-dark: #121212;
    --text-gray: #6B7280;
    --bg-light: #F8F9FA;
    --bg-dark: #121212;
    --bg-gradient: linear-gradient(135deg, #121212 0%, #1E1E1E 100%);
    --card-bg: #FFFFFF;
    --shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    --radius: 12px;
}

/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB',
    'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* 标题样式 */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5em;
}

.section-title {
    text-align: center;
    font-size: 2.4rem;
    margin-bottom: 0.5em;
    position: relative;
}

.section-description {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 3rem;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* 头部导航 */
header {
    background-color: rgba(255, 255, 255, 0.95);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 20px;
}

.logo-container a {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.3rem;
}

.logo-container img {
    height: 42px;
    width: auto;
    margin-right: 10px;
}

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

.main-nav {
    display: flex;
    gap: 1.5rem;
}

.main-nav li a {
    position: relative;
    font-weight: 500;
}

.main-nav li a:hover {
    color: var(--primary-color);
}

.main-nav li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.main-nav li a:hover::after {
    width: 100%;
}

.language-toggle a {
    display: flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    background-color: var(--primary-color);
    color: var(--text-dark);
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.9rem;
}

.menu-button {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
}

.bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-dark);
    transition: all 0.3s ease;
}

/* 横幅部分 */
.banner {
    background: var(--bg-gradient);
    color: var(--text-light);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.banner::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--primary-color);
    opacity: 0.1;
    z-index: 1;
}

.banner::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: var(--primary-color);
    opacity: 0.05;
    z-index: 1;
}

.banner .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 10;
}

.banner-content {
    max-width: 50%;
}

.banner-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, #FFFFFF, #F0B90B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.banner-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.sub-heading {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 1rem 0 2rem;
    color: var(--primary-color);
}

.banner-buttons {
    display: flex;
    gap: 1rem;
}

.banner-image {
    width: 45%;
    animation: float 6s ease-in-out infinite;
}

.device-svg {
    width: 100%;
    height: auto;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* 按钮样式 */
.download-button, 
.primary-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--primary-color);
    color: var(--text-dark);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(240, 185, 11, 0.3);
}

.download-button:hover, 
.primary-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(240, 185, 11, 0.5);
}

.secondary-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: transparent;
    color: var(--text-light);
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
}

.secondary-button:hover {
    background-color: rgba(240, 185, 11, 0.1);
    transform: translateY(-3px);
}

/* 介绍部分 */
.intro-section {
    padding: 6rem 0;
    background-color: var(--bg-light);
}

.intro-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.intro-card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
}

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

.intro-card .icon {
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(240, 185, 11, 0.1);
    margin: 0 auto 1.5rem;
}

.intro-card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.intro-card p {
    color: var(--text-gray);
}

/* 下载部分 */
.download-section {
    padding: 6rem 0;
    background-color: #F8F9FA;
    position: relative;
    overflow: hidden;
}

.download-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background-color: rgba(240, 185, 11, 0.05);
    border-radius: 50%;
    transform: translate(150px, -150px);
}

.download-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.download-card {
    background-color: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.download-card-content {
    padding: 2rem;
    flex-grow: 1;
}

.download-card h3 {
    color: var(--text-dark);
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.app-description {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.feature-list {
    margin-bottom: 1.5rem;
}

.feature-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-gray);
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.download-button-container {
    padding: 1.5rem 2rem;
    background-color: var(--bg-light);
    display: flex;
    justify-content: center;
}

.app-download-button {
    transition: all 0.3s ease;
    display: inline-block;
}

.app-download-button:hover {
    transform: translateY(-5px);
}

/* 特性部分 */
.features-section {
    padding: 6rem 0;
    background-color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    border-radius: var(--radius);
    transition: all 0.3s ease;
    position: relative;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--radius);
    background-color: var(--card-bg);
    box-shadow: var(--shadow);
    z-index: -1;
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0.9);
}

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

.feature-icon {
    margin: 0 auto 1.5rem;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(240, 185, 11, 0.1);
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    background-color: rgba(240, 185, 11, 0.2);
}

.feature-item h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-item p {
    color: var(--text-gray);
}

/* 关于我们 */
.about-section {
    padding: 6rem 0;
    background-color: var(--bg-light);
    position: relative;
}

.about-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(0deg, rgba(240, 185, 11, 0.05) 0%, rgba(240, 185, 11, 0) 100%);
    z-index: 0;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

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

/* 页脚 */
footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
}

.footer-logo img {
    width: 60px;
    height: auto;
    margin-bottom: 1rem;
}

.footer-logo p {
    opacity: 0.8;
}

.footer-links {
    display: flex;
    flex: 2;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-links-column {
    min-width: 150px;
}

.footer-links-column h4 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.footer-links-column ul li {
    margin-bottom: 0.8rem;
}

.footer-links-column ul li a {
    opacity: 0.7;
    transition: all 0.3s ease;
}

.footer-links-column ul li a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

.footer-bottom p {
    opacity: 0.7;
}

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

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

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

/* 响应式设计 */
@media (max-width: 992px) {
    .section-title {
        font-size: 2rem;
    }
    
    .banner-content h1 {
        font-size: 2.5rem;
    }
    
    .download-cards {
        grid-template-columns: 1fr;
    }
    
    .banner .container {
        flex-direction: column;
    }
    
    .banner-content {
        max-width: 100%;
        text-align: center;
        margin-bottom: 3rem;
    }
    
    .banner-buttons {
        justify-content: center;
    }
    
    .banner-image {
        width: 80%;
    }
}

@media (max-width: 768px) {
    .menu-button {
        display: flex;
    }
    
    .menu-button.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .menu-button.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu-button.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: white;
        text-align: center;
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.3s ease;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        padding: 1.5rem 0;
        gap: 1rem;
        visibility: hidden;
    }
    
    .main-nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-logo {
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }
    
    .intro-cards,
    .features-grid {
        grid-template-columns: 1fr;
    }
}
