/* ==================== 全局样式 ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --neon-green: #00ff88;
    --cyan-blue: #00d4ff;
    --dark-bg: #0a0e1a;
    --darker-bg: #050810;
    --card-bg: rgba(15, 23, 42, 0.6);
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --glow-green: rgba(0, 255, 136, 0.3);
    --glow-blue: rgba(0, 212, 255, 0.3);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.glass-effect {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
}

/* ==================== 顶部 Logo ==================== */
.top-header {
    padding: 40px 0;
    text-align: center;
}

.logo-header {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.logo-image {
    height: 180px;
    width: auto;
    max-width: 700px;
    object-fit: contain;
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--neon-green), var(--cyan-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==================== 主标题区域 ==================== */
.main-hero {
    padding: 40px 0 60px;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(255, 87, 87, 0.2), rgba(255, 87, 87, 0.1));
    border: 2px solid rgba(255, 87, 87, 0.5);
    border-radius: 20px;
    color: #ff5757;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 24px;
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.main-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 24px;
}

.highlight-text {
    background: linear-gradient(135deg, var(--neon-green), var(--cyan-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

/* ==================== 产品展示 ==================== */
.product-demo {
    padding: 60px 0;
}

.demo-stack-container {
    position: relative;
    max-width: 450px;
    height: 650px;
    margin: 0 auto;
}

.demo-card {
    position: absolute;
    width: 100%;
    height: 100%;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.demo-card:nth-child(1) {
    z-index: 2;
    left: 0;
}

.demo-card:nth-child(2) {
    z-index: 1;
    left: 120px;
    opacity: 0.85;
}

.demo-card.active {
    z-index: 3 !important;
    left: 0 !important;
    opacity: 1 !important;
}

.demo-card:not(.active) {
    left: 120px;
}

.demo-card:hover {
    transform: translateY(-10px);
    opacity: 1;
}

.demo-card.active:hover {
    transform: translateY(-5px);
}

.demo-screen {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 20px;
    backdrop-filter: blur(20px);
    height: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.demo-card:hover .demo-screen {
    box-shadow: 0 25px 80px rgba(0, 255, 136, 0.3);
    border-color: rgba(0, 255, 136, 0.3);
}

.screen-header {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-secondary);
    transition: background 0.3s ease;
}

.demo-card:hover .dot:nth-child(1) {
    background: #ff5f57;
}

.demo-card:hover .dot:nth-child(2) {
    background: #ffbd2e;
}

.demo-card:hover .dot:nth-child(3) {
    background: #28ca42;
}

.screen-body {
    padding: 0;
    height: calc(100% - 40px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 12px;
}

.demo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* ==================== 主要 CTA 区域 ==================== */
.main-cta {
    padding: 60px 0;
}

.cta-box {
    max-width: 700px;
    margin: 0 auto;
    padding: 48px 32px;
    text-align: center;
}

.cta-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 215, 0, 0.2);
    border: 1px solid rgba(255, 215, 0, 0.5);
    border-radius: 16px;
    color: #ffd700;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.cta-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.4;
}

.cta-desc {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.8;
}

.cta-action-text {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.cta-highlight {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--neon-green), var(--cyan-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 400px;
    margin: 0 auto 24px;
}

.cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 32px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.wechat-btn {
    background: linear-gradient(135deg, #07c160, #05a050);
    color: white;
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
}

.line-btn {
    background: linear-gradient(135deg, #00b900, #009900);
    color: white;
}

.cta-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 255, 136, 0.3);
}

.btn-icon {
    font-size: 24px;
}

.cta-urgency {
    font-size: 14px;
    color: #ff5757;
    font-weight: 600;
    animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* ==================== 为什么选择我们 ==================== */
.why-choose {
    padding: 80px 0;
    background: linear-gradient(180deg, transparent, rgba(0, 255, 136, 0.03), transparent);
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--neon-green), var(--cyan-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 48px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.feature-box {
    padding: 32px 24px;
    transition: all 0.3s ease;
    text-align: center;
}

.feature-box:hover {
    transform: translateY(-8px);
    border-color: var(--neon-green);
    box-shadow: 0 12px 48px var(--glow-green);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.feature-box h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.feature-box p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ==================== 核心功能 ==================== */
.core-functions {
    padding: 80px 0;
}

.functions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.function-item {
    padding: 28px 20px;
    transition: all 0.3s ease;
}

.function-item:hover {
    transform: translateY(-4px);
    border-color: var(--cyan-blue);
    box-shadow: 0 8px 32px var(--glow-blue);
}

.function-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.function-item h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.function-item p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ==================== 页脚 ==================== */
.site-footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* ==================== 背景装饰 ==================== */
.bg-decoration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
    background: linear-gradient(180deg, #0a0e1a 0%, #050810 50%, #0a0e1a 100%);
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 255, 136, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 136, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.6;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: float-orb 25s infinite ease-in-out;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--neon-green), transparent 70%);
    top: -10%;
    left: -10%;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--cyan-blue), transparent 70%);
    top: 40%;
    right: -15%;
    animation-delay: -8s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--neon-green), transparent 70%);
    bottom: -10%;
    left: 20%;
    animation-delay: -15s;
}

@keyframes float-orb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 768px) {
    .main-title {
        font-size: 32px;
    }
    
    .main-subtitle {
        font-size: 16px;
    }
    
    .cta-title {
        font-size: 24px;
    }
    
    .cta-highlight {
        font-size: 20px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .features-grid,
    .functions-grid {
        grid-template-columns: 1fr;
    }
    
    .demo-stack-container {
        max-width: 320px;
        height: 500px;
    }
    
    .demo-card:nth-child(2) {
        left: 80px;
    }
    
    .demo-card:not(.active) {
        left: 80px;
    }
}

/* ==================== 平滑滚动 ==================== */
html {
    scroll-behavior: smooth;
}

::selection {
    background: var(--neon-green);
    color: var(--darker-bg);
}
