/* 量化虾AI交易信号社区 - 蓝黑科技风 */
:root {
    --bg-dark: #0a0e1a;
    --bg-card: #0a0e1a;
    --bg-card-hover: #0a0e1a;
    --bg-nav: #0a0e1a;
    --border: #1e2640;
    --border-glow: rgba(255,107,0,0.3);
    --text-primary: #e8eaf0;
    --text-secondary: #8892b0;
    --text-muted: #555d7a;
    --orange: #ff6b00;
    --orange-light: #ff8c00;
    --orange-glow: rgba(255,107,0,0.4);
    --blue: #00d4ff;
    --blue-dark: #0090d0;
    --green: #00c853;
    --red: #ff1744;
    --gradient-1: linear-gradient(135deg, #ff6b00, #ff8c00);
    --gradient-2: linear-gradient(135deg, #0a0e1a, #1a2040);
    --shadow: 0 8px 32px rgba(0,0,0,0.4);
    --glass: rgba(10,14,26,0.85);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
       background: var(--bg-dark); color: var(--text-primary);
       min-height: 100vh; overflow-x: hidden; }
a { color: var(--orange); text-decoration: none; transition: .2s; }
a:hover { color: var(--orange-light); text-shadow: 0 0 8px var(--orange-glow); }

/* ── 导航 ── */
.navbar { position: fixed; top: 0; width: 100%; background: var(--bg-nav);
          border-bottom: 1px solid var(--border);
          z-index: 1000; padding: 0 24px; display: flex; align-items: center;
          height: 64px; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-size: 20px;
            font-weight: 800; color: var(--orange); letter-spacing: 1px; }
.nav-logo .shrimp { font-size: 24px; }
.nav-logo span { background: var(--gradient-1); -webkit-background-clip: text;
                 -webkit-text-fill-color: transparent; background-clip: text; }
.nav-links { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav-links a { color: var(--text-secondary); padding: 8px 16px; border-radius: 8px;
               font-size: 14px; transition: .2s; }
.nav-links a:hover { color: var(--text-primary); background: rgba(255,255,255,0.05); }
.btn-nav { background: var(--gradient-1); color: #fff !important; font-weight: 600;
           padding: 8px 20px !important; border-radius: 20px !important; }
.btn-nav:hover { box-shadow: 0 0 20px var(--orange-glow); transform: translateY(-1px); }

/* ── 页面通用 ── */
.container { max-width: 1200px; margin: 0 auto; padding: 80px 20px 40px; }
.section-title { font-size: 28px; font-weight: 700; margin-bottom: 8px;
                 background: var(--gradient-1); -webkit-background-clip: text;
                 -webkit-text-fill-color: transparent; background-clip: text;
                 display: inline-block; padding: 4px 0; }
.section-sub { color: var(--text-secondary); font-size: 15px; margin-bottom: 32px; }

/* ── Hero ── */
.hero { min-height: 110vh; display: flex; align-items: center; justify-content: center;
        text-align: center; padding: 40px 20px;
        background: radial-gradient(ellipse at 50% 0%, rgba(255,107,0,0.08) 0%, transparent 70%),
                    radial-gradient(ellipse at 50% 100%, rgba(0,212,255,0.05) 0%, transparent 50%); }
.hero h1 { font-size: clamp(36px,5vw,60px); font-weight: 800; line-height: 1.2;
           margin-bottom: 16px; }
.hero h1 .highlight { background: var(--gradient-1); -webkit-background-clip: text;
                 -webkit-text-fill-color: transparent; background-clip: text;
                 display: inline-block; padding: 4px 0; }
.hero p { font-size: 18px; color: var(--text-secondary); max-width: 600px;
          margin: 0 auto 32px; line-height: 1.6; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-primary { background: var(--gradient-1); color: #fff; border: none;
               padding: 14px 36px; border-radius: 30px; font-size: 16px; font-weight: 700;
               cursor: pointer; transition: .3s; display: inline-flex; align-items: center; gap: 8px; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px var(--orange-glow); }
.btn-secondary { background: transparent; color: var(--blue); border: 1px solid var(--blue);
                 padding: 14px 36px; border-radius: 30px; font-size: 16px; font-weight: 600;
                 cursor: pointer; transition: .3s; }
.btn-secondary:hover { background: rgba(0,212,255,0.1); box-shadow: 0 0 20px rgba(0,212,255,0.2); }

/* ── 消息弹窗 ── */
.flash { position: fixed; top: 80px; right: 24px; z-index: 2000;
         padding: 12px 24px; border-radius: 12px; font-size: 14px;
         animation: slideIn .3s ease; max-width: 360px; }
.flash.success { background: #1a3a20; border: 1px solid var(--green); color: #69f0ae; }
.flash.danger { background: #3a1a1a; border: 1px solid var(--red); color: #ff8a80; }
.flash.warning { background: #3a2a10; border: 1px solid var(--orange); color: #ffcc80; }
.flash.info { background: #1a2a3a; border: 1px solid var(--blue); color: #80d8ff; }
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ── 信号卡片 ── */
.signals-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
                gap: 20px; margin: 24px 0; }
.signal-card { background: var(--bg-card); border: 1px solid var(--border);
               border-radius: 16px; padding: 24px; transition: .3s;
               position: relative; overflow: hidden; }
.signal-card:hover { border-color: var(--orange); transform: translateY(-4px);
                     box-shadow: 0 12px 40px rgba(255,107,0,0.1); }
.signal-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0;
                       height: 3px; background: var(--gradient-1); opacity: 0; transition: .3s; }
.signal-card:hover::before { opacity: 1; }
.signal-card.buy { border-left: 3px solid var(--green); }
.signal-card.sell { border-left: 3px solid var(--red); }
.signal-header { display: flex; justify-content: space-between; align-items: center;
                 margin-bottom: 16px; }
.signal-tf { font-size: 12px; color: var(--text-muted); background: rgba(255,255,255,0.05);
             padding: 4px 12px; border-radius: 12px; }
.signal-direction { font-weight: 700; font-size: 16px; }
.signal-direction.buy { color: var(--green); }
.signal-direction.sell { color: var(--red); }
.signal-body { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.signal-item { display: flex; flex-direction: column; }
.signal-item .label { font-size: 11px; color: var(--text-muted); margin-bottom: 2px; }
.signal-item .value { font-size: 16px; font-weight: 600; color: var(--text-primary);
                      font-family: 'Courier New', monospace; }
.signal-footer { margin-top: 12px; display: flex; justify-content: space-between;
                 align-items: center; }
.signal-badge { font-size: 11px; padding: 4px 10px; border-radius: 10px; }
.signal-badge.v3 { background: rgba(0,212,255,0.15); color: var(--blue); }
.signal-badge.premium { background: var(--gradient-1); color: #fff; }
.signal-time { font-size: 12px; color: var(--text-muted); }

/* ── 价格卡片 ── */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
                gap: 24px; margin: 40px 0; }
.pricing-card { background: var(--bg-card); border: 1px solid var(--border);
                border-radius: 20px; padding: 32px; text-align: center;
                transition: .3s; position: relative; }
.pricing-card:hover { border-color: var(--orange); transform: translateY(-4px); }
.pricing-card.featured { border-color: var(--orange); box-shadow: 0 0 30px rgba(255,107,0,0.15); }
.pricing-card.featured::before { content: '🔥 推荐'; position: absolute; top: -12px;
    left: 50%; transform: translateX(-50%);
    background: var(--gradient-1); color: #fff; padding: 4px 20px;
    border-radius: 12px; font-size: 12px; font-weight: 700; }
.pricing-name { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.pricing-price { font-size: 48px; font-weight: 800; color: var(--orange); margin: 16px 0; }
.pricing-price small { font-size: 16px; color: var(--text-secondary); }
.pricing-period { color: var(--text-muted); font-size: 14px; margin-bottom: 20px; }
.pricing-features { list-style: none; padding: 0; margin: 20px 0; text-align: left; }
.pricing-features li { padding: 8px 0; color: var(--text-secondary); font-size: 14px;
                       display: flex; align-items: center; gap: 8px; }
.pricing-features li::before { content: '✓'; color: var(--green); font-weight: 700; }

/* ── 表单 ── */
.form-card { max-width: 420px; margin: 60px auto; background: var(--bg-card);
             border: 1px solid var(--border); border-radius: 20px; padding: 40px; }
.form-card h2 { text-align: center; margin-bottom: 24px; font-size: 24px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; color: var(--text-secondary);
                    margin-bottom: 6px; }
.form-input { width: 100%; padding: 12px 16px; border-radius: 10px; border: 1px solid var(--border);
              background: rgba(255,255,255,0.05); color: var(--text-primary);
              font-size: 15px; transition: .2s; }
.form-input:focus { outline: none; border-color: var(--orange);
                    box-shadow: 0 0 12px var(--orange-glow); }
.form-footer { text-align: center; margin-top: 16px; font-size: 14px;
               color: var(--text-secondary); }

/* ── 会员标识 ── */
.premium-badge { display: inline-flex; align-items: center; gap: 4px;
                 background: var(--gradient-1); color: #fff; font-size: 12px;
                 padding: 2px 12px; border-radius: 10px; font-weight: 600; }
.trial-badge { display: inline-flex; align-items: center; gap: 4px;
               background: rgba(0,212,255,0.15); color: var(--blue); font-size: 12px;
               padding: 2px 12px; border-radius: 10px; font-weight: 600; }
.premium-lock { text-align: center; padding: 40px; background: var(--bg-card);
                border: 1px dashed var(--border); border-radius: 16px; margin: 24px 0; }
.premium-lock h3 { color: var(--text-muted); margin-bottom: 16px; }
.premium-lock .lock-icon { font-size: 48px; margin-bottom: 16px; filter: blur(1px); }

/* ── 页面底部 ── */
.footer { text-align: center; padding: 40px; color: var(--text-muted); font-size: 13px;
          border-top: 1px solid var(--border); margin-top: 60px; }

/* ── 统计数字 ── */
.stats-bar { display: flex; gap: 32px; justify-content: center; margin: 24px 0; flex-wrap: wrap; }
.stat-item { text-align: center; }
.stat-number { font-size: 32px; font-weight: 800; color: var(--orange); }
.stat-label { font-size: 13px; color: var(--text-muted); }

/* ── 特性图标 ── */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
                 gap: 24px; margin: 40px 0; }
.feature-card { text-align: center; padding: 24px; background: var(--bg-card);
                border: 1px solid var(--border); border-radius: 16px; transition: .3s; }
.feature-card:hover { transform: translateY(-4px); border-color: var(--orange); }
.feature-icon { font-size: 36px; margin-bottom: 12px; }
.feature-title { font-weight: 700; font-size: 16px; margin-bottom: 8px; }
.feature-desc { color: var(--text-secondary); font-size: 13px; line-height: 1.5; }

/* ── 仪表盘顶部 ── */
.dash-header { display: flex; justify-content: space-between; align-items: center;
               flex-wrap: wrap; gap: 16px; margin-bottom: 24px; }

/* ── 闪烁动画 ── */
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .6; } }
.live-dot { display: inline-block; width: 8px; height: 8px; background: var(--green);
            border-radius: 50%; animation: pulse 1.5s infinite; margin-right: 6px; }

/* ── 响应式 ── */
@media (max-width: 768px) {
    .navbar { padding: 0 16px; }
    .nav-links { gap: 4px; }
    .nav-links a { padding: 6px 10px; font-size: 12px; }
    .container { padding: 70px 16px 24px; }
    .hero h1 { font-size: 28px; }
    .signals-grid { grid-template-columns: 1fr; }
}
