/* Global Styles */
:root {
    --primary-color: #FFC800;
    --secondary-color: #33CCAA;
    --accent-color: #7B68EE;
    --text-color: #222222;
    --light-text: #FFFFFF;
    --background-color: #F9F9F9;
    --card-bg: #FFFFFF;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}

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

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: var(--text-color);
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: var(--shadow);
    text-align: center;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.btn span {
    display: block;
    font-size: 0.8rem;
    font-weight: normal;
}

.app-buttons {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.app-store, .google-play {
    min-width: 150px;
}

.app-store {
    background-color: var(--text-color);
    color: var(--light-text);
}

.google-play {
    background-color: var(--light-text);
    color: var(--text-color);
    border: 1px solid var(--text-color);
}

/* Navigation Bar Styles */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.logo img {
    height: 40px;
    border-radius: 10px;
}

nav ul {
    display: flex;
    gap: 30px;
}

nav ul li a {
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--accent-color);
}

/* Main Area Styles */
main {
    margin-top: 70px;
}

/* Hero Area Styles */
.hero {
    display: flex;
    align-items: center;
    padding: 100px 5% 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #FFD84D 100%);
    min-height: calc(100vh - 70px);
}

.hero-content {
    flex: 1;
    max-width: 600px;
    padding-right: 40px;
}

.hero-content p {
    font-size: 1.1rem;
    margin: 20px 0;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-width: 80%;
    border-radius: 30px;
    box-shadow: var(--shadow);
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.2));
    transition: transform 0.5s;
}

.hero-image img:hover {
    transform: translateY(-10px);
}

/* Features Area Styles - Grid Layout */
.features {
    padding: 100px 5% 120px;
    background-color: var(--background-color);
    text-align: center;
}

.features-wheel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 400px);
    gap: 40px;
    width: 100%;
    max-width: 1200px;
    margin: 60px auto 0;
}

.feature-card {
    position: relative;
    width: 100%;
    height: 100%;
    perspective: 1000px;
    margin: 0;
}

.feature-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.feature-card:hover .feature-card-inner {
    transform: rotateY(180deg);
}

.feature-front, .feature-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-front {
    background-color: var(--card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-back {
    background-color: var(--card-bg);
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    text-align: center;
}

.feature-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.feature-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 15px;
    font-weight: 600;
    font-size: 1.2rem;
}

.feature-content h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.feature-content p {
    font-size: 1rem;
    line-height: 1.6;
}

/* 清除所有卡片的特殊定位和变换 */
.card-1, .card-2, .card-3, .card-4, .card-5, .card-6 {
    transform: none !important;
}

/* About Area Styles */
.about {
    padding: 80px 5%;
    background-color: var(--card-bg);
    text-align: center;
}

.benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.benefit {
    background-color: var(--background-color);
    padding: 30px 25px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.benefit:hover {
    transform: translateY(-10px);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.about-summary {
    max-width: 800px;
    margin: 40px auto 0;
    font-size: 1.2rem;
    font-weight: 500;
}

/* Download Area Styles */
.download {
    padding: 80px 5%;
    background: linear-gradient(135deg, #FFC800 0%, #FFD84D 100%);
    text-align: center;
}

.download .app-buttons {
    justify-content: center;
}

/* Contact Area Styles */
.contact {
    padding: 80px 5%;
    background-color: var(--background-color);
    text-align: center;
}

.contact-info {
    margin-top: 30px;
}

.email-link {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-color);
    padding: 15px 30px;
    background-color: var(--card-bg);
    border-radius: 50px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.email-link:hover {
    background-color: var(--accent-color);
    color: var(--light-text);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Footer Styles */
footer {
    background-color: var(--text-color);
    color: var(--light-text);
    padding: 40px 5%;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 50px;
    filter: brightness(2);
    border-radius: 12px;
}

.footer-links {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
}

.footer-links a {
    transition: color 0.3s;
}

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

.copyright {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .features-wheel {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 400px);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        padding: 80px 5% 50px;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
        max-width: 100%;
        text-align: center;
    }
    
    .app-buttons {
        justify-content: center;
    }
    
    .features-wheel {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(6, 350px);
        gap: 30px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    .app-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    nav {
        padding: 15px 4%;
    }
    
    .logo img {
        height: 35px;
        border-radius: 8px;
    }
    
    nav ul {
        gap: 12px;
        font-size: 0.9rem;
    }
    
    .features-wheel {
        grid-template-rows: repeat(6, 300px);
        gap: 25px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .email-link {
        font-size: 1.2rem;
        padding: 12px 24px;
    }
}