/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1e2846;
    --secondary-color: #f9d276;
    --accent-color: #4a5568;
    --text-color: #333;
    --light-bg: #f7fafc;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.nav-icon {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    border-radius: 8px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

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

/* Language Toggle Button */
.lang-toggle {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    margin-left: 1rem;
    transition: all 0.3s;
}

.lang-toggle:hover {
    background: #2d3954;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.hero-content h2 {
    font-size: 1.8rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-weight: normal;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    line-height: 1.8;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn .icon {
    width: 20px;
    height: 20px;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: #2d3954;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 40, 70, 0.3);
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
}

.hero-image img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
}

/* App Mockup Styles */
.app-mockup {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 500px;
}

.phone-frame {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 40px;
    padding: 60px 40px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    text-align: center;
    color: white;
}

.app-icon-display {
    width: 120px;
    height: 120px;
    border-radius: 25px;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.phone-frame h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.phone-frame p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--white);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

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

.feature-card {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-color);
    line-height: 1.6;
}

/* Screenshots Section */
.screenshots {
    padding: 80px 0;
    background: var(--light-bg);
}

.screenshots-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    align-items: start;
}

.screenshot {
    text-align: center;
}

.screenshot img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.screenshot img:hover {
    transform: scale(1.05);
}

.screenshot-image {
    width: 100%;
    max-width: 280px;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.screenshot-image:hover {
    transform: scale(1.05);
}

.screenshot p {
    margin-top: 1rem;
    color: var(--text-color);
    font-weight: 500;
}

/* Screenshot Placeholders */
.screenshot-placeholder {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 20px;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.screenshot-placeholder .feature-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.screenshot-placeholder h4 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* Download Section */
.download {
    padding: 80px 0;
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.download .section-title {
    color: var(--white);
}

.download-subtitle {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.download-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}

.download-btn img {
    height: 60px;
    transition: transform 0.3s;
}

.download-btn:hover img {
    transform: scale(1.05);
}

.qr-code {
    text-align: center;
}

.qr-code img {
    width: 150px;
    height: 150px;
    background: var(--white);
    padding: 10px;
    border-radius: 12px;
}

.qr-code p {
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

/* QR Placeholder */
.qr-placeholder {
    width: 150px;
    height: 150px;
    background: var(--white);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
}

.qr-placeholder .feature-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.qr-placeholder p {
    margin: 0;
    font-weight: 600;
}

/* App Store Button */
.app-store-icon {
    width: 180px;
    height: 60px;
    transition: transform 0.3s;
}

.app-store-btn:hover .app-store-icon {
    transform: scale(1.05);
}

/* Footer */
.footer {
    background: #1a202c;
    color: var(--white);
    padding: 60px 0 20px;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-section a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-image {
        margin-top: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .download-buttons {
        flex-direction: column;
    }
}