﻿:root {
    --bg-main: #030712;
    --bg-card: #0b1220;
    --indigo: #6366f1;
    --indigo-soft: #818cf8;
    --text-main: #e5e7eb;
    --text-muted: #9ca3af;
    --accent-gold: #fdba40;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background: radial-gradient(circle at top, #0b1220, #020617);
    color: var(--text-main);
    line-height: 1.6;
}

/* UTILITIES */
.container {
    max-width: 1100px;
    margin: auto;
    padding: 0 20px;
}

.gradient-text {
    background: linear-gradient(90deg, #e5e7eb, #a5b4fc, #ffffff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientMove 6s linear infinite;
}

@keyframes gradientMove {
    0% {
        background-position: 0%
    }

    100% {
        background-position: 200%
    }
}

/* NAVBAR */
.navbar {
    padding: 15px 0 10px 0;
    height:85px;
}

.nav-inner {
    display: flex;
    justify-content: space-between;
}

.logo {
    max-width: 170px;
    max-height: 80px;
}

nav {
    padding: 15px 0 10px 0;
}

nav a {
    margin-left: 15px;
    text-decoration: none;
    color: var(--text-main);
}

.btn-primary {
    background: linear-gradient(180deg, #6366f1, #4f46e5);
    color: #fff;
    padding: 5px 18px;
    border-radius: 10px;
    box-shadow: 0 0 0 transparent, 0 0 15px rgba(253,186,64,0.25);
}
    .btn-primary:hover {
        box-shadow: 0 0 20px rgba(253,186,64,0.45), 0 0 60px rgba(253,186,64,0.15);
    }

.btn-secondary {
    border: 1px solid #ffb703;
    padding: 5px 18px;
    border-radius: 10px;
    color: var(--text-main);
}

/* HERO */
.hero {
    padding: 10px 0 70px;
    text-align: center;
}

    .hero h1 {
        font-size: 2rem;
        margin-bottom: 20px;
    }

.hero-image-strip {
    position: relative;
    width: 100%;
    height: 360px; /* altura visual controlada */
    background-image: url("../img/hero-football.jpg");
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
}

    .hero-image-strip::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( to bottom, rgba(3,7,18,0) 0%, rgba(3,7,18,0.25) 40%, rgba(3,7,18,0.65) 70%, rgba(3,7,18,1) 100% );
        pointer-events: none;
    }

.hero-image-mask {
    position: absolute;
    inset: 0;
    background: radial-gradient( circle at center, rgba(99,102,241,0.15), transparent 60% );
    pointer-events: none;
}


.hero-content {
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    max-width: 650px;
    margin: 0 auto 30px;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 60px;
}

.hero-media {
    display: flex;
    justify-content: center;
}

@media (max-width: 768px) {
    .hero-image-strip {
        height: 220px;
        background-position: center top;
    }
    .navbar {
        padding: 10px 14px;
    }

        .navbar .logo,
        .navbar-brand {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .navbar img {
            height: 40px; /* controla el logo */
            width: auto;
        }

        .navbar nav {
            display: flex;
            align-items: center;
            gap: 10px;
        }

            .navbar nav a {
                font-size: 0.9rem;
                padding: 6px 12px;
                white-space: nowrap;
            }

            .navbar nav .btn-primary {
                padding: 6px 14px;
                border-radius: 999px;
            }

            .navbar nav a:not(.btn-primary) {
                display: none;
            }
}


.video-card {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 400px;
    background: linear-gradient(135deg, #111827, #020617);
    border-radius: 20px;
    opacity: 0.85;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-btn {
    font-size: 40px;
    color: var(--indigo);
}

.video-label {
    position: absolute;
    bottom: 20px;
    color: var(--text-muted);
}

/* FEATURES */
.features {
    padding: 100px 0;
    text-align: center;
}

.section-title {
    font-size: 2.4rem;
    margin-bottom: 15px;
}

.section-subtitle {
    max-width: 600px;
    margin: 0 auto 50px;
    color: var(--text-muted);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.feature-card {
    background: linear-gradient(180deg, #020617, #020617) padding-box, linear-gradient(120deg, #1f2937, #4f46e5) border-box;
    border: 1px solid transparent;
    border-radius: 20px;
    padding: 30px;
    text-align: left;
}

.badge {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--indigo-soft);
    margin-bottom: 10px;
    color: var(--accent-gold);
}

/* CTA */
.cta {
    padding: 80px 0;
}

.cta-box {
    background: linear-gradient(90deg, transparent, #020617);
    border-radius: 20px;
    padding: 60px 20px;
    text-align: center;
}

/* FOOTER */
.footer {
    padding: 40px 0;
    border-top: 1px solid #1f2937;
    text-align: center;
    color: var(--text-muted);
}



/* =========================
   MODAL BOX
========================= */
.module-modal {
    background: #111;
    color: #fff;
    width: min(90%, 460px);
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.85);
    transform: translateY(40px) scale(0.96);
    opacity: 0;
    transition: transform .4s ease, opacity .4s ease;
}

/* MODAL ACTIVO */
.module-modal-overlay.active .module-modal {
    transform: translateY(0) scale(1);
    opacity: 1;
}

/* =========================
   CONTENIDO
========================= */
.module-modal h3 {
    margin-bottom: 10px;
    font-size: 22px;
}

.module-modal p {
    opacity: .85;
    margin-bottom: 14px;
}

.module-modal ul {
    margin-left: 18px;
    margin-bottom: 18px;
}

    .module-modal ul li {
        margin-bottom: 6px;
    }

/* =========================
   MODAL OVERLAY
========================= */
.module-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .4s ease;
    z-index: 9999;
}

    /* ACTIVO */
    .module-modal-overlay.active {
        opacity: 1;
        pointer-events: auto;
    }

/* =========================
   BENTO SECTION
========================= */
.bento-section {
    background: #0d111c;
    padding: 80px 5vw 100px;
    position: relative;
}

    .bento-section h1 {
        text-align: center;
        font-size: clamp(26px, 4vw, 46px);
        font-weight: 800;
        letter-spacing: 0.5px;
        margin-bottom: 50px;
        color: #ffffff;
        position: relative;
        z-index: 2;
    }

        /* Highlight word */
        .bento-section h1 span {
            color: #00f5ff;
        }

        /* Línea eléctrica decorativa */
        .bento-section h1::after {
            content: "";
            display: block;
            width: 120px;
            height: 3px;
            margin: 18px auto 0;
            background: linear-gradient( 90deg, transparent, #00f5ff, #ffd166, #00f5ff, transparent );
            filter: drop-shadow(0 0 6px #00f5ff);
        }


/* GRID */
.bento-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    gap: 20px;
}

/* BASE CARD */
.bento-card {
    position: relative;
    border-radius: 28px;
    background: linear-gradient(180deg, #1c1c1f, #121214);
    box-shadow: 0 30px 60px rgba(0,0,0,0.6), inset 0 0 0 1px rgba(255,255,255,0.06);
    color: #fff;
    padding: 28px;
    cursor: pointer;
    transition: transform .35s ease, box-shadow .35s ease;
    overflow: hidden;
}

    .bento-card:hover {
        transform: translateY(-6px) scale(1.02);
        box-shadow: 0 45px 80px rgba(0,0,0,0.8), inset 0 0 0 1px rgba(255,255,255,0.12);
    }

/* TEXTO GRANDE */
.bento-text {
    grid-column: span 2;
}

    .bento-text h2 {
        font-size: clamp(26px, 3vw, 38px);
        margin-bottom: 12px;
    }

    .bento-text p {
        color: #bdbdbd;
        max-width: 420px;
        line-height: 1.4;
    }

/* IMAGEN GRANDE */
.bento-image {
    grid-column: span 2;
    background-size: cover;
    background-position: center;
}

    .bento-image::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.6));
    }

/* ICON CARDS */
.bento-icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 14px;
    text-align: center;
}

    .bento-icon img {
        width: 150px;
        filter: drop-shadow(0 10px 20px rgba(0,0,0,.6));
    }

    .bento-icon span {
        font-weight: 600;
        font-size: 15px;
    }

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr); /* 👈 DOS POR FILA */
        grid-auto-rows: 160px;
        gap: 14px;
    }

    /* Nunca extender en mobile */
    .bento-text,
    .bento-image {
        grid-column: span 1;
    }

    .bento-card {
        min-height: 160px;
        box-shadow: 0 0 0 #ffb70339, inset 0 0 0 1px #ffb70346;
    }
}

/* =========================
   BOTONES
========================= */
.btn-demo {
    width: 100%;
    padding: 12px;
    background: #ffb703;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    background: none;
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
}
/* =========================
   ELECTRIC BORDER – BENTO
   REAL SVG VERSION
========================= */

.electro-border {
    position: relative;
    isolation: isolate;
    color: #4f46e5; /* color default */
}

    /* Glow externo */
    .electro-border::before {
        content: "";
        position: absolute;
        inset: -8px;
        border-radius: inherit;
        pointer-events: none;
        background: radial-gradient(circle, currentColor 0%, transparent 70%);
        filter: blur(36px);
        opacity: .6;
        z-index: -1;
    }

    /* Borde eléctrico */
    .electro-border::after {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: inherit;
        pointer-events: none;
        border: 2px solid currentColor;
        filter: url(#electro-filter) drop-shadow(0 0 6px currentColor) drop-shadow(0 0 18px currentColor);
        z-index: 1;
    }

/* Colores alternos (opcional) */
.electro-blue {
    color: #00e5ff;
}

.electro-purple {
    color: #9d4edd;
}

.electro-yellow {
    color: #ffb703;
}

/* Mobile: sin efecto (performance + legibilidad) */
@media (max-width: 768px) {
    .electro-border::before,
    .electro-border::after {
        display: none;
    }

    .electro-border svg {
        display: none !important;
    }
    
}

svg {
    display: block;
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

/* =========================
   MODAL TFY (GLASS + INDIGO BORDER + GOLD CTA)
========================= */

.module-modal--tfy {
    position: relative;
    background: radial-gradient(1200px 500px at 20% 0%, rgba(99,102,241,.18), transparent 55%), radial-gradient(900px 450px at 90% 10%, rgba(129,140,248,.10), transparent 60%), rgba(3,7,18,.82);
    border-radius: 26px;
    border: 1px solid rgba(99,102,241,.28);
    box-shadow: 0 40px 120px rgba(0,0,0,.75), inset 0 1px 0 rgba(255,255,255,.06);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    overflow: hidden;
}

    /* halo morado detrás */
    .module-modal--tfy::before {
        content: "";
        position: absolute;
        inset: -2px;
        border-radius: inherit;
        pointer-events: none;
        background: radial-gradient(circle at 30% 10%, rgba(99,102,241,.45), transparent 45%), radial-gradient(circle at 85% 15%, rgba(129,140,248,.28), transparent 40%);
        filter: blur(18px);
        opacity: .55;
        z-index: 0;
    }

    /* capa de grano / textura sutil */
    .module-modal--tfy::after {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: linear-gradient(180deg, rgba(255,255,255,.06), transparent 22%), radial-gradient(circle at 10% 10%, rgba(255,255,255,.05), transparent 35%);
        opacity: .35;
        z-index: 0;
    }

    .module-modal--tfy > * {
        position: relative;
        z-index: 1;
    }

/* título y descripción */
.modal-title--tfy {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: .2px;
    margin-bottom: 8px;
    color: #fff;
}

.modal-desc--tfy {
    color: rgba(229,231,235,.78);
    margin-bottom: 18px;
    line-height: 1.45;
}

/* close más fino */
.modal-close--tfy {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.05);
    transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

    .modal-close--tfy:hover {
        transform: scale(1.05);
        background: rgba(255,255,255,.08);
        border-color: rgba(99,102,241,.35);
    }

/* form spacing */
.tfy-form--tfy {
    margin-top: 6px;
}

.tfy-form-grid--tfy {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

/* labels */
.tfy-field label {
    display: block;
    font-size: 13px;
    font-weight: 650;
    color: rgba(229,231,235,.92);
    margin-bottom: 6px;
}

/* inputs con borde morado sutil */
.tfy-input {
    width: 100%;
    padding: 11px 12px;
    border-radius: 14px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(99,102,241,.20);
    color: var(--text-main);
    outline: none;
    font-size: 13.5px;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

    .tfy-input::placeholder {
        color: rgba(156,163,175,.65);
    }

    .tfy-input:focus {
        background: rgba(255,255,255,.06);
        border-color: rgba(99,102,241,.55);
        box-shadow: 0 0 0 3px rgba(99,102,241,.16), 0 0 0 1px rgba(253,186,64,.08);
    }

/* nota */
.tfy-note {
    margin-top: 10px;
    color: rgba(156,163,175,.85);
    font-size: 12.5px;
}

/* acciones */
.modal-actions--tfy {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 16px;
}

/* =========================
   BOTÓN GOLD NUEVO (3D + SHEEN)
========================= */
.btn-demo {
    width: 100%;
    padding: 12px 14px;
    border: none;
    border-radius: 14px;
    font-weight: 800;
    letter-spacing: .3px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    /* gold moderno */
    background: linear-gradient(180deg, #ffd889 0%, var(--accent-gold) 45%, #f59e0b 100%);
    color: #111827;
    box-shadow: 0 10px 26px rgba(253,186,64,.22), 0 1px 0 rgba(255,255,255,.35) inset, 0 -1px 0 rgba(0,0,0,.20) inset;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

    /* brillo diagonal (sheen) */
    .btn-demo::before {
        content: "";
        position: absolute;
        top: -60%;
        left: -40%;
        width: 60%;
        height: 220%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent);
        transform: rotate(22deg);
        opacity: .0;
        transition: left .55s ease, opacity .25s ease;
    }

    /* glow suave morado alrededor (para amarrar con indigo) */
    .btn-demo::after {
        content: "";
        position: absolute;
        inset: -14px;
        background: radial-gradient(circle, rgba(99,102,241,.18), transparent 60%);
        filter: blur(18px);
        opacity: .55;
        pointer-events: none;
    }

    .btn-demo:hover {
        transform: translateY(-1px);
        box-shadow: 0 16px 36px rgba(253,186,64,.28), 0 0 0 1px rgba(99,102,241,.20) inset, 0 1px 0 rgba(255,255,255,.35) inset;
    }

        .btn-demo:hover::before {
            left: 120%;
            opacity: .85;
        }

    .btn-demo:active {
        transform: translateY(0px) scale(.99);
        filter: saturate(1.05);
    }

/* botón secundario estilo ghost, con borde morado y hover gold */
.btn-demo-ghost {
    background: rgba(255,255,255,.04);
    color: rgba(229,231,235,.92);
    border: 1px solid rgba(99,102,241,.30);
    box-shadow: none;
}

    .btn-demo-ghost::after {
        display: none;
    }

    .btn-demo-ghost:hover {
        background: rgba(99,102,241,.10);
        border-color: rgba(253,186,64,.45);
    }

/* móvil: modal más compacto */
@media (max-width: 768px) {
    .module-modal--tfy {
        width: min(92%, 460px);
        padding: 22px;
        border-radius: 22px;
    }

    .modal-title--tfy {
        font-size: 20px;
    }

    .btn-demo {
        border-radius: 16px;
    }
}
