/* Nubenet — estilos de la landing del panel de clientes (Magnus Cluster) */
:root {
    --nb-blue: #0B5FFF;
    --nb-bg: #0A1730;
    --nb-bg2: #0D1D3D;
    --nb-text: #FFFFFF;
    --nb-muted: #9FB0CE;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--nb-bg);
    color: var(--nb-text);
}

/* --- Hero ----------------------------------------------------------------- */
.hero {
    min-height: 84vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 24px 24px;
    text-align: center;
    background-image: radial-gradient(ellipse at 50% -20%, rgba(11, 95, 255, 0.25), transparent 60%);
}

.logo { width: 240px; max-width: 70vw; height: auto; margin-bottom: 20px; }

.cluster-badge {
    color: var(--nb-blue);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 5px;
    margin-bottom: 28px;
}

h1 { font-size: 2rem; font-weight: 700; margin-bottom: 12px; }

.tagline { color: var(--nb-muted); font-size: 1.1rem; max-width: 480px; margin-bottom: 40px; }

.btn {
    display: inline-block;
    background: var(--nb-blue);
    color: var(--nb-text);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 14px 42px;
    border-radius: 8px;
    transition: filter 0.15s ease, transform 0.15s ease;
}
.btn:hover { filter: brightness(1.15); transform: translateY(-1px); }

.support { margin-top: 48px; color: var(--nb-muted); font-size: 0.95rem; line-height: 1.7; }
.support a { color: var(--nb-blue); text-decoration: none; }
.support a:hover { text-decoration: underline; }

.scroll-hint {
    display: inline-block;
    margin-top: 40px;
    color: var(--nb-muted);
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-decoration: none;
    animation: hint-bounce 2.2s ease-in-out infinite;
}
.scroll-hint:hover { color: var(--nb-text); }
@keyframes hint-bounce {
    0%, 100% { transform: translateY(0); opacity: 0.7; }
    50%      { transform: translateY(6px); opacity: 1; }
}

/* --- Servicios ------------------------------------------------------------- */
.services {
    scroll-margin-top: 24px;
    padding: 72px 24px 56px;
    max-width: 1080px;
    margin: 0 auto;
    text-align: center;
}

.services h2 { font-size: 1.7rem; margin-bottom: 10px; }
.services .sub { color: var(--nb-muted); margin-bottom: 40px; }

.cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    text-align: left;
}

.card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: var(--nb-bg2);
    border: 1px solid rgba(159, 176, 206, 0.18);
    border-radius: 14px;
    padding: 26px;
    text-decoration: none;
    color: var(--nb-text);
    transition: transform 0.15s ease, border-color 0.15s ease;
}
.card:hover { transform: translateY(-3px); border-color: var(--nb-blue); }

.card.featured {
    grid-column: 1 / -1;
    border: 1px solid rgba(11, 95, 255, 0.55);
    background: linear-gradient(135deg, rgba(11, 95, 255, 0.16), var(--nb-bg2) 55%);
}

.card-head { display: flex; align-items: center; gap: 10px; }
.card-title { font-size: 1.2rem; font-weight: 700; }
.card-icon { font-size: 1.3rem; }

.chip {
    background: var(--nb-blue);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 3px 9px;
    border-radius: 999px;
}

/* Latido estilo Pulse */
.beat {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #2BD576;
    box-shadow: 0 0 0 0 rgba(43, 213, 118, 0.6);
    animation: beat 1.6s ease-out infinite;
}
@keyframes beat {
    0%   { box-shadow: 0 0 0 0 rgba(43, 213, 118, 0.6); }
    70%  { box-shadow: 0 0 0 12px rgba(43, 213, 118, 0); }
    100% { box-shadow: 0 0 0 0 rgba(43, 213, 118, 0); }
}

.card p { color: var(--nb-muted); line-height: 1.6; font-size: 0.97rem; }

.card-cta { color: var(--nb-blue); font-weight: 600; font-size: 0.95rem; margin-top: auto; }

/* --- Footer ----------------------------------------------------------------- */
footer {
    padding: 28px 24px 36px;
    text-align: center;
    color: var(--nb-muted);
    font-size: 0.85rem;
    opacity: 0.8;
}
footer a { color: var(--nb-blue); text-decoration: none; }

/* --- Responsive ------------------------------------------------------------- */
@media (max-width: 720px) {
    .cards { grid-template-columns: 1fr; }
    h1 { font-size: 1.5rem; }
    .btn { width: 100%; text-align: center; }
}
