/* ========================================
   VERVE FUNDS - Professional Quant Style
   High-End Financial Design
   ======================================== */

/* CSS Variables */
:root {
    --primary: #3B82F6;
    --primary-rgb: 59, 130, 246;
    --secondary: #8B5CF6;
    --accent: #10B981;
    --danger: #EF4444;
    --warning: #F59E0B;
    --bg-dark: #030712;
    --bg-card: #0F172A;
    --bg-card-hover: #1E293B;
    --bg-elevated: #1a2332;
    --text-primary: #FFFFFF;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    --border: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.12);
    --gradient-primary: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
    --gradient-green: linear-gradient(135deg, #10B981 0%, #059669 100%);
    --gradient-blue: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
    --gradient-purple: linear-gradient(135deg, #8B5CF6 0%, #6366F1 100%);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 30px rgba(59, 130, 246, 0.3);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Elegant Grid Background */
.grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background-image: 
        linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.grid-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(59, 130, 246, 0.08) 0%, transparent 60%);
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(3, 7, 18, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon-box {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 10px;
    color: white;
}

.logo-icon-box svg {
    width: 22px;
    height: 22px;
}

.logo-text {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    gap: 8px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
    color: var(--primary);
    background: rgba(59, 130, 246, 0.1);
}

.nav-link svg {
    width: 16px;
    height: 16px;
}

.mobile-menu-btn {
    display: none;
    padding: 8px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    cursor: pointer;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 24px 80px;
    max-width: 1280px;
    margin: 0 auto;
    gap: 60px;
}

.hero-content {
    flex: 1;
    max-width: 640px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 100px;
    font-size: 13px;
    color: var(--primary);
    margin-bottom: 24px;
}

.hero-badge .pulse {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn svg {
    width: 18px;
    height: 18px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

/* Hero Visual - Data Card */
.hero-visual {
    flex: 1;
    max-width: 400px;
}

.data-card {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 24px;
    box-shadow: var(--shadow-lg);
}

.data-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
}

.data-card-header svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
}

/* Static Candlestick Chart */
.mini-chart-static {
    background: rgba(3, 7, 18, 0.5);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
}

.candlestick-chart {
    width: 100%;
    height: auto;
}

.candlestick-chart .grid-line {
    stroke: rgba(255, 255, 255, 0.05);
    stroke-width: 1;
}

.candlestick-chart .candle line {
    stroke-width: 1.5;
}

.candlestick-chart .candle-body.up {
    fill: var(--accent);
    stroke: var(--accent);
}

.candlestick-chart .candle-body.down {
    fill: var(--danger);
    stroke: var(--danger);
}

.candlestick-chart .trend-line {
    fill: none;
    stroke: var(--primary);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.6;
}

.data-card-footer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.stat-value.positive {
    color: var(--accent);
}

.stat-value.negative {
    color: var(--danger);
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ========================================
   Market Section
   ======================================== */
.market-section {
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 16px;
}

.section-header.center {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.section-title-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 32px;
    font-weight: 700;
}

.section-title svg {
    width: 28px;
    height: 28px;
    color: var(--primary);
}

.section-subtitle {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-muted);
}

.section-subtitle svg {
    width: 14px;
    height: 14px;
}

.section-link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
    transition: gap 0.3s ease;
}

.section-link:hover {
    gap: 10px;
}

.section-link svg {
    width: 16px;
    height: 16px;
}

.market-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.market-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
}

.market-card:hover {
    border-color: var(--border-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.market-card.loading {
    opacity: 0.7;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.card-icon-box {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.card-icon-box svg {
    width: 20px;
    height: 20px;
}

.card-icon-box.blue {
    background: rgba(59, 130, 246, 0.15);
    color: var(--primary);
}

.card-icon-box.purple {
    background: rgba(139, 92, 246, 0.15);
    color: var(--secondary);
}

.card-icon-box.orange {
    background: rgba(249, 115, 22, 0.15);
    color: #F97316;
}

.card-icon-box.green {
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent);
}

.card-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    text-transform: uppercase;
}

.card-name {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.card-value {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 4px;
}

.card-change {
    font-size: 14px;
    font-weight: 500;
}

.card-change.up {
    color: var(--accent);
}

.card-change.down {
    color: var(--danger);
}

/* ========================================
   Market Pulse - Three Market Panels
   ======================================== */
.market-triple-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 24px;
}

.market-panel {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
}

.market-panel:hover {
    border-color: var(--border-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.market-panel.us {
    border-top: 3px solid #3B82F6;
}

.market-panel.hk {
    border-top: 3px solid #EF4444;
}

.market-panel.cn {
    border-top: 3px solid #F59E0B;
}

.panel-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.panel-header .flag {
    font-size: 28px;
}

.panel-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
}

.panel-en {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 400;
    margin-left: 4px;
}

.panel-volume {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
    text-align: center;
}

.volume-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.volume-change {
    font-size: 14px;
    font-weight: 500;
}

.volume-change.up {
    color: var(--accent);
}

.volume-change.up.strong {
    color: #10B981;
    font-weight: 600;
}

.volume-change.down {
    color: var(--danger);
}

.volume-change.down.strong {
    color: #EF4444;
    font-weight: 600;
}

.volume-change.neutral {
    color: var(--text-muted);
}

.panel-sectors h4 {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    font-weight: 500;
}

.sector-en {
    font-size: 11px;
    color: var(--text-muted);
    margin-left: 6px;
}

.sector-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sector-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    font-size: 14px;
    transition: background 0.2s;
}

.sector-list li:hover {
    background: rgba(255, 255, 255, 0.05);
}

.sector-list li.loading,
.sector-list li.empty {
    justify-content: center;
    color: var(--text-muted);
    font-style: italic;
}

.sector-name {
    color: var(--text-primary);
    font-weight: 500;
}

.sector-pct {
    font-weight: 600;
    font-size: 13px;
}

.sector-pct.up {
    color: var(--accent);
}

.sector-pct.down {
    color: var(--danger);
}

.sector-pct.neutral {
    color: var(--text-muted);
}

.market-update-time {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.market-update-time svg {
    width: 14px;
    height: 14px;
}

.market-update-time .time-en {
    font-size: 11px;
}

/* ========================================
   Reports Section
   ======================================== */
.reports-section {
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

.reports-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.report-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.report-card:hover {
    border-color: var(--border-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.report-image {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    color: var(--primary);
}

.report-image svg,
.report-image i {
    width: 48px;
    height: 48px;
}

.report-content {
    padding: 24px;
}

.report-type {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 12px;
}

.report-type svg,
.report-type i {
    width: 12px;
    height: 12px;
}

.report-type.market {
    background: rgba(59, 130, 246, 0.15);
    color: var(--primary);
}

.report-type.industry {
    background: rgba(139, 92, 246, 0.15);
    color: var(--secondary);
}

.report-type.portfolio {
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent);
}

.report-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
}

.report-excerpt {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.report-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-muted);
}

.report-meta span:last-child {
    color: var(--primary);
    font-weight: 500;
}

.report-meta svg,
.report-meta i {
    width: 12px;
    height: 12px;
    margin-right: 4px;
}

/* ========================================
   Services Section
   ======================================== */
.services-section {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.3s ease;
    position: relative;
}

.service-card:hover {
    border-color: var(--border-light);
    transform: translateY(-4px);
}

.service-card.featured {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    border-color: rgba(139, 92, 246, 0.3);
}

.featured-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    background: var(--gradient-purple);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
}

.featured-badge svg {
    width: 14px;
    height: 14px;
}

.service-icon-box {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    margin-bottom: 24px;
}

.service-icon-box svg {
    width: 28px;
    height: 28px;
}

.service-icon-box.blue {
    background: rgba(59, 130, 246, 0.15);
    color: var(--primary);
}

.service-icon-box.purple {
    background: rgba(139, 92, 246, 0.15);
    color: var(--secondary);
}

.service-icon-box.green {
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent);
}

.service-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-card > p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
}

.service-list li:last-child {
    border-bottom: none;
}

.service-list svg,
.service-list i {
    width: 16px;
    height: 16px;
    color: var(--accent);
    flex-shrink: 0;
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 20px;
    margin: 0 auto 32px;
    box-shadow: var(--shadow-glow);
}

.cta-icon svg {
    width: 40px;
    height: 40px;
}

.cta-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    padding: 60px 0 30px;
    border-top: 1px solid var(--border);
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 12px 0 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary);
    color: white;
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-links svg {
    width: 14px;
    height: 14px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-secondary);
}

.footer-contact svg {
    width: 16px;
    height: 16px;
    color: var(--primary);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1200px) {
    .hero {
        gap: 40px;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .market-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .reports-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        min-height: auto;
        padding-top: 140px;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-badge {
        justify-content: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-visual {
        max-width: 100%;
        width: 100%;
    }
    
    .market-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .reports-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--bg-dark);
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero {
        padding: 120px 20px 60px;
        min-height: auto;
    }
    
    .hero-badge {
        justify-content: center;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .market-cards {
        grid-template-columns: 1fr;
    }
    
    .reports-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .section-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .cta-content h2 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .service-card {
        padding: 24px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .data-card-footer {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* ========================================
   Bilingual Enhancement (Chinese + English)
   ======================================== */
.nav-en,
.badge-en,
.subtitle-en,
.btn-en,
.title-en,
.stat-en,
.card-en,
.subtitle-inline-en,
.link-en,
.card-title-en,
.li-en,
.h4-en,
.p-en {
    font-size: 0.75em;
    color: var(--text-muted);
    font-weight: 400;
    opacity: 0.8;
}

/* Navigation English text */
.nav-en {
    margin-left: 4px;
}

/* Badge English */
.badge-en {
    margin-left: 8px;
    padding-left: 8px;
    border-left: 1px solid rgba(59, 130, 246, 0.3);
}

/* Subtitle English */
.subtitle-en {
    display: block;
    margin-top: 4px;
    font-size: 0.85em;
}

/* Button English */
.btn-en {
    margin-left: 6px;
}

/* Title English */
.title-en {
    margin-left: 10px;
    font-weight: 500;
}

/* Stat label English */
.stat-en {
    font-size: 0.75em;
    opacity: 0.7;
}

/* Card English */
.card-en {
    display: block;
    font-size: 0.8em;
    margin-top: 2px;
}

/* Section subtitle inline English */
.subtitle-inline-en {
    margin-left: 8px;
    color: var(--text-muted);
}

/* Link English */
.link-en {
    margin-right: 4px;
}

/* Service list English */
.li-en {
    font-size: 0.8em;
    margin-left: 4px;
    opacity: 0.7;
}

/* H4 English */
.h4-en {
    display: inline-block;
    margin-left: 8px;
}

/* Paragraph English */
.p-en {
    display: block;
    margin-top: 2px;
}

/* Mobile responsive for bilingual */
@media (max-width: 768px) {
    .nav-en,
    .badge-en,
    .subtitle-en,
    .btn-en,
    .title-en,
    .subtitle-inline-en,
    .card-title-en,
    .h4-en,
    .p-en,
    .stat-en {
        display: none;
    }
    
    .card-en,
    .link-en,
    .li-en {
        display: none;
    }
}

/* =============================================
   Report Full-Content Modal
   ============================================= */
.report-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    padding: 20px;
    overflow-y: auto;
}

.report-modal.active {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.report-modal .modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    width: 100%;
    max-width: 860px;
    margin: 40px auto;
    overflow: hidden;
}

.report-modal .modal-header {
    position: sticky;
    top: 0;
    background: var(--bg-dark);
    border-bottom: 1px solid var(--border);
    padding: 24px 32px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.report-modal .modal-header h2 {
    flex: 1;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    min-width: 0;
    word-break: break-word;
}

.report-modal .modal-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--text-secondary);
    flex-wrap: wrap;
}

.report-modal .modal-meta span {
    background: var(--bg-card);
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid var(--border);
}

.report-modal .modal-close {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 24px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s;
    line-height: 1;
}

.report-modal .modal-close:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.report-modal .modal-body {
    padding: 32px;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}

/* =============================================
   Report Card Enhancements
   ============================================= */
.btn-expand {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    font-size: 12px;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--primary);
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-expand:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.card-risk {
    display: inline-block;
    font-size: 12px;
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    padding: 2px 8px;
    border-radius: 4px;
    margin-right: 6px;
}

.card-strategy {
    display: inline-block;
    font-size: 12px;
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    padding: 2px 8px;
    border-radius: 4px;
    margin-right: 6px;
}

.report-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.read-more {
    color: var(--primary);
    font-size: 13px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.read-more:hover {
    opacity: 0.8;
}

/* =============================================
   Report Full Content Styles (in modal)
   ============================================= */
.report-full-content {
    font-family: 'Noto Sans SC', 'Inter', sans-serif;
}

.report-full-content h1,
.report-full-content h2,
.report-full-content h3,
.report-full-content h4 {
    color: var(--text-primary);
    font-weight: 700;
    margin: 24px 0 12px;
    line-height: 1.4;
}

.report-full-content h1 { font-size: 26px; }
.report-full-content h2 { font-size: 20px; border-bottom: 1px solid var(--border); padding-bottom: 8px; }
.report-full-content h3 { font-size: 16px; }
.report-full-content h4 { font-size: 14px; color: var(--text-secondary); }

.report-full-content p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.report-full-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 13px;
}

.report-full-content th,
.report-full-content td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.report-full-content th {
    background: var(--bg-dark);
    color: var(--text-secondary);
    font-weight: 600;
}

.report-full-content .up { color: #ef4444; }
.report-full-content .down { color: #10b981; }
.report-full-content .neutral { color: #6b7280; }

.report-full-content .verdict-box,
.report-full-content .verdict-text,
.report-full-content .summary-box {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    padding: 20px;
    margin: 16px 0;
}

.report-full-content .verdict-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    margin: 0;
}

.report-full-content .risk-score-box,
.report-full-content .score-box {
    background: var(--bg-dark);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 16px 0;
}

.report-full-content .risk-number {
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, #ef4444, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.report-full-content ul,
.report-full-content ol {
    padding-left: 20px;
    margin: 12px 0;
}

.report-full-content li {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.report-full-content .market-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin: 12px 0;
}

.report-full-content .market-card {
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px;
}

.report-full-content .market-card h4 {
    margin: 0 0 6px;
    font-size: 13px;
}

.report-full-content .market-card .value {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
}

.report-full-content .market-card .change {
    font-size: 13px;
    margin-top: 4px;
}

/* =============================================
   Research Page Styles
   三大板块列表布局
   ============================================= */
.research-hero {
    padding: 160px 0 60px;
    text-align: center;
}

.research-body {
    padding: 40px 0 80px;
    position: relative;
    z-index: 1;
}

/* 板块切换标签 */
.research-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 20px;
    flex-wrap: wrap;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn svg {
    width: 18px;
    height: 18px;
}

.tab-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.tab-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* 板块面板 */
.research-panel {
    display: none;
}

.research-panel.active {
    display: block;
}

.panel-header {
    margin-bottom: 32px;
}

.panel-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
}

.panel-title svg {
    width: 28px;
    height: 28px;
    color: var(--primary);
}

.panel-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 报告列表 */
.report-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.report-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
}

.report-item:hover {
    border-color: var(--border-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.item-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.item-date,
.item-views {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: var(--text-muted);
}

.item-date svg,
.item-views svg {
    width: 14px;
    height: 14px;
}

.item-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.4;
}

.item-excerpt {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.item-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.empty-state p {
    font-size: 15px;
}

/* =============================================
   Responsive Fixes
   确保各页面布局稳定
   ============================================= */

/* Hero区域固定 */
.hero {
    position: relative;
    min-height: auto;
    display: flex;
    align-items: center;
    padding: 140px 24px 60px;
    max-width: 1280px;
    margin: 0 auto;
}

/* 固定网格布局 */
.market-triple-container,
.reports-grid,
.services-grid {
    width: 100%;
}

/* Footer布局固定 */
.footer-content {
    width: 100%;
}

/* 确保container不溢出 */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 移动端全面适配 */
@media (max-width: 1200px) {
    .hero {
        padding: 130px 24px 50px;
    }

    .hero-title {
        font-size: 48px;
    }

    .market-triple-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .reports-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .research-tabs {
        gap: 10px;
    }

    .tab-btn {
        padding: 10px 18px;
        font-size: 14px;
    }
}

@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 120px 24px 50px;
        gap: 40px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-badge {
        justify-content: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .market-triple-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .market-triple-container .market-panel:last-child {
        grid-column: span 2;
    }

    .services-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    /* 导航菜单 */
    .nav-links {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--bg-dark);
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: flex;
    }

    /* Hero */
    .hero {
        padding: 100px 20px 40px;
        min-height: auto;
    }

    .hero-badge {
        justify-content: center;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    /* 容器 */
    .container {
        padding: 0 16px;
    }

    /* 市场面板 - 三列变一列 */
    .market-triple-container {
        grid-template-columns: 1fr;
    }

    .market-triple-container .market-panel:last-child {
        grid-column: auto;
    }

    /* 报告网格 - 单列 */
    .reports-grid {
        grid-template-columns: 1fr;
    }

    /* 服务网格 - 单列 */
    .services-grid {
        grid-template-columns: 1fr;
    }

    /* 研究页面 */
    .research-tabs {
        flex-direction: column;
        gap: 8px;
    }

    .tab-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
    }

    .panel-title {
        font-size: 22px;
    }

    .report-item {
        padding: 20px;
    }

    .item-title {
        font-size: 16px;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .footer-brand,
    .footer-links,
    .footer-contact {
        width: 100%;
    }

    .footer-social {
        justify-content: center;
    }

    /* Section header */
    .section-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }

    .section-title {
        font-size: 26px;
    }

    /* CTA */
    .cta-content h2 {
        font-size: 28px;
    }

    /* 关于页面 */
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-text {
        padding: 24px;
    }

    .about-text h2 {
        font-size: 20px;
    }

    /* 隐藏英文辅助文本 */
    .nav-en,
    .badge-en,
    .subtitle-en,
    .btn-en,
    .title-en,
    .subtitle-inline-en,
    .card-title-en,
    .h4-en,
    .p-en,
    .stat-en,
    .panel-en,
    .sector-en {
        display: none;
    }

    .card-en,
    .link-en,
    .li-en {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    .hero {
        padding: 90px 12px 30px;
    }

    .hero-title {
        font-size: 28px;
    }

    .section-title {
        font-size: 24px;
    }

    .panel-title {
        font-size: 20px;
    }

    .report-item {
        padding: 16px;
    }

    .item-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .btn-expand {
        width: 100%;
        justify-content: center;
    }
}

/* 防止页面跳动 */
html {
    scroll-behavior: smooth;
    overflow-y: scroll;
}

/* 确保所有卡片宽度一致 */
.report-card,
.service-card,
.market-panel,
.about-card,
.report-item {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}
