/* 
    Nexora Bots - Bot Trading Platform
    Design System & CSS
*/

:root {
    --bg-dark: #060814;
    --bg-surface: rgba(13, 17, 46, 0.7);
    --primary: #7B2CBF;
    --primary-glow: rgba(123, 44, 191, 0.5);
    --secondary: #00D4FF;
    --secondary-glow: rgba(0, 212, 255, 0.5);
    --accent: #FF2E93;
    --success: #00E676;
    --danger: #FF3B30;
    --text-main: #FFFFFF;
    --text-muted: #94A3B8;
    --border-light: rgba(255, 255, 255, 0.08);
    --border-cyan: rgba(0, 212, 255, 0.15);
    --border-purple: rgba(108, 99, 255, 0.25);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --gradient-purple: linear-gradient(135deg, #6366F1 0%, #8B5CF6 50%, #A855F7 100%);
    --gradient-cyan: linear-gradient(135deg, #0A84FF 0%, #00D4FF 100%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-muted);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(123, 44, 191, 0.05), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(0, 212, 255, 0.05), transparent 25%);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    font-weight: 700;
    line-height: 1.2;
}

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

/* Typography Utilities */
.text-cyan { color: var(--secondary); }
.text-purple { color: var(--primary); }
.text-green { color: var(--success); }
.text-white { color: var(--text-main); }
.text-gradient-purple {
    background: linear-gradient(to right, #C77DFF, #7B2CBF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.text-gradient-cyan {
    background: linear-gradient(to right, #38B6FF, #00D4FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.text-center { text-align: center; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.py-0 { padding-top: 0 !important; padding-bottom: 0 !important; }
.pb-2 { padding-bottom: 2rem !important; }

/* Layout & Containers */
.section {
    padding: 5rem 2rem;
}
.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Glassmorphism */
.glass-panel {
    background: var(--bg-surface);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-light);
    border-radius: 16px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    font-size: 0.95rem;
    gap: 0.5rem;
    border: none;
    transition: all 0.3s ease;
}
.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}
.btn-primary-glow {
    background: var(--gradient-purple);
    color: var(--text-main);
    box-shadow: 0 0 20px var(--primary-glow);
}
.btn-primary-glow:hover {
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.8);
    transform: translateY(-2px);
}
.btn-glass {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid var(--border-light);
}
.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-cyan);
}
.btn-ghost {
    background: transparent;
    color: var(--text-main);
}
.btn-ghost:hover {
    color: var(--secondary);
}

/* Header & Nav */
.glass-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 1rem 0;
}
.glass-header.scrolled {
    background: rgba(6, 8, 20, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    padding: 0.8rem 0;
}
.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px var(--primary-glow);
}
.logo-n {
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.2rem;
}
.logo-text {
    display: flex;
    flex-direction: column;
}
.brand-name {
    font-family: var(--font-heading);
    color: var(--text-main);
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1;
}
.brand-sub {
    font-family: var(--font-heading);
    color: var(--secondary);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 2px;
}
.nav-links {
    display: flex;
    gap: 2rem;
}
.nav-link {
    color: var(--text-main);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
}
.nav-link:hover, .nav-link.active {
    color: var(--secondary);
}
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.hamburger {
    display: none;
    cursor: pointer;
}
.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease;
    background-color: var(--text-main);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
}
.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    margin-bottom: 2rem;
}
.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--secondary);
}
.pulse-cyan {
    box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.7);
    animation: pulse-cyan 2s infinite;
}
@keyframes pulse-cyan {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(0, 212, 255, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 212, 255, 0); }
}
.badge-text {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-main);
    letter-spacing: 1px;
}
.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}
.hero-subtitle {
    font-size: 1.1rem;
    max-width: 500px;
    margin-bottom: 2.5rem;
}
.hero-ctas {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.stat-card {
    border-left: 2px solid var(--border-light);
    padding-left: 1rem;
}
.stat-title {
    font-size: 0.7rem;
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
    color: var(--text-main);
}
.stat-value {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.25rem;
}
.stat-desc {
    font-size: 0.65rem;
    letter-spacing: 1px;
}

/* Hero Visual Holographic Display */
.holographic-display {
    position: relative;
    width: 100%;
}
.robot-img {
    width: 100%;
    height: auto;
    border-radius: 24px;
}
.floating-tag {
    position: absolute;
    background: rgba(6, 8, 20, 0.85);
    backdrop-filter: blur(8px);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--text-main);
}
.tag-top-left { top: 10%; left: -5%; }
.tag-top-right { top: 25%; right: -5%; }
.pulse-border-purple { border: 1px solid var(--primary); box-shadow: 0 0 15px var(--primary-glow); }
.pulse-border-cyan { border: 1px solid var(--secondary); box-shadow: 0 0 15px var(--secondary-glow); }
.floating-chart {
    position: absolute;
    bottom: 10%;
    left: -10%;
    padding: 1.5rem;
    border-radius: 16px;
    width: 250px;
}
.chart-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}
.chart-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.85rem;
}
.chart-row.border-0 { border-bottom: none; padding-bottom: 0; }

/* Features Section */
.section-subtitle {
    color: var(--text-main);
    font-size: 0.8rem;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 0.5rem;
}
.section-title {
    font-size: 2.5rem;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
.feature-card {
    padding: 2rem;
    transition: all 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-5px);
}
.feature-card.hover-glow-purple:hover { border-color: var(--primary); box-shadow: 0 0 30px var(--primary-glow); }
.feature-card.hover-glow-cyan:hover { border-color: var(--secondary); box-shadow: 0 0 30px var(--secondary-glow); }
.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #fff;
}
.bg-purple-glow { background: var(--gradient-purple); box-shadow: 0 0 15px var(--primary-glow); }
.bg-cyan-glow { background: var(--gradient-cyan); box-shadow: 0 0 15px var(--secondary-glow); }
.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}
.feature-card p {
    font-size: 0.9rem;
}

/* About Section */
.about-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}
.about-tab {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    color: var(--text-main);
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}
.about-tab:hover, .about-tab.active {
    background: var(--gradient-purple);
    border-color: transparent;
    box-shadow: 0 0 15px var(--primary-glow);
}
.about-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.about-illustration img {
    border-radius: 24px;
    box-shadow: 0 0 30px rgba(123, 44, 191, 0.2);
}
.text-left { text-align: left; }
.img-fluid { max-width: 100%; height: auto; }
.tab-pane {
    animation: fadeIn 0.5s ease-in-out;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Live Ticker Section */
.ticker-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.ticker-card {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}
.ticker-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
    font-weight: 600;
}
.ticker-pair { color: var(--text-main); }
.ticker-chart svg { width: 100%; height: 40px; }
.sparkline.green { color: var(--success); }

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}
.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}
.stars { font-size: 1.2rem; }
.brand-text {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-main);
    text-transform: uppercase;
}
.text-orange { color: #FFB400; }

/* Terminal Features Robot Row */
.terminal-features-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: -3rem;
    position: relative;
    z-index: 2;
    padding: 0 2rem;
}
.terminal-features-row .glass-panel { padding: 2rem 1rem; }
.icon-lg { width: 64px; height: 64px; border-radius: 16px; display: flex; align-items: center; justify-content: center; color: #fff; }
.terminal-visual {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.terminal-visual img { width: 100%; border-radius: 24px; border: 1px solid var(--border-light); }
.floating-stats { position: absolute; padding: 1rem; }
.floating-stats.top-right { top: 20%; right: -5%; }
.floating-stats.middle-left { top: 50%; left: -5%; }
.badge { font-family: var(--font-heading); font-size: 0.85rem; font-weight: 600; color: var(--text-main); display: inline-block; }
.pulse-purple { color: #C77DFF; }
.domain-text { font-family: var(--font-heading); font-weight: 300; letter-spacing: 5px; color: var(--text-muted); font-size: 1.1rem; }

/* CTA Section */
.cta-box {
    padding: 5rem 3rem;
    background: radial-gradient(circle at center, rgba(123, 44, 191, 0.2), rgba(13, 17, 46, 0.8));
    border-color: var(--primary);
}
.cta-box h2 { font-size: 3rem; margin-bottom: 1rem; }

/* Footer */
.footer-section {
    background-color: #03040A;
    padding: 4rem 2rem 2rem;
    border-top: 1px solid var(--border-light);
}
.footer-container { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand .brand-tagline { margin-top: 1rem; font-size: 0.8rem; font-family: var(--font-heading); font-weight: 600; letter-spacing: 2px; color: var(--secondary); }
.footer-brand .brand-desc { margin-top: 1rem; font-size: 0.9rem; }
.footer-links h4 { font-size: 1rem; margin-bottom: 1.5rem; letter-spacing: 1px; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a { color: var(--text-muted); font-size: 0.9rem; }
.footer-links a:hover { color: var(--secondary); }
.social-icons { display: flex; gap: 1rem; }
.social-link { width: 40px; height: 40px; border-radius: 50%; background: var(--bg-surface); display: flex; align-items: center; justify-content: center; color: var(--text-main); border: 1px solid var(--border-light); transition: all 0.3s ease; }
.social-link:hover { background: var(--gradient-purple); border-color: transparent; transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid var(--border-light); padding-top: 2rem; display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; }
.domain-tag { letter-spacing: 2px; }

/* Scroll Reveal Utility */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* Responsive Media Queries */
@media (max-width: 1200px) {
    .hero-container { gap: 2rem; }
    .hero-title { font-size: 3.5rem; }
    .features-grid, .ticker-container, .terminal-features-row { grid-template-columns: repeat(2, 1fr); }
    .terminal-features-row { margin-top: 2rem; }
}
@media (max-width: 992px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-subtitle { margin: 0 auto 2.5rem; }
    .hero-ctas { justify-content: center; }
    .hero-stats { justify-content: center; }
    .stat-card { border-left: none; border-bottom: 2px solid var(--border-light); padding: 0 0 1rem; }
    .floating-chart { left: 50%; transform: translateX(-50%); bottom: -10%; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .about-content-grid { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
    .text-left { text-align: center; }
}
@media (max-width: 768px) {
    .nav-container { 
        display: grid; 
        grid-template-columns: 1fr auto; 
        align-items: center; 
        padding: 1rem 2rem;
    }
    .brand-logo { grid-column: 1 / 2; grid-row: 1 / 2; }
    .hamburger { display: block; grid-column: 2 / 3; grid-row: 1 / 2; justify-self: end; }
    .nav-links, .nav-actions { 
        display: none; 
        grid-column: 1 / -1;
        width: 100%; 
        flex-direction: column; 
        text-align: center; 
        background: var(--bg-dark);
        padding: 1rem 0;
    }
    .nav-links { border-top: 1px solid var(--border-light); margin-top: 1rem; grid-row: 2 / 3; }
    .nav-actions { padding-top: 0; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border-light); grid-row: 3 / 4; }
    .nav-links.active, .nav-actions.active { display: flex; }
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    .features-grid, .ticker-container, .terminal-features-row { grid-template-columns: 1fr; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .stat-card { border-bottom: none; padding-bottom: 0; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
    .cta-box { padding: 3rem 1.5rem; }
    .cta-box h2 { font-size: 2rem; }
    .about-tabs { flex-wrap: wrap; }
}