/* Wealthy Simple - Stock Trading Platform CSS */
/* Color Scheme: Black & Light Blue */

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

:root {
    --primary: #0066cc;
    --primary-dark: #004499;
    --primary-light: #3399ff;
    --secondary: #00aa88;
    --accent: #ff6b35;
    --dark: #f5f8fc;
    --darker: #ffffff;
    --card: #ffffff;
    --card-hover: #f0f5fa;
    --text: #1a202c;
    --text-muted: #4a5568;
    --text-subtle: #718096;
    --green: #00aa44;
    --green-dim: #008833;
    --red: #cc0033;
    --red-dim: #990026;
    --yellow: #cc8800;
    --yellow-dim: #996600;
    --blue: #0066cc;
    --border: rgba(0, 102, 204, 0.15);
    --border-hover: rgba(0, 102, 204, 0.3);
    --glow: rgba(0, 102, 204, 0.1);
    --glow-strong: rgba(0, 102, 204, 0.2);
    --gradient-primary: linear-gradient(135deg, #0066cc 0%, #004499 100%);
    --gradient-card: linear-gradient(145deg, #ffffff 0%, #f0f5fa 100%);
    --gradient-hero: radial-gradient(ellipse at 50% 0%, rgba(0, 102, 204, 0.08) 0%, transparent 60%),
                     radial-gradient(ellipse at 100% 100%, rgba(0, 170, 136, 0.06) 0%, transparent 50%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--dark);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
    font-size: 15px;
}

::selection {
    background: var(--primary);
    color: var(--dark);
}

/* Typography */
.gradient-text {
    background: linear-gradient(135deg, #00d4ff, #00ffaa, #66e0ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-warm {
    background: linear-gradient(135deg, #ffcc00, #ff6b35, #ff4466);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--primary-light), var(--primary));
}

/* Layout */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 24px;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 100px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid var(--border);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #fff 0%, var(--text-muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.7;
}

/* Buttons */
.btn-primary {
    padding: 16px 40px;
    border-radius: 12px;
    background: var(--gradient-primary);
    color: var(--dark);
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 212, 255, 0.4);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-outline {
    padding: 16px 40px;
    border-radius: 12px;
    border: 1px solid var(--border);
    color: var(--text);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    background: transparent;
    cursor: pointer;
}

.btn-outline:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.15);
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(245, 248, 252, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    width: 100%;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-brand .logo-img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
}

.nav-brand h1 {
    font-size: 22px;
    font-weight: 800;
    color: var(--text);
    background: linear-gradient(135deg, #fff 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: var(--text);
    background: rgba(0, 212, 255, 0.1);
}

.nav-links .btn-primary {
    padding: 12px 24px;
    font-size: 14px;
}

/* Market Ticker */
.market-ticker {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    z-index: 999;
    background: var(--card);
    border-bottom: 1px solid var(--border);
    padding: 8px 24px;
    overflow: hidden;
}

.ticker-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
}

.ticker-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    flex-shrink: 0;
}

.ticker-label i {
    color: var(--green);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.ticker-items {
    display: flex;
    gap: 32px;
    animation: ticker-scroll 30s linear infinite;
    white-space: nowrap;
    will-change: transform;
    flex-shrink: 0;
}

.ticker-items:hover {
    animation-play-state: paused;
}

@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px;
    background: var(--card-hover);
    border-radius: 8px;
    border: 1px solid var(--border);
    white-space: nowrap;
    min-width: 160px;
    transition: all 0.3s ease;
    contain: layout style paint;
    flex-shrink: 0;
}

.ticker-item:hover {
    border-color: var(--border-hover);
    transform: scale(1.02);
    z-index: 10;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.1);
}

.ticker-symbol {
    font-weight: 700;
    font-size: 13px;
    color: var(--text);
    min-width: 50px;
}

.ticker-price {
    font-weight: 600;
    font-size: 13px;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
    min-width: 80px;
    text-align: right;
}

.ticker-change {
    font-weight: 700;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 4px;
    font-variant-numeric: tabular-nums;
    min-width: 72px;
    text-align: right;
}

.ticker-change.positive {
    background: rgba(0, 255, 136, 0.15);
    color: var(--green);
}

.ticker-change.negative {
    background: rgba(255, 68, 102, 0.15);
    color: var(--red);
}

.ticker-volume {
    font-size: 11px;
    color: var(--text-subtle);
    font-variant-numeric: tabular-nums;
    min-width: 60px;
    text-align: right;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 76px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    pointer-events: none;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
        radial-gradient(rgba(0, 212, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px, 30px 30px;
    background-position: 0 0, 15px 15px;
    animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
    0% { background-position: 0 0, 15px 15px; }
    100% { background-position: 60px 60px, 45px 45px; }
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1), transparent 70%);
    pointer-events: none;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 24px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    border-radius: 100px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid var(--border);
    font-size: 13px;
    color: var(--primary);
    margin-bottom: 32px;
    font-weight: 500;
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--green); }
    50% { opacity: 0.5; box-shadow: 0 0 20px var(--green); }
}

.hero-title {
    font-size: clamp(44px, 9vw, 88px);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -0.03em;
    margin-bottom: 28px;
    color: var(--text);
}

.hero-subtitle {
    font-size: clamp(17px, 3vw, 22px);
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 48px;
    line-height: 1.8;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 64px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 0 16px;
    border-right: 1px solid var(--border);
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-size: clamp(28px, 5vw, 40px);
    font-weight: 800;
    line-height: 1.1;
    background: linear-gradient(135deg, #fff 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 13px;
    color: var(--text-subtle);
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Market Grid */
.market-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.market-card {
    padding: 24px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: var(--gradient-card);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.market-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.market-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08), 0 0 40px var(--glow);
}

.market-card:hover::before {
    opacity: 1;
}

.market-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.market-title::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: currentColor;
}

.market-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.market-card .ticker-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.market-card .ticker-item:hover {
    background: rgba(0, 212, 255, 0.05);
    border-color: var(--border-hover);
    transform: translateX(4px);
}

.market-card .ticker-symbol {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    min-width: auto;
}

.market-card .ticker-data {
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: right;
}

.market-card .ticker-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    font-variant-numeric: tabular-nums;
}

.market-card .ticker-change {
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 6px;
}

.market-card .ticker-change.positive {
    background: rgba(0, 255, 136, 0.15);
    color: var(--green);
}

.market-card .ticker-change.negative {
    background: rgba(255, 68, 102, 0.15);
    color: var(--red);
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.feature-card {
    padding: 32px;
    border-radius: 16px;
    background: var(--gradient-card);
    border: 1px solid var(--border);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.feature-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.08), 0 0 60px var(--glow);
}

.feature-card:hover::after {
    opacity: 0.03;
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(0, 212, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.feature-icon i {
    font-size: 24px;
    color: var(--primary);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: var(--gradient-primary);
    transform: scale(1.1) rotate(5deg);
}

.feature-card:hover .feature-icon i {
    color: var(--dark);
}

.feature-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
}

.feature-desc {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
}

/* Research Section */
.research-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: start;
}

.research-layout h2 {
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 800;
    line-height: 1.15;
    margin: 16px 0 24px;
    background: linear-gradient(135deg, #fff 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.research-layout > div > p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 32px;
    max-width: 500px;
}

.research-stats {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.research-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.research-stat .highlight {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.research-stat .muted {
    font-size: 16px;
    color: var(--text);
    font-weight: 500;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.stat-card {
    padding: 28px 20px;
    border-radius: 14px;
    border: 1px solid;
    text-align: center;
    background: var(--gradient-card);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
}

.stat-card.green { border-color: rgba(0, 255, 136, 0.2); }
.stat-card.green::before { background: linear-gradient(90deg, #00ff88, #00cc6a); }

.stat-card.blue { border-color: rgba(0, 212, 255, 0.2); }
.stat-card.blue::before { background: var(--gradient-primary); }

.stat-card.yellow { border-color: rgba(255, 204, 0, 0.2); }
.stat-card.yellow::before { background: linear-gradient(90deg, #ffcc00, #ff9900); }

.stat-card.purple { border-color: rgba(168, 85, 247, 0.2); }
.stat-card.purple::before { background: linear-gradient(90deg, #a855f7, #c084fc); }

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.stat-big {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 6px;
    background: linear-gradient(135deg, #fff 0%, var(--text-muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-small {
    font-size: 12px;
    color: var(--text-subtle);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* CTA Section */
.cta-section {
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(0, 212, 255, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(0, 255, 170, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.cta-section h2 {
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--text);
}

.cta-section p {
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 32px;
}

/* Footer */
.footer {
    padding: 60px 24px 32px;
    background: var(--darker);
    border-top: 1px solid var(--border);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-brand .logo-img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
}

.footer-brand .logo-img.footer-logo {
    width: 44px;
    height: 44px;
}

.footer-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--text);
}

.footer-desc {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.8;
    max-width: 300px;
}

.footer-links-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
}

.footer-link::before {
    content: '';
    position: absolute;
    left: -16px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0;
    transform: translateY(-50%) scale(0);
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: var(--primary);
    padding-left: 16px;
}

.footer-link:hover::before {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.footer-copyright {
    font-size: 13px;
    color: var(--text-subtle);
}

.footer-disclaimer {
    font-size: 12px;
    color: var(--text-subtle);
    max-width: 400px;
}

/* TradingView Widget Container */
.tradingview-widget-container {
    width: 100%;
    height: 500px;
    background: var(--card);
    border-radius: 16px;
    border: 1px solid var(--border);
    overflow: hidden;
    position: relative;
}

/* Chart Panel */
.chart-panel {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(0, 212, 255, 0.03) 0%, transparent 100%);
    flex-wrap: wrap;
    gap: 16px;
}

.chart-title-section {
    display: flex;
    align-items: center;
    gap: 16px;
}

.chart-title-section h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin: 0;
}

.chart-status {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--green);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    animation: status-pulse 2s infinite;
}

@keyframes status-pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--green); }
    50% { opacity: 0.5; box-shadow: 0 0 20px var(--green); }
}

.chart-controls {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Symbol Selector */
.symbol-selector {
    position: relative;
    min-width: 280px;
}

.symbol-select {
    width: 100%;
    padding: 12px 48px 12px 16px;
    background: var(--card-hover);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    appearance: none;
    transition: all 0.3s ease;
}

.symbol-select:hover {
    border-color: var(--border-hover);
    background: rgba(0, 212, 255, 0.03);
}

.symbol-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.15);
}

.symbol-select option {
    background: var(--card);
    color: var(--text);
    padding: 8px;
}

.symbol-select optgroup {
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 1px;
}

.select-arrow {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
    font-size: 12px;
}

/* Timeframe Buttons */
.timeframe-buttons {
    display: flex;
    gap: 4px;
    background: var(--card-hover);
    padding: 4px;
    border-radius: 10px;
    border: 1px solid var(--border);
}

.timeframe-btn {
    padding: 8px 14px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.timeframe-btn:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.03);
}

.timeframe-btn.active {
    background: var(--gradient-primary);
    color: var(--dark);
    box-shadow: 0 4px 16px rgba(0, 212, 255, 0.3);
}

.timeframe-btn.active:hover {
    background: var(--gradient-primary);
}

/* Quick Symbols */
.quick-symbols {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 16px 24px;
    border-top: 1px solid var(--border);
    background: rgba(0, 102, 204, 0.03);
}

.quick-symbol-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: var(--card-hover);
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text);
}

.quick-symbol-pill:hover {
    border-color: var(--border-hover);
    background: rgba(0, 212, 255, 0.05);
    transform: translateY(-1px);
}

.quick-symbol-pill.active {
    border-color: var(--primary);
    background: rgba(0, 212, 255, 0.1);
    box-shadow: 0 0 0 1px var(--primary);
}

.pill-name {
    font-weight: 600;
    font-size: 13px;
}

.pill-symbol {
    font-size: 11px;
    color: var(--text-muted);
    font-family: monospace;
}

.pill-category {
    font-size: 9px;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(0, 212, 255, 0.15);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* TV Placeholder */
.tv-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 400px;
    background: var(--card);
    border: 1px dashed var(--border);
    border-radius: 12px;
    color: var(--text-subtle);
    gap: 12px;
    padding: 24px;
    text-align: center;
}

.tv-placeholder i {
    font-size: 48px;
    color: var(--primary);
    opacity: 0.3;
}

.tv-placeholder p {
    font-weight: 600;
    color: var(--text-muted);
}

/* Forex Heat Map */

.heatmap-cell {
    padding: 12px 8px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.heatmap-cell::before {
    content: '';
    position: absolute;
    inset: 0;
    background: inherit;
    opacity: 0.1;
}

.heatmap-cell:hover {
    transform: scale(1.05);
    z-index: 10;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.heatmap-symbol {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-subtle);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.heatmap-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    font-variant-numeric: tabular-nums;
    margin-bottom: 2px;
}

.heatmap-change {
    font-size: 11px;
    font-weight: 600;
}

.heatmap-change.positive { color: var(--green); }
.heatmap-change.negative { color: var(--red); }

/* Market Depth / Order Book */
.order-book {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    background: var(--card);
    border-radius: 12px;
    border: 1px solid var(--border);
    padding: 16px;
}

.order-book-side h4 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-subtle);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

.order-book-side.asks h4 { color: var(--red); }
.order-book-side.bids h4 { color: var(--green); }

.order-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 8px;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.order-row:hover {
    background: rgba(255, 255, 255, 0.03);
}

.order-row .price { font-weight: 600; }
.order-row .size { color: var(--text-muted); }
.order-row .total { color: var(--text-subtle); font-size: 11px; }

.order-row.ask .price { color: var(--red); }
.order-row.bid .price { color: var(--green); }

/* Responsive */
@media (max-width: 1200px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .research-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .order-book {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .market-grid {
        grid-template-columns: 1fr;
    }
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .hero-stats {
        gap: 24px;
    }
    .stat-item {
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 0 16px 16px;
    }
    .stat-item:last-child,
    .stat-item:nth-last-child(2) {
        border-bottom: none;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 70px 20px;
    }
    .hero-content {
        padding: 60px 20px;
    }
    .nav-links a:not(.btn-primary) {
        display: none;
    }
    .feature-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .ticker-items {
        animation-duration: 20s;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    /* Chart Panel Mobile */
    .chart-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 16px;
    }
    
    .chart-title-section {
        width: 100%;
    }
    
    .chart-title-section h3 {
        font-size: 16px;
    }
    
    .chart-controls {
        width: 100%;
        flex-direction: column;
        gap: 12px;
    }
    
    .symbol-selector {
        width: 100%;
        min-width: 0;
    }
    
    .symbol-select {
        width: 100%;
    }
    
    .timeframe-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .tradingview-widget-container {
        height: 400px;
    }
    
    .quick-symbols {
        padding: 12px 16px;
    }
    
    .quick-symbol-pill {
        padding: 6px 10px;
        gap: 6px;
    }
    
    .pill-name {
        font-size: 12px;
    }
    
    .pill-symbol {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    .btn-primary, .btn-outline {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
.delay-6 { animation-delay: 0.6s; }

/* Loading States */
.skeleton {
    background: linear-gradient(90deg, var(--card) 25%, var(--card-hover) 50%, var(--card) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Focus States */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .ticker-items {
        animation: none;
    }
    .hero-bg::before {
        animation: none;
    }
    .live-dot {
        animation: none;
    }
}

/* Timeframe Buttons */
.timeframe-btn {
    padding: 8px 16px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.timeframe-btn:hover {
    border-color: var(--border-hover);
    color: var(--text);
    background: rgba(0, 212, 255, 0.05);
}

.timeframe-btn.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: var(--dark);
    box-shadow: 0 4px 16px rgba(0, 212, 255, 0.3);
}

/* Correlation Heatmap */
.correlation-heatmap {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
}

.heatmap-grid {
    display: grid;
    grid-template-columns: 60px repeat(8, 1fr);
    gap: 1px;
    background: rgba(0, 212, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.heatmap-header {
    display: contents;
}

.heatmap-row {
    display: contents;
}

.heatmap-cell {
    padding: 10px 6px;
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    transition: all 0.3s ease;
    background: var(--card);
    position: relative;
}

.heatmap-cell.header {
    background: var(--card);
    color: var(--primary);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.heatmap-cell.label {
    background: var(--card);
    color: var(--text);
    font-weight: 700;
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

.heatmap-cell.diagonal {
    background: var(--darker);
    color: var(--text-subtle);
}

.heatmap-cell.empty {
    background: var(--darker);
    color: var(--text-subtle);
}

.heatmap-cell[data-symbol] {
    cursor: help;
}

.heatmap-cell[data-symbol]:hover {
    transform: scale(1.1);
    z-index: 10;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

/* TradingView Placeholder */
.tv-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 400px;
    background: var(--card);
    border: 1px dashed var(--border);
    border-radius: 12px;
    color: var(--text-subtle);
    gap: 12px;
    padding: 24px;
    text-align: center;
}

.tv-placeholder i {
    font-size: 48px;
    color: var(--primary);
    opacity: 0.3;
}

.tv-placeholder p {
    font-weight: 600;
    color: var(--text-muted);
}

.tv-placeholder span {
    font-size: 13px;
    color: var(--text-subtle);
}
}

/* Market Status */
.market-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 12px;
}

.market-status::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    animation: status-pulse 2s infinite;
}

.status-open::before { background: #00ff88; box-shadow: 0 0 10px #00ff88; }
.status-pre::before { background: #ffcc00; box-shadow: 0 0 10px #ffcc00; }
.status-post::before { background: #ff6b35; box-shadow: 0 0 10px #ff6b35; }
.status-crypto::before { background: #a855f7; box-shadow: 0 0 10px #a855f7; }

@keyframes status-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.status-open { background: rgba(0, 255, 136, 0.1); color: #00ff88; border: 1px solid rgba(0, 255, 136, 0.2); }
.status-pre { background: rgba(255, 204, 0, 0.1); color: #ffcc00; border: 1px solid rgba(255, 204, 0, 0.2); }
.status-post { background: rgba(255, 107, 53, 0.1); color: #ff6b35; border: 1px solid rgba(255, 107, 53, 0.2); }
.status-crypto { background: rgba(168, 85, 247, 0.1); color: #a855f7; border: 1px solid rgba(168, 85, 247, 0.2); }

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex !important;
    }
    
    .nav-links {
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        background: rgba(245, 248, 252, 0.98);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 24px;
        gap: 12px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
    }
    
    .nav-links.mobile-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-links a {
        width: 100%;
        text-align: center;
        padding: 16px;
    }
    
    .ticker-container {
        flex-wrap: wrap;
    }
    
    .ticker-label {
        width: 100%;
        margin-bottom: 8px;
    }
}

/* Symbol Tooltip */
.symbol-tooltip {
    position: fixed;
    background: linear-gradient(145deg, #ffffff, #f0f5fa);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
    min-width: 200px;
    max-width: 280px;
    z-index: 10000;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -100%) scale(0.95);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08), 0 0 0 1px var(--border);
}

.symbol-tooltip.show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -100%) scale(1);
}

.symbol-tooltip::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px 8px 0;
    border-style: solid;
    border-color: var(--border) transparent transparent;
}

.symbol-tooltip::after {
    content: '';
    position: absolute;
    bottom: -7px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 7px 7px 0;
    border-style: solid;
    border-color: #ffffff transparent transparent;
}

.tooltip-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

.tooltip-symbol {
    font-weight: 700;
    font-size: 16px;
    color: #fff;
}

.tooltip-class {
    font-size: 10px;
    text-transform: uppercase;
    color: #00d4ff;
    background: rgba(0, 212, 255, 0.15);
    padding: 2px 8px;
    border-radius: 4px;
}

.tooltip-price {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
    font-variant-numeric: tabular-nums;
}

.tooltip-change {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
}

.tooltip-change.positive { color: #00ff88; }
.tooltip-change.negative { color: #ff4466; }

.tooltip-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 11px;
    color: #8899aa;
}

/* Scroll Animations */
.market-card, .feature-card, .stat-card, .section-header, .cta-section {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.market-card.animate-in, .feature-card.animate-in, .stat-card.animate-in, .section-header.animate-in, .cta-section.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for grid items */
.market-grid .market-card:nth-child(1) { transition-delay: 0.1s; }
.market-grid .market-card:nth-child(2) { transition-delay: 0.2s; }
.market-grid .market-card:nth-child(3) { transition-delay: 0.3s; }
.market-grid .market-card:nth-child(4) { transition-delay: 0.4s; }

.feature-grid .feature-card:nth-child(1) { transition-delay: 0.1s; }
.feature-grid .feature-card:nth-child(2) { transition-delay: 0.15s; }
.feature-grid .feature-card:nth-child(3) { transition-delay: 0.2s; }
.feature-grid .feature-card:nth-child(4) { transition-delay: 0.25s; }
.feature-grid .feature-card:nth-child(5) { transition-delay: 0.3s; }
.feature-grid .feature-card:nth-child(6) { transition-delay: 0.35s; }