/* Cloud Solutions Specific Styles */

/* Cloud Hero Section */
.cloud-hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--light) 0%, var(--light-gray) 100%);
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.cloud-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.cloud-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.cloud-hero-description {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 2rem;
    line-height: 1.7;
    animation: fadeInUp 1s ease 0.4s both;
}

.cloud-hero-buttons {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 1s ease 0.6s both;
}

/* Cloud Infrastructure Visual */
.cloud-hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 1s ease 0.8s both;
}

.cloud-infrastructure {
    position: relative;
    width: 400px;
    height: 400px;
}

.cloud-layer {
    position: absolute;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: cloudFloat 8s ease-in-out infinite;
}

.cloud-layer-1 {
    width: 200px;
    height: 80px;
    background: linear-gradient(135deg, #74b9ff, #0984e3);
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
    box-shadow: 0 10px 30px rgba(116, 185, 255, 0.3);
}

.cloud-layer-2 {
    width: 160px;
    height: 60px;
    background: linear-gradient(135deg, #81ecec, #00b894);
    top: 40%;
    left: 20%;
    animation-delay: 2s;
    box-shadow: 0 10px 30px rgba(129, 236, 236, 0.3);
}

.cloud-layer-3 {
    width: 180px;
    height: 70px;
    background: linear-gradient(135deg, #fd79a8, #e84393);
    top: 40%;
    right: 20%;
    animation-delay: 4s;
    box-shadow: 0 10px 30px rgba(253, 121, 168, 0.3);
}

.cloud-layer-4 {
    width: 140px;
    height: 50px;
    background: linear-gradient(135deg, #fdcb6e, #e17055);
    bottom: 30%;
    left: 40%;
    animation-delay: 1s;
    box-shadow: 0 10px 30px rgba(253, 203, 110, 0.3);
}

.cloud-icon {
    color: white;
    font-size: 1.5rem;
    animation: pulse 2s infinite;
}

/* Data Flow Animation */
.data-flow {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.data-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    animation: dataFlow 3s linear infinite;
}

.particle-1 {
    top: 25%;
    left: 15%;
    animation-delay: 0s;
}

.particle-2 {
    top: 45%;
    left: 25%;
    animation-delay: 1s;
}

.particle-3 {
    top: 65%;
    right: 25%;
    animation-delay: 2s;
}

.particle-4 {
    bottom: 35%;
    right: 15%;
    animation-delay: 0.5s;
}

/* Cloud Services Section */
.cloud-services {
    padding: 5rem 0;
    background: white;
}

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

.cloud-service-card {
    background: var(--light-gray);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

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

.cloud-service-card:hover {
    transform: translateY(-10px);
    background: white;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.cloud-service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
}

.cloud-service-card:hover .cloud-service-icon {
    transform: scale(1.1) rotate(5deg);
}

.cloud-service-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark);
}

.cloud-service-card p {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--gray);
    font-size: 0.9rem;
}

.service-features li i {
    color: var(--primary);
    font-size: 0.8rem;
}

/* Cloud Benefits Section */
.cloud-benefits {
    padding: 5rem 0;
    background: var(--light-gray);
}

.benefits-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.benefit-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    min-width: 250px;
    max-width: 300px;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

.benefit-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.benefit-item p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Cloud Architecture Section */
.cloud-architecture {
    padding: 5rem 0;
    background: white;
}

.architecture-diagram {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    background: var(--light-gray);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.architecture-layers {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.architecture-layer {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    animation: slideInRight 1s ease forwards;
    opacity: 0;
}

.architecture-layer:nth-child(1) { animation-delay: 0.2s; }
.architecture-layer:nth-child(2) { animation-delay: 0.4s; }
.architecture-layer:nth-child(3) { animation-delay: 0.6s; }
.architecture-layer:nth-child(4) { animation-delay: 0.8s; }

.layer-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.layer-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.layer-content p {
    color: var(--gray);
    font-size: 0.9rem;
    margin: 0;
}

/* Security Features Section */
.security-features {
    padding: 5rem 0;
    background: var(--dark);
    color: white;
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.security-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.security-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.security-item i {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.security-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.security-item p {
    color: #94a3b8;
    line-height: 1.6;
}

/* Pricing Section */
.cloud-pricing {
    padding: 5rem 0;
    background: var(--light-gray);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card.featured {
    background: var(--gradient);
    color: white;
    transform: scale(1.05);
}

.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.pricing-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.pricing-period {
    color: var(--gray);
    margin-bottom: 2rem;
}

.pricing-card.featured .pricing-period {
    color: rgba(255, 255, 255, 0.8);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: var(--gray);
}

.pricing-card.featured .pricing-features li {
    color: rgba(255, 255, 255, 0.9);
}

.pricing-features li i {
    color: var(--primary);
    font-size: 0.8rem;
}

.pricing-card.featured .pricing-features li i {
    color: white;
}

.pricing-btn {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pricing-card:not(.featured) .pricing-btn {
    background: var(--gradient);
    color: white;
}

.pricing-card.featured .pricing-btn {
    background: white;
    color: var(--primary);
}

.pricing-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* CTA Section */
.app-cta {
    padding: 5rem 0;
    background: var(--dark);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    color: #94a3b8;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Animations */
@keyframes cloudFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-10px) rotate(1deg);
    }
    50% {
        transform: translateY(-5px) rotate(-1deg);
    }
    75% {
        transform: translateY(-15px) rotate(0.5deg);
    }
}

@keyframes dataFlow {
    0% {
        opacity: 0;
        transform: translateY(0px);
    }
    20% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(-200px);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .cloud-hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cloud-hero-title {
        font-size: 2.5rem;
    }

    .cloud-infrastructure {
        width: 300px;
        height: 300px;
    }

    .cloud-layer-1 {
        width: 150px;
        height: 60px;
    }

    .cloud-layer-2,
    .cloud-layer-3 {
        width: 120px;
        height: 45px;
    }

    .cloud-layer-4 {
        width: 100px;
        height: 40px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .architecture-diagram {
        padding: 2rem;
    }

    .security-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: none;
    }
}

@media (max-width: 480px) {
    .cloud-hero-title {
        font-size: 2rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .architecture-layer {
        flex-direction: column;
        text-align: center;
    }
}