.hero-container {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #111827 0%, #374151 50%, #111827 100%);
}

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

/* Animation Stages */
.stage {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.stage.active {
    opacity: 1;
}

/* Stage 1: Legacy Computing */
.stage-1 {
    background: #000;
    font-family: 'Courier New', monospace;
    color: #00ff00;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.terminal {
    border: 2px solid #00ff00;
    padding: 20px;
    background: #000;
    width: 80%;
    max-width: 600px;
    font-size: 18px;
    line-height: 1.4;
}

.cursor {
    animation: blink 1s infinite;
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

.ascii-art {
    font-family: 'Courier New', monospace;
    white-space: pre;
    font-size: 12px;
    color: #00ff00;
    margin: 20px 0;
}

/* Stage 2: Static Web */
.stage-2 {
    background: linear-gradient(to bottom, #f0f0f0 0%, #e0e0e0 100%);
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.webpage-frame {
    border: 3px solid #666;
    background: white;
    width: 80%;
    max-width: 700px;
    height: 500px;
    padding: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.browser-bar {
    background: #ccc;
    height: 30px;
    margin: -10px -10px 10px -10px;
    border-bottom: 2px solid #999;
    display: flex;
    align-items: center;
    padding: 0 10px;
}

.construction-gif {
    animation: flash 1s infinite;
    color: #ff6600;
    font-weight: bold;
}

@keyframes flash {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0.3;
    }
}

/* Stage 3: Dynamic Web */
.stage-3 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.web2-interface {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 80%;
    max-width: 800px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    transform: translateY(20px);
    opacity: 0;
    animation: slideUp 1s ease-out forwards;
}

.feature-card:nth-child(1) {
    animation-delay: 0.2s;
}

.feature-card:nth-child(2) {
    animation-delay: 0.4s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.6s;
}

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

/* Stage 4: Mobile */
.stage-4 {
    background: linear-gradient(135deg, #2196F3 0%, #21CBF3 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.device-evolution {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.device {
    border: 3px solid white;
    background: #333;
    border-radius: 10px;
    padding: 15px;
    transform: scale(0);
    animation: devicePop 1s ease-out forwards;
}

.device.desktop {
    width: 200px;
    height: 150px;
    animation-delay: 0.2s;
    border-radius: 5px;
}

.device.tablet {
    width: 120px;
    height: 160px;
    animation-delay: 0.6s;
}

.device.phone {
    width: 80px;
    height: 140px;
    animation-delay: 1s;
    border-radius: 15px;
}

@keyframes devicePop {
    to {
        transform: scale(1);
    }
}

/* Stage 5: Blockchain */
.stage-5 {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.blockchain-network {
    position: relative;
    width: 80%;
    height: 400px;
    max-width: 800px;
}

.node {
    position: absolute;
    width: 60px;
    height: 60px;
    background: #4CAF50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    animation: pulse 2s infinite;
}

.connection {
    position: absolute;
    height: 2px;
    background: #4CAF50;
    transform-origin: left center;
    animation: drawLine 2s ease-out forwards;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(76, 175, 80, 0.5);
    }

    50% {
        transform: scale(1.1);
        box-shadow: 0 0 20px rgba(76, 175, 80, 0.8);
    }
}

@keyframes drawLine {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

/* Stage 6: PWA */
.stage-6 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.pwa-showcase {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.app-icon {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #667eea;
    font-size: 30px;
    margin: 10px;
    transform: translateY(20px);
    opacity: 0;
    animation: appInstall 1s ease-out forwards;
}

.app-icon:nth-child(1) {
    animation-delay: 0.2s;
}

.app-icon:nth-child(2) {
    animation-delay: 0.4s;
}

.app-icon:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes appInstall {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Stage 7: AI */
.stage-7 {
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.ai-interface {
    text-align: center;
}

.neural-network {
    width: 300px;
    height: 200px;
    margin: 20px auto;
    position: relative;
}

.neuron {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #00ffff;
    border-radius: 50%;
    animation: neuronPulse 1.5s infinite;
}

@keyframes neuronPulse {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Final Logo */
.final-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.final-logo.show {
    opacity: 1;
}

.logo-text {
    text-align: center;
    color: white;
}

.logo-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
    background: linear-gradient(135deg, gold 0%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    font-size: 1.5rem;
    margin-top: 20px;
    opacity: 0.9;
    color: white;
}

/* Controls */
.controls {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    gap: 10px;
}

.control-btn {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Progress indicator */
.progress-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: width 3s ease;
    z-index: 30;
}

/* Responsive */
@media (max-width: 768px) {
    .logo-title {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1.2rem;
    }

    .terminal {
        font-size: 14px;
    }

    .device-evolution {
        flex-direction: column;
        gap: 20px;
    }

    .web2-interface {
        grid-template-columns: 1fr;
    }

    .controls {
        flex-wrap: wrap;
    }
}