/* ===== CSS Variables ===== */
:root {
    /* 优化的配色方案 - 更现代简洁 */
    --primary-color: #5B4FE9;
    --secondary-color: #8B5CF6;
    --accent-color: #EC4899;
    --text-dark: #0F172A;
    --text-light: #64748B;
    --text-muted: #94A3B8;
    --bg-light: #F8FAFC;
    --bg-white: #ffffff;
    --bg-gradient: linear-gradient(135deg, #F3F4F6 0%, #FFFFFF 100%);
    --border-color: #E2E8F0;
    --border-light: #F1F5F9;
    --success-color: #10b981;
    --error-color: #ef4444;
    
    /* 更柔和的渐变 */
    --gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --gradient-soft: linear-gradient(135deg, rgba(91, 79, 233, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    
    /* 简化的阴影系统 */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1);
    --shadow-card: 0 2px 8px rgba(0,0,0,0.04);
    
    /* 增大圆角让界面更柔和 */
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
    
    /* 优化过渡效果 */
    --transition: all 0.2s ease;
    --transition-slow: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans SC', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--bg-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

a:focus,
button:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: var(--transition);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

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

.nav-menu a {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.2s ease;
}

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

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s;
}

.nav-menu a:hover::after {
    width: 100%;
}

.btn-nav {
    background: var(--primary-color);
    color: white !important;
    padding: 0.6rem 1.8rem;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 2px 4px rgba(91, 79, 233, 0.15);
}

.btn-nav:hover {
    background: var(--secondary-color);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(91, 79, 233, 0.25);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* ===== Language Switcher ===== */
.language-switcher {
    display: flex;
    gap: 4px;
    margin-left: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-sm);
    padding: 4px;
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-dark);
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    min-width: 35px;
}

.lang-btn:hover {
    background: rgba(91, 79, 233, 0.1);
    color: var(--primary-color);
}

.lang-btn.active {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 2px 8px rgba(91, 79, 233, 0.3);
}

.lang-btn.active:hover {
    background: var(--secondary-color);
    transform: translateY(-1px);
}

/* ===== Hero Section ===== */
.hero {
    padding: 140px 0 100px;
    background: linear-gradient(135deg, #5B4FE9 0%, #8B5CF6 100%);
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-content {
    text-align: center;
    color: white;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease 0.2s both;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.early-access-form-wrapper {
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.early-access-form {
    display: flex;
    justify-content: center;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto 1rem;
}

.email-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-lg);
}

.email-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.btn-primary {
    background: rgba(15, 23, 42, 0.9);
    color: white;
    padding: 0.9rem 2rem;
    border: none;
    border-radius: var(--border-radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background: var(--text-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-download {
    background: white;
    color: var(--primary-color);
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    display: inline-block;
    margin-top: 1.5rem;
    transition: var(--transition);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.btn-download:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.download-section {
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.download-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.download-icon {
    vertical-align: middle;
    margin-right: 0.5rem;
}

.btn-windows {
    background: #0078d4;
    color: white;
}

.btn-windows:hover {
    background: #106ebe;
}

.btn-macos {
    background: #000000;
    color: white;
}

.btn-macos:hover {
    background: #333333;
}

.download-note {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin-top: 1rem;
}

.form-note {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.feature-pills {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 2.5rem;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.pill {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.2rem;
    border-radius: 24px;
    font-size: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 500;
}

.hero-image {
    margin-top: 4rem;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.demo-window {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.window-header {
    background: #f3f4f6;
    padding: 12px;
    display: flex;
    gap: 8px;
}

.window-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.window-dot.red { background: #ef4444; }
.window-dot.yellow { background: #f59e0b; }
.window-dot.green { background: #10b981; }

.demo-img {
    width: 100%;
    display: block;
}

/* ===== Features Section ===== */
.features {
    padding: 100px 0;
    background: var(--bg-gradient);
}

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

.section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
    color: var(--text-dark);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-card);
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    border-color: var(--border-color);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.2rem;
    display: inline-block;
    background: var(--gradient-soft);
    padding: 0.8rem;
    border-radius: var(--border-radius);
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}



/* ===== How It Works Section ===== */
.how-it-works {
    padding: 100px 0;
    background: white;
}

.steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.step {
    flex: 1;
    text-align: center;
    padding: 1.5rem;
}

.step-number {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.2rem;
    background: var(--gradient-soft);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 600;
    border: 2px solid var(--primary-color);
}

.step h3 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.step p {
    color: var(--text-light);
}

.step-arrow {
    font-size: 2rem;
    color: var(--primary-color);
}

/* ===== Pricing Section ===== */
.pricing {
    padding: 100px 0;
    background: var(--bg-gradient);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    transition: var(--transition-slow);
    box-shadow: var(--shadow-card);
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(91, 79, 233, 0.15);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 0.75rem 2rem;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 0.35rem 1.2rem;
    border-radius: 24px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.price {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.price span {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: normal;
}

.pricing-card ul {
    margin-bottom: 2rem;
}

.pricing-card li {
    padding: 0.5rem 0;
    color: var(--text-light);
}

/* ===== CTA Section ===== */
.cta-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #5B4FE9 0%, #8B5CF6 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-content h2 {
    font-size: 2.4rem;
    margin-bottom: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-content .download-buttons {
    margin-bottom: 2rem;
}

.cta-content .btn-download {
    margin-top: 0;
}

.privacy-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.9;
}



/* ===== Footer ===== */
.footer {
    background: linear-gradient(180deg, #0F172A 0%, #1E293B 100%);
    color: white;
    padding: 80px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    opacity: 0.8;
}

.footer-links h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

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

.footer-links li {
    margin: 0.5rem 0;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    font-size: 0.95rem;
}

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

.footer-bottom {
    padding-top: 1rem;
    text-align: center;
    opacity: 0.6;
    font-size: 0.9rem;
}

/* ===== Modal ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    max-width: 400px;
    text-align: center;
    animation: slideDown 0.3s ease;
}

.modal-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.modal-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.modal-close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--background-color);
    color: var(--text-color);
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.modal-input {
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.modal-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

.modal-note {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
}

.btn-submit {
    position: relative;
}

.btn-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

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

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 65px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: 0.3s ease-in-out;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        padding: 2rem 0;
        border-top: 1px solid var(--border-light);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .language-switcher {
        position: absolute;
        right: 60px;
        top: 50%;
        transform: translateY(-50%);
        margin-left: 0;
        background: rgba(91, 79, 233, 0.05);
    }
    
    .lang-btn {
        padding: 4px 6px;
        font-size: 11px;
        min-width: 28px;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1.05rem;
        padding: 0 1rem;
    }
    
    .early-access-form {
        flex-direction: column;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .download-buttons .btn-download {
        width: 100%;
        text-align: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .use-cases-grid {
        grid-template-columns: 1fr;
    }
    
    .steps {
        flex-direction: column;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
    
    .pricing-cards {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-proof {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.9rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .feature-pills {
        justify-content: center;
    }
    
    .pill {
        font-size: 0.8rem;
        padding: 0.4rem 0.9rem;
    }
    
    .features {
        padding: 80px 0;
    }
    
    .pricing {
        padding: 80px 0;
    }
    
    .cta-section {
        padding: 80px 0;
    }
    
    .faq {
        padding: 80px 0;
    }
}

/* Platform Selection Styles */
.platform-selection {
    margin-bottom: 1.5rem;
}

.platform-selection p {
    margin-bottom: 1rem;
    color: var(--text-color);
    font-weight: 500;
}

.platform-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.platform-btn {
    flex: 1;
    padding: 0.8rem 1.5rem;
    border: 2px solid var(--border-color);
    background: white;
    border-radius: var(--border-radius);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-color);
}

.platform-btn:hover {
    border-color: var(--primary-color);
    background: var(--background-color);
}

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

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}