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

:root {
    --primary-color: #4CAF50;
    --primary-dark: #45a049;
    --secondary-color: #2196F3;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f5f5f5;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
}

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

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

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-color);
}

.logo-icon {
    font-size: 24px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

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

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

.btn-download-nav {
    background: var(--primary-color);
    color: white !important;
    padding: 8px 20px;
    border-radius: 20px;
    transition: background 0.3s ease;
}

.btn-download-nav:hover {
    background: var(--primary-dark);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hero区域 */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.sky {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to bottom, #87CEEB 0%, #E0F6FF 50%, #ffffff 100%);
    overflow: hidden;
}

.sky::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 100px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    top: 20%;
    left: 10%;
    box-shadow: 
        300px 50px 0 rgba(255, 255, 255, 0.6),
        150px 150px 0 rgba(255, 255, 255, 0.4),
        450px 100px 0 rgba(255, 255, 255, 0.5);
}

.cityscape {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30%;
    background: linear-gradient(to top, #1E88E5 0%, #64B5F6 30%, #BBDEFB 60%, #E3F2FD 100%);
    clip-path: polygon(0 40%, 10% 30%, 20% 50%, 30% 20%, 40% 60%, 50% 10%, 60% 70%, 70% 25%, 80% 55%, 90% 35%, 100% 45%, 100% 100%, 0 100%);
}

.hero-content {
    text-align: center;
    z-index: 1;
    animation: fadeInUp 1s ease;
}

.hero-icon {
    margin-bottom: 30px;
    animation: float 3s ease-in-out infinite;
}

.speech-bubble {
    width: 120px;
    height: 100px;
    background: var(--primary-color);
    border-radius: 20px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(76, 175, 80, 0.3);
}

.speech-bubble::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 30px;
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 15px solid var(--primary-color);
}

.sound-waves {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 50px;
}

.wave-bar {
    width: 6px;
    background: #2E7D32;
    border-radius: 3px;
    animation: wave 1.5s ease-in-out infinite;
}

.wave-bar:nth-child(1) { height: 20px; animation-delay: 0s; }
.wave-bar:nth-child(2) { height: 35px; animation-delay: 0.1s; }
.wave-bar:nth-child(3) { height: 50px; animation-delay: 0.2s; }
.wave-bar:nth-child(4) { height: 35px; animation-delay: 0.3s; }
.wave-bar:nth-child(5) { height: 20px; animation-delay: 0.4s; }

@keyframes wave {
    0%, 100% { transform: scaleY(0.5); }
    50% { transform: scaleY(1); }
}

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 48px;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

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

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

/* 功能介绍 */
.features {
    padding: 100px 0;
    background: var(--white);
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 60px;
    color: var(--text-dark);
}

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

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

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

/* 特色功能 */
.highlights {
    padding: 100px 0;
    background: var(--bg-light);
}

.highlights-content {
    max-width: 900px;
    margin: 0 auto;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 60px;
}

.highlight-item.reverse {
    flex-direction: row-reverse;
}

.highlight-image {
    flex: 1;
    text-align: center;
}

.music-icon, .ai-icon {
    font-size: 80px;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.highlight-text {
    flex: 1;
}

.highlight-text h3 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.highlight-text p {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.8;
}

/* 应用截图 */
.screenshots {
    padding: 100px 0;
    background: var(--white);
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.screenshot-item {
    text-align: center;
}

.phone-frame {
    width: 280px;
    height: 560px;
    background: #1a1a1a;
    border-radius: 30px;
    padding: 10px;
    margin: 0 auto 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 25px;
    overflow: hidden;
    position: relative;
}

.phone-screen .img {
    width: 100%;
    height: 100%;
    /* object-fit: contain; */
    display: block;
}

.map-screen {
    background: linear-gradient(to bottom, #E8F5E9 0%, #C8E6C9 100%);
}

.map-header {
    background: white;
    padding: 15px;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.map-content {
    position: relative;
    height: calc(100% - 50px);
    padding: 20px;
}

.location-marker {
    position: absolute;
    background: rgba(156, 39, 176, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 15px;
    font-size: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.marker-1 { top: 20%; left: 30%; }
.marker-2 { top: 50%; left: 60%; }
.marker-3 { top: 70%; left: 20%; }

.chat-screen {
    background: #f5f5f5;
    display: flex;
    flex-direction: column;
    padding: 20px;
    gap: 15px;
}

.chat-message {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-message.incoming {
    justify-content: flex-start;
}

.chat-message.outgoing {
    justify-content: flex-end;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.message-bubble {
    background: white;
    padding: 12px 20px;
    border-radius: 18px;
    font-size: 14px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.chat-message.outgoing .message-bubble {
    background: #4CAF50;
    color: white;
}

.chat-input {
    margin-top: auto;
    padding-top: 20px;
}

.record-button {
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f, #c44569);
    color: white;
    padding: 20px;
    border-radius: 50%;
    text-align: center;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

.screenshot-item p {
    font-size: 18px;
    color: var(--text-light);
    margin-top: 15px;
}

/* 下载区域 */
.download {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-align: center;
}

.download .section-title {
    color: white;
}

.download-subtitle {
    font-size: 20px;
    margin-bottom: 50px;
    opacity: 0.9;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    background: white;
    color: var(--text-dark);
    padding: 20px 30px;
    border-radius: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    min-width: 200px;
}

.download-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.download-icon {
    font-size: 32px;
}

.download-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.download-label {
    font-weight: bold;
    font-size: 18px;
}

.download-desc {
    font-size: 14px;
    color: var(--text-light);
}

/* 页脚 */
.footer {
    background: #2c3e50;
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: bold;
}

.footer-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    color: rgba(255, 255, 255, 0.8);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-title {
    font-weight: 600;
    color: white;
}

.contact-email {
    font-size: 0.9em;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
               width: 100%;
        background: white;
        flex-direction: column;
        padding: 30px 0;
        box-shadow: var(--shadow);
        transition: left 0.3s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .highlight-item {
        flex-direction: column !important;
        text-align: center;
    }

    .highlight-item.reverse {
        flex-direction: column !important;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .screenshots-grid {
        grid-template-columns: 1fr;
    }

    .phone-frame {
        width: 240px;
        height: 480px;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .download-btn {
        width: 100%;
        max-width: 300px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
}
