/* LiquidityLens - Futuristic Crypto Trading Theme */

/* Course Price Display */
.course-price-display {
    margin: 30px 0 20px 0;
    /* Removed animation that could cause initial flash */
    /* animation: fadeInUp 0.8s ease-out; */
}

.price-tag {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1), rgba(0, 212, 255, 0.1));
    border: 2px solid var(--primary-green);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.price-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.3), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.price-label {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.price-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 10px 0;
}

.original-price {
    font-size: 24px;
    color: var(--text-secondary);
    text-decoration: line-through;
    opacity: 0.7;
}

.sale-price {
    font-size: 36px;
    font-weight: bold;
    color: var(--primary-green);
    font-family: 'Orbitron', sans-serif;
}

.price-badge {
    background: var(--alert-red);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    animation: pulse-sale 2s ease-in-out infinite;
}

@keyframes pulse-sale {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.lifetime-access {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    color: var(--primary-blue);
    font-weight: 500;
}

/* Course Enrollment Popup - uses same style as other popups */

/* ===== CSS Variables ===== */
:root {
    /* Primary Colors */
    --bg-primary: #0A0A0B;
    --profit-green: #00FF88;
    --electric-blue: #00D4FF;
    --alert-red: #FF0066;
    --accent-purple: #8B5CF6;
    --text-primary: #FFFFFF;
    --text-secondary: #A0A0A0;
    
    /* Secondary Colors */
    --bg-secondary: #141416;
    --bg-tertiary: #1A1A1D;
    --border-color: rgba(255, 255, 255, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.05);
    
    /* Gradients */
    --gradient-green: linear-gradient(135deg, var(--profit-green), var(--electric-blue));
    --gradient-purple: linear-gradient(135deg, var(--accent-purple), var(--electric-blue));
    --gradient-dark: linear-gradient(180deg, var(--bg-primary), var(--bg-secondary));
    
    /* Shadows & Effects */
    --glow-green: 0 0 20px rgba(0, 255, 136, 0.5);
    --glow-blue: 0 0 20px rgba(0, 212, 255, 0.5);
    --glow-red: 0 0 20px rgba(255, 0, 102, 0.5);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
}

/* ===== Global Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    font-weight: 400;
    position: relative;
    /* Prevent flash of unstyled content */
    opacity: 1;
    transition: opacity 0.2s ease-in;
}

/* Canvas particle system styles */
canvas {
    /* Removed global opacity that was darkening everything */
    pointer-events: none;
}

/* Candlestick background canvas */
.candlestick-bg {
    opacity: 0.2 !important; /* Further reduced for less visibility */
    /* Removed mix-blend-mode to prevent blending flicker */
    z-index: 1 !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

a {
    color: var(--electric-blue);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--profit-green);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 11, 0.95); /* More opaque to ensure readability */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 10, 11, 0.95);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
}

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

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--profit-green);
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo:hover {
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-green);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--profit-green);
    text-shadow: var(--glow-green);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a.active {
    color: var(--profit-green);
}

.btn-nav {
    background: var(--gradient-green);
    color: var(--bg-primary) !important;
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-weight: 700;
    box-shadow: var(--glow-green);
    animation: glow-pulse 2s infinite;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    min-width: 100px;
    text-decoration: none !important;
}

.btn-nav::after {
    display: none !important;
}

.btn-nav:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.8),
                0 0 40px rgba(0, 255, 136, 0.4);
    animation: none;
    text-decoration: none !important;
}

.btn-nav:hover::after {
    display: none !important;
    width: 0 !important;
}

/* Authentication buttons */
#authButtons {
    display: flex;
    gap: 10px;
    align-items: center;
}

#authButtons .btn-nav {
    margin: 0;
}

.logout-btn {
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.2), rgba(255, 68, 68, 0.2)) !important;
    border: 1px solid #ff4444 !important;
    animation: none !important;
    box-shadow: 0 0 10px rgba(255, 68, 68, 0.3) !important;
    color: white !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-weight: 700;
    text-decoration: none !important;
}

.logout-btn::after {
    display: none !important;
}

.logout-btn:hover {
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.3), rgba(255, 68, 68, 0.3)) !important;
    box-shadow: 0 0 20px rgba(255, 68, 68, 0.5) !important;
    text-decoration: none !important;
}

.logout-btn:hover::after {
    display: none !important;
}

@keyframes glow-pulse {
    0%, 100% { box-shadow: var(--glow-green); }
    50% { box-shadow: 0 0 30px rgba(0, 255, 136, 0.7); }
}

/* Crypto Ticker in Hero Section */
.crypto-ticker {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 4rem; /* Added top margin for space above ticker */
    margin-bottom: 4rem; /* Increased from 3rem */
    padding: 1.5rem;
    background: rgba(20, 20, 22, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.crypto-ticker::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(135deg, var(--profit-green), var(--electric-blue), var(--accent-purple));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: exclude;
    mask-composite: exclude;
    opacity: 0.2;
    animation: gradient-rotate 10s linear infinite;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    position: relative;
    min-width: 180px;
}

.ticker-item:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--profit-green);
    box-shadow: 0 5px 20px rgba(0, 255, 136, 0.2);
}

.ticker-symbol {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.coin-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.05em;
}

.coin-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.7;
}

.ticker-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.price-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.02em;
}

.price-change {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 8px;
    margin-top: 0.25rem;
}

.price-change.positive {
    color: var(--profit-green);
    background: rgba(0, 255, 136, 0.1);
}

.price-change.negative {
    color: var(--alert-red);
    background: rgba(255, 0, 102, 0.1);
}

.price-change.neutral {
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.05);
}

/* Loading animation for prices */
.ticker-item.loading .price-value::after {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-left: 8px;
    border: 2px solid var(--text-secondary);
    border-radius: 50%;
    border-top-color: var(--profit-green);
    animation: loading 1s linear infinite;
}

/* Mobile responsive ticker */
@media (max-width: 768px) {
    .crypto-ticker {
        flex-direction: column;
        gap: 1rem;
        margin-top: 3rem; /* Added top margin for mobile */
        margin-bottom: 3rem; /* Increased from 2rem */
        padding: 1rem;
    }
    
    .ticker-item {
        width: 100%;
        justify-content: space-between;
        min-width: unset;
    }
    
    .coin-name {
        font-size: 1.1rem;
    }
    
    .price-value {
        font-size: 1rem;
    }
}

.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--profit-green);
    transition: all 0.3s ease;
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin-top: 70px;
}

/* Animated gradient background - removed rotation, made larger */
.hero::after {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: linear-gradient(
        45deg,
        rgba(10, 10, 11, 0.8) 0%,
        rgba(26, 10, 31, 0.4) 25%,
        rgba(10, 10, 11, 0.8) 50%,
        rgba(15, 10, 21, 0.4) 75%,
        rgba(10, 10, 11, 0.8) 100%
    );
    animation: gradient-shift 30s ease infinite;
    z-index: 0;
    opacity: 0.6;
}

@keyframes gradient-shift {
    0%, 100% {
        transform: translate(0, 0);
    }
    33% {
        transform: translate(-20%, 20%);
    }
    66% {
        transform: translate(20%, -20%);
    }
}

/* Additional animated gradient layer - reduced opacity */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(0, 212, 255, 0.03) 0%, transparent 50%);
    animation: gradient-pulse 20s ease-in-out infinite;
    z-index: 1;
    opacity: 0.7;
}

@keyframes gradient-pulse {
    0%, 100% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
}

/* Grid overlay */
.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(0, 255, 136, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 136, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: grid-move 30s linear infinite;
    z-index: 1;
    opacity: 0.3;
}

@keyframes grid-move {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

/* Ensure canvas appears behind hero content */
.hero-content {
    position: relative;
    z-index: 3;
}

.hero-content {
    text-align: center;
    max-width: 800px;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    margin-bottom: 1rem;
    position: relative;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    animation: glitch 4s infinite;
}

.hero h1::before,
.hero h1::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero h1::before {
    animation: glitch-1 3s infinite;
    color: var(--profit-green);
    z-index: -1;
}

.hero h1::after {
    animation: glitch-2 3s infinite;
    color: var(--electric-blue);
    z-index: -2;
}

@keyframes glitch {
    0%, 100% {
        text-shadow: 
            0.05em 0 0 rgba(0, 255, 136, 0.75),
            -0.05em -0.025em 0 rgba(0, 212, 255, 0.75),
            0.025em 0.05em 0 rgba(139, 92, 246, 0.75);
    }
    15% {
        text-shadow: 
            0.05em 0 0 rgba(0, 255, 136, 0.75),
            -0.05em -0.025em 0 rgba(0, 212, 255, 0.75),
            0.025em 0.05em 0 rgba(139, 92, 246, 0.75);
    }
    16% {
        text-shadow: 
            -0.05em -0.025em 0 rgba(0, 255, 136, 0.75),
            0.025em 0.025em 0 rgba(0, 212, 255, 0.75),
            -0.05em -0.05em 0 rgba(139, 92, 246, 0.75);
    }
    49% {
        text-shadow: 
            -0.05em -0.025em 0 rgba(0, 255, 136, 0.75),
            0.025em 0.025em 0 rgba(0, 212, 255, 0.75),
            -0.05em -0.05em 0 rgba(139, 92, 246, 0.75);
    }
    50% {
        text-shadow: 
            0.025em 0.05em 0 rgba(0, 255, 136, 0.75),
            0.05em 0 0 rgba(0, 212, 255, 0.75),
            0 -0.05em 0 rgba(139, 92, 246, 0.75);
    }
    99% {
        text-shadow: 
            0.025em 0.05em 0 rgba(0, 255, 136, 0.75),
            0.05em 0 0 rgba(0, 212, 255, 0.75),
            0 -0.05em 0 rgba(139, 92, 246, 0.75);
    }
}

@keyframes glitch-1 {
    0%, 100% {
        clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
        transform: translate(0);
    }
    50% {
        clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
        transform: translate(0.02em, 0.01em);
    }
}

@keyframes glitch-2 {
    0%, 100% {
        clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
        transform: translate(0);
    }
    50% {
        clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
        transform: translate(-0.02em, -0.01em);
    }
}

/* Hover effect to intensify glitch */
.hero h1:hover {
    animation-duration: 0.8s;
}

.hero h1:hover::before {
    animation-duration: 1.5s;
}

.hero h1:hover::after {
    animation-duration: 1.5s;
}

/* Mobile optimization */
@media (max-width: 768px) {
    .hero h1::before,
    .hero h1::after {
        content: none;
    }
    
    .hero h1 {
        animation: glitch 3s infinite;
    }
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Offset for fixed navbar */
section {
    scroll-margin-top: 80px;
    position: relative; /* Ensure sections are above canvas */
    z-index: 1; /* Put above background canvas */
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    opacity: 1;
}

@keyframes typewriter {
    from { width: 0; }
    to { width: 100%; }
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 3rem;
}

/* Enhanced pulse for hero CTA buttons */
.hero-cta .btn-primary {
    animation: pulse-hero-primary 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.hero-cta .btn-secondary {
    animation: pulse-hero-secondary 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    animation-delay: 1s;
}

@keyframes pulse-hero-primary {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 0 20px rgba(0, 255, 136, 0.8),
                    0 0 40px rgba(0, 255, 136, 0.6),
                    0 0 60px rgba(0, 255, 136, 0.4);
    }
}

@keyframes pulse-hero-secondary {
    0%, 100% {
        transform: scale(1);
        box-shadow: var(--glow-blue);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 0 20px rgba(0, 212, 255, 0.8),
                    0 0 40px rgba(0, 212, 255, 0.6),
                    0 0 60px rgba(0, 212, 255, 0.4);
    }
}

.hero-cta .btn:hover {
    animation: none;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    user-select: none;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: var(--profit-green);
    color: var(--bg-primary);
    box-shadow: var(--glow-green);
    animation: pulse-primary 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-primary {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 255, 136, 0.5),
                    0 0 30px rgba(0, 255, 136, 0.4),
                    0 0 40px rgba(0, 255, 136, 0.3);
    }
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 0 40px rgba(0, 255, 136, 0.8), 
                0 0 60px rgba(0, 255, 136, 0.4),
                0 0 80px rgba(0, 255, 136, 0.2);
    animation: none;
}

.btn-secondary {
    background: transparent;
    color: var(--electric-blue);
    border: 2px solid var(--electric-blue);
    box-shadow: var(--glow-blue);
    position: relative;
    z-index: 1;
}

.btn-secondary:hover,
.btn-secondary:active,
.btn-secondary:focus {
    background: var(--electric-blue);
    color: var(--bg-primary);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.8),
                0 0 60px rgba(0, 212, 255, 0.4),
                0 0 80px rgba(0, 212, 255, 0.2);
    outline: none;
}

/* Touch device specific styles */
@media (hover: none) and (pointer: coarse) {
    .btn-secondary:active {
        transform: scale(0.98);
        box-shadow: 0 0 20px rgba(0, 212, 255, 0.8);
    }
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 5rem; /* Added bottom margin for space below stats */
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--profit-green);
    font-family: 'JetBrains Mono', monospace;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ===== Live Signals Section ===== */
.live-signals {
    padding: 5rem 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.live-signals::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(0, 212, 255, 0.05) 0%, transparent 40%);
    animation: pulse-bg 10s ease-in-out infinite;
}

@keyframes pulse-bg {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 0.5rem;
    background: var(--gradient-green);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    z-index: 1;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.signals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 0 1rem;
    position: relative;
    z-index: 1;
}

.signal-card {
    background: rgba(20, 20, 22, 0.8);
    border: 1px solid transparent;
    border-radius: 24px;
    padding: 2rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* Gradient border effect */
.signal-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(135deg, var(--profit-green), var(--electric-blue), var(--accent-purple));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: exclude;
    mask-composite: exclude;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.signal-card:hover::before {
    opacity: 0.8;
}

.signal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6),
                0 0 30px rgba(0, 255, 136, 0.1);
}

.signal-card.active {
    background: rgba(0, 255, 136, 0.05);
}

.signal-card.active::before {
    opacity: 0.6;
    animation: gradient-rotate 3s linear infinite;
}

@keyframes gradient-rotate {
    0% { 
        background: linear-gradient(135deg, var(--profit-green), var(--electric-blue), var(--accent-purple));
    }
    50% { 
        background: linear-gradient(135deg, var(--electric-blue), var(--accent-purple), var(--profit-green));
    }
    100% { 
        background: linear-gradient(135deg, var(--accent-purple), var(--profit-green), var(--electric-blue));
    }
}

.signal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.signal-pair {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-primary);
    letter-spacing: 0.05em;
}

.signal-type {
    padding: 0.4rem 1.2rem;
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    overflow: hidden;
}

.signal-type::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    background: inherit;
    filter: blur(10px);
    opacity: 0.5;
    z-index: -1;
}

.signal-type.buy {
    background: linear-gradient(135deg, var(--profit-green), #00CC70);
    color: var(--bg-primary);
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.4);
}

.signal-type.sell {
    background: linear-gradient(135deg, var(--alert-red), #CC0052);
    color: var(--text-primary);
    box-shadow: 0 4px 15px rgba(255, 0, 102, 0.4);
}

/* Signal Status Badges */
.signal-status {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-left: 0.5rem;
}

.signal-status.status-active {
    background: rgba(0, 212, 255, 0.2);
    color: var(--electric-blue);
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.signal-status.status-win {
    background: rgba(0, 255, 136, 0.2);
    color: var(--profit-green);
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.signal-status.status-loss {
    background: rgba(255, 0, 102, 0.2);
    color: var(--alert-red);
    border: 1px solid rgba(255, 0, 102, 0.3);
}

.signal-status.status-closed {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.signal-body {
    margin-bottom: 2rem;
}

.signal-price,
.signal-targets,
.signal-stop {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    font-family: 'JetBrains Mono', monospace;
    transition: all 0.3s ease;
}

.signal-price:hover,
.signal-targets:hover,
.signal-stop:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.signal-body .label {
    color: var(--text-secondary);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Signal RR Field */
.signal-rr {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    margin-bottom: 1rem;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    font-family: 'JetBrains Mono', monospace;
    transition: all 0.3s ease;
}

.signal-rr:hover {
    background: rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateX(5px);
}

.signal-rr .value {
    color: var(--accent-purple);
    font-weight: 600;
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

/* Loading State */
.signal-loading {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--electric-blue);
    border-radius: 50%;
    animation: spin 1s ease-in-out infinite;
    margin-bottom: 1rem;
}

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

/* New signal pulse animation */
@keyframes newSignalPulse {
    0% {
        box-shadow: 0 8px 32px 0 rgba(0, 255, 136, 0.37);
    }
    50% {
        box-shadow: 0 8px 32px 0 rgba(0, 255, 136, 0.6),
                    0 0 0 10px rgba(0, 255, 136, 0.1),
                    0 0 0 20px rgba(0, 255, 136, 0.05);
    }
    100% {
        box-shadow: 0 8px 32px 0 rgba(0, 255, 136, 0.37);
    }
}

.signal-card.brand-new {
    border: 2px solid var(--profit-green) !important;
}

/* Flash animation for update time */
@keyframes flash {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}

.signal-loading p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* No signals message */
.no-signals {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.signal-body .value {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.1rem;
}

.signal-stop .value {
    color: var(--alert-red);
}

.signal-targets .value {
    color: var(--profit-green);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    text-align: right;
}

.tp-value {
    display: block;
    font-size: 0.9rem;
}

.signal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.signal-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.signal-time::before {
    content: '⏱';
    opacity: 0.7;
}

.signal-confidence {
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: rgba(0, 255, 136, 0.1);
    color: var(--profit-green);
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.signals-cta {
    text-align: center;
    position: relative;
    z-index: 1;
}

.signals-cta .btn {
    font-size: 1.1rem;
    padding: 1.25rem 3rem;
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.3);
    animation: pulse-signal-cta 2s ease-in-out infinite;
}

@keyframes pulse-signal-cta {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(0, 255, 136, 0.5),
                    0 10px 30px rgba(0, 255, 136, 0.3);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 0 25px rgba(0, 255, 136, 0.7),
                    0 0 40px rgba(0, 255, 136, 0.5),
                    0 12px 35px rgba(0, 255, 136, 0.4);
    }
}

.signals-cta .btn:hover {
    animation: none;
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 768px) {
    .signals-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .signal-card {
        padding: 1.5rem;
    }
    
    .signal-pair {
        font-size: 1.25rem;
    }
    
    .signal-type {
        font-size: 0.75rem;
        padding: 0.3rem 0.8rem;
    }
    
    .signal-status {
        font-size: 0.7rem;
        padding: 0.25rem 0.6rem;
        margin-left: 0.3rem;
    }
    
    .signal-body .value {
        font-size: 1rem;
    }
    
    .signal-price,
    .signal-targets,
    .signal-stop {
        padding: 0.75rem;
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .signal-targets .value {
        text-align: center;
    }
    
    .tp-value {
        font-size: 0.85rem;
    }
    
    .signal-footer {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
}

@media (min-width: 769px) and (max-width: 1200px) {
    .signals-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tp-value {
        font-size: 0.875rem;
    }
}

@media (min-width: 1201px) {
    .signals-grid {
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ===== Features Comparison ===== */
.features-comparison {
    padding: 5rem 0;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.features-comparison::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 150%;
    background: radial-gradient(circle at center, rgba(0, 255, 136, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.comparison-table {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.comparison-column {
    background: rgba(20, 20, 22, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.comparison-column::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: exclude;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.comparison-column:hover::before {
    opacity: 1;
}

.comparison-column.free {
    background: rgba(0, 212, 255, 0.05);
}

.comparison-column.premium {
    background: rgba(0, 255, 136, 0.05);
    border-color: rgba(0, 255, 136, 0.3);
    transform: scale(1.02);
}

.comparison-column.premium.popular .popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-green);
    color: var(--bg-primary);
    padding: 0.25rem 1.5rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    box-shadow: var(--glow-green);
}

.comparison-column:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4),
                0 0 30px rgba(0, 212, 255, 0.15);
}

.comparison-column.premium:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4),
                0 0 40px rgba(0, 255, 136, 0.3),
                0 0 60px rgba(0, 255, 136, 0.15);
}

.comparison-column h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.comparison-column.free h3 {
    color: var(--electric-blue);
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.comparison-column.premium h3 {
    color: var(--profit-green);
    text-shadow: var(--glow-green);
}

.plan-price {
    text-align: center;
    margin: 1.5rem 0;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-primary);
}

.price-original {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-decoration: line-through;
    opacity: 0.6;
    margin-right: 1rem;
    font-family: 'JetBrains Mono', monospace;
}

.sale-price {
    color: var(--profit-green);
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
}

.sale-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--alert-red);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 700;
    animation: pulse-sale 2s ease-in-out infinite;
    z-index: 10;
}

@keyframes pulse-sale {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(255, 66, 66, 0.5);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 20px rgba(255, 66, 66, 0.8);
    }
}

.price-period {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-left: 0.5rem;
}

#premiumPlansContainer {
    display: contents;
}

#premiumPlansContainer .loading-spinner {
    grid-column: span 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 600px;
}

.feature-list {
    list-style: none;
    margin: 2rem 0;
    min-height: 400px;
    width: 100%;
}

.feature-list li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-align: left;
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li::before {
    content: '✓';
    font-size: 1.25rem;
    font-weight: 700;
    flex-shrink: 0;
}

.feature-list li.check {
    color: var(--text-primary);
}

.feature-list li.check::before {
    color: var(--profit-green);
}

.feature-list li.cross {
    color: var(--text-secondary);
    opacity: 0.6;
}

.feature-list li.cross::before {
    content: '✗';
    color: var(--alert-red);
}

.feature-list li:hover {
    padding-left: 0.5rem;
}

.comparison-column .btn {
    width: auto;
    display: inline-block;
    padding: 0.65rem 1.75rem;
    font-size: 0.9rem;
    margin-top: auto;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border-radius: 25px;
}

.comparison-column.free .btn {
    background: transparent;
    border: 1.5px solid var(--electric-blue);
    color: var(--electric-blue);
}

.comparison-column.free .btn:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--electric-blue);
    color: var(--electric-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
}

.comparison-column.premium .btn {
    background: linear-gradient(135deg, var(--profit-green), #00e688);
    color: var(--bg-primary);
    font-weight: 600;
    position: relative;
    overflow: hidden;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
}

.comparison-column.premium .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 255, 136, 0.4);
    background: linear-gradient(135deg, #00ff88, var(--profit-green));
}

.comparison-column.premium .btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.comparison-column.premium .btn:hover::before {
    width: 200px;
    height: 200px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .comparison-table {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .comparison-column {
        padding: 2rem 1.5rem;
    }
    
    .comparison-column.premium {
        transform: scale(1);
        margin-top: 2rem;
    }
    
    .comparison-column.premium:hover {
        transform: translateY(-5px);
    }
    
    .comparison-column h3 {
        font-size: 1.5rem;
    }
    
    .feature-list {
        min-height: auto;
        margin: 1.5rem 0;
    }
    
    .feature-list li {
        font-size: 0.9rem;
        padding: 0.75rem 0;
    }
}

/* Tablet Responsive */
@media (min-width: 769px) and (max-width: 1024px) {
    .comparison-table {
        max-width: 800px;
        gap: 1.5rem;
    }
    
    .comparison-column {
        padding: 2.5rem 2rem;
    }
    
    .comparison-column h3 {
        font-size: 1.75rem;
    }
}

/* ===== Social Proof Section ===== */
.social-proof {
    padding: 5rem 0;
    background: var(--bg-secondary);
    position: relative;
}

.success-counter {
    text-align: center;
    margin-bottom: 3rem;
}

.counter-value {
    font-size: 4rem;
    font-weight: 800;
    color: var(--profit-green);
    font-family: 'JetBrains Mono', monospace;
    text-shadow: var(--glow-green);
}

.counter-label {
    font-size: 1.25rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.recent-wins-ticker {
    overflow: hidden;
    margin-bottom: 4rem;
    position: relative;
    height: 60px;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
}

.recent-wins-ticker::before,
.recent-wins-ticker::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.recent-wins-ticker::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg-secondary) 0%, transparent 100%);
}

.recent-wins-ticker::after {
    right: 0;
    background: linear-gradient(90deg, transparent 0%, var(--bg-secondary) 100%);
}

.ticker-wrapper {
    display: flex;
    animation: scroll-ticker 30s linear infinite;
}

.ticker-track {
    display: flex;
    gap: 2rem;
    padding-right: 2rem;
}

@keyframes scroll-ticker {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

.win-item {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: rgba(20, 20, 22, 0.8);
    border: 1px solid transparent;
    border-radius: 30px;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.win-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 30px;
    padding: 1px;
    background: linear-gradient(135deg, var(--profit-green), var(--electric-blue));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: exclude;
    mask-composite: exclude;
    opacity: 0.5;
}

.win-item:hover {
    transform: scale(1.05);
    background: rgba(0, 255, 136, 0.1);
}

.win-item.profit {
    color: var(--profit-green);
}

.win-item.loss {
    color: var(--alert-red);
}

.win-item .ticker-icon {
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.win-item .percentage {
    font-weight: 800;
    font-size: 1rem;
    margin-right: 0.5rem;
}

.win-item .pair {
    color: var(--text-secondary);
    margin-right: 0.5rem;
}

.win-item .position {
    text-transform: uppercase;
    font-size: 0.8rem;
    opacity: 0.9;
}

/* No data state for ticker */
.win-item.no-data {
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding: 1rem 2rem;
}

.no-wins-message {
    font-style: italic;
    opacity: 0.7;
}

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

.testimonial-card {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5),
                0 0 25px rgba(0, 255, 136, 0.1);
}

.testimonial-content {
    margin-bottom: 1.5rem;
    font-style: italic;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    filter: blur(2px);
}

.author-info h4 {
    font-size: 1rem;
    color: var(--profit-green);
    margin-bottom: 0.25rem;
}

.author-info p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* ===== Course Preview ===== */
.course-preview {
    padding: 5rem 0;
    background: var(--bg-primary);
}

.course-content {
    max-width: 1000px;
    margin: 0 auto;
}

.course-modules {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.module-card {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
}

.module-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5),
                0 0 30px rgba(0, 212, 255, 0.15);
    border-color: var(--profit-green);
}

.module-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--electric-blue);
}

.module-card ul {
    list-style: none;
}

.module-card li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.module-card li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--profit-green);
}

.premium-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-green);
    color: var(--bg-primary);
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.load-more-container {
    text-align: center;
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.load-more-container .btn-secondary {
    padding: 0.75rem 2.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.course-info {
    text-align: center;
}

.course-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0;
}

.course-stats .stat {
    text-align: center;
}

.course-stats .value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--profit-green);
    margin-bottom: 0.5rem;
}

.course-stats .label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.course-preview-video {
    margin-top: 3rem;
}

.video-placeholder {
    position: relative;
    background: var(--bg-secondary);
    border-radius: 20px;
    overflow: auto;
    aspect-ratio: 16/9;
    display: flex;
    border: 1px solid rgba(255, 255, 255, 0.1);
    align-items: stretch;
    justify-content: stretch;
}

.video-placeholder embed {
    width: 100%;
    height: 100%;
    min-height: 600px;
    border-radius: 12px;
    background: #f8f9fa;
}

.play-button {
    width: 80px;
    height: 80px;
    background: var(--gradient-green);
    border: none;
    border-radius: 50%;
    font-size: 2rem;
    color: var(--bg-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1;
}

.play-button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 40px rgba(0, 255, 136, 0.8),
                0 0 60px rgba(0, 255, 136, 0.4);
}

/* ===== FAQ Section ===== */
.faq {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item {
    margin-bottom: 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-3px);
    border-color: var(--profit-green);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4),
                0 0 20px rgba(0, 255, 136, 0.1);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--profit-green);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ===== CTA Section ===== */
.cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--bg-primary), var(--bg-secondary));
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.1) 0%, transparent 70%);
    animation: rotate-gradient 20s linear infinite;
}

@keyframes rotate-gradient {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

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

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin: 2rem 0;
}

/* Pulse animation for bottom CTA section */
.cta-buttons .btn-primary {
    animation: pulse-cta-primary 2s ease-in-out infinite;
}

.cta-buttons .btn-secondary {
    animation: pulse-cta-secondary 2s ease-in-out infinite;
    animation-delay: 1s;
}

@keyframes pulse-cta-primary {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(0, 255, 136, 0.5),
                    0 10px 30px rgba(0, 255, 136, 0.3);
    }
    50% {
        transform: scale(1.03);
        box-shadow: 0 0 30px rgba(0, 255, 136, 0.8),
                    0 0 50px rgba(0, 255, 136, 0.5),
                    0 15px 40px rgba(0, 255, 136, 0.4);
    }
}

@keyframes pulse-cta-secondary {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(0, 212, 255, 0.5),
                    0 10px 30px rgba(0, 212, 255, 0.3);
    }
    50% {
        transform: scale(1.03);
        box-shadow: 0 0 30px rgba(0, 212, 255, 0.8),
                    0 0 50px rgba(0, 212, 255, 0.5),
                    0 15px 40px rgba(0, 212, 255, 0.4);
    }
}

.cta-buttons .btn:hover {
    animation: none;
}

.limited-offer {
    margin-top: 2rem;
}

.offer-text {
    font-size: 1.25rem;
    color: var(--profit-green);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.countdown {
    font-size: 2rem;
    font-family: 'JetBrains Mono', monospace;
    color: var(--alert-red);
    font-weight: 800;
    text-shadow: var(--glow-red);
}

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

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--profit-green);
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-secondary);
}

.footer-section a:hover {
    color: var(--profit-green);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--profit-green);
    color: var(--bg-primary);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 5px 20px rgba(0, 255, 136, 0.4),
                0 0 25px rgba(0, 255, 136, 0.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.disclaimer {
    font-size: 0.875rem;
    opacity: 0.7;
}

/* ===== Mobile Performance Optimizations ===== */
@media (max-width: 768px) {
    /* Disable heavy animations on mobile */
    .hero::after,
    .hero::before,
    .hero-grid {
        animation: none;
        opacity: 0.3;
    }
    
    /* Simplify glitch effect */
    .hero h1 {
        font-size: 2.5rem;
        animation: simple-glow 3s ease-in-out infinite;
    }
    
    @keyframes simple-glow {
        0%, 100% {
            text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
        }
        50% {
            text-shadow: 0 0 20px rgba(0, 255, 136, 0.8);
        }
    }
    
    /* Reduce particle effects */
    canvas {
        display: none;
    }
    
    /* Simplify button animations */
    .btn-primary,
    .btn-secondary,
    .hero-cta .btn,
    .cta-buttons .btn {
        animation: none;
    }
    
    /* Fix JOIN NOW button */
    .btn-nav {
        padding: 0.5rem 1rem !important;
        font-size: 0.875rem;
        white-space: nowrap;
        animation: none !important;
    }
    
    #authButtons {
        flex-direction: column;
        width: 100%;
    }
    
    #authButtons .btn-nav {
        width: 100%;
        margin-bottom: 10px;
    }
    
    /* Optimize ticker for mobile */
    .recent-wins-ticker {
        height: 50px;
    }
    
    .ticker-wrapper {
        animation-duration: 40s; /* Slower for readability */
    }
    
    /* Reduce shadow complexity */
    .signal-card,
    .testimonial-card,
    .module-card,
    .comparison-column {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }
    
    /* Disable hover effects on touch devices */
    @media (hover: none) {
        .signal-card:hover,
        .testimonial-card:hover,
        .module-card:hover {
            transform: none;
        }
    }
    
    /* Navigation optimizations */
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(10, 10, 11, 0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .nav-menu.active {
        transform: translateX(0);
        display: flex;
    }
    
    /* Hide floating language switcher on mobile */
    #language-switcher {
        display: none !important;
    }
    
    /* Mobile Language Switcher in Menu */
    .mobile-language-container {
        width: 100%;
        padding: 0.5rem 1.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .mobile-language-switcher {
        display: flex !important;
        gap: 0.5rem;
        width: 100%;
        background: rgba(255, 255, 255, 0.03) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-radius: 12px !important;
        padding: 0.25rem !important;
    }
    
    .mobile-lang-btn {
        flex: 1;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.4rem;
        padding: 0.5rem !important;
        background: transparent;
        border: none;
        border-radius: 8px !important;
        color: #A0A0A0 !important;
        cursor: pointer;
        transition: all 0.3s ease;
        font-size: 0.875rem !important;
        font-weight: 500 !important;
    }
    
    .mobile-lang-btn:hover {
        background: rgba(255, 255, 255, 0.05) !important;
    }
    
    .mobile-lang-btn.active {
        background: rgba(0, 255, 136, 0.15) !important;
        color: #00FF88 !important;
        border: 1px solid rgba(0, 255, 136, 0.3) !important;
    }
    
    .mobile-lang-btn .lang-flag {
        font-size: 1.1rem;
        line-height: 1;
    }
    
    .mobile-lang-btn .lang-code {
        font-family: 'JetBrains Mono', monospace;
        font-size: 0.75rem;
        letter-spacing: 0.05em;
    }
    
    .live-ticker {
        display: none;
    }
    
    .mobile-nav-toggle {
        display: flex;
    }
    
    /* Layout adjustments */
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .hero-cta .btn {
        width: 100%;
        min-height: 48px; /* Better touch target */
        touch-action: manipulation; /* Prevent zoom on double tap */
        -webkit-tap-highlight-color: transparent;
        font-size: 1rem;
    }
    
    .hero-stats {
        flex-direction: row;
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
        margin-bottom: 3rem; /* Maintain spacing on mobile */
    }
    
    .hero-stats .stat {
        flex: 1;
        min-width: 100px;
    }
    
    .comparison-table {
        grid-template-columns: 1fr;
    }
    
    .course-modules {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    /* Font size optimizations */
    .section-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    /* Reduce padding on mobile */
    section {
        padding: 3rem 0;
    }
    
    .signal-card,
    .testimonial-card,
    .module-card {
        padding: 1.5rem;
    }
    
    /* Popup responsive styles */
    .popup-content {
        padding: 2rem 1.5rem;
        margin: 1rem;
        width: calc(100% - 2rem);
        max-width: calc(100vw - 2rem);
    }
    
    .popup-close {
        top: 1rem;
        right: 1rem;
    }
}

/* ===== Responsive Design ===== */

@media (max-width: 1024px) {
    .signals-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Animations on Scroll ===== */
/* Fade in from bottom */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* Fade in from bottom with more distance */
.fade-in-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Fade in from left */
.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Fade in from right */
.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Scale in animation */
.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Ensure sections are visible by default if JavaScript fails */
section {
    opacity: 1;
}

section.fade-in {
    opacity: 0;
}

section.fade-in.visible {
    opacity: 1;
}

/* Stagger animations for lists and grids */
.stagger-in {
    opacity: 0;
    transform: translateY(30px);
}

.stagger-in.visible {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Stagger delays for grid items */
.signals-grid .signal-card:nth-child(1),
.testimonials-grid .testimonial-card:nth-child(1),
.course-modules .module-card:nth-child(1) {
    transition-delay: 0.1s;
}

.signals-grid .signal-card:nth-child(2),
.testimonials-grid .testimonial-card:nth-child(2),
.course-modules .module-card:nth-child(2) {
    transition-delay: 0.2s;
}

.signals-grid .signal-card:nth-child(3),
.testimonials-grid .testimonial-card:nth-child(3),
.course-modules .module-card:nth-child(3) {
    transition-delay: 0.3s;
}

.course-modules .module-card:nth-child(4) {
    transition-delay: 0.4s;
}

/* FAQ items stagger */
.faq-item:nth-child(1) { transition-delay: 0.1s; }
.faq-item:nth-child(2) { transition-delay: 0.15s; }
.faq-item:nth-child(3) { transition-delay: 0.2s; }
.faq-item:nth-child(4) { transition-delay: 0.25s; }
.faq-item:nth-child(5) { transition-delay: 0.3s; }

/* Hero stats stagger */
.hero-stats .stat:nth-child(1) { transition-delay: 0.2s; }
.hero-stats .stat:nth-child(2) { transition-delay: 0.3s; }
.hero-stats .stat:nth-child(3) { transition-delay: 0.4s; }

/* Footer sections stagger */
.footer-section:nth-child(1) { transition-delay: 0.1s; }
.footer-section:nth-child(2) { transition-delay: 0.2s; }
.footer-section:nth-child(3) { transition-delay: 0.3s; }
.footer-section:nth-child(4) { transition-delay: 0.4s; }

/* Disable animations for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    .fade-in,
    .fade-in-up,
    .fade-in-left,
    .fade-in-right,
    .scale-in,
    .stagger-in {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ===== Loading Screen ===== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0A0A0B; /* Use exact color instead of var to prevent flash */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease-out, visibility 0.3s ease-out;
}

.loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
}

.loader-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--profit-green);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
    animation: pulse-logo 1.5s ease-in-out infinite;
}

@keyframes pulse-logo {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(0.95);
    }
}

.loader-dots {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.loader-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--profit-green);
    animation: bounce-dot 1.4s ease-in-out infinite both;
}

.loader-dots span:nth-child(1) {
    animation-delay: -0.32s;
}

.loader-dots span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes bounce-dot {
    0%, 80%, 100% {
        transform: scale(0);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

.loader-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    animation: fade-text 2s ease-in-out infinite;
}

@keyframes fade-text {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

/* ===== Loading Animation ===== */
@keyframes loading {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--text-secondary);
    border-radius: 50%;
    border-top-color: var(--profit-green);
    animation: loading 1s linear infinite;
}

/* Popup Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.popup-content {
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease;
    text-align: center;
}

.popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-close:hover {
    color: var(--profit-green);
    transform: rotate(90deg);
}

.popup-content h2 {
    color: var(--profit-green);
    margin-bottom: 1rem;
    font-size: 2rem;
    font-weight: 700;
}

.popup-content p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.popup-content .btn-primary {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    background: linear-gradient(135deg, var(--profit-green), var(--electric-blue));
    border: none;
    color: var(--bg-primary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    border-radius: 30px;
}

.popup-content .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.3);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Georgian Language Styles ===== */
/* When language is set to Georgian, use FiraGo font */
html[lang="ka"] body,
html[lang="ka"] body * {
    font-family: 'FiraGO', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

/* Specific override for navigation buttons in Georgian */
html[lang="ka"] .btn-nav,
html[lang="ka"] .logout-btn {
    font-family: 'FiraGO', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

/* Keep Orbitron for logo even in Georgian */
html[lang="ka"] .logo {
    font-family: 'Orbitron', sans-serif !important;
}

/* Keep JetBrains Mono for code/numbers even in Georgian */
html[lang="ka"] .counter-value,
html[lang="ka"] .stat-value,
html[lang="ka"] .price-value {
    font-family: 'JetBrains Mono', monospace !important;
}