/**
 * Home — contenedor del iframe de demos (estilos propios, sin landings).
 */

.home-demos-section {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--home-shell-max, 1540px);
    margin: 0 auto;
    padding: clamp(2.5rem, 5vw, 4rem) var(--home-shell-pad, var(--cw-shell-pad-x, 5%));
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background:
        radial-gradient(ellipse 70% 55% at 50% 0%, rgba(0, 243, 255, 0.07) 0%, transparent 58%),
        radial-gradient(ellipse 45% 40% at 100% 80%, rgba(185, 103, 255, 0.05) 0%, transparent 50%);
    box-sizing: border-box;
}

.home-demos-section__inner {
    max-width: 100%;
    margin: 0 auto;
}

.home-demos-section__header {
    text-align: center;
    margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
}

.home-demos-section__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.85rem;
    padding: 0.38rem 0.85rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(0, 243, 255, 0.92);
    border: 1px solid rgba(0, 243, 255, 0.22);
    background: rgba(0, 243, 255, 0.08);
}

.home-demos-section__title {
    font-family: 'Poiret One', sans-serif;
    font-size: clamp(1.85rem, 4vw, 2.65rem);
    font-weight: 400;
    line-height: 1.28;
    margin-bottom: 0.65rem;
    color: rgba(255, 255, 255, 0.96);
}

.home-demos-section__lead {
    max-width: 58ch;
    margin: 0 auto;
    font-size: clamp(0.88rem, 1.05vw, 1rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.62);
}

.home-demos-section__frame {
    display: block;
    width: 100%;
    min-height: 0;
    height: 360px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: #0a0a0f;
    overflow: hidden;
    box-shadow:
        0 10px 36px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.home-demos-section__footer {
    margin-top: clamp(1.25rem, 2.5vw, 1.75rem);
    text-align: center;
}

.home-demos-section__note {
    display: inline-flex;
    align-items: flex-start;
    gap: 0.45rem;
    max-width: 52ch;
    margin: 0 auto 1rem;
    font-size: 0.76rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.48);
    text-align: left;
}

.home-demos-section__note i {
    margin-top: 0.1rem;
    flex-shrink: 0;
    color: rgba(0, 243, 255, 0.65);
}

.home-demos-section__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 48px;
    padding: 0.8rem 1.35rem;
    border-radius: 999px;
    font-size: 0.86rem;
    font-weight: 700;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.05);
    transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.home-demos-section__link:hover {
    color: #00f3ff;
    border-color: rgba(0, 243, 255, 0.35);
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .home-demos-section__frame {
        min-height: 0;
        height: 360px;
        border-radius: 16px;
    }

    .home-demos-section__link {
        width: 100%;
    }
}
