/* QuantumVoid Landing - Bloomberg/Matrix/Terminal Theme System */
/* Based on SUI::BNN design patterns */

:root {
    /* Default: Bloomberg (Orange) */
    --accent: #ff6600;
    --accent-rgb: 255, 102, 0;
    --bg-primary: #000000;
    --bg-secondary: #0a0a0a;
    --bg-tertiary: #18181b;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    --border-color: rgba(255, 102, 0, 0.3);
    --glow: rgba(255, 102, 0, 0.4);
}

/* Theme: Matrix (Green) */
[data-theme="matrix"] {
    --accent: #00ff00;
    --accent-rgb: 0, 255, 0;
    --border-color: rgba(0, 255, 0, 0.3);
    --glow: rgba(0, 255, 0, 0.4);
}

/* Theme: Terminal (Cyan) */
[data-theme="terminal"] {
    --accent: #00d4ff;
    --accent-rgb: 0, 212, 255;
    --border-color: rgba(0, 212, 255, 0.3);
    --glow: rgba(0, 212, 255, 0.4);
}

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

body {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Grid Background */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: var(--bg-primary);
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(var(--accent-rgb), 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(var(--accent-rgb), 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

#matrix-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.08;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Theme Switcher */
.theme-switcher {
    position: fixed;
    top: 1rem;
    right: 1rem;
    display: flex;
    gap: 0.5rem;
    z-index: 1001;
    background: var(--bg-tertiary);
    padding: 0.5rem;
    border-radius: 6px;
    border: 1px solid var(--border-color);
}

.theme-btn {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
}

.theme-btn:hover {
    transform: scale(1.1);
}

.theme-btn.active {
    border-color: var(--text-primary);
}

.theme-btn.bloomberg { background: #ff6600; }
.theme-btn.matrix { background: #00ff00; }
.theme-btn.terminal { background: #00d4ff; }

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.logo-bracket {
    color: var(--accent);
}

.logo-text {
    color: var(--text-primary);
}

.logo-cursor {
    color: var(--accent);
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.nav-prefix {
    color: var(--accent);
}

.nav-link:hover {
    color: var(--accent);
}

/* Buttons */
.btn-primary {
    background: var(--accent);
    color: var(--bg-primary);
    padding: 0.6rem 1.25rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    opacity: 0.9;
    box-shadow: 0 0 20px var(--glow);
}

.btn-telegram {
    background: #229ED9;
    color: #fff;
    padding: 0.6rem 1.25rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s;
}

.btn-telegram:hover {
    background: #1a8bc7;
}

/* Hero Section */
.hero {
    padding: 120px 0 60px;
    position: relative;
}

.hero-content {
    text-align: center;
}

/* Terminal Window */
.terminal-window {
    max-width: 600px;
    margin: 0 auto 2.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
}

.terminal-header {
    background: var(--bg-tertiary);
    padding: 0.6rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.terminal-buttons {
    display: flex;
    gap: 0.4rem;
}

.terminal-buttons span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.btn-red { background: #ff5f56; }
.btn-yellow { background: #ffbd2e; }
.btn-green { background: #27c93f; }

.terminal-title {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.terminal-body {
    padding: 1.25rem;
    font-size: 0.85rem;
    line-height: 1.8;
}

.code-line {
    opacity: 0;
    animation: fadeIn 0.5s forwards;
}

.code-line.delay-1 { animation-delay: 0.5s; }
.code-line.delay-2 { animation-delay: 1s; }
.code-line.delay-3 { animation-delay: 1.5s; }
.code-line.delay-4 { animation-delay: 2s; }
.code-line.delay-5 { animation-delay: 2.5s; }

@keyframes fadeIn {
    to { opacity: 1; }
}

.prompt {
    color: var(--text-muted);
}

.command {
    color: var(--accent);
}

.output {
    margin-right: 0.5rem;
}

.output.success {
    color: var(--accent);
}

.output.warning {
    color: #ffbd2e;
}

.cursor-blink {
    animation: blink 1s infinite;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(var(--accent-rgb), 0.1);
    border: 1px solid rgba(var(--accent-rgb), 0.3);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 1.5rem;
    animation: pulse-glow 2s ease-in-out infinite;
}

.badge-icon {
    font-size: 1rem;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 5px rgba(var(--accent-rgb), 0.2); }
    50% { box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.4); }
}

/* Hero Title */
.hero-title {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.title-line {
    display: block;
}

.gradient-text {
    color: var(--accent);
    text-shadow: 0 0 30px rgba(var(--accent-rgb), 0.4);
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.highlight {
    color: var(--accent);
    font-weight: 600;
}

/* Token Gate Box - THE KEY ELEMENT */
.token-gate-box {
    max-width: 500px;
    margin: 2rem auto;
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.08), rgba(var(--accent-rgb), 0.02));
    border: 2px solid var(--accent);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(var(--accent-rgb), 0.2);
    animation: border-glow 3s ease-in-out infinite;
}

@keyframes border-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.2); }
    50% { box-shadow: 0 0 40px rgba(var(--accent-rgb), 0.4); }
}

.token-gate-header {
    background: rgba(var(--accent-rgb), 0.15);
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(var(--accent-rgb), 0.3);
}

.pumpkin-icon {
    font-size: 1.5rem;
}

.token-gate-title {
    font-weight: 700;
    font-size: 1rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.token-gate-content {
    padding: 1.5rem;
    text-align: center;
}

.token-gate-content p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}

.highlight-value {
    color: var(--accent);
    font-weight: 700;
    font-size: 1.1rem;
}

.token-gate-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Trust Row */
.trust-row {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
}

.trust-icon {
    font-size: 1.1rem;
}

/* CTA Group */
.cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.btn-hero {
    background: var(--accent);
    color: var(--bg-primary);
    padding: 0.875rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-hero:hover {
    box-shadow: 0 0 30px var(--glow);
}

.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    padding: 0.875rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-icon {
    font-size: 0.9rem;
}

/* Stats Row */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 700px;
    margin: 0 auto;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
}

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

.stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========================================
   STORY SECTION - ORIGIN
   ======================================== */
.story-section {
    padding: 100px 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.story-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-badge {
    display: inline-block;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    font-family: 'JetBrains Mono', monospace;
}

.story-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.story-text {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.story-text strong {
    color: var(--text-primary);
}

.story-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

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

.story-stat .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.25rem;
}

.story-stat .stat-desc {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.story-visual {
    position: relative;
}

.story-visual .terminal-window {
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.story-visual .terminal-window:hover {
    transform: perspective(1000px) rotateY(0deg);
}

/* ========================================
   ACCESS SECTION - HOW TO GET ACCESS
   ======================================== */
.access-section {
    padding: 100px 0;
    position: relative;
}

.pumpkin-large {
    font-size: 1.5em;
    margin-right: 0.25rem;
}

.access-steps {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 1rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.access-step {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    max-width: 280px;
    flex: 1;
    min-width: 240px;
    position: relative;
    transition: all 0.3s ease;
}

.access-step:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(var(--accent-rgb), 0.1);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--bg-primary);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
}

.step-icon {
    font-size: 2.5rem;
    margin: 1rem 0;
}

.step-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.step-desc {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.6;
}

.step-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}

.step-link:hover {
    text-decoration: underline;
}

.step-connector {
    color: var(--accent);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    padding-top: 2rem;
}

.access-cta {
    text-align: center;
    margin-top: 2rem;
}

.btn-access {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent);
    color: var(--bg-primary);
    padding: 1rem 2.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.3);
}

.btn-access:hover {
    box-shadow: 0 0 40px rgba(var(--accent-rgb), 0.5);
    transform: translateY(-2px);
}

/* ========================================
   ALGORITHMS SECTION
   ======================================== */
.algorithms-section {
    padding: 100px 0;
    background: var(--bg-secondary);
    position: relative;
}

.algorithms-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.algo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.algo-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.75rem;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.algo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: transparent;
    transition: background 0.3s ease;
}

.algo-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(var(--accent-rgb), 0.15);
}

.algo-card:hover::before {
    background: var(--accent);
}

.algo-card.featured {
    border-color: var(--accent);
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.08), transparent);
}

.algo-card.featured::before {
    background: var(--accent);
}

.algo-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent);
    color: var(--bg-primary);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.3rem 0.6rem;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.algo-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.algo-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.algo-desc {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.algo-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

/* ========================================
   EXCHANGES SECTION
   ======================================== */
.exchanges-section {
    padding: 80px 0;
    position: relative;
}

.exchanges-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.exchange-group {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
}

.exchange-group-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 1.5rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.exchange-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 0.75rem;
}

.exchange-item {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0.75rem 1rem;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.exchange-item:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(var(--accent-rgb), 0.05);
}

.exchange-item.dex {
    border-color: rgba(var(--accent-rgb), 0.3);
}

/* Features Section */
.features {
    padding: 80px 0;
    position: relative;
}

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

.section-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.title-prefix {
    color: var(--accent);
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
}

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

.feature-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 1.5rem;
    transition: all 0.2s;
}

.feature-card:hover {
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.1);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(var(--accent-rgb), 0.1);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--accent);
}

.feature-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.feature-desc {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.feature-tags {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.tag {
    background: rgba(var(--accent-rgb), 0.1);
    color: var(--accent);
    padding: 0.25rem 0.6rem;
    border-radius: 3px;
    font-size: 0.7rem;
    border: 1px solid rgba(var(--accent-rgb), 0.2);
}

/* Code Showcase Section */
.code-showcase {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.showcase-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.title-bracket {
    color: var(--accent);
}

.showcase-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.check-icon {
    color: var(--accent);
    font-weight: bold;
}

.btn-showcase {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent);
    color: var(--bg-primary);
    padding: 0.875rem 1.75rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.btn-showcase:hover {
    box-shadow: 0 0 25px var(--glow);
}

.code-window {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
}

.code-header {
    background: var(--bg-tertiary);
    padding: 0.6rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.code-buttons {
    display: flex;
    gap: 0.4rem;
}

.code-title {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.code-content {
    padding: 1.25rem;
    font-size: 0.8rem;
    line-height: 1.7;
    overflow-x: auto;
}

.code-content .key {
    color: var(--accent);
}

.code-content .string {
    color: #a5d6ff;
}

.code-content .number {
    color: #ff7b72;
}

.code-content .boolean {
    color: #ffbd2e;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
}

.cta-box {
    background: rgba(var(--accent-rgb), 0.05);
    border: 1px solid var(--accent);
    border-radius: 6px;
    padding: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cta-title {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.cta-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

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

.btn-cta-primary {
    background: var(--accent);
    color: var(--bg-primary);
    padding: 0.875rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.btn-cta-primary:hover {
    box-shadow: 0 0 25px var(--glow);
}

.btn-cta-secondary {
    background: transparent;
    color: var(--text-primary);
    padding: 0.875rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid var(--accent);
    transition: all 0.2s;
}

.btn-cta-secondary:hover {
    background: rgba(var(--accent-rgb), 0.1);
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2.5rem 0 1.5rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1.25rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.social-link.telegram {
    background: #229ED9;
    color: #fff;
}

.social-link.telegram:hover {
    background: #1a8bc7;
}

.social-link.twitter {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    border-color: var(--border-color);
}

.social-link.twitter:hover {
    color: var(--accent);
    border-color: var(--accent);
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 1.5rem;
}

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

.footer-logo {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-links h4 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-weight: 600;
    font-size: 0.85rem;
}

.footer-links a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    transition: color 0.2s;
}

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

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.footer-note {
    margin-top: 0.75rem;
    font-size: 0.75rem;
}

.warning-icon {
    color: #ffbd2e;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 22px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Responsive */
@media (max-width: 1024px) {
    .showcase-grid {
        grid-template-columns: 1fr;
    }

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

    .story-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .story-visual {
        order: -1;
    }

    .exchanges-grid {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .theme-switcher {
        top: auto;
        bottom: 1rem;
        right: 1rem;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 260px;
        height: 100vh;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 70px 1.5rem 1.5rem;
        gap: 1rem;
        border-left: 1px solid var(--border-color);
        transition: right 0.3s ease;
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-link {
        font-size: 1rem;
        padding: 0.6rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .btn-primary, .btn-telegram {
        margin-top: 0.5rem;
        width: 100%;
        text-align: center;
        justify-content: center;
    }

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

    .cta-box {
        text-align: center;
        flex-direction: column;
        padding: 1.5rem;
    }

    .cta-actions {
        justify-content: center;
        width: 100%;
    }

    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
        text-align: center;
    }

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

    .hero {
        padding: 90px 0 50px;
    }

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

    /* Story Section Mobile */
    .story-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .story-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .story-stat .stat-number {
        font-size: 1.5rem;
    }

    .story-visual .terminal-window {
        transform: none;
    }

    /* Access Section Mobile */
    .access-steps {
        flex-direction: column;
        align-items: center;
    }

    .step-connector {
        transform: rotate(90deg);
        padding: 0;
        margin: 0.5rem 0;
    }

    .access-step {
        max-width: 100%;
        width: 100%;
    }

    /* Algorithms Section Mobile */
    .algo-grid {
        grid-template-columns: 1fr;
    }

    /* Exchanges Section Mobile */
    .exchanges-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

    /* Token Gate Box Mobile */
    .token-gate-box {
        margin: 1.5rem 1rem;
    }

    .token-gate-actions {
        flex-direction: column;
    }

    .token-gate-actions .btn-hero,
    .token-gate-actions .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    /* Trust Row Mobile */
    .trust-row {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
}

/* ========================================
   LIVE MARKET ANALYTICS TABLE
   ======================================== */

.analytics-section {
    padding: 80px 0;
    background: var(--bg-secondary);
    position: relative;
}

.analytics-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    gap: 20px;
    flex-wrap: wrap;
}

.search-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 20px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 14px;
    width: 300px;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 20px var(--glow);
}

.search-input::placeholder {
    color: var(--text-muted);
}

.analytics-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-secondary);
    font-size: 14px;
}

.refresh-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px;
    cursor: pointer;
    color: var(--accent);
    transition: all 0.3s ease;
}

.refresh-btn:hover {
    background: rgba(var(--accent-rgb), 0.1);
    border-color: var(--accent);
}

.refresh-btn.loading svg {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.table-container {
    overflow-x: auto;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
}

.analytics-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.analytics-table thead {
    position: sticky;
    top: 0;
    z-index: 10;
}

.analytics-table th {
    background: rgba(0, 0, 0, 0.9);
    color: var(--accent);
    font-weight: 600;
    padding: 14px 12px;
    text-align: left;
    border-bottom: 2px solid var(--border-color);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    user-select: none;
}

.analytics-table th:hover {
    background: rgba(var(--accent-rgb), 0.1);
}

.analytics-table th.sorted-asc::after {
    content: ' ▲';
    font-size: 10px;
}

.analytics-table th.sorted-desc::after {
    content: ' ▼';
    font-size: 10px;
}

.analytics-table td {
    padding: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    white-space: nowrap;
}

.analytics-table tbody tr {
    transition: background 0.2s ease;
}

.analytics-table tbody tr:hover {
    background: rgba(var(--accent-rgb), 0.05);
}

.analytics-table .loading-row td {
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
}

/* Trend badges */
.trend-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.trend-long, .trend-bullish {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.trend-short, .trend-bearish {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.trend-neutral {
    background: rgba(161, 161, 170, 0.2);
    color: #a1a1aa;
    border: 1px solid rgba(161, 161, 170, 0.3);
}

/* Value formatting */
.value-positive {
    color: #22c55e;
}

.value-negative {
    color: #ef4444;
}

.asset-name {
    font-weight: 600;
    color: var(--accent);
}

/* Mobile responsiveness for table */
@media (max-width: 1024px) {
    .table-container {
        max-height: 500px;
    }

    .analytics-table {
        font-size: 12px;
    }

    .analytics-table th,
    .analytics-table td {
        padding: 10px 8px;
    }
}

@media (max-width: 768px) {
    .analytics-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .search-input {
        width: 100%;
    }

    .analytics-meta {
        justify-content: space-between;
    }
}
