.steps-container {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}

.card-stack {
    position: relative;
    height: 420px;
}

.stack-layer {
    position: absolute;
    left: 0;
    right: 0;
    height: 8px;
    background: #f26838;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.stack-layer-1 {
    top: 0;
    margin: 0 40px;
    opacity: 0.6;
}

.stack-layer-2 {
    top: 12px;
    margin: 0 25px;
    opacity: 0.8;
}

.stack-layer-3 {
    top: 24px;
    margin: 0 10px;
}

.main-card {
    position: absolute;
    top: 36px;
    left: 0;
    right: 0;
    background: white;
    padding: 50px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    min-height: 380px;
    display: flex;
    flex-direction: column;
    animation: cardEntry 0.6s ease;
}

.step-content {
    display: none;
    opacity: 0;
    text-align: center;
    flex: 1;
    animation: fadeIn 0.6s ease forwards;
}

.step-content.active {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.step-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background: #30093d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    animation: bounce 1s ease infinite;
}

.step-content h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.step-content p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
}

.btn-next {
    background: #30093d;
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(37, 117, 252, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-next:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(37, 117, 252, 0.4);
}

.progress-bar-container {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: rgba(37, 117, 252, 0.2);
    border-radius: 0 0 20px 20px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: #30093d;
    width: 33.33%;
    transition: width 0.5s ease;
    border-radius: 0 0 0 20px;
}

.step-indicators {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}

.step-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.step-dot.active {
    background: white;
    width: 30px;
    border-radius: 6px;
}

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

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

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

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

@media (max-width: 768px) {
    .main-card {
        padding: 40px 30px;
    }
    
    .step-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }
    
    .step-content h1 {
        font-size: 1.6rem;
    }
    
    .step-content p {
        font-size: 1rem;
    }
    
    .btn-next {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    body {
        padding: 20px 0;
    }
    
    .main-card {
        padding: 30px 20px;
        min-height: 350px;
    }
    
    .stack-layer-1 {
        margin: 0 30px;
    }
    
    .stack-layer-2 {
        margin: 0 20px;
    }
    
    .stack-layer-3 {
        margin: 0 5px;
    }
}