:root {
    --primary: #4f46e5;
    --primary-light: #6366f1;
    --primary-dark: #4338ca;
    --secondary: #ec4899;
    --accent: #8b5cf6;
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-text: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    --dark: #1e293b;
    --gray: #64748b;
    --light-gray: #f1f5f9;
    --white: #ffffff;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
}

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

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

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

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

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}
.navbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}
.navbar .logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 700;
}
.navbar .logo-icon {
    width: 36px;
    height: 36px;
    background: var(--gradient);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}
.navbar .logo-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.navbar nav {
    display: flex;
    gap: 32px;
}
.navbar nav a {
    font-size: 15px;
    color: var(--gray);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}
.navbar nav a:hover, .navbar nav a.active {
    color: var(--primary);
}
.navbar nav a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient);
    border-radius: 2px;
}
.navbar .nav-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* 按钮 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 14px rgba(99,102,241,0.4);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99,102,241,0.5);
}
.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: white;
}
.btn-white {
    background: white;
    color: var(--primary);
    box-shadow: var(--shadow);
}
.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}
.btn-lg {
    padding: 14px 36px;
    font-size: 17px;
}
.btn-block {
    width: 100%;
}

/* Hero区域 */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7ff 0%, #fff0f6 100%);
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99,102,241,0.15) 0%, transparent 70%);
    border-radius: 50%;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(236,72,153,0.1) 0%, transparent 70%);
    border-radius: 50%;
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    padding: 80px 0;
}
.hero h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}
.hero .subtitle {
    font-size: 20px;
    color: var(--gray);
    margin-bottom: 32px;
    line-height: 1.6;
}
.hero .hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* 通用section */
.section {
    padding: 80px 0;
}
.section-gray {
    background: var(--light-gray);
}
.section-title {
    text-align: center;
    margin-bottom: 60px;
}
.section-title h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
}
.section-title p {
    font-size: 18px;
    color: var(--gray);
}

/* 功能卡片 */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.feature-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(99,102,241,0.2);
}
.feature-card .icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
}
.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}
.feature-card p {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.6;
}

/* 定价卡片 */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 960px;
    margin: 0 auto;
}
.pricing-card {
    background: white;
    border-radius: 16px;
    padding: 40px 32px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}
.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}
.pricing-card.featured {
    border-color: var(--primary);
    background: linear-gradient(135deg, #ffffff 0%, #f5f3ff 100%);
}
.pricing-card .badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: white;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}
.pricing-card .plan-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}
.pricing-card .plan-desc {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 24px;
}
.pricing-card .price {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 4px;
}
.pricing-card .price .unit {
    font-size: 16px;
    font-weight: 400;
    color: var(--gray);
}
.pricing-card .price-period {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 24px;
}
.pricing-card ul {
    margin-bottom: 32px;
}
.pricing-card ul li {
    padding: 8px 0;
    font-size: 15px;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 8px;
}
.pricing-card ul li::before {
    content: '✓';
    color: var(--success);
    font-weight: bold;
    font-size: 18px;
}

/* 页脚 */
.footer {
    background: var(--dark);
    color: #cbd5e1;
    padding: 60px 0 30px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer .footer-brand .logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}
.footer .footer-brand p {
    font-size: 14px;
    line-height: 1.8;
    color: #94a3b8;
}
.footer h4 {
    color: white;
    font-size: 16px;
    margin-bottom: 16px;
}
.footer ul li {
    margin-bottom: 10px;
}
.footer ul li a {
    font-size: 14px;
    color: #94a3b8;
    transition: color 0.3s;
}
.footer ul li a:hover {
    color: white;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
    color: #64748b;
}

/* 下载区 */
.download-area {
    background: linear-gradient(135deg, #f5f7ff 0%, #fff0f6 100%);
    border-radius: 20px;
    padding: 60px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}
.download-platforms {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 32px;
    flex-wrap: wrap;
}
.download-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 24px 40px;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    min-width: 200px;
}
.download-btn:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.download-btn .platform-icon {
    font-size: 40px;
}
.download-btn .platform-name {
    font-size: 18px;
    font-weight: 700;
}
.download-btn .platform-version {
    font-size: 13px;
    color: var(--gray);
}

/* 版本记录 */
.version-list {
    max-width: 800px;
    margin: 0 auto;
}
.version-item {
    background: white;
    border-radius: 12px;
    padding: 24px 28px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary);
}
.version-item .version-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.version-item .version-tag {
    display: inline-block;
    background: var(--gradient);
    color: white;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
}
.version-item .version-date {
    font-size: 14px;
    color: var(--gray);
}
.version-item ul {
    padding-left: 20px;
}
.version-item ul li {
    position: relative;
    padding-left: 8px;
    margin-bottom: 6px;
    font-size: 15px;
    color: var(--dark);
}
.version-item ul li::before {
    content: '•';
    color: var(--primary);
    position: absolute;
    left: -12px;
}

/* 统计数字 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}
.stat-item .stat-number {
    font-size: 42px;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.stat-item .stat-label {
    font-size: 16px;
    color: var(--gray);
    margin-top: 8px;
}

/* 移动端菜单 */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--dark);
}

/* 响应式 */
@media (max-width: 768px) {
    .navbar nav {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .navbar nav.mobile-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: white;
        padding: 16px;
        box-shadow: var(--shadow-lg);
    }
    .hero h1 {
        font-size: 32px;
    }
    .hero .subtitle {
        font-size: 16px;
    }
    .feature-grid, .pricing-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .section {
        padding: 48px 0;
    }
    .section-title h2 {
        font-size: 28px;
    }
    .download-area {
        padding: 32px 20px;
    }
    .download-platforms {
        flex-direction: column;
        align-items: center;
    }
}

/* ========== 注册页样式 ========== */
.register-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    align-items: start;
}
.register-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
}
.register-form .form-group {
    margin-bottom: 20px;
}
.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}
.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s;
    outline: none;
    background: #fafbfc;
}
.form-input:focus {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(99,102,241,0.1);
}
.form-input::placeholder {
    color: #94a3b8;
}
.code-input-wrapper {
    display: flex;
    gap: 12px;
    align-items: stretch;
}
.code-input {
    flex: 1;
}
.code-btn {
    padding: 0 20px;
    height: auto;
    min-width: 130px;
    font-size: 14px;
    border-radius: 10px;
    white-space: nowrap;
}
.code-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}
.form-error {
    display: block;
    font-size: 13px;
    color: var(--danger);
    margin-top: 6px;
    min-height: 18px;
}
.form-agree {
    margin-bottom: 24px;
}
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    color: var(--gray);
    cursor: pointer;
    line-height: 1.5;
}
.checkbox-label input[type="checkbox"] {
    margin-top: 3px;
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
    cursor: pointer;
}
.checkbox-label a {
    color: var(--primary);
    font-weight: 500;
}
.register-btn {
    padding: 14px;
    font-size: 16px;
    border-radius: 10px;
}
.register-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}
.form-tip {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--light-gray);
    font-size: 14px;
    color: var(--gray);
}
.register-side {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.side-card {
    background: white;
    border-radius: 16px;
    padding: 28px;
    box-shadow: var(--shadow);
}
.side-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 16px;
}
.side-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}
.side-card ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.side-card ul li {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.6;
}

/* ========== 注册页响应式 ========== */
@media (max-width: 768px) {
    .register-wrapper {
        grid-template-columns: 1fr;
    }
    .register-card {
        padding: 28px 20px;
    }
    .code-btn {
        min-width: 110px;
        padding: 0 12px;
        font-size: 13px;
    }
}

/* 动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.animate-fade-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* —— 抽取自 HTML 的内联样式 —— */
.btn-sm { padding: 8px 20px; font-size: 14px; }
.section-top-lg { padding-top: 120px; }
.wrap-center-800 { max-width: 800px; margin: 0 auto; text-align: center; }
.wrap-center-900 { max-width: 900px; margin: 0 auto; }
.lead-gray { font-size: 18px; color: var(--gray); line-height: 1.8; margin-bottom: 32px; }
.fc-center { text-align: center; }
.icon-lg { width: 64px; height: 64px; font-size: 32px; margin: 0 auto 20px; }
.icon-indigo { background: #e0e7ff; color: #4f46e5; }
.icon-pink { background: #fce7f3; color: #ec4899; }
.icon-green { background: #d1fae5; color: #10b981; }
.icon-amber { background: #fef3c7; color: #f59e0b; }
.title-primary-lg { font-size: 20px; font-weight: 700; color: var(--primary); margin: 16px 0; }
.text-gray { color: var(--gray); }
.faq-card { background: white; padding: 24px; border-radius: 12px; box-shadow: var(--shadow-sm); }
.faq-card + .faq-card { margin-top: 16px; }
.faq-title { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.faq-desc { color: var(--gray); font-size: 15px; }
.faq-wrap { max-width: 800px; margin: 0 auto; }
.hero-feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; max-width: 1000px; margin: 0 auto; }
.section-pad-bot-80 { padding-bottom: 80px; }
.section-pad-40 { padding: 40px 0; }
.bg-gradient-purple { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; }
.side-icon-white { background: rgba(255,255,255,0.2); color: white; }
.text-white { color: white; }
.btn-link-white { display: inline-block; margin-top: 16px; padding: 8px 20px; background: white; color: var(--primary); border-radius: 8px; font-weight: 600; }
.text-primary-bold { color: var(--primary); font-weight: 600; }
.icon-purple-light { background: #ede9fe; color: #8b5cf6; }
.icon-blue { background: #dbeafe; color: #3b82f6; }
.icon-gradient-circle { background: var(--gradient); color: white; width: 64px; height: 64px; font-size: 28px; border-radius: 50%; margin: 0 auto 20px; }
.hero-cta-section { background: var(--gradient); color: white; text-align: center; }
.cta-title { font-size: 36px; font-weight: 800; margin-bottom: 16px; }
.cta-sub { font-size: 20px; margin-bottom: 32px; opacity: 0.9; }
.price-table-wrap { max-width: 800px; margin: 0 auto; background: white; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.tbl-full { width: 100%; border-collapse: collapse; }
.tbl-head-bg { background: var(--light-gray); }
.tbl-th-left { padding: 16px; text-align: left; font-size: 16px; }
.tbl-th-center { padding: 16px; text-align: center; font-size: 16px; }
.tbl-td-feat { padding: 14px 16px; font-size: 15px; }
.download-title { font-size: 28px; font-weight: 800; margin-bottom: 8px; }
.download-sub { font-size: 16px; color: var(--gray); margin-bottom: 8px; }
.download-meta { font-size: 14px; color: var(--gray); }
.download-filename { font-size: 13px; color: var(--primary); margin-top: 4px; word-break: break-all; }
.download-footer { margin-top: 32px; font-size: 14px; color: var(--gray); }
.bg-gray { background: var(--gray); }
