/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(2, 5, 18, 0.5);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: content-box;
    transition: var(--transition);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
    background-clip: content-box;
}

/* App Mockup Internal Scrollbar */
.app-main::-webkit-scrollbar,
.docs-sidebar::-webkit-scrollbar {
    width: 6px;
}

.app-main::-webkit-scrollbar-thumb,
.docs-sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.05);
}

.app-main::-webkit-scrollbar-thumb:hover,
.docs-sidebar::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

:root {
    --primary-color: #fdbb2d; /* 荣耀金 */
    --secondary-color: #22c1c3; /* 科技青 */
    --bg-deep: #020512;
    --card-bg: #0b0f2a;
    --text-white: #ffffff;
    --text-dim: #8e9aaf;
    --neon-blue: #00d2ff;
    --hit-green: #00ff88;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-deep);
    color: var(--text-white);
    font-family: 'Inter', 'Segoe UI', 'PingFang SC', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
header {
    height: 80px;
    background: rgba(2, 5, 18, 0.85);
    backdrop-filter: blur(15px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--text-white);
    font-style: italic;
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dim);
    font-weight: 600;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.btn-cta {
    background: linear-gradient(135deg, var(--primary-color), #ff8c00);
    color: #000;
    padding: 0.8rem 2.2rem;
    border-radius: 500px;
    font-weight: 800;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 0 20px rgba(253, 187, 45, 0.3);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(253, 187, 45, 0.5);
}

/* Hero Section */
.hero {
    padding: 12rem 0 6rem;
    text-align: center;
    position: relative;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(34, 193, 195, 0.05) 0%, transparent 70%);
    z-index: -1;
}

.hero-badge {
    background: rgba(34, 193, 195, 0.1);
    color: var(--secondary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    border: 1px solid rgba(34, 193, 195, 0.2);
    margin-bottom: 2rem;
    display: inline-block;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
    background: linear-gradient(to right, #fff, #8e9aaf);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.25rem;
    color: var(--text-dim);
    max-width: 800px;
    margin: 0 auto 4rem;
}

/* Software Mockup UI */
.app-frame {
    max-width: 1100px;
    margin: 0 auto;
    background: #000;
    border-radius: 2.5rem;
    padding: 1rem;
    border: 10px solid #1c223a;
    box-shadow: 0 100px 200px rgba(0,0,0,0.9);
}

.app-content {
    background: #060918;
    border-radius: 1.5rem;
    height: 600px;
    display: grid;
    grid-template-columns: 260px 1fr;
    overflow: hidden;
}

.app-sidebar {
    background: #0d1127;
    padding: 2.5rem 1.5rem;
    border-right: 1px solid rgba(255,255,255,0.05);
}

.app-sidebar .nav-item {
    padding: 1rem;
    margin-bottom: 0.5rem;
    border-radius: 0.8rem;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.app-sidebar .nav-item.active {
    background: rgba(34, 193, 195, 0.1);
    color: var(--secondary-color);
}

.app-main {
    padding: 2.5rem;
    overflow-y: auto;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.match-card {
    background: #0d1127;
    border-radius: 1.2rem;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255,255,255,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.match-info h4 {
    font-size: 0.8rem;
    color: var(--text-dim);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.match-teams {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.match-meta {
    font-size: 0.75rem;
    color: var(--text-dim);
}

.match-prediction {
    text-align: center;
    background: rgba(0, 255, 136, 0.05);
    padding: 1.2rem 2.5rem;
    border-radius: 1.2rem;
    border: 1px solid rgba(0, 255, 136, 0.1);
    min-width: 180px;
}

.predict-label {
    display: block;
    font-size: 0.75rem;
    color: var(--hit-green);
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.predict-value {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-white);
}

.confidence-bar {
    width: 100px;
    height: 4px;
    background: #1c223a;
    border-radius: 10px;
    margin-top: 0.5rem;
}

.confidence-fill {
    height: 100%;
    background: var(--hit-green);
    border-radius: 10px;
}

/* Section Common */
section {
    padding: 8rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
}

.section-header p {
    color: var(--text-dim);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.feature-card {
    background: var(--card-bg);
    padding: 3.5rem 2.5rem;
    border-radius: 2rem;
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary-color);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.feature-card .icon {
    font-size: 3rem;
    margin-bottom: 2rem;
    display: block;
}

/* Data Table */
.data-table-wrapper {
    background: var(--card-bg);
    border-radius: 2rem;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
}

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

th {
    background: rgba(255,255,255,0.02);
    padding: 2rem;
    text-align: left;
    color: var(--primary-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

td {
    padding: 1.8rem 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-weight: 500;
}

.status-hit {
    color: var(--hit-green);
    background: rgba(0, 255, 136, 0.1);
    padding: 0.4rem 1rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.85rem;
}

/* Quantitative Trading Section */
.quant {
    padding: 8rem 0;
}

.quant-visual {
    position: relative;
    z-index: 1;
}

.quant-visual::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(34, 193, 195, 0.1) 0%, transparent 70%);
    z-index: -1;
}

.quant-content h2 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    line-height: 1.1;
    font-weight: 900;
}

.quant-content p {
    color: var(--text-dim);
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.quant-list {
    list-style: none;
    padding: 0;
}

.quant-list li {
    color: var(--text-white);
    line-height: 3;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.quant-list li span {
    color: var(--secondary-color);
    margin-right: 1rem;
    font-size: 1.2rem;
}

/* Footer */
footer {
    padding: 6rem 0 3rem;
    background: #01030d;
    border-top: 1px solid rgba(255,255,255,0.05);
}

footer a {
    transition: var(--transition);
}

footer a:hover {
    color: var(--primary-color) !important;
}

/* Utils */
.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }

@media (max-width: 1024px) {
    .hero-title { font-size: 3rem; }
    .feature-grid { grid-template-columns: 1fr 1fr; }
    .app-sidebar { display: none; }
    .app-content { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .feature-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 2.5rem; }
    .match-card { flex-direction: column; text-align: center; gap: 2rem; }
}
