/* Explain: Styles for demonstration cards and premium plan displays. */
/* ================= Demostraciones ================= */
.demo-feature {
    display: grid;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(245, 197, 66, 0.5);
    background: rgba(255, 255, 255, 0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.demo-feature:hover {
    border-color: rgba(245, 197, 66, 0.9);
    box-shadow: var(--shadow-lg);
}

.demo-feature-media {
    position: relative;
    min-height: 240px;
    overflow: hidden;
}

.demo-feature-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.demo-feature:hover .demo-feature-media img {
    transform: scale(1.05);
}

.demo-feature-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 22, 48, 0.15) 40%, rgba(7, 22, 48, 0.62) 100%);
}

.demo-feature-body {
    display: flex;
    flex-direction: column;
    padding: 1.9rem;
}

.demo-feature-body h3 {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffffff;
}

.demo-feature-body p {
    margin-top: 0.7rem;
    color: rgba(255, 255, 255, 0.76);
}

.demo-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
    padding: 0.3rem 0.85rem;
    border-radius: 999px;
    background: var(--accent-color);
    color: var(--navy-deep);
    font-family: var(--font-heading);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.demo-flag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.85rem;
    border-radius: 999px;
    background: rgba(7, 22, 48, 0.85);
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.demo-list {
    display: grid;
    gap: 0.55rem;
    margin-top: 1.2rem;
    padding: 0;
    list-style: none;
}

.demo-list li {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.88);
}

.demo-list i {
    margin-top: 0.25rem;
    color: var(--whatsapp-color);
}

.demo-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.demo-card:hover {
    transform: translateY(-6px);
    border-color: rgba(245, 197, 66, 0.5);
    box-shadow: var(--shadow-lg);
}

.demo-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.demo-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.demo-card:hover .demo-media img {
    transform: scale(1.07);
}

@media (min-width: 1024px) {
    .demo-feature {
        grid-template-columns: 1.05fr 1fr;
        align-items: stretch;
    }
}

/* ================= Planes premium ================= */
.plan-card:hover {
    transform: translateY(-8px);
}

.plan-card--featured {
    transform: translateY(-4px);
}

.plan-card--featured:hover {
    transform: translateY(-14px) scale(1.01);
}