.hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 800px;
}

.hero {
    display: flex;
    padding: 50px 10px;
    align-items: center;
    justify-content: space-between;
    min-height: 700px;
}

.hero-content {
    width: 45%;
}

.hero h1 {
    font-size: 40px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero h1 span {
    color: #00cfff;
}

.cursor {
    display: inline-block;
    color: #007fd0;
    font-weight: 700;
    animation: blink 1s infinite;
}

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

.hero p {
    color: #666;
    margin-bottom: 50px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.primary-button {
    background-color: #007fd0;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    text-decoration: none;
}

.primary-button:hover {
    background-color: #fff;
    border: 1px solid #007fd0;
    color: #007fd0;
}

.secondary-button {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #007fd0;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
}

.play-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.play-icon svg {
    width: 15px;
    height: 15px;
    fill: #007fd0;
}

.cards-container {
    position: relative;
    width: 45%;
}

.card-stack {
    position: relative;
    width: 350px;
    height: 220px;
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    margin: 0 auto;
}

.card {
    position: absolute;
    width: 338px;
    height: 211px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    background-position: center;
    background-size: cover;
}

.card-1 {
    transform: translateX(-40px) translateY(20px) rotate(-5deg);
    z-index: 1;
}

.card-2 {
    transform: translateY(0px);
    z-index: 2;
}

.card-3 {
    transform: translateX(40px) translateY(-20px) rotate(5deg);
    z-index: 3;
}

.card-stack:hover .card-1 {
    transform: translateX(-80px) translateY(30px) rotate(-10deg);
}

.card-stack:hover .card-3 {
    transform: translateX(80px) translateY(-30px) rotate(10deg);
}

.payment-methods {
    max-width: 1200px;
    margin: 0 auto 100px;
    display: flex;
    gap: 100px;
    padding: 50px;
}

.payment-methods h3 {
    color: #666;
    font-weight: 300;
    margin-top: 10px;
    margin-bottom: 40px;
    text-align: center;
}

.payment-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.payment-logo {
    height: 70px;
    object-fit: contain;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.payment-logo:hover {
    opacity: 1;
}

.scroll-arrow {
    position: fixed;
    top: 90vh;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    cursor: pointer;
    z-index: 10;
}

.scroll-arrow svg {
    width: 30px;
    height: 30px;
    fill: #666;
}

.fade-in {
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

.fade-out {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-20px) translateX(-50%);
    }
    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

/* For responsiveness */
@media (max-width: 1024px) {
    .hero {
        padding: 100px 10px;
        flex-direction: column;
        height: auto;
        gap: 100px;
    }
    .hero-content {
        width: 80%;
        text-align: center;
    }
    .hero-buttons {
        justify-content: center;
    }

    .card-stack {
        width: 250px;
        height: 150px;
    }

    .card {
        width: 100%;
        height: 100%;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 14px;
    }
    
    .payment-methods {
        flex-direction: column;
        gap: 20px;
    }

    .payment-logo {
        height: 50px;
    }
}

@media (max-width: 450px) {
    .hero-buttons {
        flex-direction: column;
        gap: 20px;
    }

    .card-stack {
        width: 180px;
        height: 120px;
    }

    .payment-logo {
        height: 30px;
    }

    .payment-methods h3 {
        font-size: 14px;
    }
}
