/* style.css */
:root {
    --primary-color: #2EE58A; /* Up green */
    --primary-down: #FF5C5C; /* Down red */
    --secondary-color: #0A0E1A; /* Dark blue-black */
    --text-color: #E2E8F0;
    --light-text: #64748B;
    --bg-color: rgba(10, 14, 26, 0.75); /* Card background */
    --border-color: rgba(255, 255, 255, 0.1);
    --grid-color: rgba(255, 255, 255, 0.04);
}

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

body {
    font-family: 'Manrope', 'Noto Sans SC', sans-serif;
    font-weight: 800;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--secondary-color);
    background-image: 
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 20px 20px;
    background-attachment: fixed;
}

.price, .live-num, .ticker-num {
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 500;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
header {
    background-color: var(--bg-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

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

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: #0A0E1A; /* Dark text for high contrast on neon green */
    text-decoration: none;
    border-radius: 5px;
    font-weight: 900; /* Extra bold */
    text-align: center;
    transition: all 0.3s;
    min-height: 44px; /* Touch target size */
    line-height: 20px;
}

.btn:hover {
    background-color: #24C075;
    box-shadow: 0 0 15px rgba(46, 229, 138, 0.4);
}

/* Sections */
section {
    padding: 80px 0;
    background-color: var(--bg-color);
}

section:nth-child(even) {
    background-color: var(--secondary-color);
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
    font-weight: 700;
}

/* Hero */
.hero {
    text-align: center;
    padding: 100px 0;
    background: radial-gradient(circle at top, var(--bg-color) 0%, var(--secondary-color) 100%);
    color: var(--text-color);
    border-bottom: 1px solid var(--border-color);
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Grid Layouts */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

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

/* Cards */
.card {
    background: var(--bg-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    text-align: center;
    border: 1px solid var(--border-color);
}

.card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Support (Streaming/AI) */
.support-item {
    background: var(--bg-color);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    border: 1px solid var(--border-color);
}

.support-item h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Pricing */
.pricing-card {
    border: 1px solid var(--border-color);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    background: var(--bg-color);
    transition: transform 0.3s;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
    border-color: var(--primary-color);
}

.price {
    font-size: 36px;
    font-weight: bold;
    color: var(--primary-color);
    margin: 20px 0;
}

.pricing-features {
    list-style: none;
    margin: 30px 0;
    text-align: left;
}

.pricing-features li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.pricing-features li::before {
    content: "âœ?;
    color: #28a745;
    position: absolute;
    left: 0;
}

/* Reviews */
.review-card {
    text-align: left;
    font-style: italic;
}

.review-author {
    margin-top: 15px;
    font-weight: bold;
    font-style: normal;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}

.faq-item h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.faq-item p {
    color: var(--light-text);
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    border-top: 1px solid var(--border-color);
    color: var(--light-text);
    text-align: center;
    padding: 40px 0;
}

footer .footer-links {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

footer a {
    color: var(--text-color);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
    color: var(--primary-color);
}

/* Inner Pages */
.page-content {
    max-width: 800px;
    margin: 50px auto;
    padding: 30px;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}
.page-content h1 {
    margin-bottom: 20px;
    color: var(--primary-color);
}
.page-content h2 {
    margin-top: 30px;
    margin-bottom: 15px;
}
.page-content p {
    margin-bottom: 15px;
}
.page-content ul {
    margin-left: 20px;
    margin-bottom: 15px;
}
.page-content a {
    color: var(--primary-color);
    text-decoration: none;
}

/* Media Queries for Mobile */
@media (max-width: 768px) {
    .grid-3, .grid-2 {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero .btn, .pricing-card .btn {
        width: 100%;
        margin-top: 10px;
    }
}

/* Ticker Marquee */
.ticker-wrap {
    width: 100%;
    overflow: hidden;
    background-color: rgba(10, 14, 26, 0.9);
    border-bottom: 1px solid var(--border-color);
    box-sizing: border-box;
    position: relative;
    z-index: 200;
}
.ticker {
    display: inline-flex;
    white-space: nowrap;
    animation: ticker-anim 20s linear infinite;
    padding: 8px 0;
}
.ticker:hover {
    animation-play-state: paused;
}
.ticker-item {
    padding: 0 30px;
    font-size: 14px;
    display: flex;
    gap: 10px;
    align-items: center;
}
.ticker-symbol {
    color: var(--light-text);
}
.ticker-num {
    font-family: 'IBM Plex Mono', monospace;
}
.up { color: var(--primary-color); }
.down { color: var(--primary-down); }

@keyframes ticker-anim {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

/* K-line Canvas Container */
#kline-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: auto;
}
.hero .container {
    position: relative;
    z-index: 2;
}
.hero {
    position: relative;
    overflow: hidden;
    background: transparent;
}


/* Accessibility & Long Text */
section, main, [id] { scroll-margin-top: 80px; }
.page-content, .card { overflow-wrap: break-word; word-wrap: break-word; }

