﻿/* ==========================================================================
   RAVTrader — Premium Fintech Design System
   Unified with Chrome Extension theme
   ========================================================================== */
:root {
    --bg-black: #060606;
    --bg-dark: #0a0a0a;
    --bg-card: #111111;
    --bg-elevated: #161616;
    --bg-panel: rgba(16, 16, 16, 0.85);
    --border-color: rgba(255, 255, 255, 0.06);
    --border-subtle: rgba(255, 255, 255, 0.04);
    --text-main: #f0f0f0;
    --text-muted: #8a8a8a;
    --text-secondary: #555555;

    /* Extension-Matched Palette */
    --neon-green: #c9fd06;
    --neon-blue: #c9fd06;
    --neon-purple: #c9fd06;
    --error-red: #ff5050;
    --lime: #c9fd06;
    --lime-bright: #d4ff00;
    --lime-dark: #a8d100;
    --green: #00ff64;
    --glow-lime: rgba(201, 253, 6, 0.10);
    --glow-lime-strong: rgba(201, 253, 6, 0.20);

    --font-heading: 'Inter', -apple-system, sans-serif;
    --font-body: 'Inter', -apple-system, sans-serif;

    --transition-smooth: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background: var(--bg-black);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.65;
    overflow-x: hidden;
    position: relative;
}

/* ==========================================================================
   Ambient Background — Subtle, not distracting
   ========================================================================== */
.glow-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(200px);
    z-index: -2;
    pointer-events: none;
    opacity: 0.035;
}

.orb-1 {
    width: 900px;
    height: 900px;
    background: var(--lime);
    top: -400px;
    left: -300px;
}

.orb-2 {
    width: 800px;
    height: 800px;
    background: var(--lime);
    bottom: -400px;
    right: -300px;
    opacity: 0.025;
}

/* Grid removed — clean premium look */
.grid-overlay {
    display: none;
}

/* ==========================================================================
   Global UI Components
   ========================================================================== */
.glass-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2), 0 8px 40px rgba(0, 0, 0, 0.15);
    transition: var(--transition-smooth);
}

.glass-panel:hover {
    border-color: rgba(255, 255, 255, 0.09);
}

.text-gradient {
    background: linear-gradient(135deg, var(--lime) 0%, var(--lime-bright) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-body);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: #fff;
}

h1 {
    font-weight: 800;
}

/* ==========================================================================
   Buttons — Sophisticated, not flashy
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
    letter-spacing: -0.01em;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 15px;
    border-radius: 12px;
}

.btn-primary {
    background: var(--lime);
    color: #0a0a0a;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(201, 253, 6, 0.15), 0 0 0 0 rgba(201, 253, 6, 0);
}

.btn-primary:hover {
    background: var(--lime-bright);
    box-shadow: 0 4px 20px rgba(201, 253, 6, 0.25), 0 0 0 0 rgba(201, 253, 6, 0);
    transform: translateY(-1px);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.10);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.18);
}

.btn-login {
    background: transparent;
    color: var(--text-muted);
    font-weight: 500;
}

.btn-login:hover {
    color: #fff;
}

/* ==========================================================================
   Navigation — Clean, minimal
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 0;
    transition: var(--transition-spring);
}

.navbar.scrolled {
    background: rgba(6, 6, 6, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 14px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rav-logo-text {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    text-shadow: none;
}

.rav-logo-text span {
    font-weight: 400;
    color: var(--lime);
    font-size: 28px;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 36px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
    letter-spacing: -0.01em;
}

.nav-links a:hover {
    color: #fff;
}

.nav-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    cursor: pointer;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100vh;
    background: var(--bg-dark);
    z-index: 99;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    transition: var(--transition-spring);
}

.mobile-menu.active {
    left: 0;
}

.mobile-link {
    color: var(--text-main);
    text-decoration: none;
    font-size: 22px;
    font-weight: 600;
}

/* ==========================================================================
   Hero Section — Clean, confident
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 140px 24px 80px;
    gap: 80px;
}

.hero-content {
    flex: 1;
}

.hero .badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 18px;
    background: rgba(201, 253, 6, 0.06);
    border: 1px solid rgba(201, 253, 6, 0.15);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--lime);
    margin-bottom: 28px;
    letter-spacing: -0.01em;
}

.pulse-dot {
    width: 7px;
    height: 7px;
    background: var(--lime);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--lime);
    animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 6px var(--lime);
    }

    50% {
        opacity: 0.5;
        box-shadow: 0 0 12px var(--lime);
    }
}

.hero h1 {
    font-size: clamp(42px, 5.5vw, 68px);
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: -0.04em;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 17px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 480px;
    line-height: 1.7;
    letter-spacing: -0.01em;
}

.hero-cta {
    display: flex;
    gap: 14px;
    margin-bottom: 64px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 36px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 500;
}

.hero-stats .divider {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.08);
}

/* Dashboard Mockup */
.hero-visual {
    flex: 1;
    position: relative;
    perspective: 1200px;
}

.main-dashboard-mockup {
    width: 100%;
    aspect-ratio: 16/10;
    transform: rotateY(-15deg) rotateX(5deg);
    transition: transform 0.5s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.main-dashboard-mockup:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.mock-header {
    background: rgba(0, 0, 0, 0.4);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.mock-traffic-lights {
    display: flex;
    gap: 6px;
}

.mock-traffic-lights span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ff5f56;
}

.mock-traffic-lights span:nth-child(2) {
    background: #ffbd2e;
}

.mock-traffic-lights span:nth-child(3) {
    background: #27c93f;
}

.mock-title {
    margin-left: 20px;
    font-family: monospace;
    font-size: 12px;
    color: var(--text-muted);
}

.mock-body {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mock-chart {
    flex: 1;
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.svg-chart {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.chart-line {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawLine 3s linear forwards;
}

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

.mock-signals {
    display: flex;
    gap: 16px;
}

.mock-signal {
    flex: 1;
    background: rgba(0, 0, 0, 0.3);
    padding: 12px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.ms-pair {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
}

.ms-type {
    font-weight: bold;
}

.ms-type.long {
    color: var(--neon-green);
}

.ms-type.short {
    color: var(--error-red);
}

.ms-price {
    font-family: var(--font-heading);
    font-size: 16px;
}

.floating-card {
    position: absolute;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
}

.floating-card strong {
    display: block;
    color: var(--text-main);
}

.floating-card span {
    display: block;
    color: var(--text-muted);
    font-size: 11px;
}

.floating-card .text-green {
    color: var(--neon-green);
}

.floating-card .text-blue {
    color: var(--neon-blue);
}

.card-1 {
    top: -20px;
    right: -20px;
    animation: float 6s ease-in-out infinite;
}

.card-2 {
    bottom: -30px;
    left: -30px;
    animation: float 5s ease-in-out infinite reverse;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* ==========================================================================
   Partners
   ========================================================================== */
.partners {
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.01);
}

.partners p {
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.partner-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    margin: 0 auto;
}

/* ========================================= */
/*       PORTED EXTENSION COMPONENT CSS      */
/* ========================================= */

/* REWARDS TAB */
.rewards-header {
    background: linear-gradient(135deg, rgba(201, 253, 6, 0.15) 0%, rgba(10, 10, 10, 0) 100%);
    border: 1px solid rgba(201, 253, 6, 0.3);
    border-radius: 16px;
    padding: 25px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.achievement-card {
    display: flex;
    flex-direction: column;
    padding: 15px;
    background: rgba(20, 20, 20, 0.8);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.achievement-card.locked {
    opacity: 0.6;
    filter: grayscale(1);
}

.achievement-card.locked button {
    pointer-events: none;
    opacity: 0.5;
}

/* NEWS TAB */
.news-section {
    width: 100%;
}

.news-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 15px;
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.news-card:hover {
    border-color: rgba(201, 253, 6, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(201, 253, 6, 0.1);
}

/* SETTINGS TAB */
.premium-mode-toggle {
    display: flex;
    gap: 15px;
}

.mode-option {
    flex: 1;
    padding: 15px;
    border-radius: 12px;
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mode-option.active {
    background: rgba(201, 253, 6, 0.1);
    border-color: rgba(201, 253, 6, 0.3);
    color: #fff;
    box-shadow: 0 0 15px rgba(201, 253, 6, 0.1);
}

.mode-option.active i {
    color: #00ff64;
    filter: drop-shadow(0 0 5px rgba(201, 253, 6, 0.5));
}


.partner-logos img {
    height: 35px;
    filter: grayscale(100%) brightness(200%);
    transition: var(--transition-smooth);
}

.partner-logos img:hover {
    filter: none;
    opacity: 1;
}

/* ==========================================================================
   Generic Sections
   ========================================================================== */
.section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================================================
   Features
   ========================================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.feature-card {
    padding: 40px;
    transition: var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.feature-card.flex-row {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(90deg, var(--bg-panel), rgba(201, 253, 6, 0.05));
}

.icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--neon-green);
    border: 1px solid rgba(201, 253, 6, 0.2);
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
}

.feature-card p {
    color: var(--text-muted);
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.green-badge {
    background: rgba(201, 253, 6, 0.2);
    color: var(--neon-green);
    border: 1px solid rgba(201, 253, 6, 0.4);
}

.fc-visual {
    width: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fc-visual img {
    max-width: 100%;
    opacity: 0.8;
}

/* ==========================================================================
   How It Works
   ========================================================================== */
.steps-container {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.step {
    flex: 1;
    padding: 40px 30px;
    text-align: center;
    position: relative;
}

.step.active-step {
    border-color: rgba(201, 253, 6, 0.3);
    box-shadow: 0 0 30px rgba(201, 253, 6, 0.1);
}

.step-number {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.step.active-step .step-number {
    color: var(--neon-green);
    opacity: 0.4;
}

.step h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.step p {
    color: var(--text-muted);
    font-size: 14px;
}

.step-connector {
    margin-top: 60px;
    color: var(--border-color);
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.testimonial-card {
    padding: 40px;
}

.stars {
    color: #ffbd2e;
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.stars i {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.testimonial-card p {
    font-size: 16px;
    font-style: italic;
    margin-bottom: 30px;
}

.user-meta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: var(--font-heading);
}

.user-info strong {
    display: block;
    color: var(--text-main);
}

.user-info span {
    font-size: 12px;
    color: var(--text-muted);
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    padding: 0 24px;
    cursor: pointer;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 500;
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--neon-green);
}

.faq-answer {
    max-height: 0;
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--text-muted);
}

.faq-item.active .faq-answer {
    max-height: 200px;
    opacity: 1;
    padding-bottom: 24px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* ==========================================================================
   V3 Extension Forms & Deep Sections
   ========================================================================== */
.top-bar {
    background: #000;
    color: var(--text-muted);
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(201, 253, 6, 0.2);
    z-index: 101;
    position: relative;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-text {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--neon-green);
    font-weight: 600;
}

.pulse-dot.small {
    width: 6px;
    height: 6px;
    box-shadow: 0 0 5px var(--neon-green);
}

.top-links {
    display: flex;
    gap: 16px;
}

.top-links a {
    color: var(--text-muted);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-smooth);
}

.top-links a:hover {
    color: #fff;
}

.top-links i {
    width: 14px;
    height: 14px;
}

/* Adjust navbar down to account for top bar */
.navbar {
    top: 36px;
}

.navbar.scrolled {
    top: 0;
}

/* Algo Feed */
.algo-container {
    padding: 30px;
    border: 1px solid rgba(201, 253, 6, 0.3);
    background: rgba(0, 20, 10, 0.4);
    box-shadow: inset 0 0 50px rgba(201, 253, 6, 0.05);
}

.algo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
}

.algo-header h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
}

.status-badge {
    background: rgba(201, 253, 6, 0.15);
    color: var(--neon-green);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-family: monospace;
}

.terminal-window {
    height: 200px;
    background: #000;
    border-radius: 6px;
    border: 1px solid #111;
    padding: 16px;
    overflow-y: hidden;
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.terminal-window p {
    margin: 4px 0;
    line-height: 1.4;
    transition: opacity 0.3s ease;
}

/* Security Deep Dive */
.security-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.security-text h2 {
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: 24px;
    line-height: 1.1;
}

.security-text>p {
    color: var(--text-muted);
    font-size: 18px;
    margin-bottom: 40px;
}

.security-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.s-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: rgba(255, 255, 255, 0.02);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.s-item i {
    flex-shrink: 0;
    margin-top: 4px;
}

.s-item strong {
    display: block;
    color: var(--text-main);
    font-size: 18px;
    margin-bottom: 8px;
}

.s-item span {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.5;
}

.security-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.shield-container {
    width: 300px;
    height: 300px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.giant-shield {
    width: 120px;
    height: 120px;
    color: var(--neon-green);
    filter: drop-shadow(0 0 20px rgba(201, 253, 6, 0.4));
    z-index: 2;
}

.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--neon-green);
    opacity: 0;
}

.pr-1 {
    animation: shieldPulse 3s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

.pr-2 {
    animation: shieldPulse 3s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
    animation-delay: 1.5s;
}

@keyframes shieldPulse {
    0% {
        transform: scale(0.5);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

@media (max-width: 900px) {
    .security-grid {
        grid-template-columns: 1fr;
    }

    .top-bar-inner {
        flex-direction: column;
        gap: 10px;
    }

    .navbar {
        top: 60px;
    }
}

/* ==========================================================================
   Authentication Pages (Login/Register)
   ========================================================================== */
.auth-body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow-y: auto;
    padding: 20px;
}

.auth-container {
    display: flex;
    width: 100%;
    max-width: 1100px;
    min-height: 700px;
    background: rgba(20, 20, 20, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    position: relative;
    z-index: 10;
}

.auth-container.reverse {
    flex-direction: row-reverse;
}

.auth-visual {
    flex: 1;
    padding: 60px;
    background: linear-gradient(135deg, rgba(201, 253, 6, 0.04) 0%, rgba(0, 0, 0, 0) 100%);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.auth-container.reverse .auth-visual {
    border-right: none;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
}

.auth-brand img {
    height: 35px;
    margin-bottom: 30px;
}

.auth-brand h2 {
    font-size: 36px;
    line-height: 1.2;
}

.auth-stats {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.auth-svg-chart {
    width: 100%;
    height: 150px;
    margin-top: 40px;
    opacity: 0.5;
}

.auth-form-wrapper {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: transparent;
    border: none;
}

.auth-header {
    margin-bottom: 40px;
}

.auth-header h3 {
    font-size: 28px;
    margin-bottom: 8px;
}

.auth-header p {
    color: var(--text-muted);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-weight: 500;
}

.input-glass {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: var(--transition-smooth);
}

.input-glass:focus-within {
    border-color: var(--lime);
    background: rgba(201, 253, 6, 0.03);
    box-shadow: 0 0 0 3px rgba(201, 253, 6, 0.08);
}

.input-glass:focus-within>i {
    color: var(--lime);
}

.input-glass>i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    width: 18px;
    height: 18px;
    pointer-events: none;
    transition: color 0.3s ease;
}

.input-glass input {
    width: 100%;
    background: transparent;
    border: none;
    border-radius: 10px;
    padding: 15px 48px 15px 48px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 15px;
    transition: var(--transition-smooth);
}

.input-glass input:focus {
    outline: none;
}

.input-glass input::placeholder {
    color: rgba(136, 136, 136, 0.5);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    margin: 10px 0 20px;
}

.forgot-link {
    color: var(--lime);
    text-decoration: none;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    display: flex;
    align-items: center;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.auth-footer {
    margin-top: 40px;
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
}

.auth-footer a {
    color: var(--lime);
    text-decoration: none;
    font-weight: 500;
}

.auth-nav {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.auth-nav a {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.auth-nav a:hover {
    color: #fff;
}

/* Checkbox specific */
.checkbox-container {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    user-select: none;
    color: var(--text-muted);
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    height: 18px;
    width: 18px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    transition: var(--transition-smooth);
}

.checkbox-container:hover input~.checkmark {
    border-color: var(--neon-green);
}

.checkbox-container input:checked~.checkmark {
    background-color: var(--neon-green);
    border-color: var(--neon-green);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked~.checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid #000;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

@media (max-width: 900px) {
    .auth-container {
        flex-direction: column;
        height: auto;
    }

    .auth-container.reverse {
        flex-direction: column;
    }

    .auth-visual {
        padding: 40px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .auth-form-wrapper {
        padding: 40px;
    }
}

/* ==========================================================================
   Dashboard & Admin Portal Common Framework
   ========================================================================== */
.dashboard-body {
    background: var(--bg-dark);
    margin: 0;
    padding: 0;
    color: var(--text-main);
    overflow-x: hidden;
}

.dashboard-layout {
    display: flex;
    min-height: 100vh;
    position: relative;
    z-index: 10;
}

/* Sidebar */
.sidebar {
    width: 250px;
    background: rgba(10, 12, 20, 0.95);
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    z-index: 100;
}

.border-right {
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-header {
    padding: 30px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.sidebar-header img {
    height: 30px;
}

.admin-badge {
    background: rgba(255, 0, 100, 0.1);
    color: #ff0064;
    border: 1px solid rgba(255, 0, 100, 0.2);
    font-size: 10px;
    padding: 4px 8px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-family: monospace;
}

.admin-badge i {
    width: 12px;
    height: 12px;
}

.sidebar-nav {
    flex: 1;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-left: 3px solid transparent;
    transition: var(--transition-smooth);
}

.sidebar-nav a:hover {
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-main);
}

.sidebar-nav a.active {
    color: var(--neon-green);
    background: rgba(201, 253, 6, 0.05);
    border-left-color: var(--neon-green);
}

.sidebar-nav i {
    width: 18px;
    height: 18px;
}

.sidebar-footer {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-footer a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--error-red);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

/* Dashboard Main View */
.dashboard-main {
    flex: 1;
    margin-left: 250px;
    padding: 40px;
    width: calc(100% - 250px);
}

.dash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 30px;
}

.dash-welcome h2 {
    font-size: 28px;
    margin-bottom: 8px;
}

.dash-welcome p {
    color: var(--text-muted);
    font-size: 14px;
}

.dash-user {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-pts {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(201, 253, 6, 0.05);
    border: 1px solid rgba(201, 253, 6, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.dash-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.dash-stat-card {
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.dash-stat-card.flex-row {
    align-items: center;
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neon-green);
}

.stat-info span {
    display: block;
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 8px;
}

.stat-info h3 {
    font-size: 28px;
    margin-bottom: 8px;
    font-family: var(--font-heading);
}

.stat-trend {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
}

.stat-trend.positive {
    color: var(--neon-green);
}

.stat-trend.neutral {
    color: var(--text-muted);
}

/* Bots Grid */
.dash-section {
    margin-bottom: 50px;
}

.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.section-title h3 {
    font-size: 20px;
}

.bots-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.bot-card {
    padding: 24px;
    border: 1px solid rgba(201, 253, 6, 0.2);
    background: linear-gradient(135deg, rgba(201, 253, 6, 0.03) 0%, rgba(0, 0, 0, 0) 100%);
}

.bot-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.bot-pair {
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.bot-status {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Position Manager Generated Rows */
.position-row {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(0, 0, 0, 0) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-bottom: 12px;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-smooth);
}

.position-row:hover {
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.pos-symbol {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-weight: 700;
}

.pos-side {
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-block;
    width: fit-content;
}

.pos-side.long {
    background: rgba(201, 253, 6, 0.1);
    color: var(--neon-green);
}

.pos-side.short {
    background: rgba(255, 80, 80, 0.1);
    color: #ff5050;
}

.pos-price {
    font-family: var(--font-heading);
    color: var(--text-main);
    font-size: 15px;
}

.pos-pnl {
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: 15px;
}

.pos-pnl.pnl-positive {
    color: var(--neon-green);
}

.pos-pnl.pnl-negative {
    color: #ff5050;
}

.bot-status.active {
    background: rgba(201, 253, 6, 0.1);
    color: var(--neon-green);
    border: 1px solid rgba(201, 253, 6, 0.3);
}

.bot-metrics {
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
    background: rgba(0, 0, 0, 0.3);
    padding: 16px;
    border-radius: 8px;
}

.metric span {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.metric strong {
    font-size: 14px;
    font-family: var(--font-heading);
}

.bot-progress {
    margin-bottom: 24px;
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.progress-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.5s ease;
}

.progress-fill.positive {
    background: var(--neon-green);
    box-shadow: 0 0 10px var(--neon-green);
}

.bot-actions {
    display: flex;
    gap: 12px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 12px;
}

.btn-error {
    background: rgba(255, 0, 0, 0.1);
    color: var(--error-red);
    border: 1px solid rgba(255, 0, 0, 0.3);
}

.btn-error:hover {
    background: rgba(255, 0, 0, 0.2);
}

/* Data Tables */
.table-container {
    overflow-x: auto;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 14px;
}

.data-table th {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 12px;
    background: rgba(0, 0, 0, 0.4);
}

.data-table tr:last-child td {
    border-bottom: none;
}

.data-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.code-font {
    font-family: monospace;
    color: var(--text-muted);
}

/* Admin Specific */
.admin-mode .active {
    color: #ff0064;
    border-left-color: #ff0064;
    background: rgba(255, 0, 100, 0.05);
}

.admin-mode .dash-header {
    border-bottom-color: rgba(255, 0, 100, 0.2);
}

.master-switch-container {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 0, 100, 0.05);
    padding: 12px 20px;
    border-radius: 8px;
    border: 1px solid rgba(255, 0, 100, 0.2);
}

.master-switch-container span {
    font-weight: 700;
    color: #ff0064;
}

.admin-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.approval-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.approval-card {
    padding: 20px;
    border: 1px solid rgba(255, 189, 46, 0.3);
}

.ac-info strong {
    display: block;
    margin-bottom: 4px;
    font-size: 15px;
}

.ac-info span {
    font-size: 12px;
    color: var(--text-muted);
}

.ac-amount {
    font-size: 20px;
    font-weight: 700;
    margin: 16px 0;
}

.ac-actions {
    display: flex;
    gap: 12px;
}

@media (max-width: 1024px) {
    .dash-stats {
        grid-template-columns: 1fr;
    }

    .bots-grid {
        grid-template-columns: 1fr;
    }

    .admin-grid {
        grid-template-columns: 1fr;
    }
}

/* Toggle Switch CSS */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.slider {
    background-color: var(--neon-green);
}

.admin-mode input:checked+.slider {
    background-color: #ff0064;
    box-shadow: 0 0 10px rgba(255, 0, 100, 0.5);
}

input:focus+.slider {
    box-shadow: 0 0 1px var(--neon-green);
}

input:checked+.slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

.slider.round {
    border-radius: 24px;
}

.slider.round:before {
    border-radius: 50%;
}

/* ==========================================================================
   Platform Selection Modal
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.platform-modal {
    width: 100%;
    max-width: 800px;
    background: rgba(10, 12, 20, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 50px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 40px 100px rgba(201, 253, 6, 0.1);
}

.modal-overlay.active .platform-modal {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-smooth);
    padding: 8px;
    border-radius: 50%;
}

.close-modal:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.1);
}

.modal-header {
    text-align: center;
    margin-bottom: 40px;
}

.modal-header h3 {
    font-size: 32px;
    margin-bottom: 12px;
}

.modal-header p {
    color: var(--text-muted);
    font-size: 16px;
}

.platform-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.platform-card {
    display: block;
    text-decoration: none;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.platform-card:hover {
    transform: translateY(-5px);
    border-color: rgba(201, 253, 6, 0.4);
    box-shadow: 0 10px 30px rgba(201, 253, 6, 0.1);
}

.platform-card.text-blue:hover {
    border-color: rgba(66, 133, 244, 0.4);
    box-shadow: 0 10px 30px rgba(66, 133, 244, 0.15);
}

.pc-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 24px;
}

.pc-icon i {
    width: 48px;
    height: 48px;
}

.platform-card h4 {
    color: var(--text-main);
    font-size: 20px;
    margin-bottom: 12px;
}

.platform-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .platform-options {
        grid-template-columns: 1fr;
    }

    .platform-modal {
        padding: 30px;
        margin: 20px;
    }
}

/* ==========================================================================
   Bottom CTA
   ========================================================================== */
.bottom-cta {
    padding: 0 20px 120px;
}

.cta-box {
    text-align: center;
    padding: 80px 40px;
    background: linear-gradient(135deg, rgba(201, 253, 6, 0.1), rgba(201, 253, 6, 0.1));
    border: 1px solid rgba(201, 253, 6, 0.3);
}

.cta-box h2 {
    font-size: clamp(28px, 4vw, 40px);
    margin-bottom: 16px;
}

.cta-box p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

/* ==========================================================================
   RAV Morphing Animation Section (Real Alpha Value)
   ========================================================================== */

/* ==========================================================================
   Perfect Symmetry Alpha Morphing Animation Section
   ========================================================================== */

.rav-morph-section {
    position: relative;
    padding: 120px 20px;
    text-align: center;
    overflow: hidden;
    background: radial-gradient(ellipse at center, rgba(201, 253, 6, 0.05) 0%, transparent 70%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.morph-container {
    font-family: var(--font-heading);
    font-weight: 900;
    color: #fff;
    display: flex;
    gap: 25px;
    text-transform: uppercase;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.morph-letter {
    display: flex;
    align-items: baseline;
    white-space: nowrap;
    position: relative;
}

/* Base Letters R, A, V */
.morph-letter>span:first-child {
    font-size: clamp(40px, 8vw, 80px);
    background: linear-gradient(135deg, #fff 0%, var(--neon-green) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(201, 253, 6, 0.2);
    transition: text-shadow 3s ease-in-out;
}

/* Hidden expanded words */
.morph-word {
    display: inline-grid;
    grid-template-columns: 0fr;
    transition: grid-template-columns 3.5s cubic-bezier(0.25, 1, 0.4, 1);
}

.morph-inner {
    overflow: hidden;
    min-width: 0;
    font-size: clamp(30px, 6vw, 60px);
    font-weight: 300;
    letter-spacing: 2px;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transform: translateX(-15px);
    transition: opacity 3.5s cubic-bezier(0.25, 1, 0.4, 1), transform 3.5s cubic-bezier(0.25, 1, 0.4, 1);
}

/* The Magic Reveal: Perfectly Synchronized */
.rav-morph-section.is-visible .morph-letter>span:first-child {
    text-shadow: 0 0 50px rgba(201, 253, 6, 0.6);
}

.rav-morph-section.is-visible .morph-word {
    grid-template-columns: 1fr;
    margin-left: 2px;
}

.rav-morph-section.is-visible .morph-inner {
    opacity: 1;
    transform: translateX(0);
}

/* Subtle uniform color changes */
.morph-letter:nth-child(1) .morph-inner {
    background-image: linear-gradient(90deg, #fff 0%, #fff 100%);
}

.morph-letter:nth-child(2) .morph-inner {
    background-image: linear-gradient(90deg, var(--neon-green) 0%, var(--neon-green) 100%);
}

.morph-letter:nth-child(3) .morph-inner {
    background-image: linear-gradient(90deg, #fff 0%, #fff 100%);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    border-top: 1px solid var(--border-color);
    background: rgba(0, 0, 0, 0.5);
    padding: 80px 20px 40px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .footer-logo {
    height: 40px;
    margin-bottom: 20px;
}

.footer-brand p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    transition: var(--transition-smooth);
}

.social-links a:hover {
    background: var(--neon-green);
    color: #000;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.link-group h4 {
    font-size: 18px;
    margin-bottom: 24px;
}

.link-group a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 12px;
    transition: var(--transition-smooth);
}

.link-group a:hover {
    color: var(--neon-green);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
}

.footer-bottom .disclaimer {
    font-size: 12px;
    opacity: 0.6;
    margin-top: 12px;
    max-width: 800px;
    margin-inline: auto;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 150px;
    }

    .hero-subtitle {
        margin: 0 auto 40px;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        width: 100%;
        max-width: 600px;
        margin-top: 40px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .fc-visual {
        display: none;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .nav-actions {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .steps-container {
        flex-direction: column;
        align-items: center;
    }

    .step-connector {
        transform: rotate(90deg);
        margin: 20px 0;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .footer-links {
        flex-direction: column;
        gap: 40px;
    }
}

/* ==========================================================================
   App Terminal Keyframes & Utilities
   ========================================================================== */
@keyframes tickerScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes radarSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(-10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-top-color: #fff;
    border-radius: 50%;
    animation: radarSpin 0.6s linear infinite;
    vertical-align: middle;
}

/* Auth form card polish */
.auth-form-wrapper {
    overflow-y: auto;
}

.auth-form .form-group {
    margin-bottom: 0;
}

/* Register step flow */
.register-step {
    display: none;
    animation: fadeInUp 0.4s ease forwards;
}

.register-step.active {
    display: block;
}

.step-indicators {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}

.step-dot {
    width: 40px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.step-dot.active {
    background: var(--neon-green);
    box-shadow: 0 0 8px rgba(201, 253, 6, 0.3);
}

.step-dot.completed {
    background: rgba(201, 253, 6, 0.4);
}

/* Ticker item styling */
.ticker-item {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 600;
    padding: 4px 0;
    color: var(--text-muted);
}

.ticker-item .ticker-symbol {
    color: #fff;
    font-weight: 700;
}

.ticker-item .ticker-price {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 12px;
}

.ticker-item .ticker-change {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
}

.ticker-item .ticker-change.positive {
    color: var(--neon-green);
    background: rgba(201, 253, 6, 0.1);
}

.ticker-item .ticker-change.negative {
    color: var(--error-red);
    background: rgba(255, 51, 102, 0.1);
}

/* Settings sections */
.settings-section {
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.settings-section-title {
    font-size: 14px;
    text-transform: uppercase;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Exec modal */
#execModal .platform-modal {
    max-width: 420px;
    padding: 24px;
}
/* Filled stars */
.stars .feather { fill: #c9fd06; stroke: #c9fd06; width: 16px; height: 16px; }
/* Input icon spacing fix */
.input-glass > svg:first-child, .input-glass > i:first-child { margin-left: 6px; margin-right: 4px; flex-shrink: 0; }
.input-glass input { padding-left: 8px; }
/* Quick-Select Button Styles (Settings) */
.lev-quick-btn, .margin-quick-btn, .pct-quick-btn {
  flex: 1;
  padding: 10px;
  background: rgba(10,10,10,0.8);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  color: #aaa;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  min-width: 48px;
}
.lev-quick-btn:hover, .margin-quick-btn:hover, .pct-quick-btn:hover {
  border-color: rgba(201,253,6,0.2);
  color: #ddd;
}
.lev-quick-btn.active, .margin-quick-btn.active, .pct-quick-btn.active {
  background: rgba(201,253,6,0.08);
  border-color: rgba(201,253,6,0.3);
  color: #c9fd06;
}
