/* 金牛量化 - 官网落地页（golden-bull-ea-ui-spec 深色金配色） */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg-main: #0B0E14;
    --bg-panel: #121826;
    --bg-panel-hover: #151C2E;
    --bg-modal: #0F1320;

    --gold-main: #D4AF37;
    --gold-light: #F5C86A;
    --gold-dark: #8F7A2A;

    --text-main: #E6E8EB;
    --text-sub: #9AA0A6;
    --text-muted: #6B7280;

    --success: #D4AF37;
    --danger: #C0392B;
    --warning: #E0B15A;
    --info: #4F7FFF;

    --border-gold: #3A3A2A;
    --border-dark: #1F2937;

    --shadow-gold: 0 0 12px rgba(212,175,55,0.25);
    --shadow-panel: 0 8px 24px rgba(0,0,0,0.6);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    color: var(--text-main);
    background: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Logo（1024 尺寸金牛图 + 文字） */
.logo-wrap {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}
.logo-img {
    display: block;
    object-fit: contain;
    flex-shrink: 0;
}
.logo-img-nav { width: 40px; height: 40px; }
.logo-img-hero { width: 160px; height: 160px; }
.logo-text {
    font-size: 22px;
    font-weight: 700;
    color: var(--gold-main);
    letter-spacing: 0.02em;
}
.tagline { font-size: 12px; color: var(--text-muted); margin-left: 2px; }

.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: rgba(11, 14, 20, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-gold);
    z-index: 1000;
    transition: all 0.3s ease;
}
.navbar.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.4); }
.navbar .container { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; }
.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    text-decoration: none;
    color: inherit;
    border-bottom: none;
    outline: none;
}
.nav-brand:hover,
.nav-brand:focus { border-bottom: none; outline: none; }
.nav-menu { display: flex; list-style: none; gap: 28px; }
.nav-menu a {
    text-decoration: none;
    color: var(--text-sub);
    font-weight: 500;
    transition: color 0.2s, border-color 0.2s;
    padding-bottom: 2px;
    border-bottom: 2px solid transparent;
}
.nav-menu a:hover { color: var(--gold-main); border-bottom-color: var(--gold-dark); }
.nav-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--text-main); }

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 80px;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse 80% 50% at 50% 20%, rgba(212,175,55,0.08) 0%, transparent 50%);
    z-index: -1;
}
.hero-bg::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.3) 100%);
    pointer-events: none;
}
.hero-content { text-align: center; max-width: 860px; margin: 0 auto; }
.hero-logo {
    margin-bottom: 28px;
}
.hero-logo .logo-text { font-size: 36px; }
.hero-title {
    font-size: 56px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 16px;
    letter-spacing: 0.02em;
}
.hero-title .gold { color: var(--gold-main); }
.hero-subtitle { font-size: 24px; color: var(--gold-light); margin-bottom: 24px; font-weight: 500; }
.hero-desc {
    font-size: 17px;
    color: var(--text-sub);
    margin-bottom: 40px;
    line-height: 1.85;
}
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }
.btn {
    padding: 14px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.25s;
    display: inline-block;
    border: 1px solid transparent;
}
.btn-primary {
    background: linear-gradient(180deg, var(--gold-main) 0%, var(--gold-dark) 100%);
    color: #0B0E14;
    border-color: var(--gold-dark);
    box-shadow: var(--shadow-gold);
}
.btn-primary:hover {
    background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold-main) 100%);
    box-shadow: 0 0 20px rgba(212,175,55,0.35);
    transform: translateY(-2px);
}
.btn-outline {
    background: transparent;
    color: var(--gold-main);
    border-color: var(--gold-dark);
}
.btn-outline:hover {
    background: rgba(212,175,55,0.1);
    border-color: var(--gold-main);
}
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
    padding-top: 40px;
    border-top: 1px solid var(--border-dark);
}
.stat-item { text-align: center; }
.stat-value { font-size: 28px; font-weight: 700; color: var(--gold-main); margin-bottom: 6px; }
.stat-label { font-size: 13px; color: var(--text-muted); }

/* 信任条（可选） */
.trust-bar {
    background: var(--bg-panel);
    border-top: 1px solid var(--border-dark);
    border-bottom: 1px solid var(--border-dark);
    padding: 20px 0;
}
.trust-bar .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}
.trust-item { display: flex; align-items: center; gap: 10px; color: var(--text-sub); font-size: 14px; }
.trust-item strong { color: var(--gold-main); }

/* Features */
.features { padding: 100px 0; background: var(--bg-main); }
.section-title {
    text-align: center;
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 56px;
    color: var(--text-main);
}
.section-title .gold { color: var(--gold-main); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.feature-card {
    background: var(--bg-panel);
    padding: 36px;
    border-radius: 14px;
    border: 1px solid var(--border-dark);
    box-shadow: var(--shadow-panel);
    transition: all 0.25s;
}
.feature-card:hover {
    border-color: var(--gold-dark);
    box-shadow: var(--shadow-panel), var(--shadow-gold);
    transform: translateY(-4px);
}
.feature-icon { font-size: 42px; margin-bottom: 18px; line-height: 1; }
.feature-card h3 { font-size: 22px; margin-bottom: 14px; color: var(--text-main); }
.feature-card p { color: var(--text-sub); line-height: 1.75; font-size: 15px; }

/* Strategy */
.strategy { padding: 100px 0; background: var(--bg-panel); border-top: 1px solid var(--border-dark); }
.strategy-content { max-width: 900px; margin: 0 auto; }
.strategy-item {
    display: flex;
    gap: 28px;
    margin-bottom: 44px;
    align-items: flex-start;
}
.strategy-number {
    font-size: 56px;
    font-weight: 700;
    color: var(--gold-main);
    opacity: 0.25;
    line-height: 1;
    min-width: 72px;
}
.strategy-text h3 { font-size: 24px; margin-bottom: 12px; color: var(--text-main); }
.strategy-text p { font-size: 15px; color: var(--text-sub); line-height: 1.8; }
.strategy-warning {
    background: rgba(224, 177, 90, 0.12);
    border-left: 4px solid var(--warning);
    padding: 24px;
    border-radius: 10px;
    margin-top: 48px;
    border: 1px solid rgba(224, 177, 90, 0.2);
}
.strategy-warning h4 { color: var(--warning); margin-bottom: 10px; }
.strategy-warning p { color: var(--text-sub); line-height: 1.8; }

/* Features 二次（功能特点） */
.features-alt { padding: 100px 0; background: var(--bg-main); }
.features-alt .feature-card { padding: 28px; }

/* Risk / 适用场景 */
.risk { padding: 100px 0; background: var(--bg-panel); border-top: 1px solid var(--border-dark); }
.risk-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; }
.risk-card {
    background: var(--bg-modal);
    padding: 36px;
    border-radius: 14px;
    border: 1px solid var(--border-dark);
    box-shadow: var(--shadow-panel);
}
.risk-card h3 { font-size: 22px; margin-bottom: 20px; color: var(--text-main); }
.risk-card ul { list-style: none; }
.risk-card li {
    padding: 10px 0;
    color: var(--text-sub);
    border-bottom: 1px solid var(--border-dark);
    font-size: 15px;
}
.risk-card li:last-child { border-bottom: none; }
.risk-card.risk-yes li::before { content: '✓ '; color: var(--gold-main); font-weight: bold; margin-right: 8px; }
.risk-card.risk-no li::before { content: '✗ '; color: var(--danger); font-weight: bold; margin-right: 8px; }

/* Contact */
.contact { padding: 100px 0; background: var(--bg-main); }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); gap: 48px; }
.contact-info h3, .contact-form h3 { font-size: 24px; margin-bottom: 18px; color: var(--text-main); }
.contact-info p, .contact-item { color: var(--text-sub); margin-bottom: 14px; line-height: 1.6; }
.contact-form form { display: flex; flex-direction: column; gap: 14px; }
.contact-form input,
.contact-form textarea {
    padding: 14px;
    background: var(--bg-panel);
    border: 1px solid var(--border-dark);
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    color: var(--text-main);
    transition: border-color 0.2s;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--text-muted); }
.consult-feedback {
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 14px;
}
.consult-feedback.consult-success {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.5);
    color: #4ade80;
}
.consult-feedback.consult-error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.5);
    color: #f87171;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--gold-dark);
    box-shadow: 0 0 0 2px rgba(212,175,55,0.15);
}

/* Footer */
.footer {
    background: var(--bg-panel);
    border-top: 1px solid var(--border-dark);
    color: var(--text-sub);
    padding: 56px 0 24px;
}
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-section h4 { margin-bottom: 16px; font-size: 18px; color: var(--gold-main); }
.footer-section p { color: var(--text-muted); line-height: 1.8; font-size: 14px; }
.footer-section ul { list-style: none; }
.footer-section ul li { margin-bottom: 10px; }
.footer-section ul li a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer-section ul li a:hover { color: var(--gold-main); }
.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--border-dark);
    color: var(--text-muted);
    font-size: 13px;
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 68px;
        left: -100%;
        flex-direction: column;
        background: var(--bg-panel);
        width: 100%;
        padding: 20px;
        border-bottom: 1px solid var(--border-dark);
        transition: left 0.3s;
    }
    .nav-menu.active { left: 0; }
    .nav-toggle { display: block; }
    .hero-title { font-size: 38px; }
    .hero-subtitle { font-size: 18px; }
    .hero-desc { font-size: 15px; }
    .hero-buttons { flex-direction: column; }
    .hero-stats { gap: 28px; }
    .section-title { font-size: 28px; }
    .strategy-item { flex-direction: column; }
    .strategy-number { min-width: auto; }
    .contact-grid { grid-template-columns: 1fr; }
    .features-grid, .risk-grid { grid-template-columns: 1fr; }
}
