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

.ny-page {
    font-family: 'Inter', Arial, sans-serif;
    background: #f5f0ff;
    color: #0e2258;
}

/* Header claro */
.ny-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid #ece5f8;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.06);
}

.ny-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 24px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
}

.ny-header-left { justify-self: start; }

.ny-header-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #5a6a85 !important;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 8px;
    background: #f5f0ff;
    border: 1px solid #ece5f8;
    transition: all 0.25s;
}

.ny-header-back:hover {
    color: #7c3aed !important;
    background: #ffffff;
    border-color: rgba(124, 58, 237, 0.3);
}

.ny-header-back i { font-size: 12px; }

.ny-header-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    justify-self: center;
}

.ny-header-brand:hover { opacity: 0.9; }

.ny-brand-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
    flex-shrink: 0;
}

.ny-brand-icon i { color: #fff; font-size: 18px; }

.ny-brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.ny-brand-text strong { color: #0e2258; font-size: 17px; font-weight: 800; }
.ny-brand-text small { color: #5a6a85; font-size: 11px; margin-top: 2px; }

.ny-header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-self: end;
}

.ny-header-actions a {
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    padding: 9px 18px;
    border-radius: 25px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    transition: all 0.3s;
}

.ny-btn-ghost {
    color: #7c3aed !important;
    border: 1px solid #ece5f8;
    background: #ffffff;
}

.ny-btn-ghost:hover {
    border-color: rgba(124, 58, 237, 0.35);
    color: #6d28d9 !important;
    background: #f5f0ff;
}

.ny-btn-purple {
    background: linear-gradient(90deg, #a855f7, #7c3aed);
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.ny-btn-purple:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
    color: #fff !important;
}

.ny-btn-purple i { font-size: 11px; transition: transform 0.2s; }
.ny-btn-purple:hover i { transform: translateX(3px); }

/* Hero — funde con el fondo de página */
.ny-page .ny-page-hero.notiyape-showcase {
    background: linear-gradient(180deg, #ffffff 0%, #faf7ff 55%, #f5f0ff 100%);
    padding-top: 100px;
    padding-bottom: 32px;
    margin: 0 !important;
    border-radius: 0 !important;
    border: none !important;
    box-shadow: none !important;
}

/* Secciones */
.ny-section {
    position: relative;
    overflow: hidden;
    padding: 48px 40px 64px;
    max-width: 1160px;
    margin: 0 20px 24px;
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid #ece5f8;
    box-shadow: 0 8px 32px rgba(124, 58, 237, 0.06);
}

.ny-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0554f2, #7c3aed, #a855f7);
    opacity: 0.75;
}

.ny-section-header {
    text-align: center;
    margin-bottom: 36px;
}

.ny-label {
    display: inline-block;
    color: #7c3aed;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    background: rgba(124, 58, 237, 0.1);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(124, 58, 237, 0.22);
}

.ny-section-header h2 {
    font-size: 32px;
    font-weight: 800;
    color: #0e2258;
}

.ny-section-header p {
    color: #5a6a85;
    font-size: 16px;
    max-width: 600px;
    margin: 12px auto 0;
}

.ny-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.ny-feature-card {
    background: #faf8ff;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.05);
    border: 1px solid #ece5f8;
    transition: all 0.3s;
}

.ny-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(124, 58, 237, 0.12);
    border-color: rgba(124, 58, 237, 0.3);
}

.ny-feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(124, 58, 237, 0.12);
    color: #7c3aed;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 18px;
}

.ny-feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #0e2258;
}

.ny-feature-card p { font-size: 14px; color: #5a6a85; }

/* CTA */
.ny-cta {
    background: linear-gradient(135deg, #0554f2 0%, #7c3aed 50%, #a855f7 100%);
    margin: 0 20px 24px;
    padding: 70px 40px;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 12px 40px rgba(124, 58, 237, 0.18);
}

.ny-cta h2 { color: #fff; font-size: 32px; font-weight: 800; margin-bottom: 12px; }
.ny-cta p { color: rgba(255, 255, 255, 0.9); margin-bottom: 30px; }
.ny-cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.ny-btn-white {
    background: #fff;
    color: #7c3aed !important;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.3s;
}

.ny-btn-white:hover { transform: translateY(-2px); }

.ny-btn-outline-white {
    color: #fff !important;
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 12px 32px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.ny-btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
}

/* Footer */
.ny-footer {
    background: #0e2258;
    padding: 30px 40px;
    text-align: center;
    color: rgba(255, 255, 255, 0.55);
    font-size: 13px;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
}

.ny-footer a { color: #c084fc; text-decoration: none; }

@media (max-width: 991px) {
    .ny-header-inner { padding: 10px 16px; gap: 10px; }
    .ny-brand-text small { display: none; }
    .ny-page .ny-page-hero.notiyape-showcase {
        padding-top: 90px;
        padding-bottom: 24px;
    }

    .ny-section {
        margin: 0 12px 20px;
        padding: 40px 20px 48px;
        border-radius: 18px;
    }

    .ny-section-header { margin-bottom: 28px; }

    .ny-cta {
        margin: 0 12px 20px;
        padding: 50px 24px;
        border-radius: 18px;
    }

    .ny-footer {
        border-top-left-radius: 18px;
        border-top-right-radius: 18px;
    }
}

@media (max-width: 576px) {
    .ny-header-back span { display: none; }
    .ny-header-actions .ny-btn-ghost { display: none; }
    .ny-brand-text strong { font-size: 15px; }
}
