/* =========================================
   TradingAlpha - Core Variables & Reset
========================================= */
:root {
    --bg-dark: #05050A;
    --bg-panel: rgba(15, 15, 25, 0.6);
    --neon-blue: #00F3FF;
    --neon-blue-glow: rgba(0, 243, 255, 0.4);
    --text-primary: #FFFFFF;
    --text-secondary: #94A3B8;
    --border-color: rgba(255, 255, 255, 0.1);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
}

body {
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Ambient Glow */
.glow-bg {
    position: fixed;
    top: -20vh;
    left: -20vw;
    width: 140vw;
    height: 140vh;
    background: radial-gradient(circle at 50% 20%, rgba(0, 243, 255, 0.08) 0%, rgba(5, 5, 10, 0) 50%);
    z-index: -1;
    pointer-events: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* =========================================
   Utilities & Components
========================================= */
.neon-text {
    color: var(--neon-blue);
    text-shadow: 0 0 10px var(--neon-blue-glow);
}

.glass-panel {
    background: var(--bg-panel);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    font-family: var(--font-heading);
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--neon-blue);
    color: var(--bg-dark);
}

.btn-primary:hover {
    background: #fff;
    box-shadow: 0 0 20px var(--neon-blue-glow);
}

.btn-glow {
    background: transparent;
    color: var(--neon-blue);
    border: 2px solid var(--neon-blue);
    box-shadow: 0 0 15px var(--neon-blue-glow) inset, 0 0 15px var(--neon-blue-glow);
}

.btn-glow:hover {
    background: var(--neon-blue);
    color: var(--bg-dark);
    box-shadow: 0 0 25px var(--neon-blue);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--text-primary);
}

/* =========================================
   Navigation
========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(5, 5, 10, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neon-blue);
    filter: drop-shadow(0 0 8px var(--neon-blue-glow));
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-secondary);
}

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

/* =========================================
   Hero Section
========================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px; /* Offset for navbar */
    position: relative;
}

.hero-content {
    flex: 1;
    z-index: 2;
}

.badge {
    display: inline-block;
    padding: 0.25rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.hero-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
}

/* Animated Orb */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 500px;
}

.abstract-orb {
    position: relative;
    width: 300px;
    height: 300px;
}

.core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: var(--neon-blue);
    border-radius: 50%;
    box-shadow: 0 0 50px var(--neon-blue);
    animation: pulse 2s infinite alternate;
}

.ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px dashed var(--neon-blue);
    opacity: 0.5;
}

.ring-1 { width: 140px; height: 140px; animation: spin 10s linear infinite; }
.ring-2 { width: 220px; height: 220px; animation: spin-reverse 15s linear infinite; border-style: solid; opacity: 0.2; }
.ring-3 { width: 300px; height: 300px; animation: spin 20s linear infinite; border: 2px dotted rgba(255,255,255,0.2); }

@keyframes spin { 100% { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes spin-reverse { 100% { transform: translate(-50%, -50%) rotate(-360deg); } }
@keyframes pulse { 0% { transform: translate(-50%, -50%) scale(0.9); box-shadow: 0 0 30px var(--neon-blue); } 100% { transform: translate(-50%, -50%) scale(1.1); box-shadow: 0 0 80px var(--neon-blue); } }

/* =========================================
   Stats Section
========================================= */
.border-top { border-top: 1px solid var(--border-color); }
.border-bottom { border-bottom: 1px solid var(--border-color); }

.stats {
    display: flex;
    justify-content: space-around;
    padding: 4rem 2rem;
    background: rgba(0,0,0,0.2);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 4rem;
    margin-bottom: 0.5rem;
}

.stat-symbol {
    font-size: 2rem;
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =========================================
   Features Section
========================================= */
.features {
    padding: 8rem 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2.5rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--neon-blue);
    box-shadow: 0 10px 40px rgba(0, 243, 255, 0.1);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(0, 243, 255, 0.1);
    border: 1px solid var(--neon-blue);
    margin-bottom: 1.5rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neon-blue);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-secondary);
}

/* =========================================
   Final CTA Section
========================================= */
.final-cta {
    text-align: center;
    padding: 5rem 2rem;
    margin-bottom: 5rem;
}

.final-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.final-cta p {
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-size: 1.125rem;
}

.cta-large {
    font-size: 1.25rem;
    padding: 1rem 3rem;
}

/* =========================================
   Footer
========================================= */
.footer {
    padding: 2rem 0;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
}

.company-name {
    margin-top: 0.5rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a:hover {
    color: var(--neon-blue);
}

/* =========================================
   Animations (Triggered via JS)
========================================= */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* Responsive */
@media (max-width: 768px) {
    .nav-links, .nav-btn { display: none; } /* Simple mobile handled */
    .hero { flex-direction: column; text-align: center; padding-top: 150px; }
    .hero-subtitle { margin: 0 auto 2.5rem; }
    .hero-cta { justify-content: center; flex-direction: column; }
    .stats { flex-direction: column; gap: 3rem; }
    .footer-content { flex-direction: column; gap: 2rem; text-align: center; }
}
