:root {
    --primary-color: #ffffff;
    --accent-color: #e31e24;
    /* CFI Red */
    --bg-dark: #0a162b;
    --bg-darker: #050d1a;
    --text-main: #ffffff;
    --text-muted: #a0aec0;
    --nav-bg: rgba(10, 22, 43, 0.95);
    --card-bg: rgba(255, 255, 255, 0.05);
    --border-color: rgba(255, 255, 255, 0.1);
    --transition: all 0.3s ease;
}

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

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

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header & Nav */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.top-bar {
    height: 36px;
    background: #000;
    display: flex;
    align-items: center;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--border-color);
}

.market-status {
    display: flex;
    gap: 20px;
}

.market-status span {
    cursor: pointer;
    color: var(--text-muted);
}

.market-status span.active {
    color: var(--accent-color);
}

.main-nav {
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    height: 72px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

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

.logo-box {
    background: var(--accent-color);
    color: white;
    padding: 0 10px;
    height: 40px;
    min-width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    border-radius: 6px;
    text-decoration: none;
    flex-shrink: 0;
    white-space: nowrap;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(227, 30, 36, 0.4);
}

.logo {
    margin-right: 30px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 24px;
    margin: 0;
    padding: 0;
    align-items: stretch;
    height: 100%;
}

.nav-links li {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-links a,
.nav-trigger {
    color: var(--text-main);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    cursor: pointer;
}

.nav-links a:hover,
.nav-trigger:hover {
    color: var(--text-muted);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

/* Ticker Bar */
.ticker-bar {
    background: #000;
    height: 40px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
    position: fixed;
    top: 108px;
    left: 0;
    width: 100%;
    z-index: 999;
}

.ticker-wrapper {
    display: flex;
    white-space: nowrap;
    animation: ticker-scroll 60s linear infinite;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 40px;
    font-size: 12px;
    font-weight: 700;
    color: white;
}

.ticker-item .symbol {
    color: var(--text-muted);
}

.ticker-item .price {
    font-family: 'Monaco', monospace;
    letter-spacing: 0.5px;
}

.ticker-item.up .price {
    color: #00ff88;
}

.ticker-item.down .price {
    color: #ff3344;
}

.ticker-item .change {
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 800;
}

.ticker-item.up .change {
    background: rgba(0, 255, 136, 0.15);
    color: #00ff88;
}

.ticker-item.down .change {
    background: rgba(255, 51, 68, 0.15);
    color: #ff3344;
}

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

    100% {
        transform: translateX(-50%);
    }
}

/* Trading Visual Animations */
.chart-pulse {
    animation: pricePulse 2s infinite ease-in-out;
}

@keyframes pricePulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

.candle-rise {
    animation: candleRise 1.5s ease-out forwards;
    transform-origin: bottom;
}

@keyframes candleRise {
    from {
        transform: scaleY(0);
    }

    to {
        transform: scaleY(1);
    }
}

.lang-selector {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    color: white;
    white-space: nowrap;
}

.btn {
    height: 42px;
    padding: 0 20px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    white-space: nowrap;
}

.btn-login {
    background: transparent;
    color: white;
    border: 1px solid var(--border-color);
}

.btn-login:hover {
    background: rgba(255, 255, 255, 0.05);
}

.btn-primary {
    background: white;
    color: #000;
}

.btn-primary:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.btn-large {
    height: 54px;
    padding: 0 32px;
    font-size: 16px;
}

.btn-outline {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    min-width: 480px;
    padding: 24px;
    border-radius: 14px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    display: none;
    z-index: 1001;
    color: #0a162b;
}

.nav-links li:hover .dropdown-menu,
.dropdown-menu.active {
    display: block;
    animation: dropdownPop 0.3s ease forwards;
}

@keyframes dropdownPop {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.dropdown-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.dropdown-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    border-radius: 10px;
    transition: var(--transition);
    cursor: pointer;
    text-align: left;
}

.dropdown-item:hover {
    background: #f1f5f9;
}

.dropdown-item i {
    color: var(--accent-color);
    flex-shrink: 0;
}

.dropdown-item h4 {
    font-size: 14px;
    margin-bottom: 3px;
    color: #0a162b;
    font-weight: 700;
}

.dropdown-item p {
    font-size: 11px;
    color: #64748b;
    margin: 0;
    line-height: 1.3;
}

/* Language Dropdown Specifics */
.lang-dropdown {
    min-width: 380px !important;
    padding: 20px !important;
}

.lang-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.lang-item {
    padding: 10px 15px;
    font-size: 12px;
    font-weight: 500;
    color: #4a5568 !important;
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.lang-item:hover {
    background: #f1f5f9;
    color: var(--accent-color) !important;
}

.lang-item.active {
    background: #edf2f7;
    color: #0a162b !important;
    font-weight: 700;
}

/* Hero Section */
.hero-section {
    padding: 140px 0 60px;
    background: radial-gradient(circle at 70% 30%, #1a3a63 0%, #0a162b 70%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    width: 100%;
}

.hero-slide {
    display: none;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    animation: fadeIn 0.8s ease;
}

.hero-slide.active {
    display: grid;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slider-controls {
    display: flex;
    gap: 12px;
    margin-top: 40px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: white;
    width: 30px;
    border-radius: 5px;
}

h1 {
    font-size: 56px;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 700;
}

.subtitle {
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: white;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
}

.hero-btns {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.hero-image-container {
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.ambassador-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.ambassador-img {
    width: 100%;
    max-width: 450px;
    display: block;
    filter: brightness(0.9);
}

.ambassador-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 24px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}

.ambassador-info h3 {
    font-size: 24px;
}

.ambassador-info p {
    font-size: 14px;
    color: var(--text-muted);
}

/* Interactive Switcher */
.interactive-switcher {
    padding: 100px 0;
    background: #f1f7ff;
    color: #0a162b;
}

.switcher-layout {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 60px;
    align-items: center;
}

.switcher-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.platform-nav-item {
    background: white;
    padding: 24px;
    border-radius: 16px;
    display: flex;
    gap: 20px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.platform-nav-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.platform-nav-item.active {
    border-color: #3182ce;
    box-shadow: 0 10px 30px rgba(49, 130, 206, 0.1);
}

.nav-icon-box {
    width: 60px;
    height: 60px;
    background: #f8fafc;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #3182ce;
    font-size: 20px;
}

.nav-icon-box.cfi {
    background: #e31e24;
    color: white;
}

.nav-text h3 {
    font-size: 18px;
    margin-bottom: 4px;
    color: #0a162b;
}

.nav-text p {
    font-size: 13px;
    color: #718096;
}

.switcher-content {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    background: radial-gradient(circle at center, rgba(49, 130, 206, 0.1) 0%, transparent 70%);
}

.mockup-container {
    position: relative;
    height: 500px;
}

.tablet-frame {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    border: 8px solid #0a162b;
}

.tablet-frame img {
    width: 100%;
    display: block;
}

.phone-frame {
    position: absolute;
    width: 200px;
    bottom: -30px;
    right: -20px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 6px solid #0a162b;
}

.phone-frame img {
    width: 100%;
    display: block;
}

.floating-price {
    position: absolute;
    background: white;
    padding: 10px 16px;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 700;
    z-index: 10;
}

.floating-price.gold {
    top: 20%;
    left: -40px;
}

.floating-price.nvda {
    bottom: 20%;
    right: -30px;
}

.price-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ffd700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.price-icon.nvda {
    background: #76b900;
    color: white;
}

/* Mockup Floating Animation */
.floating {
    animation: floating 4s ease-in-out infinite;
}

.floating-delayed {
    animation: floating 4s ease-in-out infinite 2s;
}

@keyframes floating {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.platform-info {
    display: none;
    animation: slideInRight 0.5s ease;
}

.platform-info.active {
    display: block;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.platform-info h2 {
    font-size: 42px;
    margin-bottom: 24px;
    color: #0a162b;
}

.rating-box {
    margin: 40px 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.large-num {
    font-size: 48px;
    font-weight: 800;
}

.stars {
    color: #ffd700;
}

.store-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.store-links img {
    height: 40px;
}

.qr-code {
    height: 80px !important;
}

/* Part 2 of style.css */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 48px;
    margin-bottom: 16px;
    color: #0a162b;
}

.section-header p {
    font-size: 18px;
    color: #4a5568;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    padding: 32px;
    background: #f8fafc;
    border-radius: 16px;
    transition: var(--transition);
    border: 1px solid #edf2f7;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: #3182ce;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #2d3748;
}

.feature-card p {
    font-size: 14px;
    color: #718096;
}

/* Instruments Section */
.instruments-section {
    padding: 100px 0;
    background: white;
    color: #0a162b;
}

.instruments-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    border-bottom: 1px solid #edf2f7;
    padding-bottom: 20px;
    flex-wrap: wrap;
}

.tab {
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    color: #718096;
}

.tab.active {
    background: #0a162b;
    color: white;
}

.instruments-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.instrument-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #edf2f7;
}

.inst-name {
    display: block;
    font-weight: 700;
    font-size: 18px;
}

.inst-desc {
    font-size: 14px;
    color: #718096;
}

.inst-price {
    text-align: right;
}

.price-val {
    display: block;
    font-weight: 700;
    font-size: 18px;
}

.price-change {
    font-size: 14px;
    font-weight: 600;
}

.price-change.pos {
    color: #2f855a;
}

.price-change.neg {
    color: #c53030;
}

.cta-center {
    display: flex;
    justify-content: center;
}

/* Product Categories Section */
.product-categories-section {
    padding: 80px 0;
    background: white;
    color: #0a162b;
}

.product-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 24px;
}

.product-card-large,
.product-card-small {
    background: linear-gradient(135deg, #0a162b 0%, #1a3a63 100%);
    border-radius: 24px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: var(--transition);
}

.product-card-large:hover,
.product-card-small:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.product-info p {
    color: white;
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 300px;
    line-height: 1.4;
    position: relative;
    z-index: 2;
}

.product-icon-bg {
    position: absolute;
    bottom: -20px;
    right: -20px;
    opacity: 0.1;
    color: white;
    z-index: 1;
}

.product-icon-bg i {
    width: 150px !important;
    height: 150px !important;
}

.product-card-small .product-icon-bg {
    position: static;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.6;
}

.product-card-small .product-icon-bg i {
    width: 80px !important;
    height: 80px !important;
}

/* Payment Methods Section */
.payment-methods-section {
    padding: 60px 0 100px;
    background: white;
    text-align: center;
}

.section-title-small {
    font-size: 24px;
    color: #4a5568;
    margin-bottom: 40px;
    font-weight: 500;
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.payment-item {
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: 12px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    height: 120px;
}

.payment-item:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.payment-logo {
    max-width: 100%;
    max-height: 50px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.6;
    transition: var(--transition);
}

.payment-item:hover .payment-logo {
    filter: grayscale(0);
    opacity: 1;
}

.wire-transfer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #718096;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.05em;
    transition: var(--transition);
}

.payment-item:hover .wire-transfer {
    color: #0a162b;
}

.wire-transfer i {
    width: 24px;
    height: 24px;
}

/* Footer */
.main-footer {
    padding: 80px 0 40px;
    background: #050d1a;
    color: white;
}

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

.footer-brand p {
    color: var(--text-muted);
    margin: 20px 0;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links i {
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
}

.social-links i:hover {
    color: white;
}

.footer-links h4 {
    margin-bottom: 24px;
    font-size: 18px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--text-muted);
}

.legal-links {
    display: flex;
    gap: 20px;
}

.legal-links a {
    color: var(--text-muted);
    text-decoration: none;
}

/* Chat Widget */
.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 2000;
}

.help-text {
    background: white;
    color: black;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
}

.close-help {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
}

.chat-bubble {
    width: 56px;
    height: 56px;
    background: #0a162b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    h1 {
        font-size: 42px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-slide {
        grid-template-columns: 1fr;
    }

    .hero-image-container {
        display: none;
    }

    .switcher-layout {
        grid-template-columns: 1fr;
    }

    .switcher-content {
        grid-template-columns: 1fr;
    }

    .mockup-container {
        height: 400px;
        display: flex;
        justify-content: center;
    }

    .tablet-frame {
        width: 80%;
    }

    .phone-frame {
        width: 150px;
        right: 10%;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .payment-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .instruments-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .legal-links {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .payment-grid {
        grid-template-columns: 1fr;
    }
}

/* Market Visualization Section */
.market-visual-section {
    padding: 100px 0;
    background: #050d1a;
    overflow: hidden;
}

.visual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.trading-canvas {
    background: #0a162b;
    border-radius: 20px;
    padding: 40px;
    border: 1px solid var(--border-color);
    position: relative;
    height: 400px;
    display: flex;
    align-items: flex-end;
    gap: 15px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
    background-image:
        linear-gradient(var(--border-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
    background-size: 40px 40px;
}

.candle {
    flex: 1;
    position: relative;
    border-radius: 4px;
    transform-origin: bottom;
}

.price-line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(0, 255, 136, 0.4);
    border-top: 1px dashed #00ff88;
    z-index: 5;
    animation: moveLine 4s infinite ease-in-out;
}

@keyframes moveLine {

    0%,
    100% {
        bottom: 280px;
    }

    50% {
        bottom: 240px;
    }
}

.candle::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    width: 2px;
    height: 30px;
    background: currentColor;
    transform: translateX(-50%);
}

.candle::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    width: 2px;
    height: 20px;
    background: currentColor;
    transform: translateX(-50%);
}

.candle-bull {
    background: #00ff88;
    color: #00ff88;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

.candle-bear {
    background: #ff3344;
    color: #ff3344;
    box-shadow: 0 0 20px rgba(255, 51, 68, 0.3);
}

.candle:nth-child(1) {
    height: 120px;
    animation: candleRise 1s 0.1s ease-out forwards, fluctuate 3s 1.2s infinite ease-in-out;
    opacity: 0;
}

.candle:nth-child(2) {
    height: 160px;
    animation: candleRise 1s 0.3s ease-out forwards, fluctuate 4s 1.4s infinite ease-in-out;
    opacity: 0;
}

.candle:nth-child(3) {
    height: 140px;
    animation: candleRise 1s 0.5s ease-out forwards, fluctuate 3.5s 1.6s infinite ease-in-out;
    opacity: 0;
}

.candle:nth-child(4) {
    height: 180px;
    animation: candleRise 1s 0.7s ease-out forwards, fluctuate 2.8s 1.8s infinite ease-in-out;
    opacity: 0;
}

.candle:nth-child(5) {
    height: 220px;
    animation: candleRise 1s 0.9s ease-out forwards, fluctuate 4.2s 2.0s infinite ease-in-out;
    opacity: 0;
}

.candle:nth-child(6) {
    height: 200px;
    animation: candleRise 1s 1.1s ease-out forwards, fluctuate 3.2s 2.2s infinite ease-in-out;
    opacity: 0;
}

.candle:nth-child(7) {
    height: 250px;
    animation: candleRise 1s 1.3s ease-out forwards, fluctuate 3.8s 2.4s infinite ease-in-out;
    opacity: 0;
}

.candle:nth-child(8) {
    height: 230px;
    animation: candleRise 1s 1.5s ease-out forwards, fluctuate 2.5s 2.6s infinite ease-in-out;
    opacity: 0;
}

.candle:nth-child(9) {
    height: 280px;
    animation: candleRise 1s 1.7s ease-out forwards, fluctuate 3s 2.8s infinite ease-in-out;
    opacity: 0;
}

@keyframes fluctuate {

    0%,
    100% {
        transform: scaleY(1);
    }

    50% {
        transform: scaleY(0.92);
    }
}

@keyframes candleRise {
    from {
        transform: scaleY(0);
        opacity: 0;
    }

    to {
        transform: scaleY(1);
        opacity: 1;
    }
}

.live-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 255, 136, 0.1);
    color: #00ff88;
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 10px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 6px;
}

.live-dot {
    width: 6px;
    height: 6px;
    background: #00ff88;
    border-radius: 50%;
    animation: pulse-dot 1s infinite;
}

@keyframes pulse-dot {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.visual-text h2 {
    font-size: 42px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, #718096 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (max-width: 1024px) {
    .visual-grid {
        grid-template-columns: 1fr;
    }
}