/* 股票配资官网 - 高端科技金融风格 */
:root {
    --bg-primary: #080c24;
    --bg-secondary: #1f1248;
    --accent: #06b6d4;
    --accent2: #8b5cf6;
    --text-primary: #e8eaf6;
    --text-secondary: #9fa8da;
    --glass-bg: rgba(255,255,255,0.05);
    --glass-border: rgba(255,255,255,0.1);
}

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

html { scroll-behavior:smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.8;
    overflow-x: hidden;
}

/* 导航栏 */
.navbar {
    position: fixed; top:0; left:0; right:0; z-index:1000;
    background: rgba(10,14,39,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 0 2rem;
    height: 70px;
    display: flex; align-items: center; justify-content: space-between;
}

.nav-brand {
    font-size: 1.3rem; font-weight: 700;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
}

.nav-links {
    display: flex; gap: 1.5rem; list-style: none; align-items: center;
}

.nav-links a {
    color: var(--text-secondary); text-decoration: none; font-size: 0.95rem;
    transition: color 0.3s; position: relative; white-space: nowrap;
}

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

.nav-links a::after {
    content:''; position:absolute; bottom:-4px; left:0; width:0; height:2px;
    background: var(--accent); transition: width 0.3s;
}

.nav-links a:hover::after { width:100%; }

.nav-toggle {
    display: none; flex-direction: column; gap: 5px; cursor: pointer;
    background: none; border: none; padding: 5px;
}

.nav-toggle span {
    width: 25px; height: 2px; background: var(--text-primary);
    transition: 0.3s;
}

/* 面包屑 */
.breadcrumb {
    padding: 90px 2rem 0;
    max-width: 1200px; margin: 0 auto;
    font-size: 0.85rem; color: var(--text-secondary);
}

.breadcrumb a { color: var(--accent); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* Hero区域 */
.hero {
    padding: 120px 2rem 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(ellipse at center, rgba(0,212,255,0.08) 0%, transparent 60%);
    animation: heroGlow 8s ease-in-out infinite;
}

@keyframes heroGlow {
    0%,100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 1; }
}

.hero h1 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, var(--accent) 50%, var(--accent2) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    position: relative;
}

.hero p {
    font-size: clamp(0.95rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 700px; margin: 0 auto 2rem;
    position: relative;
}

.hero-btns {
    display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
    position: relative;
}

.btn-primary {
    padding: 12px 32px;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    border: none; border-radius: 50px;
    color: #fff; font-size: 1rem; font-weight: 600;
    cursor: pointer; transition: all 0.3s;
    text-decoration: none;
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,212,255,0.3); }

.btn-secondary {
    padding: 12px 32px;
    background: transparent;
    border: 1px solid var(--glass-border); border-radius: 50px;
    color: var(--text-primary); font-size: 1rem;
    cursor: pointer; transition: all 0.3s;
    text-decoration: none;
}

.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

/* Hero图片 */
.hero-image {
    margin-top: 2rem;
    max-width: 800px; margin-left: auto; margin-right: auto;
    border-radius: 16px; overflow: hidden;
    border: 1px solid var(--glass-border);
    position: relative;
}

.hero-image img {
    width: 100%; height: auto; display: block;
    object-fit: cover; max-height: 400px;
}

/* 搜索框 */
.search-box {
    max-width: 600px; margin: 2rem auto 0;
    position: relative;
}

.search-box input {
    width: 100%; padding: 14px 50px 14px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    color: var(--text-primary);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

.search-box input:focus { border-color: var(--accent); }

.search-box input::placeholder { color: var(--text-secondary); }

.search-box button {
    position: absolute; right: 5px; top: 50%; transform: translateY(-50%);
    width: 40px; height: 40px;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    border: none; border-radius: 50%;
    color: #fff; font-size: 1.1rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}

.search-status {
    text-align: center; margin-top: 0.8rem;
    font-size: 0.85rem; color: var(--accent);
    min-height: 1.2em;
}

/* 仪表盘 */
.dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 1200px; margin: 0 auto;
    padding: 2rem;
}

.dash-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.dash-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.dash-number {
    font-size: 2.5rem; font-weight: 800;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dash-label {
    color: var(--text-secondary); font-size: 0.9rem; margin-top: 0.5rem;
}

/* 内容区块 */
.section {
    max-width: 1200px; margin: 0 auto;
    padding: 3rem 2rem;
}

.section-title {
    font-size: 1.8rem; font-weight: 700;
    text-align: center; margin-bottom: 2rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block; width: 60px; height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    margin: 0.8rem auto 0;
    border-radius: 2px;
}

/* 新闻卡片 */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.news-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.news-card img {
    width: 100%; height: 200px; object-fit: cover;
}

.news-card-body {
    padding: 1.5rem;
}

.news-card h5 {
    font-size: 1.1rem; margin-bottom: 0.8rem;
    color: var(--text-primary);
}

.news-card p {
    font-size: 0.9rem; color: var(--text-secondary);
    line-height: 1.7;
}

.news-card .news-date {
    font-size: 0.8rem; color: var(--accent); margin-top: 0.8rem;
}

/* 视频专区 */
.video-section {
    position: relative;
    max-width: 800px; margin: 0 auto;
    border-radius: 16px; overflow: hidden;
    border: 1px solid var(--glass-border);
    cursor: pointer;
}

.video-section img {
    width: 100%; height: auto; display: block;
    object-fit: cover; max-height: 450px;
}

.play-btn {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 80px; height: 80px;
    background: rgba(0,0,0,0.6);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s;
}

.play-btn::after {
    content: '';
    border-style: solid;
    border-width: 15px 0 15px 26px;
    border-color: transparent transparent transparent #fff;
    margin-left: 5px;
}

.video-section:hover .play-btn {
    background: rgba(0,212,255,0.7);
    transform: translate(-50%, -50%) scale(1.1);
}

/* 评价轮播 */
.reviews {
    max-width: 800px; margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.review-track {
    display: flex;
    transition: transform 0.5s ease;
}

.review-card {
    min-width: 100%;
    padding: 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    text-align: center;
}

.review-card .stars {
    color: #ffd700; font-size: 1.3rem; margin-bottom: 1rem;
}

.review-card .review-text {
    font-size: 1rem; color: var(--text-secondary);
    line-height: 1.8; margin-bottom: 1rem;
    font-style: italic;
}

.review-card .reviewer {
    font-weight: 600; color: var(--accent);
}

.review-dots {
    display: flex; justify-content: center; gap: 8px; margin-top: 1.5rem;
}

.review-dots span {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--glass-border);
    cursor: pointer;
    transition: background 0.3s;
}

.review-dots span.active { background: var(--accent); }

/* 页脚 */
.footer {
    background: rgba(0,0,0,0.3);
    border-top: 1px solid var(--glass-border);
    padding: 3rem 2rem 1.5rem;
    margin-top: 3rem;
}

.footer-grid {
    max-width: 1200px; margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h6 {
    font-size: 1rem; color: var(--accent); margin-bottom: 1rem;
    font-weight: 600;
}

.footer-col p, .footer-col a {
    font-size: 0.85rem; color: var(--text-secondary);
    line-height: 2; text-decoration: none; display: block;
}

.footer-col a:hover { color: var(--accent); }

.footer-bottom {
    max-width: 1200px; margin: 0 auto;
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--glass-border);
    font-size: 0.8rem; color: var(--text-secondary);
}

/* 内页内容 */
.page-content {
    max-width: 900px; margin: 0 auto;
    padding: 2rem;
}

.page-content h2 {
    font-size: 1.6rem; font-weight: 700;
    color: var(--text-primary);
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--glass-border);
}

.page-content h3 {
    font-size: 1.3rem; font-weight: 600;
    color: var(--accent);
    margin: 1.5rem 0 0.8rem;
}

.page-content p {
    font-size: 1rem; color: var(--text-secondary);
    line-height: 1.9; margin-bottom: 1rem;
}

.page-content img {
    width: 100%; max-height: 400px; object-fit: cover;
    border-radius: 12px; margin: 1.5rem 0;
    border: 1px solid var(--glass-border);
}

/* 淡入动画 */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 响应式 */
@media (max-width: 768px) {
    .navbar { padding: 0 1rem; }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 70px; left: 0; right: 0;
        background: rgba(10,14,39,0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 1rem;
        gap: 0.5rem;
        border-bottom: 1px solid var(--glass-border);
    }
    
    .nav-links.active { display: flex; }
    
    .nav-links a { padding: 0.8rem 1rem; }
    
    .nav-toggle { display: flex; }
    
    .hero { padding: 100px 1rem 40px; }
    
    .hero h1 { font-size: 1.6rem; }
    
    .dashboard { grid-template-columns: repeat(2, 1fr); gap: 1rem; padding: 1rem; }
    
    .dash-number { font-size: 1.8rem; }
    
    .news-grid { grid-template-columns: 1fr; }
    
    .footer-grid { grid-template-columns: 1fr; }
    
    .section { padding: 2rem 1rem; }
}

@media (max-width: 480px) {
    .dashboard { grid-template-columns: 1fr; }
    .hero-btns { flex-direction: column; align-items: center; }
}
