/* ============================================
   WELCOME PAGE STYLES
   ============================================ */

/* Base Styles */
* {
    font-family: 'Inter', sans-serif;
}

body {
    background: #ffffff;
    min-height: 100vh;
    overflow-y: auto;
    margin: 0;
    padding: 0;
}

.hero-gradient {
    position: relative;
    overflow: hidden;
}

/* Background Glow Effect - Subtle for light theme */
.hero-gradient::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    animation: pulseGlow 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

/* Content Wrapper */
.content-wrapper {
    position: relative;
    z-index: 10;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    padding: 16px 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.navbar-brand i {
    font-size: 28px;
    color: #3b82f6;
}

.navbar-brand span {
    font-size: 24px;
    font-weight: 800;
    color: #1e293b;
}

.navbar-brand span .highlight {
    color: #3b82f6;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: #64748b;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #0f172a;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-actions .login-link {
    color: #64748b;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-actions .login-link:hover {
    color: #0f172a;
}

/* ============================================
   PRICE TICKER
   ============================================ */
.price-ticker {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 12px 0;
    overflow: hidden;
    position: relative;
}

.ticker-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    animation: tickerScroll 25s linear infinite;
    white-space: nowrap;
    width: max-content;
}

.ticker-wrapper:hover {
    animation-play-state: paused;
}

@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-right: 20px;
}

.ticker-item .pair {
    font-weight: 600;
    color: #1e293b;
}

.ticker-item .price {
    font-weight: 500;
}

.ticker-item .price-up {
    color: #10b981;
}

.ticker-item .price-down {
    color: #ef4444;
}

.ticker-item .change-up {
    color: #10b981;
    font-weight: 500;
}

.ticker-item .change-down {
    color: #ef4444;
    font-weight: 500;
}

.ticker-divider {
    color: #94a3b8;
    font-size: 20px;
    font-weight: 300;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    border-radius: 12px;
    font-weight: 600;
    color: white;
    text-decoration: none;
    font-size: 16px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.3);
    text-decoration: none;
    color: white;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.btn-outline {
    border: 2px solid #d1d5db;
    transition: all 0.3s ease;
    background: transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    border-radius: 12px;
    font-weight: 600;
    color: #1e293b;
    text-decoration: none;
    font-size: 16px;
}

.btn-outline:hover {
    border-color: #3b82f6;
    background: rgba(59, 130, 246, 0.05);
    transform: translateY(-2px);
    text-decoration: none;
    color: #0f172a;
}

/* ============================================
   STAT CARDS
   ============================================ */
.stat-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(59, 130, 246, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.floating-cards {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.stat-card .stat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.stat-card .stat-label {
    color: #64748b;
    font-size: 14px;
}

.stat-card .stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
}

.stat-card .stat-change {
    font-size: 12px;
}

.stat-card .stat-change.positive {
    color: #10b981;
}

.stat-card .stat-change.negative {
    color: #ef4444;
}

/* ============================================
   FEATURES
   ============================================ */
.feature-icon {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    border: 1px solid rgba(0, 0, 0, 0.06);
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.feature-icon i {
    font-size: 24px;
}

/* ============================================
   MARKET BADGE
   ============================================ */
.market-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 6px 16px;
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 500;
}

.live-dot {
    position: relative;
    display: inline-flex;
    width: 8px;
    height: 8px;
}

.live-dot .ping {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #10b981;
    opacity: 0.75;
    animation: ping 1.5s ease-in-out infinite;
}

.live-dot .dot {
    position: relative;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
}

@keyframes ping {
    0% { transform: scale(1); opacity: 0.75; }
    100% { transform: scale(2); opacity: 0; }
}

/* ============================================
   TRUST BADGES
   ============================================ */
.trust-badges {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 32px;
    color: #64748b;
    font-size: 14px;
}

.trust-badges .badge-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.trust-badges .badge-item i {
    color: #3b82f6;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    margin-top: 80px;
    padding-top: 32px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    text-align: center;
    color: #94a3b8;
    font-size: 14px;
}

.footer a {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: #0f172a;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero-grid {
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 12px 16px;
    }
    
    .nav-links {
        display: none;
    }
    
    .btn-primary, .btn-outline {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .stat-card .stat-value {
        font-size: 20px;
    }
    
    .trust-badges {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .ticker-wrapper {
        gap: 20px;
        animation-duration: 15s;
    }
    
    .ticker-item {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .stat-card .stat-value {
        font-size: 18px;
    }
    
    .hero-title {
        font-size: 28px !important;
    }
    
    .btn-primary, .btn-outline {
        padding: 8px 16px;
        font-size: 13px;
        width: 100%;
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Scrollbar Hide for Ticker */
.price-ticker::-webkit-scrollbar {
    display: none;
}

.price-ticker {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
/* Quick Links Section - Full Width */
.quick-links {
    background: #f8fafc;
    border-top: 1px solid #e5e7eb;
    padding: 40px 24px 20px;
    width: 100%;
}

.quick-links-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
    text-align: center;
    color: #94a3b8;
    font-size: 13px;
}
/* Demo Video Section */
.aspect-video {
    aspect-ratio: 16 / 9;
}

.video-play-btn {
    transition: all 0.3s ease;
}

.video-play-btn:hover {
    transform: scale(1.1);
}

.video-play-btn .play-icon {
    transition: all 0.3s ease;
}

.video-play-btn:hover .play-icon {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
}

/* Video container overlay */
#demoVideoContainer {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive video section */
@media (max-width: 768px) {
    .video-play-btn {
        width: 60px;
        height: 60px;
    }
    
    .video-play-btn .play-icon {
        width: 40px;
        height: 40px;
    }
    
    .video-play-btn i {
        font-size: 18px;
    }
    /* Smooth Scroll */
html {
    scroll-behavior: smooth;
}
}