/* === VARIABLES Y RESET === */
* { box-sizing: border-box; }

:root {
    --pice-blue: #5078FF;
    --pice-orange: #FF502D;
    --pice-purple: #AA73C8;
    --text-dark: #111827;
    --text-gray: #6b7280;
    --glass-bg: rgba(255,255,255,0.95);
    --glass-border: rgba(255,255,255,0.9);
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: radial-gradient(circle at center, #ffffff 0%, #eef2ff 100%);
    color: var(--text-dark);
    overflow-x: hidden;
}

/* === TARJETAS === */
.card {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    max-width: 450px;
    box-shadow: 0 20px 40px rgba(80,120,255,.1);
    pointer-events: auto;
}

    .card h2 {
        font-family: 'Montserrat', sans-serif;
        font-weight: 800;
        font-size: 2.2rem;
        line-height: 1;
        margin: 0 0 15px 0;
        color: var(--text-dark);
    }

    .card p {
        font-size: 1.05rem;
        line-height: 1.6;
        color: var(--text-gray);
        margin: 0;
    }

.highlight        { color: var(--pice-blue); }
.highlight-orange { color: var(--pice-orange); }

.pos-left   { margin-right: auto; margin-left: 8%; }
.pos-right  { margin-left: auto; margin-right: 8%; text-align: right; }
.pos-center { margin: auto; text-align: center; }

/* === BOTÓN VIDEO / CTA === */
.video-play-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
    padding: 10px 18px;
    border-radius: 999px;
    border: none;
    background: rgba(80,120,255,.08);
    color: var(--pice-blue);
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: .95rem;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(80,120,255,.18);
    transition: all .25s ease;
    text-decoration: none;
}

    .video-play-btn:hover {
        background: var(--pice-blue);
        color: #fff;
        transform: translateY(-1px);
        box-shadow: 0 12px 26px rgba(80,120,255,.28);
    }

.video-play-icon {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    border: 2px solid currentColor;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
}

/* === CHECKOUT BTN === */
.checkout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 16px;
    background: var(--pice-blue);
    color: #fff;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: all .3s ease;
    box-shadow: 0 4px 15px rgba(80,120,255,.3);
    margin-top: 5px;
    border: none;
    cursor: pointer;
}

    .checkout-btn:hover {
        background: #3b5bdb;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(80,120,255,.4);
    }

/* === MODAL VIDEO === */
.video-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
}

    .video-modal-backdrop.open {
        opacity: 1;
        pointer-events: auto;
    }

.video-modal {
    width: min(900px, 92vw);
    background: #020617;
    border-radius: 24px;
    padding: 14px 14px 18px;
    box-shadow: 0 30px 80px rgba(15,23,42,.7);
    position: relative;
}

.video-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    color: #e5e7eb;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: .95rem;
}

.video-modal-sub {
    font-size: .8rem;
    font-weight: 400;
    color: #9ca3af;
    margin-top: 4px;
}

.video-modal-close {
    border: none;
    background: rgba(15,23,42,.8);
    color: #e5e7eb;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: background .2s ease, transform .1s ease;
}

    .video-modal-close:hover {
        background: rgba(239,68,68,.85);
        transform: translateY(-1px);
    }

.video-modal iframe,
.video-modal video {
    width: 100%;
    height: min(500px, 56vw);
    border-radius: 18px;
    border: none;
    display: block;
    background: #000;
}

.video-location {
    margin-top: 10px;
    font-size: .8rem;
    color: #9ca3af;
}
