@import url("_shared.css");

/* ======================================================
   ZIMBRA COLLABORATION PAGE - 2026 Modern Design
   Theme: Amber to warm orange
   ====================================================== */

:root {
    /* OKLCH Color System */
    --accent: oklch(72% 0.16 65);
    --accent-secondary: oklch(68% 0.18 40);

    /* Gradients */
    --gradient-primary: linear-gradient(
        135deg,
        oklch(68% 0.18 55) 0%,
        oklch(72% 0.16 65) 50%,
        oklch(68% 0.18 40) 100%
    );
    --gradient-text: linear-gradient(
        135deg,
        oklch(100% 0 0) 0%,
        oklch(90% 0.03 55) 100%
    );
    --gradient-mesh:
        radial-gradient(ellipse at 15% 20%, oklch(68% 0.18 55 / 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 85% 80%, oklch(68% 0.18 40 / 0.25) 0%, transparent 50%),
        oklch(14% 0.02 50);
}

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    background: var(--gradient-mesh);
    background-attachment: fixed;
    color: oklch(95% 0 0);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 25% 30%, oklch(68% 0.18 55 / 0.15) 0%, transparent 45%),
        radial-gradient(circle at 75% 70%, oklch(68% 0.18 40 / 0.1) 0%, transparent 45%);
    z-index: -1;
    animation: glow-shift 30s ease-in-out infinite alternate;
}

@keyframes glow-shift {
    0% { transform: translateX(0) scale(1); }
    100% { transform: translateX(-2%) scale(1.04); }
}

/* Section headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.75rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Features section */
.zimbra-features {
    padding: clamp(4rem, 10vh, 6rem) 0;
}

/* Benefits section */
.zimbra-benefits {
    padding: clamp(4rem, 10vh, 6rem) 0;
}

.benefits-list {
    container-type: inline-size;
    display: grid;
    gap: 1.5rem;

    @container (width >= 500px) {
        grid-template-columns: repeat(2, 1fr);
    }

    @container (width >= 900px) {
        grid-template-columns: repeat(3, 1fr);
    }
}

.benefit-item {
    --card-bg: oklch(20% 0.015 50 / 0.5);
    --card-border: oklch(100% 0 0 / 0.08);
    --card-glow: oklch(72% 0.16 65);

    position: relative;
    padding: 2rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 1.5rem;
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    text-align: center;
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);

    &:hover {
        transform: translateY(-8px);
        border-color: oklch(100% 0 0 / 0.15);
        box-shadow: 0 20px 40px -20px oklch(0% 0 0 / 0.5);
    }

    & i {
        font-size: 2.5rem;
        margin-bottom: 1.25rem;
        background: var(--gradient-primary);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        filter: drop-shadow(0 0 10px var(--card-glow));
    }

    & h3 {
        font-size: 1.25rem;
        font-weight: 700;
        margin-bottom: 0.75rem;
        letter-spacing: -0.02em;
        background: var(--gradient-text);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }

    & p {
        color: oklch(80% 0.01 50);
        line-height: 1.7;
        font-size: 0.95rem;
    }
}
