/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

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

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    animation: logoGlow 3s ease-in-out infinite;
}

@keyframes logoGlow {
    0%, 100% { 
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 6px 25px rgba(102, 126, 234, 0.5);
        transform: scale(1.05);
    }
}

.logo-icon i {
    color: white;
    font-size: 1.5rem;
}

.logo-text h1 {
    margin: 0;
    color: #667eea;
    font-size: 1.8rem;
    font-weight: bold;
}

.logo-text span {
    color: #666;
    font-size: 0.9rem;
}

.auth-buttons {
    display: flex;
    gap: 1rem;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-primary {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-outline {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-outline:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* NEXUS HERO SECTION - Totally New Design */
.hero {
    min-height: 100vh;
    background: radial-gradient(ellipse at center, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #ffffff;
}

/* Neural Network Background */
.neural-network {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#neuralCanvas {
    width: 100%;
    height: 100%;
    opacity: 0.3;
}

/* Data Stream Lines */
.data-stream {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.stream-line {
    position: absolute;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, transparent, #00ffff, transparent);
    animation: dataFlow 3s linear infinite;
}

.stream-1 { left: 20%; animation-delay: 0s; }
.stream-2 { left: 40%; animation-delay: 0.7s; }
.stream-3 { left: 60%; animation-delay: 1.4s; }
.stream-4 { left: 80%; animation-delay: 2.1s; }

@keyframes dataFlow {
    0% { transform: translateY(-100%); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(100%); opacity: 0; }
}

/* Holographic Overlay */
.holographic-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

.holo-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0,255,255,0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridShift 20s linear infinite;
}

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

.scanning-beam {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0,255,255,0.2), transparent);
    animation: scanBeam 8s ease-in-out infinite;
}

@keyframes scanBeam {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: -100%; }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

/* Quantum Badge */
.quantum-badge {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.3);
    padding: 15px 30px;
    border-radius: 50px;
    margin-bottom: 40px;
    backdrop-filter: blur(10px);
    animation: quantumFloat 3s ease-in-out infinite;
}

@keyframes quantumFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.quantum-particles {
    display: flex;
    gap: 5px;
}

.particle {
    width: 8px;
    height: 8px;
    background: #00ffff;
    border-radius: 50%;
    animation: particleGlow 1.5s ease-in-out infinite alternate;
}

.particle:nth-child(2) { animation-delay: 0.3s; }
.particle:nth-child(3) { animation-delay: 0.6s; }

@keyframes particleGlow {
    0% { opacity: 0.3; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1.2); }
}

.badge-text {
    color: #00ffff;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

/* Hero Logo */
.hero-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    animation: heroLogoFloat 4s ease-in-out infinite;
}

@keyframes heroLogoFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-10px) rotate(5deg); }
    50% { transform: translateY(-5px) rotate(0deg); }
    75% { transform: translateY(-15px) rotate(-5deg); }
}

.hero-logo-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #00ffff, #ff0080);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 0 30px rgba(0, 255, 255, 0.5),
        0 0 60px rgba(255, 0, 128, 0.3);
    animation: heroLogoGlow 2s ease-in-out infinite alternate;
    position: relative;
    overflow: hidden;
}

@keyframes heroLogoGlow {
    0% { 
        box-shadow: 
            0 0 30px rgba(0, 255, 255, 0.5),
            0 0 60px rgba(255, 0, 128, 0.3);
        transform: scale(1);
    }
    100% { 
        box-shadow: 
            0 0 40px rgba(0, 255, 255, 0.8),
            0 0 80px rgba(255, 0, 128, 0.5);
        transform: scale(1.1);
    }
}

.hero-logo-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: logoShine 3s linear infinite;
}

@keyframes logoShine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* Glitch Title */
.glitch-title {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 40px;
    position: relative;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
    animation: titlePulse 2s ease-in-out infinite;
}

@keyframes titlePulse {
    0%, 100% { text-shadow: 0 0 20px rgba(0, 255, 255, 0.5); }
    50% { text-shadow: 0 0 30px rgba(0, 255, 255, 0.8), 0 0 40px rgba(255, 0, 255, 0.3); }
}

.glitch-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch-layer:nth-child(2) {
    color: #ff0080;
    animation: glitch1 2s infinite;
}

.glitch-layer:nth-child(3) {
    color: #00ff80;
    animation: glitch2 2s infinite;
}

@keyframes glitch1 {
    0%, 90%, 100% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
}

@keyframes glitch2 {
    0%, 90%, 100% { transform: translate(0); }
    20% { transform: translate(2px, -2px); }
    40% { transform: translate(2px, 2px); }
    60% { transform: translate(-2px, -2px); }
    80% { transform: translate(-2px, 2px); }
}

/* Currency Display */
.currency-display {
    margin-bottom: 50px;
}

.currency-pair {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-bottom: 30px;
}

.currency {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: rgba(0, 255, 255, 0.1);
    border: 2px solid rgba(0, 255, 255, 0.3);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    animation: currencyPulse 3s ease-in-out infinite;
}

.currency.usdt { animation-delay: 0s; }
.currency.bdt { animation-delay: 1.5s; }

@keyframes currencyPulse {
    0%, 100% { 
        border-color: rgba(0, 255, 255, 0.3);
        box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
    }
    50% { 
        border-color: rgba(0, 255, 255, 0.8);
        box-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
    }
}

.currency-icon {
    font-size: 3rem;
    color: #00ffff;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
}

.currency-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 2px;
}

.exchange-arrow {
    position: relative;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #00ffff, #ff0080, #00ffff);
    border-radius: 2px;
    animation: arrowFlow 2s linear infinite;
}

@keyframes arrowFlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.arrow-body::before {
    content: '';
    position: absolute;
    right: -10px;
    top: -8px;
    width: 0;
    height: 0;
    border-left: 15px solid #00ffff;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

.energy-pulse {
    position: absolute;
    top: -2px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(0, 255, 255, 0.5);
    border-radius: 4px;
    animation: energyFlow 1s ease-in-out infinite;
}

/* Live Rate Display */
.live-rate {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 255, 255, 0.5);
    padding: 15px 30px;
    border-radius: 25px;
    backdrop-filter: blur(15px);
    position: relative;
}

.rate-label {
    color: #00ffff;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.rate-value {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
}

.rate-pulse {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 2px solid rgba(0, 255, 255, 0.5);
    border-radius: 27px;
    animation: ratePulse 2s ease-in-out infinite;
}

@keyframes ratePulse {
    0%, 100% { opacity: 0; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

/* Power Features */
.power-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    animation: featureFloat 4s ease-in-out infinite;
}

.feature-item:nth-child(1) { animation-delay: 0s; }
.feature-item:nth-child(2) { animation-delay: 1.3s; }
.feature-item:nth-child(3) { animation-delay: 2.6s; }

@keyframes featureFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.feature-item:hover {
    border-color: rgba(0, 255, 255, 0.8);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.3);
    transform: translateY(-5px);
}

.feature-icon {
    position: relative;
    width: 50px;
    height: 50px;
}

.icon-core {
    width: 20px;
    height: 20px;
    background: #00ffff;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: coreGlow 2s ease-in-out infinite;
}

@keyframes coreGlow {
    0%, 100% { box-shadow: 0 0 10px rgba(0, 255, 255, 0.5); }
    50% { box-shadow: 0 0 20px rgba(0, 255, 255, 1); }
}

.icon-rings {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(0, 255, 255, 0.3);
    border-radius: 50%;
    animation: ringRotate 3s linear infinite;
}

.icon-rings::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 50%;
    animation: ringRotate 4s linear infinite reverse;
}

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

.feature-item span {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-align: center;
}

/* Action Zone */
.action-zone {
    margin-bottom: 40px;
}

.primary-actions {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.nexus-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: none;
    overflow: hidden;
    border-radius: 50px;
}

.btn-core {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid rgba(0, 255, 255, 0.5);
    border-radius: 50px;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.nexus-btn.primary .btn-core {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.2), rgba(255, 0, 128, 0.2));
    border-color: #00ffff;
}

.nexus-btn.secondary .btn-core {
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-energy {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(0, 255, 255, 0.3), transparent);
    border-radius: 50px;
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: energySweep 3s linear infinite;
}

@keyframes energySweep {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.nexus-btn:hover .btn-energy {
    opacity: 1;
}

.nexus-btn:hover .btn-core {
    border-color: #00ffff;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
    transform: translateY(-2px);
}

.btn-particles {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.btn-particles span {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #00ffff;
    border-radius: 50%;
    opacity: 0;
    animation: particleExplode 2s ease-out infinite;
}

.btn-particles span:nth-child(1) { top: 20%; left: 20%; animation-delay: 0s; }
.btn-particles span:nth-child(2) { top: 20%; right: 20%; animation-delay: 0.5s; }
.btn-particles span:nth-child(3) { bottom: 20%; left: 20%; animation-delay: 1s; }
.btn-particles span:nth-child(4) { bottom: 20%; right: 20%; animation-delay: 1.5s; }

@keyframes particleExplode {
    0% { opacity: 0; transform: scale(0); }
    50% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(0); }
}

/* System Status */
.system-status {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 15px;
    padding: 20px;
    backdrop-filter: blur(10px);
}

.status-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #ffffff;
    font-weight: 500;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #00ff00;
    animation: statusBlink 2s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.8);
}

@keyframes statusBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 24px;
    border-radius: 50px;
    margin-bottom: 30px;
    animation: slideInDown 1s ease-out;
}

.hero-badge i {
    color: #4ade80;
    font-size: 1.1rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 30px;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.title-line-1 {
    display: block;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideInLeft 1s ease-out 0.2s both;
}

.title-line-2 {
    display: block;
    font-size: 5rem;
    background: linear-gradient(135deg, #10b981, #059669);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: zoomIn 1s ease-out 0.4s both;
    margin: 10px 0;
}

.title-line-3 {
    display: block;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideInRight 1s ease-out 0.6s both;
}

.hero-subtitle {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.subtitle-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 500;
}

.subtitle-item i {
    color: #4ade80;
    font-size: 1.2rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out 1s both;
}

.stat-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px 30px;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #4ade80;
    margin-bottom: 5px;
    font-family: 'Courier New', monospace;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out 1.2s both;
}

.cta-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.cta-btn.primary {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
}

.cta-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.6);
}

.cta-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.cta-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.cta-btn.primary:hover .btn-glow {
    left: 100%;
}

.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 40px;
    animation: fadeInUp 1s ease-out 1.4s both;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    opacity: 0.9;
}

.trust-item i {
    color: #fbbf24;
    font-size: 1.1rem;
}

/* Hero Animations */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.whatsapp-btn {
    background: #25D366;
    color: white;
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.whatsapp-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}

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

/* Price Dashboard */
.price-dashboard {
    padding: 3rem 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

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

.price-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    animation: fadeInScale 0.8s ease-out;
}

.price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.price-card h3 {
    color: #666;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.price-value {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.current-price .price-value {
    color: #667eea;
}

.buy-price .price-value {
    color: #28a745;
}

.sell-price .price-value {
    color: #dc3545;
}

.high-price .price-value {
    color: #ffc107;
}

.low-price .price-value {
    color: #17a2b8;
}

.price-unit {
    color: #888;
    font-size: 0.9rem;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Chart Section */
.chart-section {
    padding: 3rem 0;
    background: #181A20;  /* Binance dark theme */
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.chart-header h3 {
    color: #EAECEF;  /* Binance light text */
    font-size: 1.5rem;
    margin: 0;
}

.chart-controls {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.zoom-controls {
    display: flex;
    gap: 0.5rem;
}

.zoom-btn {
    background: #2B3139;
    color: #EAECEF;
    border: 1px solid #3C4043;
    border-radius: 4px;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
    min-width: 40px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zoom-btn:hover {
    background: #3C4043;
    border-color: #00d4aa;
    color: #00d4aa;
    transform: translateY(-1px);
}

.zoom-btn:active {
    transform: translateY(0);
}

.date-range-controls {
    display: flex;
    gap: 0.5rem;
}

.date-btn {
    padding: 0.4rem 0.8rem;
    border: 2px solid #667eea;
    background: transparent;
    color: #667eea;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    font-weight: 500;
    min-width: 40px;
}

.date-btn.active,
.date-btn:hover {
    background: #667eea;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.chart-container {
    height: 500px;
    background: #0B0E11;  /* Binance dark background */
    border: 1px solid #2B3139;  /* Binance border color */
    border-radius: 4px;
    padding: 0;
    box-shadow: none;
    position: relative;
    overflow: hidden;
}

.zoom-indicator {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(23, 25, 35, 0.9);
    color: #EAECEF;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    border: 1px solid #2B3139;
    z-index: 10;
    pointer-events: none;
}

.zoom-indicator span {
    display: block;
    font-weight: 600;
    margin-bottom: 2px;
}

.zoom-indicator small {
    color: #848E9C;
    font-size: 10px;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 1rem;
    top: 1rem;
}

.close:hover {
    color: #000;
}

.modal-content h2 {
    margin-bottom: 1.5rem;
    color: #333;
    text-align: center;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
}

.modal-footer {
    text-align: center;
    margin-top: 1rem;
    color: #666;
}

.modal-footer a {
    color: #667eea;
    text-decoration: none;
}

.modal-footer a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 2rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 1rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: #667eea;
}

.footer-section a {
    color: #667eea;
    text-decoration: none;
}

.footer-section a:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }

/* Nexus Hero Responsive Design */
@media (max-width: 768px) {
    .glitch-title {
        font-size: 2.5rem;
    }
    
    .hero-logo-icon {
        width: 60px;
        height: 60px;
    }
    
    .hero-logo-icon i {
        font-size: 2rem;
    }
    
    .logo-icon {
        width: 40px;
        height: 40px;
    }
    
    .logo-icon i {
        font-size: 1.2rem;
    }
    
    .logo-text h1 {
        font-size: 1.5rem;
    }
    
    .currency-pair {
        flex-direction: column;
        gap: 20px;
    }
    
    .exchange-arrow {
        transform: rotate(90deg);
        width: 60px;
    }
    
    .power-features {
        flex-direction: column;
        gap: 20px;
    }
    
    .primary-actions {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .status-grid {
        flex-direction: column;
        gap: 15px;
    }
    
    .stream-line {
        display: none;
    }
    
    .data-stream {
        display: none;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .glitch-title {
        font-size: 2rem;
    }
    
    .hero-logo-icon {
        width: 50px;
        height: 50px;
    }
    
    .hero-logo-icon i {
        font-size: 1.5rem;
    }
    
    .logo {
        gap: 10px;
    }
    
    .logo-icon {
        width: 35px;
        height: 35px;
    }
    
    .logo-icon i {
        font-size: 1rem;
    }
    
    .logo-text h1 {
        font-size: 1.3rem;
    }
    
    .logo-text span {
        font-size: 0.8rem;
    }
    
    .currency {
        padding: 15px;
    }
    
    .currency-icon {
        font-size: 2rem;
    }
    
    .rate-value {
        font-size: 1.5rem;
    }
    
    .quantum-badge {
        padding: 10px 20px;
    }
    
    .badge-text {
        font-size: 0.8rem;
    }
}

    .price-cards {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }

    .price-card {
        padding: 1.5rem;
    }

    .price-value {
        font-size: 1.5rem;
    }

    .chart-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .chart-controls {
        justify-content: center;
        flex-direction: row;
        gap: 1rem;
    }

    .date-range-controls {
        justify-content: center;
        flex-wrap: wrap;
    }

    .chart-container {
        height: 300px;
    }

    .modal-content {
        margin: 20% auto;
        width: 95%;
    }
}

@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 1.5rem;
    }

    .price-cards {
        grid-template-columns: 1fr;
    }

    .auth-buttons {
        flex-direction: column;
        width: 100%;
    }

    .chart-type-controls,
    .date-range-controls {
        justify-content: center;
    }

    .date-btn {
        padding: 0.3rem 0.6rem;
        font-size: 0.8rem;
        min-width: 35px;
    }

    .chart-header h3 {
        font-size: 1.2rem;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Success/Error Messages */
.message {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    text-align: center;
}

.message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Trust & Transparency Section */
.trust-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.trust-header {
    text-align: center;
    margin-bottom: 60px;
}

.trust-header h3 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.trust-header h3 i {
    color: #27ae60;
    font-size: 2.2rem;
}

.trust-header p {
    font-size: 1.2rem;
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.trust-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}

.trust-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.trust-icon {
    text-align: center;
    margin-bottom: 20px;
}

.trust-icon i {
    font-size: 3rem;
    color: #3498db;
    background: linear-gradient(135deg, #3498db, #2980b9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.trust-card h4 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 25px;
    font-size: 1.4rem;
    font-weight: 600;
}

/* API Status */
.api-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    padding: 12px;
    border-radius: 8px;
    background: #f8f9fa;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #27ae60;
    animation: pulse 2s infinite;
}

.status-indicator.offline {
    background: #e74c3c;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.api-details p {
    margin: 8px 0;
    color: #5a6c7d;
    font-size: 0.95rem;
}

.api-details strong {
    color: #2c3e50;
}

/* Market Stats */
.market-stats {
    space-y: 15px;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #ecf0f1;
}

.stat-item:last-child {
    border-bottom: none;
}

.stat-label {
    color: #7f8c8d;
    font-weight: 500;
}

.stat-value {
    color: #2c3e50;
    font-weight: 600;
    font-family: 'Courier New', monospace;
}

/* Transparency Items */
.transparency-item, .security-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 15px 0;
    padding: 10px;
    border-radius: 8px;
    background: #f8f9fa;
    transition: background 0.3s ease;
}

.transparency-item:hover, .security-item:hover {
    background: #e9ecef;
}

.transparency-item i, .security-item i {
    color: #27ae60;
    font-size: 1.1rem;
    width: 20px;
}

.transparency-item span, .security-item span {
    color: #2c3e50;
    font-weight: 500;
}

/* Order Book */
.orderbook-section {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin: 40px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.orderbook-section h4 {
    color: #2c3e50;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.orderbook-section h4 i {
    color: #3498db;
}

.orderbook-container {
    border: 1px solid #e9ecef;
    border-radius: 10px;
    overflow: hidden;
}

.orderbook-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    background: #34495e;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.ob-col {
    padding: 15px 12px;
    text-align: center;
    border-right: 1px solid #4a5f7a;
}

.ob-col:last-child {
    border-right: none;
}

.orderbook-body {
    max-height: 300px;
    overflow-y: auto;
}

.orderbook-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    border-bottom: 1px solid #ecf0f1;
    transition: background 0.3s ease;
}

.orderbook-row:hover {
    background: #f8f9fa;
}

.orderbook-row:last-child {
    border-bottom: none;
}

.ob-cell {
    padding: 12px;
    text-align: center;
    font-size: 0.9rem;
    border-right: 1px solid #ecf0f1;
}

.ob-cell:last-child {
    border-right: none;
}

.seller-name {
    color: #3498db;
    font-weight: 600;
}

.price-cell {
    color: #27ae60;
    font-weight: 600;
    font-family: 'Courier New', monospace;
}

.amount-cell {
    color: #2c3e50;
    font-family: 'Courier New', monospace;
}

.payment-method {
    background: #ecf0f1;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    color: #5a6c7d;
}

.status-online {
    color: #27ae60;
    font-weight: 600;
}

.loading-orderbook {
    text-align: center;
    padding: 40px;
    color: #7f8c8d;
    font-style: italic;
}

/* Performance Metrics */
.performance-metrics {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.performance-metrics h4 {
    color: #2c3e50;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.performance-metrics h4 i {
    color: #e67e22;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.metric-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    border-radius: 10px;
    background: #f8f9fa;
    transition: background 0.3s ease;
}

.metric-item:hover {
    background: #e9ecef;
}

.metric-label {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 8px;
    text-align: center;
}

.metric-value {
    color: #2c3e50;
    font-weight: 600;
    font-size: 1.2rem;
    font-family: 'Courier New', monospace;
}

.server-online {
    color: #27ae60;
}

.server-offline {
    color: #e74c3c;
}

/* Footer Updates */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.trust-badges, .social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.badge, .api-badge, .transparency-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(52, 152, 219, 0.1);
    border-radius: 20px;
    font-size: 0.85rem;
    color: #3498db;
    border: 1px solid rgba(52, 152, 219, 0.2);
}

.badge i, .api-badge i, .transparency-badge i {
    font-size: 0.9rem;
}

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

.footer-stats {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.9rem;
    color: #bdc3c7;
}

.footer-stats span:not(:last-child):not(:nth-child(even)) {
    color: #95a5a6;
}

/* Trust Section Responsive Design */
@media (max-width: 768px) {
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .orderbook-header, .orderbook-row {
        grid-template-columns: 1fr 1fr;
        font-size: 0.8rem;
    }
    
    .ob-col:nth-child(3), .ob-col:nth-child(4), .ob-col:nth-child(5),
    .ob-cell:nth-child(3), .ob-cell:nth-child(4), .ob-cell:nth-child(5) {
        display: none;
    }
    
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-stats {
        flex-direction: column;
        gap: 10px;
    }
    
    .trust-header h3 {
        font-size: 2rem;
        flex-direction: column;
        gap: 10px;
    }
    
    .trust-badges, .social-links {
        justify-content: center;
    }
}
