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

:root {
    /* Dark Theme Colors */
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --bg-tertiary: #2a2a2a;
    
    /* Neon Colors */
    --neon-purple: #8b5cf6;
    --neon-blue: #3b82f6;
    --neon-pink: #ec4899;
    --neon-green: #10b981;
    --neon-cyan: #06b6d4;
    --neon-orange: #f59e0b;
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #e5e7eb;
    --text-muted: #9ca3af;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--neon-purple), var(--neon-blue));
    --gradient-secondary: linear-gradient(135deg, var(--neon-pink), var(--neon-orange));
    --gradient-tertiary: linear-gradient(135deg, var(--neon-green), var(--neon-cyan));
    --gradient-vortex: conic-gradient(from 0deg, var(--neon-purple), var(--neon-blue), var(--neon-pink), var(--neon-green), var(--neon-purple));
    
    /* Fonts */
    --font-primary: 'Orbitron', monospace;
    --font-secondary: 'Rajdhani', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

body {
    font-family: var(--font-secondary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(139, 92, 246, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-logo .logo-vortex {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-text {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
}

.logo-subtitle {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-top: -5px;
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: var(--neon-purple);
    text-shadow: 0 0 10px var(--neon-purple);
}

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

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--neon-purple);
    margin: 3px 0;
    transition: 0.3s;
}

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

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.vortex-animation {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
}

.vortex-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid;
    animation: vortexSpin 20s linear infinite;
}

.ring-1 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-color: var(--neon-purple);
    box-shadow: 0 0 20px var(--neon-purple);
    animation-duration: 15s;
}

.ring-2 {
    width: 400px;
    height: 400px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-color: var(--neon-blue);
    box-shadow: 0 0 30px var(--neon-blue);
    animation-duration: 20s;
    animation-direction: reverse;
}

.ring-3 {
    width: 600px;
    height: 600px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-color: var(--neon-pink);
    box-shadow: 0 0 40px var(--neon-pink);
    animation-duration: 25s;
}

.ring-4 {
    width: 800px;
    height: 800px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-color: var(--neon-green);
    box-shadow: 0 0 50px var(--neon-green);
    animation-duration: 30s;
    animation-direction: reverse;
}

@keyframes vortexSpin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.particle-system {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, var(--neon-purple), transparent),
        radial-gradient(2px 2px at 40px 70px, var(--neon-blue), transparent),
        radial-gradient(1px 1px at 90px 40px, var(--neon-pink), transparent),
        radial-gradient(1px 1px at 130px 80px, var(--neon-green), transparent),
        radial-gradient(2px 2px at 160px 30px, var(--neon-cyan), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: particleFloat 20s linear infinite;
    opacity: 0.6;
}

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

.grid-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(139, 92, 246, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 92, 246, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 30s linear infinite;
}

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

.hero-content {
    text-align: center;
    z-index: 10;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    margin-bottom: 2rem;
}

.title-main {
    display: block;
    font-family: var(--font-primary);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    background: var(--gradient-vortex);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    animation: titleGlow 3s ease-in-out infinite alternate;
}

.title-subtitle {
    display: block;
    font-family: var(--font-secondary);
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: var(--text-secondary);
    font-weight: 300;
    letter-spacing: 1px;
}

@keyframes titleGlow {
    0% { filter: drop-shadow(0 0 10px var(--neon-purple)); }
    100% { filter: drop-shadow(0 0 30px var(--neon-blue)); }
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.8;
}

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

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.cta-button {
    position: relative;
    background: transparent;
    border: 2px solid var(--neon-purple);
    color: var(--text-primary);
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.3s ease;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
    border-color: var(--neon-blue);
}

.button-vortex {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--gradient-primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
    z-index: -1;
}

.cta-button:hover .button-vortex {
    width: 300px;
    height: 300px;
}

/* Sections */
.section {
    padding: 100px 0;
    position: relative;
}

.section:nth-child(even) {
    background: var(--bg-secondary);
}

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

.section-title {
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Overview Section */
.overview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.overview-text h3 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    color: var(--neon-purple);
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.overview-text h3:first-child {
    margin-top: 0;
}

.overview-text p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.feature-showcase {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.showcase-item {
    background: var(--bg-tertiary);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(139, 92, 246, 0.3);
    transition: all 0.3s ease;
}

.showcase-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.2);
    border-color: var(--neon-purple);
}

.showcase-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-vortex {
    width: 100%;
    height: 100%;
    background: var(--gradient-vortex);
    border-radius: 50%;
    animation: iconSpin 10s linear infinite;
}

.icon-crypto {
    width: 100%;
    height: 100%;
    background: var(--gradient-secondary);
    border-radius: 15px;
}

.icon-security {
    width: 100%;
    height: 100%;
    background: var(--gradient-tertiary);
    border-radius: 10px;
}

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

.showcase-item h4 {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.showcase-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-tertiary);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.3);
    border-color: var(--neon-purple);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
    color: var(--neon-purple);
}

.feature-icon svg {
    width: 100%;
    height: 100%;
    stroke-width: 1.5;
}

.feature-card h3 {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Technology Section */
.tech-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.tech-diagram {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tech-layer {
    background: var(--bg-tertiary);
    padding: 1.5rem;
    border-radius: 15px;
    border-left: 4px solid var(--neon-purple);
    transition: all 0.3s ease;
}

.tech-layer:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(139, 92, 246, 0.2);
}

.tech-layer h4 {
    font-family: var(--font-primary);
    color: var(--neon-purple);
    margin-bottom: 1rem;
}

.layer-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.layer-items span {
    background: rgba(139, 92, 246, 0.2);
    color: var(--text-secondary);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.tech-details h3 {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.crypto-support {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.crypto-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--bg-tertiary);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    transition: all 0.3s ease;
}

.crypto-item:hover {
    transform: translateX(10px);
    border-color: var(--neon-purple);
}

.crypto-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--text-primary);
}

.crypto-icon.btc {
    background: linear-gradient(135deg, #f7931a, #ff6b35);
}

.crypto-icon.xmr {
    background: linear-gradient(135deg, #ff6600, #ff8c42);
}

.crypto-icon.usdt {
    background: linear-gradient(135deg, #26a17b, #50e3c2);
}

.crypto-info h4 {
    font-family: var(--font-primary);
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.crypto-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Downfall Section */
.downfall-content {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.comparison-chart h3 {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 2rem;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.comparison-item {
    background: var(--bg-tertiary);
    padding: 2rem;
    border-radius: 20px;
    border: 2px solid;
    position: relative;
}

.comparison-item.success {
    border-color: var(--neon-green);
}

.comparison-item.failure {
    border-color: var(--neon-pink);
}

.comparison-item h4 {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.comparison-item ul {
    list-style: none;
    margin-bottom: 2rem;
}

.comparison-item li {
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.success li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--neon-green);
    font-weight: bold;
}

.failure li::before {
    content: '✗';
    position: absolute;
    left: 0;
    color: var(--neon-pink);
    font-weight: bold;
}

.result {
    text-align: center;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.2rem;
    padding: 0.8rem;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.success-result {
    background: rgba(16, 185, 129, 0.2);
    color: var(--neon-green);
    border: 1px solid var(--neon-green);
}

.failure-result {
    background: rgba(236, 72, 153, 0.2);
    color: var(--neon-pink);
    border: 1px solid var(--neon-pink);
}

.failure-analysis h3 {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.mistake-timeline {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mistake-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: var(--bg-tertiary);
    padding: 1.5rem;
    border-radius: 15px;
    border-left: 4px solid var(--neon-pink);
    transition: all 0.3s ease;
}

.mistake-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(236, 72, 153, 0.2);
}

.mistake-icon {
    font-size: 2rem;
    min-width: 60px;
    text-align: center;
}

.mistake-content h4 {
    font-family: var(--font-primary);
    color: var(--neon-pink);
    margin-bottom: 0.5rem;
}

.mistake-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Legacy Section */
.legacy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.legacy-card {
    background: var(--bg-tertiary);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    transition: all 0.3s ease;
    text-align: center;
}

.legacy-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.3);
    border-color: var(--neon-purple);
}

.legacy-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    color: var(--neon-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 50%;
    border: 2px solid rgba(139, 92, 246, 0.3);
}

.legacy-icon svg {
    width: 40px;
    height: 40px;
    stroke-width: 1.5;
}

.legacy-card h3 {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.legacy-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid rgba(139, 92, 246, 0.3);
    padding: 3rem 0 1rem;
}

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

.footer-section h4 {
    font-family: var(--font-primary);
    color: var(--neon-purple);
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.9rem;
}

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

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

.footer-section ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--neon-purple);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(10, 10, 10, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        backdrop-filter: blur(20px);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .overview-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .tech-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .legacy-grid {
        grid-template-columns: 1fr;
    }
    
    .mistake-item {
        flex-direction: column;
        text-align: center;
    }
    
    .crypto-item {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .hero-content {
        padding: 0 15px;
    }
    
    .feature-card,
    .legacy-card,
    .showcase-item {
        padding: 1.5rem;
    }
    
    .vortex-animation {
        width: 400px;
        height: 400px;
    }
    
    .ring-1 { width: 100px; height: 100px; }
    .ring-2 { width: 200px; height: 200px; }
    .ring-3 { width: 300px; height: 300px; }
    .ring-4 { width: 400px; height: 400px; }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Loading Animation */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.loading {
    animation: pulse 2s infinite;
}

