/* ============================================
   薯芯云 - 高级简约科技风全局样式
   官网: https://yz.sxyun.cloud
   版本: V2.1（含字体大小优化）
   ============================================ */

/* ============ 全局重置 ============ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 14px;
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    margin: 0 !important;
    padding: 0 !important;
    background: #020617;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    color: #f8fafc;
    line-height: 1.6;
    min-height: 100vh;
    font-size: 14px;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ============ 导航栏 ============ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 64px;
    background: rgba(2, 6, 23, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(30, 41, 59, 0.8);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(2, 6, 23, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.nav-logo img {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.nav-logo span {
    font-size: 16px;
    font-weight: 700;
    background: linear-gradient(135deg, #60a5fa, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.5px;
}

/* 导航链接 */
.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.nav-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    position: relative;
}

.nav-links a:hover {
    color: #f8fafc;
    background: rgba(59, 130, 246, 0.1);
}

.nav-links a.active {
    color: #60a5fa;
    background: rgba(59, 130, 246, 0.15);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 1px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #06b6d4);
    border-radius: 2px;
}

/* 导航按钮 */
.nav-btn {
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid #334155;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    border-color: #3b82f6;
    color: #60a5fa !important;
    background: rgba(59, 130, 246, 0.1) !important;
}

.nav-btn-primary {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    color: #fff !important;
    border: none;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.nav-btn-primary:hover {
    background: linear-gradient(135deg, #2563eb, #0891b2) !important;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.5);
    transform: translateY(-2px);
}

/* 用户菜单 */
.nav-user {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 8px;
    transition: all 0.3s;
}

.nav-user:hover {
    background: rgba(59, 130, 246, 0.1);
}

.nav-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid #3b82f6;
}

.nav-username {
    color: #f8fafc;
    font-size: 13px;
    font-weight: 600;
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 12px;
    min-width: 180px;
    padding: 6px;
    display: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: dropdownIn 0.2s ease;
    z-index: 1001;
}

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

.nav-user:hover .nav-dropdown {
    display: block;
}

.nav-dropdown a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    color: #94a3b8;
    text-decoration: none;
    font-size: 13px;
    border-radius: 8px;
    transition: all 0.3s;
}

.nav-dropdown a:hover {
    color: #f8fafc;
    background: rgba(59, 130, 246, 0.1);
}

.nav-dropdown .dropdown-divider {
    height: 1px;
    background: #1e293b;
    margin: 6px 0;
}

/* 移动端菜单按钮 */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
}

/* 主体内容 */
.main-content {
    padding-top: 64px;
    min-height: calc(100vh - 64px);
    width: 100%;
}

/* ============ 粒子背景 ============ */
.particles-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: rgba(59, 130, 246, 0.3);
    border-radius: 50%;
    animation: floatUp linear infinite;
}

@keyframes floatUp {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) scale(1);
        opacity: 0;
    }
}

/* ============ Hero区域 ============ */
.hero-new {
    position: relative;
    z-index: 1;
    min-height: calc(100vh - 64px);
    display: flex;
    align-items: center;
    background: radial-gradient(ellipse at center, #0f172a 0%, #020617 100%);
    overflow: hidden;
}

.hero-new::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 50px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #60a5fa;
    font-size: 12px;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #3b82f6;
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero-title {
    font-size: 42px;
    font-weight: 800;
    color: #f8fafc;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.gradient-text {
    background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 50%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(30deg); }
}

.hero-subtitle {
    font-size: 15px;
    color: #94a3b8;
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.btn-glow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 10px;
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.35);
    border: none;
    cursor: pointer;
}

.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 45px rgba(59, 130, 246, 0.55);
    color: #fff;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 10px;
    background: transparent;
    color: #94a3b8;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #334155;
}

.btn-ghost:hover {
    border-color: #3b82f6;
    color: #3b82f6;
    transform: translateY(-2px);
}

.hero-trust {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #64748b;
    font-size: 12px;
}

.trust-item i {
    color: #3b82f6;
}

/* Hero中的验证码演示 */
.hero-captcha-demo {
    margin-top: 32px;
}

.hero-captcha-demo .captcha-demo-card {
    margin: 0 auto;
}

/* ============ Demo区域 ============ */
.demo-section {
    padding: 80px 20px;
    background: #020617;
    width: 100%;
}

.section-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-title-light {
    font-size: 28px;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.section-desc {
    color: #64748b;
    font-size: 14px;
}

.demo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.demo-feature {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
    align-items: flex-start;
}

.demo-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(6, 182, 212, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #3b82f6;
    flex-shrink: 0;
}

.demo-feature h4 {
    color: #f8fafc;
    font-size: 15px;
    margin-bottom: 6px;
}

.demo-feature p {
    color: #64748b;
    font-size: 13px;
    line-height: 1.6;
}

.demo-visual {
    display: flex;
    justify-content: center;
}

.captcha-demo-card {
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 16px;
    width: 320px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.15);
}

.captcha-demo-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 16px;
    background: #1e293b;
    border-bottom: 1px solid #334155;
}

.captcha-demo-logo {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

.captcha-demo-header span {
    color: #f8fafc;
    font-size: 13px;
    font-weight: 600;
}

.demo-refresh-btn {
    background: none;
    border: none;
    color: #64748b;
    font-size: 12px;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 4px;
    transition: all 0.3s;
    margin-left: auto;
}

.demo-refresh-btn:hover {
    color: #60a5fa;
    background: rgba(59, 130, 246, 0.1);
}

.captcha-demo-body {
    padding: 20px;
    text-align: center;
}

.captcha-demo-body p {
    color: #94a3b8;
    font-size: 13px;
    margin-bottom: 16px;
}

.captcha-demo-numbers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 12px;
    max-width: 220px;
    margin-left: auto;
    margin-right: auto;
}

.demo-num {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #3b82f6;
    background: transparent;
    color: #60a5fa;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-num:hover {
    background: rgba(59, 130, 246, 0.1);
    transform: scale(1.05);
}

.demo-num.demo-correct {
    background: #10b981;
    border-color: #10b981;
    color: #fff;
    animation: pop 0.3s;
}

.demo-num.demo-error {
    background: #ef4444;
    border-color: #ef4444;
    color: #fff;
    animation: shake 0.5s;
}

@keyframes pop {
    0% { transform: scale(0.8); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
}

.captcha-demo-progress {
    color: #60a5fa;
    font-size: 13px;
    min-height: 18px;
}

/* ============ 功能特性 ============ */
.features-new {
    padding: 80px 20px;
    background: #020617;
    width: 100%;
}

.features-grid-new {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.feature-card-new {
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 16px;
    padding: 28px 24px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.feature-card-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #06b6d4);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card-new:hover {
    border-color: #3b82f6;
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.1);
}

.feature-card-new:hover::before {
    opacity: 1;
}

.feature-icon-new {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(6, 182, 212, 0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #3b82f6;
    margin-bottom: 16px;
}

.feature-card-new h3 {
    color: #f8fafc;
    font-size: 16px;
    margin-bottom: 8px;
}

.feature-card-new p {
    color: #64748b;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.feature-link {
    color: #3b82f6;
    text-decoration: none;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.3s;
}

.feature-link:hover {
    gap: 8px;
}

/* ============ 数据统计 ============ */
.stats-new {
    padding: 60px 20px;
    background: #0f172a;
    border-top: 1px solid #1e293b;
    border-bottom: 1px solid #1e293b;
    width: 100%;
}

.stats-grid-new {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.stat-item-new {
    text-align: center;
}

.stat-item-new h3 {
    font-size: 32px;
    font-weight: 800;
    color: #f8fafc;
    margin-bottom: 4px;
}

.stat-item-new h3 .counter {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item-new p {
    color: #64748b;
    font-size: 12px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: #1e293b;
}

/* ============ 步骤 ============ */
.steps-new {
    padding: 80px 20px;
    background: #020617;
    width: 100%;
}

.steps-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.step-card {
    text-align: center;
    padding: 32px 24px;
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 16px;
    width: 220px;
    position: relative;
    transition: all 0.3s;
}

.step-card:hover {
    border-color: #3b82f6;
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.1);
}

.step-number {
    position: absolute;
    top: 16px;
    left: 16px;
    font-size: 12px;
    color: #3b82f6;
    font-weight: 700;
}

.step-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(6, 182, 212, 0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #3b82f6;
    margin: 0 auto 16px;
}

.step-card h3 {
    color: #f8fafc;
    font-size: 15px;
    margin-bottom: 8px;
}

.step-card p {
    color: #64748b;
    font-size: 13px;
}

.step-arrow {
    color: #3b82f6;
    font-size: 20px;
}

/* ============ CTA ============ */
.cta-new {
    padding: 80px 20px;
    background: #020617;
    width: 100%;
}

.cta-box {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    border: 1px solid #334155;
    border-radius: 24px;
    padding: 48px 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.cta-box h2 {
    color: #f8fafc;
    font-size: 24px;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.cta-box p {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.cta-box .btn-glow {
    position: relative;
    z-index: 1;
}

/* ============ 定价页面 ============ */
.pricing-hero {
    position: relative;
    z-index: 1;
    padding: 60px 20px 40px;
    background: radial-gradient(ellipse at center, #0f172a 0%, #020617 100%);
    text-align: center;
}

.billing-toggle {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
}

.toggle-btn {
    padding: 10px 20px;
    border-radius: 10px;
    border: 1px solid #334155;
    background: #0f172a;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.toggle-btn.active {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.3);
}

.pricing-section {
    padding: 40px 20px 80px;
    background: #020617;
    width: 100%;
}

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

.pricing-card {
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 20px;
    padding: 28px 24px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-6px);
    border-color: #3b82f6;
    box-shadow: 0 15px 45px rgba(59, 130, 246, 0.15);
}

.pricing-card.popular {
    border: 2px solid #3b82f6;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.2);
}

.popular-badge {
    position: absolute;
    top: 16px;
    right: -30px;
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    color: #fff;
    padding: 4px 32px;
    font-size: 10px;
    font-weight: 700;
    transform: rotate(45deg);
    display: flex;
    align-items: center;
    gap: 4px;
}

.pricing-card-header {
    text-align: center;
    margin-bottom: 20px;
}

.pricing-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin: 0 auto 12px;
}

.pricing-icon.free { background: rgba(100, 116, 139, 0.15); color: #94a3b8; }
.pricing-icon.basic { background: rgba(59, 130, 246, 0.15); color: #3b82f6; }
.pricing-icon.standard { background: rgba(139, 92, 246, 0.15); color: #8b5cf6; }
.pricing-icon.pro { background: rgba(6, 182, 212, 0.15); color: #06b6d4; }

.pricing-card h3 {
    color: #f8fafc;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.pricing-desc {
    color: #64748b;
    font-size: 12px;
}

.pricing-price {
    text-align: center;
    margin-bottom: 20px;
    padding: 16px 0;
    border-top: 1px solid #1e293b;
    border-bottom: 1px solid #1e293b;
}

.pricing-price .currency {
    font-size: 18px;
    color: #60a5fa;
    font-weight: 700;
    vertical-align: top;
}

.pricing-price .amount {
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg, #60a5fa, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-price .period {
    font-size: 12px;
    color: #64748b;
}

.pricing-features {
    margin-bottom: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    color: #94a3b8;
    font-size: 13px;
}

.feature-item i {
    color: #10b981;
    font-size: 12px;
}

.pricing-action {
    text-align: center;
}

.btn-pricing {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    width: 100%;
    justify-content: center;
}

.btn-primary-pricing {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    color: #fff;
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.3);
}

.btn-primary-pricing:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.5);
    color: #fff;
}

.btn-outline-pricing {
    background: transparent;
    border: 1px solid #334155;
    color: #94a3b8;
}

.btn-outline-pricing:hover {
    border-color: #3b82f6;
    color: #60a5fa;
    background: rgba(59, 130, 246, 0.05);
}

/* 按量付费 */
.paygo-card {
    max-width: 440px;
    margin: 0 auto;
    background: #0f172a;
    border: 1px solid #3b82f6;
    border-radius: 20px;
    padding: 40px 32px;
    text-align: center;
    box-shadow: 0 0 45px rgba(59, 130, 246, 0.1);
}

.paygo-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(6, 182, 212, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #3b82f6;
    margin: 0 auto 16px;
}

.paygo-card h3 {
    color: #f8fafc;
    font-size: 18px;
    margin-bottom: 6px;
}

.paygo-card p {
    color: #64748b;
    font-size: 13px;
}

.paygo-price {
    font-size: 40px;
    font-weight: 800;
    background: linear-gradient(135deg, #60a5fa, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 12px 0;
}

.paygo-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 16px 0 24px;
}

.paygo-features span {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #94a3b8;
    font-size: 12px;
    justify-content: center;
}

.paygo-features i {
    color: #10b981;
}

/* 对比表格 */
.comparison-section {
    padding: 60px 20px;
    background: #0f172a;
    border-top: 1px solid #1e293b;
    border-bottom: 1px solid #1e293b;
    width: 100%;
}

.comparison-table {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid #1e293b;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    min-width: 560px;
}

.comparison-table th {
    background: #1e293b;
    padding: 12px;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    color: #f8fafc;
}

.comparison-table th:first-child {
    text-align: left;
    color: #60a5fa;
}

.comparison-table td {
    padding: 10px 12px;
    text-align: center;
    font-size: 13px;
    color: #94a3b8;
    border-bottom: 1px solid #1e293b;
}

.comparison-table td:first-child {
    text-align: left;
    color: #f8fafc;
    font-weight: 600;
}

.comparison-table tr:hover td {
    background: rgba(59, 130, 246, 0.05);
}

.comparison-table .yes {
    color: #10b981;
    font-size: 14px;
}

.comparison-table .no {
    color: #ef4444;
    font-size: 14px;
}

/* FAQ */
.faq-section {
    padding: 60px 20px;
    background: #020617;
    width: 100%;
}

.faq-grid {
    max-width: 700px;
    margin: 0 auto;
    display: grid;
    gap: 12px;
}

.faq-item {
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: #3b82f6;
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.faq-question i:first-child {
    color: #3b82f6;
    font-size: 14px;
}

.faq-question span {
    flex: 1;
    color: #f8fafc;
    font-size: 14px;
    font-weight: 600;
}

.faq-question i:last-child {
    color: #64748b;
    font-size: 12px;
    transition: transform 0.3s;
}

.faq-item.open .faq-question i:last-child {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 16px 14px 40px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.6;
}

/* ============ 文档页面 ============ */
.docs-section {
    padding: 40px 20px 80px;
    background: #020617;
    width: 100%;
}

.docs-card {
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 16px;
    margin-bottom: 24px;
    overflow: hidden;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.docs-card-header {
    padding: 20px 24px;
    background: #1e293b;
    border-bottom: 1px solid #334155;
}

.docs-card-header h2 {
    color: #f8fafc;
    font-size: 18px;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.docs-card-header h2 i {
    color: #3b82f6;
    font-size: 16px;
}

.docs-card-header p {
    color: #64748b;
    font-size: 13px;
}

.docs-card-body {
    padding: 24px;
}

.docs-step {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.docs-step-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    flex-shrink: 0;
}

.docs-step-content h4 {
    color: #f8fafc;
    font-size: 14px;
    margin-bottom: 6px;
}

.docs-step-content p {
    color: #64748b;
    font-size: 13px;
}

.code-block {
    position: relative;
    background: #020617;
    border: 1px solid #1e293b;
    border-radius: 10px;
    padding: 16px;
    margin: 12px 0;
    overflow-x: auto;
}

.code-block pre {
    margin: 0;
}

.code-block code {
    color: #e2e8f0;
    font-size: 12px;
    font-family: 'Fira Code', 'Consolas', monospace;
    line-height: 1.6;
}

.copy-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #1e293b;
    border: 1px solid #334155;
    color: #94a3b8;
    padding: 4px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 11px;
    transition: all 0.3s;
}

.copy-btn:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: #3b82f6;
    color: #60a5fa;
}

.api-endpoint {
    margin-bottom: 24px;
    border: 1px solid #1e293b;
    border-radius: 10px;
    overflow: hidden;
}

.api-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #1e293b;
}

.api-method {
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
}

.api-method.post {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

.api-url {
    color: #f8fafc;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Fira Code', monospace;
}

.api-desc {
    color: #64748b;
    font-size: 12px;
    margin-left: auto;
}

.api-body {
    padding: 16px;
}

.api-body h4 {
    color: #f8fafc;
    font-size: 13px;
    margin: 12px 0 8px;
}

.api-table {
    width: 100%;
    border-collapse: collapse;
    margin: 8px 0;
}

.api-table th {
    background: #1e293b;
    padding: 8px 12px;
    text-align: left;
    font-size: 12px;
    color: #60a5fa;
}

.api-table td {
    padding: 8px 12px;
    font-size: 12px;
    color: #94a3b8;
    border-bottom: 1px solid #1e293b;
}

.sdk-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.sdk-tab {
    padding: 6px 14px;
    border-radius: 6px;
    border: 1px solid #334155;
    background: #0f172a;
    color: #94a3b8;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s;
}

.sdk-tab.active {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    color: #fff;
    border-color: transparent;
}

.sdk-content {
    display: none;
}

.sdk-content.active {
    display: block;
}

/* ============ 页脚 ============ */
.footer {
    background: #020617;
    border-top: 1px solid #1e293b;
    padding: 48px 20px 24px;
    position: relative;
    width: 100%;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #3b82f6, transparent);
}

.footer-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.footer-logo img {
    width: 28px;
    height: 28px;
    border-radius: 6px;
}

.footer-logo span {
    font-size: 16px;
    font-weight: 700;
    background: linear-gradient(135deg, #60a5fa, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    color: #64748b;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.footer-social {
    display: flex;
    gap: 8px;
}

.footer-social a {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #0f172a;
    border: 1px solid #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 13px;
    transition: all 0.3s;
    text-decoration: none;
}

.footer-social a:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: #3b82f6;
    color: #60a5fa;
    transform: translateY(-2px);
}

.footer-links h4 {
    color: #f8fafc;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-links a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #64748b;
    text-decoration: none;
    font-size: 13px;
    padding: 6px 0;
    transition: all 0.3s;
}

.footer-links a i {
    font-size: 8px;
    color: #3b82f6;
}

.footer-links a:hover {
    color: #60a5fa;
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    color: #64748b;
    font-size: 12px;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-size: 12px;
}

.footer-bottom-links a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-bottom-links a:hover {
    color: #60a5fa;
}

/* ============ 表单样式 ============ */
.form-container {
    max-width: 400px;
    width: 100%;
    margin: 40px auto;
    padding: 32px;
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 16px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.3);
}

.form-title {
    text-align: center;
    margin-bottom: 24px;
}

.form-title img {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    margin-bottom: 12px;
}

.form-title h2 {
    font-size: 20px;
    color: #f8fafc;
    margin-bottom: 4px;
}

.form-title p {
    color: #64748b;
    font-size: 13px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #f8fafc;
}

.form-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #334155;
    border-radius: 8px;
    font-size: 13px;
    transition: all 0.3s;
    background: #020617;
    color: #f8fafc;
    height: 40px;
}

.form-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-input::placeholder {
    color: #64748b;
}

.form-input-icon {
    position: relative;
}

.form-input-icon .form-input {
    padding-left: 36px;
}

.form-input-icon i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 13px;
}

.form-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    height: 42px;
}

.form-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.form-footer {
    text-align: center;
    margin-top: 16px;
    font-size: 13px;
    color: #64748b;
}

.form-footer a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
}

/* ============ 按钮 ============ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}

.btn-danger {
    background: #ef4444;
    color: #fff;
}

.btn-danger:hover {
    background: #dc2626;
}

.btn-warning {
    background: #f59e0b;
    color: #fff;
}

.btn-warning:hover {
    background: #d97706;
}

.btn-success {
    background: #10b981;
    color: #fff;
}

.btn-success:hover {
    background: #059669;
}

/* ============ 表格 ============ */
.table-container {
    background: #0f172a;
    border-radius: 12px;
    border: 1px solid #1e293b;
    overflow: hidden;
    width: 100%;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th {
    background: #1e293b;
    padding: 10px 14px;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    color: #60a5fa;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.table td {
    padding: 10px 14px;
    font-size: 13px;
    border-bottom: 1px solid #1e293b;
    color: #94a3b8;
}

.table tr:hover td {
    background: #1e293b;
}

/* ============ 徽章 ============ */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px 10px;
    border-radius: 16px;
    font-size: 11px;
    font-weight: 600;
}

.badge-success {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.badge-pending {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.badge-error {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.badge-info {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

/* ============ 控制台 ============ */
.dashboard {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 24px;
}

.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}

.dashboard-header h1 {
    font-size: 22px;
    color: #f8fafc;
}

.stats-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card {
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s;
}

.stat-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.1);
}

.stat-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.stat-card-icon.blue { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }
.stat-card-icon.green { background: rgba(16, 185, 129, 0.1); color: #10b981; }
.stat-card-icon.purple { background: rgba(139, 92, 246, 0.1); color: #8b5cf6; }
.stat-card-icon.orange { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }

.stat-card-info h3 {
    font-size: 20px;
    font-weight: 700;
    color: #f8fafc;
}

.stat-card-info p {
    font-size: 12px;
    color: #64748b;
}

/* ============ 提醒框 ============ */
.alert {
    padding: 10px 14px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

/* ============ 响应式 ============ */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 16px;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 64px;
        left: 0;
        width: 100%;
        background: rgba(2, 6, 23, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 16px;
        gap: 4px;
        display: none;
        border-bottom: 1px solid #1e293b;
    }
    
    .nav-links.mobile-open {
        display: flex;
    }
    
    .nav-links a {
        width: 100%;
        padding: 12px 14px;
    }
    
    .nav-user {
        width: 100%;
    }
    
    .nav-dropdown {
        position: static;
        width: 100%;
        box-shadow: none;
        background: transparent;
        border: none;
        padding-left: 24px;
    }
    
    .nav-user:hover .nav-dropdown {
        display: none;
    }
    
    .nav-user.mobile-open .nav-dropdown {
        display: block;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    .demo-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid-new {
        flex-direction: column;
        gap: 16px;
    }
    
    .stat-divider {
        width: 40px;
        height: 1px;
    }
    
    .steps-grid {
        flex-direction: column;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
    
    .section-title-light {
        font-size: 24px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .dashboard {
        padding: 16px;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        padding: 0 12px;
    }
    
    .pricing-price .amount {
        font-size: 28px;
    }
    
    .paygo-features {
        grid-template-columns: 1fr;
    }
    
    .form-container {
        padding: 24px;
        margin: 20px;
    }
}