/* 基础样式 */
:root {
    --primary-color: #0071e3;
    --text-color: #1d1d1f;
    --light-text: #86868b;
    --background-color: #ffffff;
    --section-bg: #fbfbfd;
    --border-color: #d2d2d7;
    --transition: all 0.3s ease;
}

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

body {
    font-family: "SF Pro Display", "SF Pro Icons", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.5;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    opacity: 0.8;
}

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

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
}

h1 {
    font-size: 48px;
    line-height: 1.1;
    letter-spacing: -0.015em;
}

h2 {
    font-size: 40px;
    text-align: center;
    margin-bottom: 40px;
}

h3 {
    font-size: 32px;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

section {
    padding: 100px 20px;
}

.hidden {
    display: none;
}

/* 导航栏 */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 24px;
    font-weight: 600;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 400;
    font-size: 14px;
}

/* 英雄区域 */
.hero {
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: url('../images/hero-bg.jpg') no-repeat center center;
    background-size: cover;
    color: white;
    padding: 0 20px;
}

.subtitle {
    font-size: 24px;
    margin: 20px 0 40px;
    max-width: 600px;
}

.cta-button {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 980px;
    font-size: 18px;
    font-weight: 500;
    transition: var(--transition);
}

.cta-button:hover {
    background-color: #0062cc;
    transform: scale(1.02);
    opacity: 1;
}

/* 功能区域 */
.features {
    background-color: var(--section-bg);
    padding: 100px 20px;
}

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

.feature-card {
    background-color: var(--background-color);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

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

.feature-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.feature-card h3 {
    margin: 20px 20px 10px;
    font-size: 24px;
}

.feature-card p {
    margin: 10px 20px 20px;
    color: var(--light-text);
}

.learn-more {
    display: block;
    margin: 0 20px 20px;
    font-size: 14px;
}

.feature-details {
    padding: 0 20px 20px;
    background-color: #f5f5f7;
    border-top: 1px solid var(--border-color);
}

.feature-details p {
    margin: 20px 0;
    font-size: 14px;
}

/* 识别能力区域 */
.recognition {
    background-color: var(--background-color);
    padding: 100px 20px;
}

.recognition-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    font-size: 20px;
    color: var(--light-text);
}

.recognition-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.recognition-card {
    background-color: var(--section-bg);
    border-radius: 18px;
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

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

.recognition-icon {
    margin: 0 auto 20px;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--background-color);
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.recognition-icon img {
    width: 40px;
    height: 40px;
}

/* 技术部分 */
.technology {
    background-color: var(--section-bg);
    padding: 100px 20px;
}

.tech-showcase {
    display: flex;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.tech-content {
    flex: 1;
}

.tech-content h3 {
    font-size: 36px;
    margin-bottom: 30px;
    line-height: 1.2;
}

.tech-content p {
    font-size: 18px;
    margin-bottom: 40px;
    color: var(--light-text);
    line-height: 1.6;
}

.explore-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 980px;
    font-size: 16px;
    font-weight: 500;
    transition: var(--transition);
}

.explore-button:hover {
    background-color: #0062cc;
    transform: scale(1.02);
    opacity: 1;
}

.tech-image {
    flex: 1;
}

.tech-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* 下载区域 */
.download {
    background-color: var(--section-bg);
    padding: 100px 20px;
}

.download-options {
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.download-header {
    text-align: center;
    margin-bottom: 50px;
}

.download-header h3 {
    font-size: 32px;
    margin-bottom: 15px;
    background: linear-gradient(90deg, #0071e3, #42a1ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.download-subtitle {
    font-size: 18px;
    color: var(--light-text);
    max-width: 600px;
    margin: 0 auto;
}

.download-content {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 60px;
}

.device-preview {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.device-preview img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.device-preview img:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.15);
}

.download-qrcodes {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.qrcode-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    width: 100%;
    max-width: 300px;
}

.qrcode-tab {
    flex: 1;
    padding: 10px 15px;
    border: none;
    background-color: var(--section-bg);
    border-radius: 30px;
    color: var(--light-text);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.qrcode-tab:hover {
    background-color: rgba(0, 113, 227, 0.1);
}

.qrcode-tab.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.qrcode-displays {
    width: 100%;
    position: relative;
}

.qrcode-display {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.qrcode-display.active {
    display: flex;
    opacity: 1;
}

.qrcode-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.qrcode-container img {
    width: 180px;
    height: 180px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    padding: 10px;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

.app-stores {
    display: flex;
    gap: 20px;
    margin: 10px 0;
    align-items: center;
}

.store-button {
    display: inline-block;
    transition: var(--transition);
    padding: 5px;
    border-radius: 8px;
    background: transparent;
}

.store-button:hover {
    transform: scale(1.05);
    opacity: 0.9;
    background: rgba(0, 0, 0, 0.05);
}

.store-button img {
    display: block;
    height: 50px;
    width: auto;
    max-width: none;
    object-fit: contain;
    vertical-align: middle;
}

.apple img {
    height: 50px;
    width: auto;
}

.android img {
    height: 50px;
    width: auto;
    margin-top: 0px;
    transform: scale(1);
}

.download-divider {
    width: 100%;
    height: 1px;
    background-color: var(--border-color);
    margin: 30px 0;
}

.membership-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
}

.subscription-plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 20px;
}

.plan-card {
    background: var(--background-color);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

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

.plan-card.popular {
    border: 2px solid var(--primary-color);
}

.popular-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.plan-card h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.price {
    font-size: 36px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 20px;
}

.plan-features {
    list-style: none;
    margin: 20px 0;
    text-align: left;
}

.plan-features li {
    margin: 10px 0;
    color: var(--light-text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.plan-features li::before {
    content: "✓";
    color: var(--primary-color);
    font-weight: bold;
}

.subscribe-button {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 980px;
    font-size: 16px;
    font-weight: 500;
    transition: var(--transition);
    margin-top: 20px;
}

.subscribe-button:hover {
    background: #0062cc;
    transform: scale(1.02);
    opacity: 1;
}

/* 支持区域 */
.support {
    background-color: var(--background-color);
    padding: 100px 20px;
}

.support-content {
    display: flex;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.support-card {
    flex: 1;
    background-color: var(--section-bg);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

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

.support-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.support-card h3 {
    margin: 20px 20px 10px;
    font-size: 24px;
}

.support-card p {
    margin: 10px 20px 20px;
    color: var(--light-text);
}

.support-link {
    display: block;
    margin: 0 20px 20px;
    font-size: 14px;
    font-weight: 500;
}

.support-email {
    margin: 20px 20px;
    padding: 10px 15px;
    background-color: rgba(0, 113, 227, 0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

.email-label {
    font-weight: 500;
    color: var(--text-color);
}

.support-email a {
    color: var(--primary-color);
    font-weight: 500;
}

.support-email a:hover {
    text-decoration: underline;
    opacity: 1;
}

/* 页脚 */
footer {
    background-color: var(--section-bg);
    padding: 60px 20px;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin: 40px 0;
    text-align: left;
}

.footer-column {
    min-width: 160px;
}

.footer-column h5 {
    font-size: 14px;
    margin-bottom: 20px;
    color: var(--text-color);
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-column a {
    color: var(--light-text);
    font-size: 14px;
}

.footer-column a:hover {
    color: var(--text-color);
}

.copyright {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--light-text);
    font-size: 14px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.language-selector select {
    background-color: transparent;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 5px 10px;
    color: var(--light-text);
    font-size: 14px;
}

/* 新会员套餐样式 */
.membership-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 20px;
    background-color: var(--background-color);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.membership-benefits {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}

.membership-benefits h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.benefits-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.benefits-list li {
    color: var(--light-text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.benefits-list li::before {
    content: "✓";
    color: var(--primary-color);
    font-weight: bold;
}

.membership-options {
    display: flex;
    gap: 20px;
    justify-content: space-between;
}

.option-card {
    flex: 1;
    padding: 20px;
    border-radius: 12px;
    background-color: var(--section-bg);
    text-align: center;
    position: relative;
    transition: var(--transition);
    border: 1px solid transparent;
}

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

.option-card h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.option-card .price {
    font-size: 32px;
    font-weight: 600;
    color: var(--text-color);
    margin: 15px 0 5px;
}

.price-note {
    color: var(--light-text);
    font-size: 14px;
    margin-bottom: 5px;
}

.price-compare {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
}

.recommended {
    border-color: var(--primary-color);
    box-shadow: 0 5px 20px rgba(0, 113, 227, 0.15);
    background-color: rgba(0, 113, 227, 0.05);
}

.recommended-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

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

.subscribe-button {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 980px;
    font-size: 16px;
    font-weight: 500;
    transition: var(--transition);
    width: 100%;
}

.subscribe-button:hover {
    background: #0062cc;
    transform: scale(1.05);
    opacity: 1;
}

/* 媒体查询 */
@media (max-width: 768px) {
    .membership-options {
        flex-direction: column;
    }
    
    .membership-container {
        padding: 20px;
    }
    
    .benefits-list {
        grid-template-columns: 1fr;
    }
}