@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800;900&display=swap');

/* ====== RESET & BASE ====== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0a0a0a;
    background-image: radial-gradient(circle at 50% 10%, #0d1117 0%, #0a0a0a 70%);
    /* Fondo limpio premium sin cuadrícula */
    color: #ffffff;
    /* Sólido global */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

/* ====== FONDOS DINÁMICOS ANIMADOS ====== */
.bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    z-index: -1;
    pointer-events: none;
}

.glow-1 {
    top: 5vh;
    left: -15vw;
    width: 45vw;
    height: 45vw;
    background: #00bfff;
    /* Cyan clásico */
    animation: flotar1 18s ease-in-out infinite alternate;
}

.glow-2 {
    bottom: -15vh;
    right: -10vw;
    width: 60vw;
    height: 60vw;
    background: #0044ff;
    /* Azul profundo marino */
    animation: flotar2 22s ease-in-out infinite alternate;
}

.glow-3 {
    top: 35vh;
    left: 20vw;
    width: 25vw;
    height: 25vw;
    background: #0088ff;
    /* Cyan oscurecido suave */
    animation: flotar3 25s ease-in-out infinite alternate;
    opacity: 0.08;
    /* Tenue */
}

/* Keyframes de animación flotante fluida */
@keyframes flotar1 {
    0% {
        transform: translate(0px, 0px) scale(1);
    }

    100% {
        transform: translate(8vw, 12vh) scale(1.1);
    }
}

@keyframes flotar2 {
    0% {
        transform: translate(0px, 0px) scale(1);
    }

    100% {
        transform: translate(-10vw, -12vh) scale(1.05);
    }
}

@keyframes flotar3 {
    0% {
        transform: translate(0px, 0px) scale(1);
    }

    50% {
        transform: translate(12vw, -8vh) scale(1.15);
    }

    100% {
        transform: translate(-8vw, 10vh) scale(0.9);
    }
}

/* ====== HEADER ====== */
header {
    width: 100%;
    padding: 15px 5vw;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #00bfff;
}

.nav-links .nav-cta {
    background: rgba(0, 191, 255, 0.1);
    color: #00d2ff;
    border: 1px solid rgba(0, 191, 255, 0.3);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
}

.nav-links .nav-cta:hover {
    background: #00bfff;
    color: #0a0a0a;
    box-shadow: 0 0 15px rgba(0, 191, 255, 0.4);
}

@media (max-width: 900px) {
    .navbar {
        flex-direction: column;
        gap: 15px;
    }
    .nav-brand {
        margin-bottom: 5px;
    }
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    .nav-links a {
        font-size: 0.9rem;
    }
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-logo-img {
    height: clamp(35px, 6vw, 65px);
    max-height: 65px;
    width: auto;
    object-fit: contain;
    mix-blend-mode: screen;
    /* Adapts to dark background if needed */
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 2;
}

.nav-title {
    font-size: clamp(0.9rem, 2vw, 1.4rem);
    font-weight: 800;
    letter-spacing: 2px;
    color: #ffffff;
    margin: 0;
    margin-left: -35px;
    line-height: 1;
    position: relative;
    z-index: 3;
}

/* ====== MAIN CONTAINER & SECTIONS (Global Rule) ====== */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    position: relative;
    /* Todo sobre el brillo */
    z-index: 2;
}

section {
    width: 100%;
    max-width: 1200px;
    padding: clamp(60px, 8vh, 120px) 5vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    scroll-margin-top: 120px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    margin-bottom: clamp(30px, 5vh, 60px);
    text-align: center;
    color: #ffffff;
    /* SIN DEGRADADO, blanco sólido total */
}

/* ====== HERO SECTION ====== */
.hero-wrapper {
    position: relative;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    /* Strict Two-column layout */
    align-items: center;
    justify-content: space-between;
    padding-top: clamp(140px, 20vh, 220px);
    padding-bottom: clamp(40px, 8vh, 80px);
    gap: 40px;
    z-index: 10;
}

.hero-content {
    text-align: left;
    /* Left align text in 2 column */
    max-width: 600px;
    flex: 1;
    /* Take up half space */
    position: relative;
    z-index: 20;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: clamp(15px, 3vh, 30px);
    color: #ffffff;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.4rem);
    color: #cbd5e1;
    margin-bottom: clamp(25px, 4vh, 50px);
    max-width: 100%;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.cta-button {
    display: inline-block;
    background-color: #00bfff;
    color: #0a0a0a;
    font-weight: 800;
    text-decoration: none;
    padding: 18px 45px;
    border-radius: 50px;
    font-size: 1.15rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 191, 255, 0.3);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: #00d4ff;
    box-shadow: 0 0 30px rgba(0, 191, 255, 0.6), 0 0 10px rgba(0, 191, 255, 0.4) inset;
    transform: translateY(-3px);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.cta-button.wa-button {
    background-color: #25D366;
    color: #ffffff;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.3);
}

.cta-button.wa-button:hover {
    background-color: #128C7E;
    box-shadow: 0 0 30px rgba(37, 211, 102, 0.6), 0 0 10px rgba(37, 211, 102, 0.4) inset;
}

/* ====== ELEMENTOS FLOTANTES DEL HERO ====== */
.hero-graphics {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-width: 320px;
    z-index: 10;
}

.hero-chat-sequence {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 380px;
    z-index: 10;
    pointer-events: none;
    position: relative;
    /* Not absolute anymore, stays in standard flow */
}

.hero-alerts-sequence {
    display: none;
    /* Hidden to keep the right column strictly focused on chats and Yape, avoiding overcrowding */
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Glassmorphism base for floating elements */
.panel-glass .chat-bubble,
.panel-glass .alert-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px 20px;
    font-size: 0.9rem;
    color: #cbd5e1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    line-height: 1.4;
    text-align: left;
}

/* Specific Chat Styles (Animated Sequence) */
.msg-box {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 16px;
    font-size: 0.85rem;
    line-height: 1.4;
    color: #cbd5e1;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    /* Lógica de ancho vital para alienaciones a los lados */
    max-width: 80%;
    width: fit-content;
    opacity: 0;
    transform: translateY(10px);
}

.msg-in {
    align-self: flex-start;
    border-radius: 14px 14px 14px 2px;
}

.msg-out {
    align-self: flex-end;
    background: rgba(0, 191, 255, 0.1);
    border-color: rgba(0, 191, 255, 0.3);
    color: #ffffff;
    border-radius: 14px 14px 2px 14px;
    box-shadow: 0 8px 25px rgba(0, 191, 255, 0.15);
}

/* ====== YAPE VOUCHER SIMULATION ====== */
.yape-voucher {
    width: 180px;
    background: #742384;
    /* Yape Purple */
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 10px;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
}

.yape-logo {
    font-weight: 900;
    font-style: italic;
    font-size: 1.2rem;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
    color: #ffffff;
}

.yape-tick {
    width: 32px;
    height: 32px;
    background: #00e0b0;
    /* Yape cyan/green accent */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.yape-tick svg {
    width: 18px;
    height: 18px;
    color: #ffffff;
}

.yape-title {
    font-size: 0.85rem;
    font-weight: 400;
    opacity: 0.9;
}

.yape-amount {
    font-size: 1.4rem;
    font-weight: 800;
    margin: 4px 0 8px 0;
}

.yape-recipient {
    font-size: 0.75rem;
    background: rgba(0, 0, 0, 0.2);
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 600;
}

.msg-1 {
    animation: msg1 22s infinite;
}

.msg-2 {
    animation: msg2 22s infinite;
}

.msg-3 {
    animation: msg3 22s infinite;
}

.msg-4 {
    animation: msg4 22s infinite;
}

.msg-5 {
    animation: msg5 22s infinite;
}

.msg-6 {
    animation: msg6 22s infinite;
}

@keyframes msg1 {

    0%,
    96%,
    100% {
        opacity: 0;
        transform: translateY(10px);
    }

    4%,
    92% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes msg2 {

    0%,
    16%,
    96%,
    100% {
        opacity: 0;
        transform: translateY(10px);
    }

    19%,
    92% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes msg3 {

    0%,
    32%,
    96%,
    100% {
        opacity: 0;
        transform: translateY(10px);
    }

    35%,
    92% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes msg4 {

    0%,
    48%,
    96%,
    100% {
        opacity: 0;
        transform: translateY(10px);
    }

    51%,
    92% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes msg5 {

    0%,
    64%,
    96%,
    100% {
        opacity: 0;
        transform: translateY(10px);
    }

    67%,
    92% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes msg6 {

    0%,
    80%,
    96%,
    100% {
        opacity: 0;
        transform: translateY(10px);
    }

    83%,
    92% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ====== ALERTAS SECUENCIALES DEL DASHBOARD ====== */
.alert-box {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 0.85rem;
    color: #e2e8f0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    max-width: 90%;
    width: fit-content;
    align-self: flex-end;
    opacity: 0;
    transform: translateX(20px);
}

.state-alert {
    border-left: 3px solid #00e0b0;
}

.sale-alert {
    border-left: 3px solid #00d2ff;
}

.support-alert {
    border-left: 3px solid #ef4444;
}

.alert-1 {
    animation: alert1 15s infinite;
}

.alert-2 {
    animation: alert2 15s infinite;
}

.alert-3 {
    animation: alert3 15s infinite;
}

@keyframes alert1 {

    0%,
    95%,
    100% {
        opacity: 0;
        transform: translateX(20px);
    }

    5%,
    90% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes alert2 {

    0%,
    30%,
    95%,
    100% {
        opacity: 0;
        transform: translateX(20px);
    }

    35%,
    90% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes alert3 {

    0%,
    60%,
    95%,
    100% {
        opacity: 0;
        transform: translateX(20px);
    }

    65%,
    90% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Adaptabilidad Responsiva Premium para el Hero */
@media (max-width: 1024px) {
    .hero-wrapper {
        flex-direction: column;
        /* Cambia a una columna en móviles/tablets */
        text-align: center;
        padding-top: clamp(120px, 15vh, 160px);
        gap: 50px;
    }

    .hero-content {
        text-align: center;
        /* Vuelve a centrar el texto */
        max-width: 800px;
        order: 1;
        /* Título, texto, botón PRIMERO */
    }

    .hero-content p {
        margin-inline: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-graphics {
        order: 2;
        /* chats debajo del botón */
        width: 100%;
        max-width: 500px;
    }

    .hero-chat-sequence {
        width: 100%;
        margin: 0 auto;
    }
}

/* ====== COMPARISON SECTION ====== */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(25px, 4vw, 40px);
    width: 100%;
}

@media (min-width: 768px) {
    .comparison-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.comp-box {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: clamp(25px, 4vw, 50px);
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.comp-box:hover {
    transform: translateY(-5px);
}

.comp-bad {
    border-top: 2px solid #ef4444;
}

.comp-good {
    background: rgba(0, 191, 255, 0.03);
    border-top: 2px solid #00bfff;
}

.comp-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    gap: 15px;
}

.comp-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.comp-icon svg {
    width: 24px;
    height: 24px;
}

.bad-icon {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.good-icon {
    background: rgba(0, 191, 255, 0.1);
    color: #00bfff;
}

.comp-header h3 {
    font-size: 1.5rem;
    color: #ffffff;
}

.comp-list {
    list-style: none;
}

.comp-list li {
    margin-bottom: 15px;
    color: #e2e8f0;
    /* Color gris limpio */
    font-size: 1.05rem;
    display: flex;
    align-items: flex-start;
}

.comp-list li::before {
    content: "•";
    color: #ffffff;
    font-weight: bold;
    margin-right: 12px;
    font-size: 1.2rem;
}

.comp-good .comp-list li::before {
    color: #00bfff;
}

/* ====== PREMIUM FEATURES (GLASSMORPHISM) ====== */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(25px, 4vw, 40px);
    width: 100%;
}

@media (min-width: 600px) {
    .features-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.feature-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: clamp(25px, 4vw, 40px);
    border-radius: 16px;
    text-align: left;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(0, 191, 255, 0.35);
    /* Brillo cyan */
    transform: translateY(-8px);
    box-shadow: 0 15px 35px -10px rgba(0, 191, 255, 0.2);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #ffffff;
    transition: color 0.3s;
}

.feature-card:hover .feature-icon {
    color: #00bfff;
    background: rgba(0, 191, 255, 0.1);
}

.feature-icon svg {
    width: 28px;
    height: 28px;
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #ffffff;
}

.feature-card p {
    font-size: 0.95rem;
    color: #cbd5e1;
}

/* ====== TIMELINE / HOW IT WORKS ====== */
.steps-grid {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: clamp(15px, 3vh, 30px);
    gap: clamp(25px, 4vw, 40px);
}

@media (min-width: 900px) {
    .steps-grid {
        flex-direction: row;
        align-items: stretch;
        gap: 0;
    }
}

.step-card {
    flex: 1;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: clamp(30px, 4vw, 50px) clamp(25px, 3vw, 40px);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    overflow: hidden;
}

.step-card:hover {
    border-color: rgba(0, 191, 255, 0.35);
    background: rgba(255, 255, 255, 0.04);
    animation-play-state: paused;
}

/* Animaciones Consecutivas para las tarjetas del Proceso Simplificado */
@keyframes stepSequence {
    0%, 100% {
        border-color: rgba(255, 255, 255, 0.05);
        background: rgba(255, 255, 255, 0.02);
        transform: translateY(0);
        box-shadow: none;
    }
    10%, 25% {
        border-color: rgba(0, 191, 255, 0.6);
        background: rgba(0, 191, 255, 0.05);
        transform: translateY(-8px);
        box-shadow: 0 15px 35px -10px rgba(0, 191, 255, 0.25);
    }
    35%, 90% {
        border-color: rgba(255, 255, 255, 0.05);
        background: rgba(255, 255, 255, 0.02);
        transform: translateY(0);
        box-shadow: none;
    }
}

.step-card:nth-child(1) {
    animation: stepSequence 6s infinite 0s;
}

.step-card:nth-child(3) {
    animation: stepSequence 6s infinite 2s;
}

.step-card:nth-child(5) {
    animation: stepSequence 6s infinite 4s;
}

/* Números gigantes Ultra Visibles con Glow (Ajustados para no cortarse) */
.step-num {
    font-size: clamp(4.5rem, 8vw, 6rem);
    font-weight: 900;
    color: #00d2ff;
    position: absolute;
    top: -5px;
    right: 15px;
    line-height: 1;
    text-shadow: 0 0 30px rgba(0, 210, 255, 0.6), 0 0 10px rgba(0, 210, 255, 0.8);
    opacity: 0.5;
    pointer-events: none;
    transition: all 0.3s ease;
}

.step-card:hover .step-num {
    opacity: 1;
    transform: scale(1.05);
    text-shadow: 0 0 50px rgba(0, 210, 255, 1), 0 0 25px rgba(0, 210, 255, 1);
}

.step-content h3 {
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 12px;
    margin-top: 20px;
    position: relative;
    z-index: 5;
}

.step-content p {
    color: #cbd5e1;
    font-size: 1.05rem;
    position: relative;
    z-index: 5;
}

.step-connector {
    display: none;
    flex: 0 0 30px;
    position: relative;
}

@media (min-width: 900px) {
    .step-connector {
        display: block;
    }

    .step-connector::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        width: 100%;
        height: 2px;
        background: rgba(0, 191, 255, 0.2);
    }
}

/* ====== CINTA DE INTEGRACIÓN (PRUEBA SOCIAL) ====== */
.integration-ribbon {
    max-width: 100%;
    width: 100vw;
    background: rgba(15, 23, 42, 0.4);
    /* Translucido oscuro */
    backdrop-filter: blur(15px);
    padding: clamp(30px, 5vh, 60px) 5vw;
    margin: clamp(30px, 4vh, 60px) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.integration-ribbon p {
    color: #94a3b8;
    font-size: 1.1rem;
    margin-bottom: 25px;
    font-weight: 600;
    text-align: center;
}

.social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.social-icons svg {
    width: 35px;
    height: 35px;
    color: #475569;
    transition: all 0.3s ease;
    cursor: default;
}

.social-icons svg:hover {
    color: #00d2ff;
    transform: translateY(-3px) scale(1.1);
    filter: drop-shadow(0 0 10px rgba(0, 210, 255, 0.5));
}

/* ====== CASOS DE USO ====== */
.use-cases-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(20px, 3vw, 30px);
    width: 100%;
}

@media (min-width: 768px) {
    .use-cases-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.use-case-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: clamp(20px, 3vw, 35px);
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.use-case-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(0, 191, 255, 0.3);
    transform: translateY(-5px);
}

.use-case-card h3 {
    font-size: 1.15rem;
    color: #ffffff;
    margin-bottom: 12px;
}

.use-case-card p {
    font-size: 0.95rem;
    color: #cbd5e1;
}

/* ====== MÉTRICAS DE RENDIMIENTO ====== */
.metrics {
    padding-bottom: clamp(10px, 2vh, 30px);
}

.metrics-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(30px, 4vw, 50px);
    width: 100%;
    text-align: center;
}

@media (min-width: 768px) {
    .metrics-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.metric-item {
    background: transparent;
    padding: clamp(10px, 2vw, 25px);
}

.metric-number {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 900;
    color: #00d2ff;
    text-shadow: 0 0 25px rgba(0, 210, 255, 0.4);
    /* Resalte numerico neon */
    margin-bottom: 10px;
    line-height: 1;
}

.metric-item p {
    color: #94a3b8;
    font-size: 1rem;
    font-weight: 600;
}

/* ====== SEGURIDAD Y PRIVACIDAD ====== */
.security {
    text-align: center;
    max-width: 900px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: clamp(40px, 6vh, 80px) 5vw;
    margin: clamp(40px, 6vh, 80px) 0;
}

.sec-icon {
    width: 65px;
    height: 65px;
    background: rgba(255, 255, 255, 0.05);
    /* Escudo candado */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px auto;
    color: #ffffff;
}

.sec-icon svg {
    width: 32px;
    height: 32px;
}

.security-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    width: 100%;
    margin-top: 20px;
}

@media (min-width: 768px) {
    .security-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.security-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 25px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.security-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(0, 191, 255, 0.3);
    transform: translateY(-5px);
}

.security-card h3 {
    font-size: 1.15rem;
    color: #ffffff;
    margin-bottom: 12px;
}

.security-card p {
    font-size: 0.95rem;
    color: #cbd5e1;
}

/* ====== COMPARATIVA ROI ====== */
.roi-grid {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    gap: clamp(20px, 3vw, 30px);
    margin-top: clamp(10px, 2vh, 30px);
}

@media (min-width: 900px) {
    .roi-grid {
        flex-direction: row;
        justify-content: center;
        gap: 30px;
    }
}

.roi-card {
    flex: 1;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: clamp(25px, 4vw, 50px);
    width: 100%;
}

.roi-tradicional {
    border-top: 3px solid #64748b;
    opacity: 0.7;
    /* Da un look "apagado" al método tradicional */
}

.roi-thoan {
    border: 2px solid #00d2ff;
    background: rgba(0, 210, 255, 0.04);
    box-shadow: 0 0 35px rgba(0, 210, 255, 0.25), inset 0 0 20px rgba(0, 210, 255, 0.05);
    /* Full glow */
    transform: scale(1.02);
}

@media (min-width: 900px) {
    .roi-thoan {
        transform: scale(1.05);
    }

    /* Destaca un poco más en escritorio */
}

.roi-card h3 {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 25px;
    text-align: center;
}

.roi-thoan h3 {
    color: #00d2ff;
}

.roi-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.roi-list li {
    font-size: 1.05rem;
    color: #cbd5e1;
    display: flex;
    align-items: flex-start;
    /* Better alignment for multi-line list items */
}

.roi-list li::before {
    content: "✖";
    color: #ef4444;
    /* Red cross for traditional */
    margin-right: 12px;
    font-size: 1.2rem;
    line-height: 1.4;
    /* Matches vertical alignment of text */
}

.roi-thoan .roi-list li {
    color: #ffffff;
    font-weight: 600;
}

.roi-thoan .roi-list li::before {
    content: "✓";
    color: #00d2ff;
    font-weight: bold;
}

.roi-divider {
    font-size: 1.5rem;
    font-weight: 900;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

/* ====== PREGUNTAS FRECUENTES (FAQ Acordeón sin JS) ====== */
.faq-accordion {
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: background 0.3s;
}

.faq-item summary {
    padding: 25px 30px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ffffff;
    list-style: none;
    /* Elimina la flecha genérica */
    user-select: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary:hover {
    background: rgba(255, 255, 255, 0.04);
}

.faq-item summary::after {
    content: '+';
    color: #00d2ff;
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s;
}

.faq-item[open] summary::after {
    content: '-';
    transform: rotate(180deg);
}

.faq-item[open] summary {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-content {
    padding: 25px 30px;
    color: #cbd5e1;
    background: transparent;
    line-height: 1.6;
}

/* ====== FOOTER ====== */
footer {
    width: 100%;
    background: transparent;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 60px 5vw 40px;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.footer-content {
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #ffffff;
    margin-bottom: 15px;
}

.footer-bottom {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-top: 30px;
    color: #64748b;
    font-size: 0.85rem;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-legal {
    letter-spacing: 1px;
    color: #64748b;
}

.footer-legal {
    letter-spacing: 1px;
    color: #64748b;
}

/* ====== ENLACES LEGALES (FOOTER) ====== */
.footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
}

.footer-legal-links a {
    color: #94a3b8;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 4px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.footer-legal-links a:hover {
    color: #00d2ff;
    text-decoration-color: #00d2ff;
}

/* ====== MODALES LEGALES (Solo CSS) ====== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9999;
}

.modal:target {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    max-width: 800px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 40px;
    color: #cbd5e1;
    position: relative;
    text-align: left;
}

.modal-content h2 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 24px;
}

.modal-content h3 {
    color: #00d2ff;
    margin-top: 25px;
    margin-bottom: 10px;
    font-size: 18px;
}

.modal-content p,
.modal-content ul {
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 15px;
}

.modal-content ul {
    padding-left: 20px;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    color: #fff;
    text-decoration: none;
    line-height: 1;
}