/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 暖色调色板 (Cute & Warm) */
    --primary-color: #FFB347;
    /* Soft Orange */
    --primary-dark: #FF9E2C;
    --secondary-color: #8D6E63;
    /* Warm Brown */
    --accent-color: #4DB6AC;
    /* Soft Teal */
    --bg-cream: #FFFDF5;
    /* Cream Background */
    --bg-white: #FFFFFF;

    --text-primary: #5D4037;
    /* Dark Brown for text */
    --text-secondary: #8D6E63;
    /* Lighter Brown */

    --shadow-soft: 0 10px 30px rgba(141, 110, 99, 0.1);
    --shadow-hover: 0 20px 40px rgba(141, 110, 99, 0.15);

    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 9999px;

    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', 'Zcool KuaiLe', sans-serif;
    background-color: var(--bg-cream);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 253, 245, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.logo-img {
    width: 45px;
    height: 45px;
    border-radius: 12px;
}

.logo-text {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    position: relative;
}

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

.nav-lang-switch {
    display: flex;
    gap: 0.5rem;
    background: #FFF;
    padding: 0.3rem;
    border-radius: var(--radius-full);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.lang-btn {
    border: none;
    background: none;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding-top: 100px;
    /* Nav height + spacing */
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background-blobs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.6;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: #FFE082;
    top: -100px;
    right: -100px;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background: #FFCCBC;
    bottom: 10%;
    left: -50px;
}

.blob-3 {
    width: 200px;
    height: 200px;
    background: #B2DFDB;
    top: 40%;
    right: 20%;
}

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

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-title {
    font-family: 'Nunito', sans-serif;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.title-main {
    display: block;
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}

.title-sub {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-full);
    font-weight: 800;
    font-size: 1.1rem;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 8px 20px rgba(255, 179, 71, 0.4);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(255, 179, 71, 0.5);
}

/* Phone Stack in Hero */
.hero-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    height: 600px;
    /* Adjust based on valid space */
    width: 100%;
}

.phone-stack {
    position: relative;
    width: 350px;
    /* Base width */
    height: 100%;
}

.phone-frame {
    position: absolute;
    border-radius: 30px;
    border: 8px solid #FFF;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    background: #000;
    transition: var(--transition);
    width: 250px;
    /* Fixed width for screenshots */
    height: auto;
}

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

.phone-zh {
    top: 50px;
    left: 0;
    z-index: 1;
    transform: rotate(-5deg);
}

.phone-en {
    top: 0;
    right: 0;
    z-index: 2;
    transform: rotate(5deg);
}

.phone-frame:hover {
    z-index: 10;
    transform: scale(1.05) rotate(0deg);
}

/* Features */
.features {
    padding: 8rem 0;
    background: transparent;
}

.features .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    justify-content: center;
}

.feature-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    text-align: center;
    border: 2px solid transparent;
}

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

.feature-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #FFF3E0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
}

.icon-mic {
    background: #E3F2FD;
    color: #2196F3;
}

.icon-trans {
    background: #E8F5E9;
    color: #4CAF50;
}

.icon-sound {
    background: #FFF3E0;
    color: #FF9800;
}

.icon-ui {
    background: #FCE4EC;
    color: #E91E63;
}

.feature-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-description {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Contact */
.contact {
    padding: 6rem 0;
}

.contact-card {
    background: #FFF;
    border-radius: var(--radius-xl);
    padding: 4rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
    max-width: 800px;
    margin: 0 auto;
}

.contact-email-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 2rem;
    background: #F3F4F6;
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
}

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

/* Footer */
.footer {
    background: #FFF;
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.footer .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

.footer-brand {
    text-align: left;
}

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

.footer-links-group a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

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

.footer-bottom {
    text-align: center;
    color: #CCC;
    border-top: 1px solid #EEE;
    padding-top: 2rem;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: flex;
        position: fixed;
        flex-direction: column;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        padding: 2rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        gap: 1.5rem;
    }

    .nav-menu.active {
        transform: translateY(0);
    }


    .nav-toggle {
        display: flex;
    }

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

    .hero-text {
        margin-bottom: 3rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .title-main {
        font-size: 2.5rem;
    }

    .phone-stack {
        width: 300px;
        height: 500px;
        margin: 0 auto;
    }

    .phone-frame {
        width: 200px;
    }

    .phone-zh {
        top: 20px;
        left: 20px;
    }

    .phone-en {
        top: 0px;
        right: 20px;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}