﻿#cloudpay-ad {
    position: relative;
    overflow: hidden;
    color: white;
    min-height: 100vh;
    z-index: 1;
}

.color-transition-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.cloudpay-wrapper {
    position: relative;
    z-index: 2;
    padding: 2rem 0;
}

.cloudpay-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    opacity: 0;
    transform: translateY(30px);
}

.cloudpay-subtitle {
    font-size: 1.2rem;
    opacity: 0;
    transform: translateY(20px);
}

.feature-card {
    background-color: rgba(33, 37, 41, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 2rem;
    height: 100%;
    border-left: 3px solid transparent;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

    .feature-card:hover {
        transform: translateY(-10px);
        border-left-color: #17a2b8;
        box-shadow: 0 10px 30px rgba(23, 162, 184, 0.3);
    }

.feature-icon {
    margin-bottom: 1.5rem;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-img {
    height: 60px;
    width: auto;
    transition: transform 0.5s ease;
}

.feature-card:hover .feature-img {
    transform: scale(1.1) rotate(5deg);
}

.feature-title {
    margin-bottom: 1rem;
    font-weight: 600;
}

.cloudpay-stats {
    margin: 3rem 0;
}

.stat-item {
    opacity: 0;
    transform: translateY(20px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--bs-info);
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 1.1rem;
    color: var(--bs-info);
}

.cloudpay-cta {
    opacity: 0;
    transform: translateY(30px);
    padding: 3rem 0;
}

.cta-text {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.cloudpay-btn {
    padding: 12px 30px;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--bs-info);
    border: none;
    color: white;
}

    .cloudpay-btn:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(23, 162, 184, 0.4);
        background-color: whitesmoke;
        color: black;
    }

/* For placeholder SVG images */
.feature-img[src="./assets/images/icons/device.png"],
.feature-img[src="./assets/images/icons/device-2.png"],
.feature-img[src="./assets/images/icons/device-3.png"] {
    background-color: #17a2b8;
    padding: 10px;
    border-radius: 50%;
    height: 60px;
    width: 60px;
}

/* Color transition markers (invisible elements for triggering color changes) */
.color-marker {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}
