:root {
    --main-blue: #2563eb;
    --main-black: #111;
    --main-gray: #f5f6fa;
    --main-border: #e5e5e7;
    --text-main: #18181b;
    --text-secondary: #666;
    --white: #fff;
}

html, body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', Arial, sans-serif;
    font-size: 18px;
    color: var(--text-main);
    background: #fff;
    position: relative;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
body::before {
    content: '';
    position: fixed;
    left: 0; top: 0; right: 0; bottom: 0;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(120deg, rgba(37,99,235,0.06) 0%, rgba(236,72,153,0.06) 100%);
    background-size: 200% 200%;
    animation: bgmove 18s linear infinite;
}
@keyframes bgmove {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

body {
    width: 100vw;
}

.navbar {
    width: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--main-border);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    position: sticky;
    top: 0;
    z-index: 10;
    box-sizing: border-box;
}

.navbar-content {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
}

.nav-left {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.nav-logo {
    height: 40px !important;
    min-height: 0 !important;
    max-height: 40px !important;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.nav-logo img {
    height: 100% !important;
    width: auto !important;
    max-height: 100% !important;
    min-height: 0 !important;
    display: block;
}

.nav-logo a {
    height: 50%;
    display: flex;
    align-items: center;
}

.nav-center {
    flex: 1 1 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 36px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.08rem;
    letter-spacing: 0.01em;
    transition: color 0.18s;
    position: relative;
    padding: 4px 0;
}

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

.lang-switch {
    display: flex;
    gap: 10px;
}

.lang-btn {
    background: none !important;
    border: none !important;
    color: var(--text-main) !important;
    font-weight: 600;
    font-size: 1rem;
    padding: 0 8px;
    cursor: pointer;
    border-radius: 0;
    box-shadow: none;
    transition: color 0.18s;
    outline: none;
}

.lang-btn.active {
    color: var(--main-blue) !important;
    text-decoration: underline;
}

.lang-switch-ios {
    display: flex;
    background: #f4f6fa;
    border-radius: 999px;
    padding: 3px 4px;
    box-shadow: 0 1px 4px rgba(37,99,235,0.04);
    gap: 2px;
}
.lang-btn-ios {
    border: none;
    background: transparent;
    color: var(--main-blue);
    font-weight: 600;
    font-size: 1rem;
    padding: 6px 18px;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.18s, color 0.18s;
    outline: none;
}
.lang-btn-ios.active {
    background: var(--main-blue);
    color: #fff;
}
.lang-btn-ios:hover:not(.active) {
    background: #e5eaff;
}

.hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    padding: 100px 0 80px 0;
    background: var(--white);
    box-sizing: border-box;
    position: relative;
    gap: 32px;
}

.hero-content, .hero-image {
    padding: 0 8px;
}

.hero-content {
    flex: 1 1 480px;
    max-width: 540px;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--main-black);
    line-height: 1.08;
    letter-spacing: -0.01em;
}

.hero-content h2 {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
    font-weight: 400;
}

.cta-btn {
    background: var(--main-blue);
    color: #fff;
    border: none;
    border-radius: 24px;
    padding: 14px 44px;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.18s, transform 0.18s;
    text-decoration: none;
    display: inline-block;
    box-shadow: none;
}

.cta-btn:hover {
    background: #1741a6;
    transform: translateY(-2px) scale(1.03);
}

.hero-image {
    flex: 1 1 50%;
    min-width: 300px;
    text-align: center;
}

.static-container {
    width: 60%;
    max-width: 420px;
    margin: 0 auto;
    position: relative;
    
    height: 0;
    padding-bottom: 133.33%;
}

.static-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(8px);
    opacity: 0;
    transition: opacity 0.4s ease-in-out, filter 0.4s ease-in-out;
}

.static-img.active {
    opacity: 1;
}

.static-img.loaded {
    filter: none;
}

.image-controls {
    margin-top: 24px;
}

.img-arrow {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin: 0 10px;
    background-color: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.img-arrow:hover {
    transform: scale(1.1);
    background-color: rgba(255, 255, 255, 0.7);
}
.img-arrow svg {
    color: #000;
    width: 24px;
    height: 24px;
}

.carousel-container, .carousel-track, .carousel-img, .carousel-fade {
    display: none !important;
}

.features-section {
    width: 100%;
    background: var(--white);
    padding: 90px 0 70px 0;
    box-sizing: border-box;
    position: relative;
    border-radius: 0;
    margin-top: 60px;
    box-shadow: none;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--main-black);
    margin-bottom: 56px;
    letter-spacing: 0.01em;
    position: relative;
    z-index: 1;
}

.features {
    display: flex;
    flex-wrap: wrap;
    gap: 36px;
    justify-content: center;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.feature {
    flex: 1 1 220px;
    background: var(--main-gray);
    border-radius: 18px;
    padding: 38px 24px;
    border: 1px solid var(--main-border);
    text-align: center;
    box-shadow: none;
    transition: background 0.18s, border 0.18s, transform 0.18s;
    min-width: 180px;
}

.feature:hover {
    background: #e9eafd;
    border-color: var(--main-blue);
    transform: translateY(-4px) scale(1.02);
}

.feature-icon {
    font-size: 2.1rem;
    margin-bottom: 18px;
    color: var(--main-blue);
}

.feature-title {
    font-size: 1.08rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--main-black);
    letter-spacing: 0.5px;
}

.feature-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

.footer {
    width: 100%;
    background: var(--white);
    border-top: 1px solid var(--main-border);
    padding: 60px 0 24px 0;
    margin-top: 0;
    box-sizing: border-box;
    border-radius: 0;
    box-shadow: none;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
}

.footer-logo {
    height: 32px;
    width: auto;
}

.footer-logo img {
    height: 50%;
    width: auto;
    display: block;
}

.footer-links {
    display: flex;
    gap: 28px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.18s;
    font-weight: 500;
}

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

.footer-copy {
    color: var(--text-secondary);
    font-size: 0.98rem;
    margin-top: 18px;
    flex-basis: 100%;
    text-align: center;
    letter-spacing: 0.01em;
}

@media (max-width: 1280px) {
    .navbar-content {
        padding: 0 16px;
    }
    .hero-content, .hero-image {
        padding: 0 16px;
    }
}
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        gap: 18px;
        padding: 60px 0 40px 0;
    }
    .hero-content, .hero-image {
        padding: 0 2vw;
    }
    .navbar-content {
        padding: 0 8px;
    }
    .nav-links {
        gap: 14px;
    }
}
@media (max-width: 600px) {
    .navbar-content {
        padding: 0 4px;
    }
    .nav-links {
        gap: 6px;
    }
    .hero-content h1 {
        font-size: 2.1rem;
    }
    .section-title {
        font-size: 1.2rem;
    }
    .feature {
        padding: 18px 4px;
    }
}

.hero-inner {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    box-sizing: border-box;
}
.hero-image.carousel-container {
    max-width: 500px;
}
@media (max-width: 1100px) {
    .hero-inner {
        flex-direction: column;
        gap: 18px;
        padding: 0 2vw;
    }
    .hero-content, .hero-image {
        padding: 0;
    }
}

.user-message {
    max-width: 700px;
    margin: 0 auto;
    border-radius: 24px;
    box-shadow: 0 2px 12px rgba(37,99,235,0.04);
    padding: 48px 32px 40px 32px;
    text-align: center;
}
.user-message-content p {
    font-size: 1.25rem;
    color: #333;
    line-height: 2.1;
    font-weight: 500;
    letter-spacing: 0.01em;
    margin: 0;
    white-space: pre-line;
}
.user-message-content p[data-en] {
    font-family: 'Alexandria', 'Helvetica Neue', Arial, sans-serif;
}
.user-message-content p[data-zh] {
    font-family: 'PingFang SC', 'Microsoft YaHei', 'Source Han Sans', 'Helvetica Neue', Arial, sans-serif;
}
@media (max-width: 600px) {
    .user-message {
        padding: 24px 8px 20px 8px;
        border-radius: 12px;
    }
    .user-message-content p {
        font-size: 1.05rem;
    }
}