:root {
    --nube-font: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --nube-primary: #0A56FF;
    --nube-primary-strong: #071B66;
    --nube-primary-soft: #1F8FFF;
    --nube-accent: #55D6FF;
    --nube-success: #27D17F;
    --nube-ransomware: #7A5CFF;
    --nube-warning: #f79009;
    --nube-radius: 18px;
    --nube-radius-sm: 12px;
    --nube-shadow: 0 18px 45px rgba(15, 23, 42, .08);
    --nube-shadow-soft: 0 10px 30px rgba(15, 23, 42, .06);
}

[data-bs-theme="light"] {
    --nube-bg: #F7F9FC;
    --nube-surface: #ffffff;
    --nube-surface-alt: #EEF4FF;
    --nube-sidebar: #ffffff;
    --nube-sidebar-text: #7A869A;
    --nube-text: #071B66;
    --nube-muted: #7A869A;
    --nube-border: #DCE6F9;
    --nube-input: #ffffff;
    --nube-hero: #F7F9FC;
}

[data-bs-theme="dark"] {
    --nube-bg: #050B1F;
    --nube-surface: #0C1633;
    --nube-surface-alt: #071B66;
    --nube-sidebar: #03103A;
    --nube-sidebar-text: #A8B3CF;
    --nube-text: #EAF2FF;
    --nube-muted: #A8B3CF;
    --nube-border: #1A2B5C;
    --nube-input: #0C1633;
    --nube-primary: #1F8FFF;
    --nube-primary-strong: #55D6FF;
    --nube-primary-soft: #4CC9FF;
    --nube-accent: #55D6FF;
    --nube-ransomware: #9A7CFF;
    --nube-hero: #050B1F;
    --nube-shadow: 0 18px 45px rgba(0, 0, 0, .28);
    --nube-shadow-soft: 0 10px 30px rgba(0, 0, 0, .22);
}

html, body {
    font-family: var(--nube-font);
    scroll-behavior: smooth;
}

body.app-default,
body.nube-auth-body {
    background: var(--nube-bg) !important;
    color: var(--nube-text);
}

.app-page,
.app-wrapper,
.app-main,
.app-content {
    background: transparent !important;
}

.app-container.container-fluid {
    padding-left: clamp(1rem, 2vw, 2rem);
    padding-right: clamp(1rem, 2vw, 2rem);
}

#kt_app_content {
    padding-top: 28px;
}

.app-header {
    background: color-mix(in srgb, var(--nube-surface) 92%, transparent) !important;
    border-bottom: 1px solid var(--nube-border);
    box-shadow: 0 8px 24px rgba(15, 23, 42, .04);
    backdrop-filter: blur(14px);
}

.app-sidebar {
    background: var(--nube-sidebar) !important;
    border-right: 1px solid var(--nube-border);
    box-shadow: var(--nube-shadow-soft);
}

.app-sidebar-logo {
    border-bottom: 1px solid var(--nube-border) !important;
    min-height: 72px;
}

.nube-brand {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    color: var(--nube-text) !important;
    font-weight: 800;
    letter-spacing: -.03em;
}

.nube-brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    color: #fff;
    background: var(--nube-primary);
    box-shadow: 0 12px 28px rgba(21, 94, 239, .22);
}

.nube-brand-logo {
    display: block;
    width: auto;
    max-width: 178px;
    max-height: 48px;
    object-fit: contain;
}

.nube-brand-logo-sm {
    max-width: 148px;
    max-height: 40px;
}

.app-sidebar .menu .menu-link {
    color: var(--nube-sidebar-text);
    border-radius: 13px;
    margin: 3px 0;
    min-height: 44px;
    gap: .25rem;
    transition: background .16s ease, color .16s ease, transform .16s ease;
}

.app-sidebar .menu .menu-link:hover,
.app-sidebar .menu .menu-link.active,
.app-sidebar .menu .menu-item.here > .menu-link,
.app-sidebar .menu .menu-item.show > .menu-link {
    background: color-mix(in srgb, var(--nube-primary) 12%, transparent) !important;
    color: var(--nube-primary) !important;
    transform: translateX(2px);
}

[data-bs-theme="dark"] .app-sidebar .menu .menu-link:hover,
[data-bs-theme="dark"] .app-sidebar .menu .menu-link.active,
[data-bs-theme="dark"] .app-sidebar .menu .menu-item.here > .menu-link,
[data-bs-theme="dark"] .app-sidebar .menu .menu-item.show > .menu-link {
    color: #7dd3fc !important;
}

.app-sidebar .menu .menu-title,
.app-sidebar .menu .menu-icon i,
.app-sidebar .menu .menu-arrow:after {
    color: inherit !important;
}

.app-sidebar .menu .menu-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    min-width: 34px;
    height: 34px;
    margin-right: .35rem;
    border-radius: 11px;
    background: color-mix(in srgb, var(--nube-primary) 8%, transparent);
    color: var(--nube-primary) !important;
}

.app-sidebar .menu .menu-icon i {
    color: var(--nube-primary) !important;
    opacity: 1 !important;
}

.app-sidebar .menu .menu-icon i [class^="path"],
.app-sidebar .menu .menu-icon i [class*=" path"] {
    color: currentColor !important;
    opacity: 1 !important;
}

.app-sidebar .menu .menu-title {
    font-weight: 750;
}

.app-sidebar .menu .menu-link:hover .menu-icon,
.app-sidebar .menu .menu-link.active .menu-icon,
.app-sidebar .menu .menu-item.here > .menu-link .menu-icon,
.app-sidebar .menu .menu-item.show > .menu-link .menu-icon {
    background: var(--nube-primary) !important;
    color: #fff !important;
}

.app-sidebar .menu .menu-link:hover .menu-icon i,
.app-sidebar .menu .menu-link.active .menu-icon i,
.app-sidebar .menu .menu-item.here > .menu-link .menu-icon i,
.app-sidebar .menu .menu-item.show > .menu-link .menu-icon i {
    color: #fff !important;
}

.app-sidebar .menu .menu-sub .menu-link {
    min-height: 38px;
    padding-left: 1rem;
}

.app-sidebar .menu .menu-sub .menu-bullet .bullet {
    background-color: var(--nube-primary) !important;
    opacity: .65;
}

[data-bs-theme="dark"] .app-sidebar .menu .menu-icon {
    background: color-mix(in srgb, var(--nube-primary) 16%, transparent);
    color: var(--nube-accent) !important;
}

[data-bs-theme="dark"] .app-sidebar .menu .menu-icon i {
    color: var(--nube-accent) !important;
}

.card {
    background: var(--nube-surface) !important;
    border: 1px solid var(--nube-border) !important;
    border-radius: var(--nube-radius) !important;
    box-shadow: var(--nube-shadow-soft);
}

.card-flush > .card-header {
    border-bottom: 0;
}

.card-title h1,
.card-title h2,
.card-title h3,
h1, h2, h3, h4,
.text-gray-900,
.text-gray-800,
.text-gray-700 {
    color: var(--nube-text) !important;
}

.fw-black {
    font-weight: 900 !important;
}

.text-muted,
.text-gray-600,
.text-gray-500 {
    color: var(--nube-muted) !important;
}

.btn {
    border-radius: 12px;
    font-weight: 700;
}

.btn-primary {
    background: var(--nube-primary) !important;
    border: 0 !important;
    box-shadow: 0 12px 24px rgba(21, 94, 239, .22);
    color: #fff !important;
}

.btn-primary:hover,
.btn-primary:focus {
    background: #2A6CFF !important;
    filter: brightness(.99);
    box-shadow: 0 16px 30px rgba(21, 94, 239, .28);
}

.btn-outline-primary,
.btn-light-primary {
    color: var(--nube-primary) !important;
    border-color: rgba(21, 94, 239, .28) !important;
    background: rgba(21, 94, 239, .08) !important;
}

.btn-nube-secondary {
    background: var(--nube-surface) !important;
    border: 1px solid var(--nube-border) !important;
    color: var(--nube-text) !important;
    box-shadow: none;
}

.btn-nube-secondary:hover,
.btn-nube-secondary:focus {
    background: var(--nube-surface-alt) !important;
    color: var(--nube-primary) !important;
}

.form-control,
.form-select,
.input-group-text,
.form-control.form-control-solid {
    background: var(--nube-input) !important;
    border: 1px solid var(--nube-border) !important;
    color: var(--nube-text) !important;
    border-radius: 12px;
}

.input-group .input-group-text:first-child {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-group .form-control:last-child {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(21, 94, 239, .55) !important;
    box-shadow: 0 0 0 .25rem rgba(21, 94, 239, .12) !important;
}

.table {
    color: var(--nube-text) !important;
}

.table tr,
.table-row-dashed tr {
    border-color: var(--nube-border) !important;
}

.badge {
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: -.01em;
}

.badge-success,
.badge-light-success {
    color: #047857 !important;
    background: rgba(18, 183, 106, .12) !important;
}

.badge-light-primary,
.badge-primary {
    color: var(--nube-primary) !important;
    background: rgba(21, 94, 239, .11) !important;
}

.alert {
    border: 1px solid var(--nube-border);
    border-radius: var(--nube-radius-sm);
    box-shadow: none;
}

.menu-sub-dropdown {
    background: var(--nube-surface) !important;
    border: 1px solid var(--nube-border) !important;
    border-radius: 16px !important;
    box-shadow: var(--nube-shadow) !important;
}

.nube-user-toggle {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    min-height: 42px;
    padding: .25rem .45rem .25rem .3rem;
    border: 1px solid var(--nube-border);
    border-radius: 999px;
    background: var(--nube-surface);
    color: var(--nube-text);
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .04);
}

.nube-user-toggle:hover,
.nube-user-toggle[aria-expanded="true"] {
    border-color: color-mix(in srgb, var(--nube-primary) 35%, var(--nube-border));
    color: var(--nube-primary);
    background: var(--nube-surface-alt);
}

.nube-user-toggle-name {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nube-user-menu {
    display: none !important;
    position: absolute !important;
    top: calc(100% + .75rem) !important;
    right: 0 !important;
    z-index: 1050 !important;
    transform: none !important;
}

.nube-user-menu.show {
    display: flex !important;
}

.nube-user-menu .menu-link {
    border-radius: 12px;
    color: var(--nube-text) !important;
}

.nube-user-menu .menu-link:hover {
    background: var(--nube-surface-alt) !important;
    color: var(--nube-primary) !important;
}

.nube-menu-button {
    border: 0;
    background: transparent;
    text-align: left;
    font-weight: 750;
}

.nube-theme-toggle {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    height: 40px;
    padding: 0 .85rem;
    border: 1px solid var(--nube-border);
    border-radius: 999px;
    background: var(--nube-surface-alt);
    color: var(--nube-text);
    font-weight: 800;
}

.nube-theme-toggle:hover {
    color: var(--nube-primary);
}

.nube-theme-toggle-strong {
    min-width: 104px;
    height: 46px;
    border: 2px solid color-mix(in srgb, var(--nube-primary) 30%, var(--nube-border));
    background: var(--nube-surface) !important;
    box-shadow: 0 10px 28px rgba(10, 86, 255, .14);
}

.nube-auth-body {
    min-height: 100vh;
    background: var(--nube-hero) !important;
}

.nube-auth-shell {
    min-height: 100vh;
    padding: clamp(1.25rem, 3vw, 3rem);
}

.nube-auth-panel,
.nube-auth-card {
    border: 1px solid var(--nube-border);
    border-radius: 28px;
    background: color-mix(in srgb, var(--nube-surface) 94%, transparent);
    box-shadow: var(--nube-shadow);
    backdrop-filter: blur(18px);
}

.nube-auth-panel {
    overflow: hidden;
}

.nube-auth-story {
    position: relative;
    min-height: 640px;
    padding: clamp(2rem, 5vw, 4rem);
    background: var(--nube-surface-alt);
}

.nube-auth-card {
    width: min(100%, 520px);
    padding: clamp(1.5rem, 4vw, 3rem);
}

.nube-auth-card-wide {
    width: min(100%, 1180px);
}

.nube-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .45rem .8rem;
    border-radius: 999px;
    background: rgba(21, 94, 239, .1);
    color: var(--nube-primary);
    font-weight: 800;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.nube-hero-title {
    color: var(--nube-text);
    font-size: clamp(2.25rem, 6vw, 4.5rem);
    line-height: .98;
    letter-spacing: -.07em;
    font-weight: 900;
}

.nube-hero-copy {
    color: var(--nube-muted);
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    line-height: 1.7;
}

.nube-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.nube-trust-item,
.nube-metric-card {
    padding: 1rem;
    border: 1px solid var(--nube-border);
    border-radius: 18px;
    background: color-mix(in srgb, var(--nube-surface) 78%, transparent);
}

.nube-metric-card {
    min-height: 160px;
    overflow: hidden;
    position: relative;
}

.nube-metric-card:after {
    content: "";
    position: absolute;
    right: -34px;
    top: -34px;
    width: 110px;
    height: 110px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--nube-primary) 14%, transparent);
}

.nube-icon-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 15px;
    color: var(--nube-primary);
    background: rgba(21, 94, 239, .1);
}

.nube-landing {
    position: relative;
    isolation: isolate;
}

.nube-landing-page {
    min-height: 100vh;
    background: var(--nube-hero);
    color: var(--nube-text);
    overflow-x: hidden;
}

.nube-landing-container {
    width: min(100% - 2rem, 1220px);
    margin-inline: auto;
}

.nube-landing-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 1rem 0;
    border-bottom: 1px solid color-mix(in srgb, var(--nube-border) 70%, transparent);
    background: color-mix(in srgb, var(--nube-bg) 92%, transparent);
    backdrop-filter: blur(18px);
}

.nube-nav-links a {
    color: var(--nube-muted);
    transition: color .16s ease;
}

.nube-nav-links a:hover {
    color: var(--nube-primary);
}

.nube-landing-hero {
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 78px);
    display: flex;
    align-items: center;
    padding-top: clamp(4rem, 8vw, 7rem);
    padding-bottom: clamp(4rem, 8vw, 7rem);
    border: 0;
    border-radius: 0;
    background: var(--nube-surface-alt);
}

.nube-hero-carousel {
    isolation: isolate;
    color: #fff;
    background: #061229;
}

.nube-landing-hero:before {
    display: none;
}

.nube-hero-carousel:after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 18% 28%, rgba(21, 94, 239, .22), transparent 30%),
        linear-gradient(90deg, rgba(3, 8, 22, .72) 0%, rgba(3, 8, 22, .44) 48%, rgba(3, 8, 22, .12) 100%),
        linear-gradient(0deg, rgba(3, 8, 22, .28), rgba(3, 8, 22, .04));
}

.nube-hero-slides,
.nube-hero-slide {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.nube-hero-slide {
    opacity: 0;
    transform: scale(1.04);
    animation: nubeHeroFade 24s infinite;
}

.nube-hero-slide-2 {
    animation-delay: 8s;
}

.nube-hero-slide-3 {
    animation-delay: 16s;
}

.nube-hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nube-hero-content {
    max-width: 830px;
    padding: clamp(1.25rem, 3vw, 2.25rem);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(3, 8, 22, .46), rgba(3, 8, 22, .18));
    box-shadow: 0 28px 90px rgba(0, 0, 0, .42);
    backdrop-filter: blur(4px);
}

.nube-hero-eyebrow {
    color: rgba(255, 255, 255, .88);
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .2);
    backdrop-filter: blur(14px);
}

.nube-landing-title.nube-hero-title-on-media {
    color: #fff !important;
    text-shadow: 0 4px 28px rgba(0, 0, 0, .78), 0 1px 2px rgba(0, 0, 0, .95);
}

.nube-landing-copy.nube-hero-copy-on-media {
    color: rgba(255, 255, 255, .94);
    text-shadow: 0 2px 18px rgba(0, 0, 0, .72);
}

.btn-nube-glass {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .36);
    background: rgba(255, 255, 255, .13);
    backdrop-filter: blur(14px);
}

.btn-nube-glass:hover,
.btn-nube-glass:focus {
    color: #fff;
    border-color: rgba(255, 255, 255, .58);
    background: rgba(255, 255, 255, .2);
}

.nube-hero-checks {
    color: rgba(255, 255, 255, .94);
    text-shadow: 0 2px 16px rgba(0, 0, 0, .72);
}

.nube-hero-checks i {
    color: #6ee7b7;
}

.nube-hero-dots {
    position: absolute;
    left: 0;
    bottom: clamp(-3rem, -4vw, -2rem);
    display: flex;
    gap: .7rem;
}

.nube-hero-dots span {
    width: 42px;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .3);
    overflow: hidden;
}

.nube-hero-dots span:before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    transform: translateX(-100%);
    background: #fff;
    animation: nubeHeroDot 24s infinite;
}

.nube-hero-dots span:nth-child(2):before {
    animation-delay: 8s;
}

.nube-hero-dots span:nth-child(3):before {
    animation-delay: 16s;
}

@keyframes nubeHeroFade {
    0% { opacity: 0; transform: scale(1.04); }
    5% { opacity: 1; }
    33% { opacity: 1; transform: scale(1); }
    38% { opacity: 0; transform: scale(1); }
    100% { opacity: 0; transform: scale(1.04); }
}

@keyframes nubeHeroDot {
    0% { transform: translateX(-100%); }
    5% { transform: translateX(-100%); }
    33% { transform: translateX(0); }
    38% { transform: translateX(100%); }
    100% { transform: translateX(100%); }
}

@media (prefers-reduced-motion: reduce) {
    .nube-hero-slide,
    .nube-hero-dots span:before {
        animation: none;
    }

    .nube-hero-slide-1 {
        opacity: 1;
        transform: none;
    }
}

.nube-proof-strip-section {
    margin-top: 0;
    padding-top: clamp(2.25rem, 5vw, 4rem);
    padding-bottom: clamp(1rem, 3vw, 2rem);
    position: relative;
    z-index: 2;
}

.nube-landing-title {
    max-width: 820px;
    color: var(--nube-text);
    font-size: clamp(2.75rem, 7vw, 6.4rem);
    font-weight: 950;
    line-height: .92;
    letter-spacing: -.085em;
}

.nube-landing-copy {
    max-width: 720px;
    color: var(--nube-muted);
    font-size: clamp(1.08rem, 2vw, 1.35rem);
    line-height: 1.75;
}

.nube-proof-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.nube-proof-item,
.nube-feature-card,
.nube-threat-card,
.nube-flow-step,
.nube-comparison-card {
    border: 1px solid var(--nube-border);
    border-radius: 22px;
    background: color-mix(in srgb, var(--nube-surface) 94%, transparent);
    box-shadow: var(--nube-shadow-soft);
}

.nube-proof-item {
    padding: 1.1rem;
}

.nube-proof-value {
    color: var(--nube-text);
    font-size: 1.45rem;
    font-weight: 900;
    letter-spacing: -.04em;
}

.nube-feature-card,
.nube-threat-card {
    height: 100%;
    padding: clamp(1.25rem, 2.5vw, 2rem);
}

.nube-landing-section {
    padding: clamp(4rem, 8vw, 7rem) 0;
}

.nube-landing-band {
    background: color-mix(in srgb, var(--nube-surface-alt) 55%, var(--nube-bg));
    border-top: 1px solid color-mix(in srgb, var(--nube-border) 70%, transparent);
    border-bottom: 1px solid color-mix(in srgb, var(--nube-border) 70%, transparent);
}

.nube-section-title {
    max-width: 900px;
    color: var(--nube-text);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 950;
    line-height: 1;
    letter-spacing: -.065em;
}

.nube-threat-card {
    background: color-mix(in srgb, var(--nube-ransomware) 8%, var(--nube-surface));
}

.nube-ransomware-pill {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .5rem .85rem;
    border-radius: 999px;
    color: #fff;
    background: var(--nube-ransomware);
    font-weight: 900;
    font-size: .78rem;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.nube-hero-visual {
    position: relative;
    min-height: 420px;
}

.nube-dashboard-mock {
    position: relative;
    z-index: 1;
    border: 1px solid var(--nube-border);
    border-radius: 28px;
    background: var(--nube-surface);
    box-shadow: 0 28px 80px rgba(10, 86, 255, .18);
    overflow: hidden;
}

[data-bs-theme="dark"] .nube-dashboard-mock {
    box-shadow: 0 28px 90px rgba(76, 201, 255, .2);
}

.nube-mock-header {
    display: flex;
    gap: .45rem;
    padding: 1rem;
    border-bottom: 1px solid var(--nube-border);
}

.nube-mock-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--nube-accent);
}

.nube-mock-body {
    padding: 1.4rem;
}

.nube-mock-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--nube-border);
    border-radius: 16px;
    background: color-mix(in srgb, var(--nube-surface-alt) 48%, transparent);
}

.nube-storage-box {
    background: var(--nube-surface-alt);
    border: 1px solid var(--nube-border);
}

.nube-progress-fill {
    background: var(--nube-primary);
}

.nube-status-good {
    color: var(--nube-success);
    font-weight: 900;
}

.nube-flow {
    counter-reset: flow;
}

.nube-flow-step {
    position: relative;
    height: 100%;
    padding: 1.5rem;
}

.nube-flow-step:before {
    counter-increment: flow;
    content: "0" counter(flow);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 1rem;
    border-radius: 14px;
    color: #fff;
    background: var(--nube-primary);
    font-weight: 900;
}

.nube-landing-cta {
    position: relative;
    overflow: hidden;
    border-radius: 32px;
    padding: clamp(2rem, 5vw, 4rem);
    background: var(--nube-primary-strong);
    color: #fff;
}

.nube-landing-cta h2,
.nube-landing-cta p {
    color: #fff !important;
}

.nube-landing-cta .btn-outline-primary {
    color: #fff !important;
    border-color: rgba(255, 255, 255, .5) !important;
    background: rgba(255, 255, 255, .12) !important;
}

.btn-nube-cta-light {
    background: #ffffff !important;
    border: 1px solid #ffffff !important;
    color: #071B66 !important;
}

.btn-nube-cta-light:hover,
.btn-nube-cta-light:focus {
    background: #EEF4FF !important;
    color: #071B66 !important;
}

.btn-nube-cta-outline {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, .72) !important;
    color: #ffffff !important;
}

.btn-nube-cta-outline:hover,
.btn-nube-cta-outline:focus {
    background: rgba(255, 255, 255, .14) !important;
    color: #ffffff !important;
}

.nube-comparison-card {
    overflow: hidden;
    background: color-mix(in srgb, var(--nube-surface) 92%, transparent);
}

.border-color-nube {
    border-color: var(--nube-border) !important;
}

.nube-landing-footer {
    padding: 2rem 0;
    border-top: 1px solid var(--nube-border);
    background: color-mix(in srgb, var(--nube-surface) 70%, transparent);
}

.nube-plans-hero {
    padding: clamp(2rem, 5vw, 4rem);
    border: 1px solid var(--nube-border);
    border-radius: 28px;
    background: var(--nube-surface-alt);
}

.nube-plans-title {
    color: var(--nube-text);
    font-size: clamp(2.6rem, 7vw, 5.8rem);
    font-weight: 950;
    line-height: .92;
    letter-spacing: -.07em;
}

.nube-plans-subtitle {
    color: var(--nube-muted);
    font-size: clamp(1.1rem, 2vw, 1.45rem);
    font-weight: 800;
}

.nube-plans-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--nube-border);
    border-radius: 24px;
    background: var(--nube-surface);
    box-shadow: var(--nube-shadow-soft);
}

.nube-plans-table {
    min-width: 920px;
}

.nube-plans-row {
    display: grid;
    grid-template-columns: 1.25fr 1fr .85fr 1fr .7fr;
    align-items: stretch;
    min-height: 104px;
    border-bottom: 1px solid var(--nube-border);
}

.nube-plans-row:last-child {
    border-bottom: 0;
}

.nube-plans-row > div {
    display: flex;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-right: 1px solid var(--nube-border);
}

.nube-plans-row > div:last-child {
    border-right: 0;
}

.nube-plans-head {
    min-height: 64px;
    background: var(--nube-primary-strong);
    color: #fff;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: -.02em;
}

[data-bs-theme="dark"] .nube-plans-head {
    background: var(--nube-sidebar);
}

.nube-plan-name {
    gap: 1rem;
    background: var(--plan-color);
    color: #fff;
    font-size: clamp(1.35rem, 2vw, 2rem);
    font-weight: 950;
    letter-spacing: -.05em;
}

.nube-plan-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, .75);
    border-radius: 999px;
    color: #fff;
}

.nube-plan-storage,
.nube-plan-price {
    justify-content: center;
    color: var(--plan-color);
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    font-weight: 950;
    letter-spacing: -.05em;
    text-align: center;
}

.nube-plan-devices {
    justify-content: center;
    gap: 1rem;
    color: var(--nube-text);
    font-size: 2rem;
    font-weight: 950;
}

.nube-plan-price {
    flex-direction: column;
    line-height: 1;
}

.nube-plan-price small {
    margin-top: .35rem;
    font-size: .9rem;
    font-weight: 900;
    letter-spacing: .04em;
}

.nube-plan-action {
    justify-content: center;
}

.nube-benefits-card,
.nube-extra-storage-card,
.nube-plans-message-card {
    border: 1px solid var(--nube-border);
    border-radius: 24px;
    background: var(--nube-surface);
    box-shadow: var(--nube-shadow-soft);
}

.nube-benefits-card {
    padding: clamp(1.5rem, 4vw, 2.5rem);
}

.nube-benefits-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1rem;
}

.nube-benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .9rem;
    min-height: 150px;
    padding: 1rem;
    border: 1px solid var(--nube-border);
    border-radius: 18px;
    color: var(--nube-text);
    text-align: center;
}

.nube-plans-message-card {
    display: flex;
    align-items: center;
    min-height: 190px;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    background: var(--nube-primary-strong);
    color: #fff;
}

[data-bs-theme="dark"] .nube-plans-message-card {
    background: var(--nube-sidebar);
}

.nube-plans-message-card p {
    color: #fff;
    font-size: clamp(1.55rem, 3vw, 2.4rem);
    font-weight: 950;
    line-height: 1.14;
    letter-spacing: -.05em;
}

.nube-extra-storage-card {
    padding: clamp(1.5rem, 4vw, 2.25rem);
    background: var(--nube-primary-strong);
    color: #fff;
}

[data-bs-theme="dark"] .nube-extra-storage-card {
    background: var(--nube-sidebar);
}

.nube-extra-storage-card h3,
.nube-extra-storage-card p,
.nube-extra-storage-card strong {
    color: #fff !important;
}

.nube-plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--nube-border);
    border-radius: 26px;
    background: var(--nube-surface);
    box-shadow: var(--nube-shadow-soft);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.nube-plan-card:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--plan-color) 45%, var(--nube-border));
    box-shadow: var(--nube-shadow);
}

.nube-plan-card:before {
    content: "";
    display: block;
    height: 5px;
    background: var(--plan-color);
}

.nube-plan-card-top {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 1.5rem 1rem;
}

.nube-plan-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    min-width: 58px;
    height: 58px;
    border-radius: 18px;
    background: color-mix(in srgb, var(--plan-color) 9%, var(--nube-surface));
    color: var(--plan-color);
}

.nube-plan-card-kicker {
    color: var(--nube-muted);
    font-size: .75rem;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.nube-plan-card h2 {
    margin: 0;
    color: var(--nube-text);
    font-size: clamp(1.5rem, 2.5vw, 2.15rem);
    font-weight: 950;
    letter-spacing: -.06em;
}

.nube-plan-card-body {
    display: flex;
    flex-direction: column;
    gap: .85rem;
    padding: .75rem 1.5rem 1.5rem;
    flex: 1;
}

.nube-plan-spec {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--nube-border);
    border-radius: 16px;
    background: color-mix(in srgb, var(--nube-surface-alt) 52%, transparent);
}

.nube-plan-spec span,
.nube-plan-price-block span {
    color: var(--nube-muted);
    font-weight: 800;
}

.nube-plan-spec strong {
    color: var(--nube-text);
    font-size: 1.25rem;
    font-weight: 950;
    letter-spacing: -.04em;
}

.nube-plan-price-block {
    margin-top: .25rem;
    padding: 1.25rem;
    border-radius: 18px;
    background: var(--nube-surface-alt);
    border: 1px solid var(--nube-border);
}

.nube-plan-price-options {
    display: grid;
    gap: .85rem;
}

.nube-plan-price-block-monthly {
    background: color-mix(in srgb, var(--plan-color) 10%, var(--nube-surface-alt));
    border-color: color-mix(in srgb, var(--plan-color) 28%, var(--nube-border));
}

.nube-plan-price-block strong {
    display: block;
    margin-top: .4rem;
    color: var(--nube-text);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 950;
    line-height: 1;
    letter-spacing: -.065em;
}

.nube-plan-price-block small {
    display: block;
    margin-top: .35rem;
    color: var(--nube-muted);
    font-weight: 950;
    letter-spacing: .08em;
}

.nube-plan-card-footer {
    padding: 0 1.5rem 1.5rem;
}

.nube-section-card {
    padding: clamp(1.25rem, 3vw, 2rem);
}

.nube-pricing-card {
    transition: transform .18s ease, box-shadow .18s ease;
}

.nube-pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--nube-shadow);
}

.breadcrumb {
    color: var(--nube-muted);
}

.app-footer {
    color: var(--nube-muted);
}

@media (max-width: 991.98px) {
    .nube-auth-story {
        min-height: auto;
    }

    .nube-trust-grid {
        grid-template-columns: 1fr;
    }

    .nube-proof-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nube-hero-visual {
        min-height: auto;
    }

    .nube-landing-hero {
        min-height: auto;
    }

    .nube-benefits-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nube-plans-title {
        font-size: clamp(2.4rem, 12vw, 4.2rem);
    }
}

@media (max-width: 575.98px) {
    #kt_app_content {
        padding-top: 18px;
    }

    .nube-theme-toggle span {
        display: none;
    }

    .nube-theme-toggle-strong {
        min-width: 46px;
        padding-inline: .7rem;
    }

    .nube-landing-nav .btn {
        padding-left: .9rem;
        padding-right: .9rem;
    }

    .nube-proof-strip {
        grid-template-columns: 1fr;
    }

    .nube-benefits-grid {
        grid-template-columns: 1fr;
    }

    .nube-plans-hero {
        padding: 1.5rem;
    }
}
