.use-case-page {
    background: #ffffff;
    color: #0f172a;
}

.use-case-hero {
    --use-case-hero-pad-top: clamp(2.5rem, 6vh, 4.75rem);
    --use-case-hero-pad-bottom: clamp(3.5rem, 7vh, 6.5rem);
    --use-case-hero-text-budget: clamp(10rem, 20vh, 14rem);
    --use-case-hero-video-max-height: calc(
        100vh - var(--use-case-hero-pad-top) - var(--use-case-hero-pad-bottom)
            - var(--use-case-hero-text-budget)
    );
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: linear-gradient(135deg, #eef2ff 0%, #f5f3ff 52%, #fdf2f8 100%);
    padding: var(--use-case-hero-pad-top) 0 var(--use-case-hero-pad-bottom);
}

.use-case-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 9999px;
    filter: blur(56px);
    pointer-events: none;
}

.use-case-glow--one {
    top: -50%;
    left: -50%;
    background: linear-gradient(
        135deg,
        rgba(199, 210, 254, 0.3),
        rgba(221, 214, 254, 0.3)
    );
    animation: useCaseGlowPulseA 18s ease-in-out infinite;
}

.use-case-glow--two {
    right: -50%;
    bottom: -50%;
    background: linear-gradient(
        135deg,
        rgba(233, 213, 255, 0.26),
        rgba(245, 208, 254, 0.26)
    );
    animation: useCaseGlowPulseB 20s ease-in-out infinite;
}

.use-case-shell {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.use-case-hero-copy {
    text-align: center;
    max-width: 54rem;
    margin: 0 auto 1.5rem;
}

.use-case-title {
    font-size: clamp(1.95rem, 4.1vw, 2.9rem);
    line-height: 1.08;
    font-weight: 500;
    letter-spacing: -0.03em;
    margin-bottom: 0.9rem;
}

.use-case-subtitle {
    color: #4f46e5;
    margin-bottom: 1rem;
}

.use-case-description {
    max-width: 48rem;
    margin: 0 auto;
    color: #475569;
    font-size: 1.15rem;
    line-height: 1.75;
}

.use-case-video-wrap {
    max-width: 78rem;
    width: 100%;
    margin: 0 auto;
}

.use-case-hero .video-carousel {
    --video-carousel-max-width: calc(
        var(--use-case-hero-video-max-height) * 1.7778
    );
}

.use-case-hero .video-carousel-player {
    max-height: var(--use-case-hero-video-max-height);
}

.use-case-highlights {
    padding: 3.5rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.use-case-highlight-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 1.25rem;
    background: #f8fafc;
    height: 100%;
    gap: 1rem;
}

.use-case-highlight-icon {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, #e0e7ff, #f3e8ff);
    color: #4f46e5;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.use-case-highlight-description {
    color: #475569;
    line-height: 1.6;
}

.use-case-section {
    padding: 5rem 0;
}

.use-case-section--alt {
    background: #f8fafc;
}

.use-case-section--cta {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.use-case-section-header {
    text-align: center;
    max-width: 44rem;
    margin: 0 auto 2.75rem;
}

.use-case-section-heading,
.use-case-section-title {
    margin-bottom: 1rem;
}

.use-case-section-copy {
    color: #64748b;
    line-height: 1.75;
}

.use-case-benefits-grid {
    max-width: 70rem;
    margin: 0 auto;
    justify-content: center;
}

.use-case-list {
    display: grid;
    gap: 1rem;
}

.use-case-list-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.use-case-list-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 9999px;
    background: #e0e7ff;
    color: #4f46e5;
    flex: 0 0 auto;
    margin-top: 0.15rem;
}

.use-case-list-check--alt {
    background: #f3e8ff;
    color: #7c3aed;
}

.use-case-integration-card {
    height: 100%;
    border-radius: 1.25rem !important;
}

.use-case-integration-title {
    margin-bottom: 0.75rem;
}

.use-case-integration-description {
    color: #64748b;
    margin-bottom: 1rem;
}

.use-case-chip-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.use-case-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    padding: 0.45rem 0.8rem;
    background: #eef2ff;
    color: #4338ca;
    font-size: 0.88rem;
    font-weight: 700;
}

.use-case-demo-phone-section {
    padding: 4rem 0;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.use-case-demo-phone-card {
    text-align: center;
    padding: 2.4rem 2rem;
    border-radius: 1.5rem;
    border: 1px solid #c7d2fe;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 18px 38px rgba(79, 70, 229, 0.08);
}

.use-case-demo-phone-heading {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    margin-bottom: 0.85rem;
    color: #4f46e5;
}

.use-case-demo-phone-title {
    margin: 0;
    color: #0f172a;
}

.use-case-demo-phone-subtitle {
    max-width: 34rem;
    margin: 0 auto 2rem;
    color: #64748b;
    line-height: 1.7;
}

.use-case-demo-phone-details {
    display: flex;
    align-items: center;
    justify-content: center;
}

.use-case-demo-phone-detail {
    min-width: 11rem;
}

.use-case-demo-phone-label {
    display: block;
    margin-bottom: 0.35rem;
    color: #64748b;
}

.use-case-demo-phone-value {
    margin: 0;
    color: #334155;
    font-family: ui-monospace, SFMono-Regular, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    letter-spacing: -0.02em;
}

@keyframes useCaseGlowPulseA {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.16);
    }
}

@keyframes useCaseGlowPulseB {
    0%, 100% {
        transform: scale(1.05);
    }
    50% {
        transform: scale(0.95);
    }
}

@media (max-width: 900px) {
    .use-case-hero {
        min-height: auto;
        padding: 4rem 0 3.5rem;
    }

    .use-case-demo-phone-card {
        padding: 2rem 1.25rem;
    }

    .use-case-demo-phone-details {
        flex-direction: column;
        gap: 1rem;
    }

    .use-case-demo-phone-detail {
        min-width: 0;
        width: 100%;
    }
}

@media (min-width: 901px) and (max-height: 900px) {
    .use-case-hero {
        --use-case-hero-pad-top: 2.15rem;
        --use-case-hero-pad-bottom: 2.5rem;
        --use-case-hero-text-budget: 9.5rem;
    }

    .use-case-hero-copy {
        margin-bottom: 1.1rem;
    }

    .use-case-description {
        font-size: 1.05rem;
        line-height: 1.6;
    }
}

@media (min-width: 901px) and (max-height: 760px) {
    .use-case-hero {
        --use-case-hero-pad-top: 1.7rem;
        --use-case-hero-pad-bottom: 2rem;
        --use-case-hero-text-budget: 8.5rem;
    }

    .use-case-hero-copy {
        margin-bottom: 0.9rem;
    }

    .use-case-title {
        font-size: clamp(2rem, 4.4vw, 3rem);
        margin-bottom: 0.65rem;
    }

    .use-case-description {
        font-size: 0.98rem;
        line-height: 1.5;
    }
}

@media (prefers-reduced-motion: reduce) {
    .use-case-glow {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
        transition: none !important;
    }
}
