/* Cloud and Productivity Page Styles */

/* Hero Section */
.cloud-hero-wrapper {
    position: relative;
    width: 100%;
    height: 446px; /* Matching height from other pages */
    overflow: hidden;
}

/* Banner Image */
.cloud-banner-container {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 0;
}

.cloud-banner-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

/* Overlay & Content */
.cloud-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Dark overlay as per screenshot */
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.cloud-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1040px;
    margin: 0 auto;
    text-align: center;
    width: 100%;
    color: #ffffff;
}

.cloud-title {
    font-family: 'Inter', sans-serif;
    font-size: 47px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 28px;
    letter-spacing: 0;
}

.cloud-desc {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.2;
    letter-spacing: -0.31px;
    margin-bottom: 32px;
    max-width: 800px;
}

.cloud-buttons {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.cloud-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid #ffffff;
    border-radius: 6px;
    padding: 12px 31px;
    height: 48px;
    background-color: transparent;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    line-height: 20px;
    letter-spacing: -0.15px;
}

.cloud-btn:hover {
    background-color: #ffffff;
    color: #000000;
}

.cloud-btn-icon {
    width: 16px;
    height: 16px;
    transition: filter 0.3s ease;
}

.cloud-btn:hover .cloud-btn-icon {
    filter: invert(100%); /* Make icon black on hover */
}

/* Responsive */
@media (max-width: 768px) {
    .cloud-hero-wrapper {
        height: auto;
        min-height: 400px;
    }
    
    .cloud-hero-overlay {
        padding: 60px 20px;
    }

    .cloud-title {
        font-size: 32px;
    }

    .cloud-desc {
        font-size: 16px;
    }
    
    .cloud-buttons {
        flex-direction: column;
        gap: 16px;
        width: 100%;
        max-width: 300px;
    }
    
    .cloud-btn {
        width: 100%;
    }
}

/* Cloud Productivity Plans Module (Figma 1014-5162) */
.cp-plans-module {
    background-color: #f3f4f6;
    padding: 80px 6%;
    box-sizing: border-box;
}

.cp-plans-module .cp-plans-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0;
}

.cp-plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    row-gap: 32px;
}

.cp-plan-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 40px 24px 24px 24px;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.cp-plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6 0%, #06b6d4 25%, #22c55e 50%, #eab308 75%, #f97316 100%);
    pointer-events: none;
}

.cp-plan-card:hover {
    border-color: #e85c29;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.cp-plan-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 24px;
}

.cp-plan-logo {
    flex-shrink: 0;
}

.cp-plan-logo img {
    display: block;
    max-height: 44px;
    width: auto;
    object-fit: contain;
}

.cp-plan-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #ffffff;
    background: linear-gradient(90deg, #f97316 0%, #ea580c 50%, #dc2626 100%);
    padding: 8px 16px;
    border-radius: 999px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(249, 115, 22, 0.35);
}

.cp-plan-badge::after {
    content: '';
    position: absolute;
    top: -3px;
    right: -3px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #86efac;
    border: 2px solid #ffffff;
    pointer-events: none;
}

.cp-plan-badge-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.cp-plan-badge-sme {
    background: linear-gradient(90deg, #f97316 0%, #dc2626 100%);
    box-shadow: 0 2px 8px rgba(249, 115, 22, 0.3);
}

.cp-plan-badge-sme::after {
    display: none;
}

.cp-plan-badge-edu {
    background: #059669;
    box-shadow: none;
}

.cp-plan-badge-edu::after {
    display: none;
}

.cp-plan-title {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    line-height: 1.3;
    margin-bottom: 10px;
}

.cp-plan-price-block {
    margin-bottom: 10px;
}

.cp-plan-price {
    font-family: 'Inter', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #e85c29;
    margin-bottom: 2px;
    line-height: 1.2;
}

.cp-plan-price-meta {
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
}

.cp-plan-price-original {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #6b7280;
    text-decoration: line-through;
    margin: 0;
}

.cp-plan-price-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #166534;
    background: #dcfce7;
    border: 1px solid #86efac;
    border-radius: 6px;
    padding: 6px 12px;
    margin-bottom: 14px;
}

.cp-plan-price-note-icon {
    flex-shrink: 0;
}

.cp-plan-desc {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #6b7280;
    margin-bottom: 18px;
    flex-grow: 1;
}

.cp-plan-features {
    list-style: none;
    margin: 0 0 18px 0;
    padding: 0;
}

.cp-plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.cp-plan-features li:last-child {
    margin-bottom: 0;
}

.cp-plan-features .cp-feature-check {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.cp-plan-features .cp-feature-text {
    flex: 1;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.45;
    color: #374151;
}

.cp-plan-features .cp-feature-label {
    display: block;
    font-weight: 700;
    color: #111827;
}

.cp-plan-features .cp-feature-desc {
    display: block;
    font-weight: 400;
    color: #6b7280;
}

.cp-plan-features .cp-feature-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.cp-plan-offer-banner {
    background: #fff8f3;
    border: none;
    border-radius: 10px;
    padding: 14px 16px;
    margin-top: 12px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cp-plan-offer-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff6b49;
    flex-shrink: 0;
}

.cp-plan-offer-banner p {
    margin: 0;
    min-width: 0;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #374151;
    line-height: 1.4;
    word-wrap: break-word;
}

.cp-plan-offer-banner strong {
    font-weight: 700;
    color: #111827;
}

.cp-plan-ctas {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    margin-bottom: 0;
}

.cp-plan-ctas .cp-plan-cta {
    flex: 0 0 calc(60% - 6px);
    min-width: 0;
    white-space: nowrap;
}

.cp-plan-ctas .cp-plan-cta-secondary {
    flex: 0 0 calc(40% - 6px);
    min-width: 0;
}

.cp-plan-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #ff6b49;
    color: #ffffff;
    padding: 10px 20px;
    border: none;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.cp-plan-cta:hover {
    background: #e85a38;
}

.cp-plan-cta img {
    width: 14px;
    height: 14px;
}

.cp-plan-cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #ffffff;
    color: #111827;
    border: 1px solid #e0e0e0;
    padding: 10px 20px;
    border-radius: 10px;
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.cp-plan-cta-secondary:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

.cp-plan-cta-secondary img {
    width: 14px;
    height: 14px;
    filter: invert(1);
}

.cp-plan-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px 24px;
    padding-top: 20px;
    margin-top: 24px;
    border-top: 1px solid #e5e7eb;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: #374151;
    line-height: 1.4;
}

.cp-plan-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cp-plan-trust-item img {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

@media (max-width: 992px) {
    .cp-plans-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .cp-plans-module {
        padding: 60px 6%;
    }

    .cp-plans-module .cp-plans-container {
        padding: 0;
    }

    .cp-plans-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cp-plan-card {
        padding: 36px 20px 20px 20px;
    }

    .cp-plan-offer-banner {
        padding: 12px 14px;
    }

    .cp-plan-offer-banner p {
        font-size: 13px;
    }

    .cp-plan-ctas {
        flex-wrap: wrap;
    }

    .cp-plan-ctas .cp-plan-cta,
    .cp-plan-ctas .cp-plan-cta-secondary {
        flex: 1 1 100%;
    }

    .cp-plan-ctas .cp-plan-cta {
        white-space: normal;
    }

    .cp-plan-title {
        font-size: 18px;
    }

    .cp-plan-price {
        font-size: 22px;
    }

    .cp-plan-card-header {
        flex-wrap: wrap;
        gap: 10px;
    }

    .cp-plan-trust {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .cp-plans-module {
        padding: 40px 5%;
    }

    .cp-plan-card {
        padding: 32px 16px 16px 16px;
    }

    .cp-plan-offer-banner {
        padding: 10px 12px;
    }

    .cp-plan-offer-banner p {
        font-size: 12px;
    }
}