.hero-orb-1 {
    position: absolute;
    top: -160px;
    right: -160px;
    width: 420px;
    height: 420px;
    border-radius: 999px;
    background: rgba(91, 142, 202, .10);
    filter: blur(40px);
}

.hero-orb-2 {
    position: absolute;
    bottom: 60px;
    left: -120px;
    width: 320px;
    height: 320px;
    border-radius: 999px;
    background: rgba(18, 113, 65, .10);
    filter: blur(40px);
}

.hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(0, 72, 70, .06);
    color: var(--color-primary);
    font-weight: 600;
    font-size: .92rem;
}

.hero-chip .pulse-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--color-primary-light);
    animation: pulseDot 1.2s ease-in-out infinite;
}

@keyframes pulseDot {

    0%,
    100% {
        transform: scale(1);
        opacity: .9;
    }

    50% {
        transform: scale(1.4);
        opacity: .55;
    }
}

.hero-media {
    border-radius: 1.75rem;
    /* background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light)); */
    padding: 6px;
}

.hero-media .inner {
    /* background: #fff; */
    border-radius: 1.65rem;
    padding: 14px;
}

.hero-media img {
    width: 100%;
    border-radius: 1.25rem;
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

.float-card {
    position: absolute;
    background: #fff;
    border-radius: 1.25rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .10);
    border: 1px solid rgba(0, 0, 0, .06);
    padding: 14px 16px;
    width: 220px;
}

.float-card .iconbox {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.float-card .label {
    font-size: 12px;
    color: #6c757d;
    font-weight: 700;
}

.float-card .value {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
}

.feature-card {
    border-radius: 1.25rem;
    border: 1px solid #eef0f2;
    background: #fff;
    padding: 2rem;
    transition: all .25s ease;
    height: 100%;
}

.feature-card:hover {
    border-color: rgba(0, 72, 70, .20);
    box-shadow: 0 .75rem 2rem rgba(0, 0, 0, .08);
    transform: translateY(-2px);
}

.feature-ico {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: var(--color-bg-light);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .25s ease;
}

.feature-card:hover .feature-ico {
    background: var(--color-primary);
}

.feature-card:hover .feature-ico i {
    color: #fff !important;
}

.feature-card:hover .feature-ico svg,
.feature-card:hover .feature-ico svg * {
    stroke: #fff !important;
    fill: none !important;
    /* por si algún icono usa fill */
}

.usecase-card {
    border-radius: 1.25rem;
    overflow: hidden;
    background: #fff;
    border: 1px solid #eef0f2;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .06);
    transition: all .2s ease;
    height: 100%;
}

.usecase-card:hover {
    box-shadow: 0 18px 40px rgba(0, 0, 0, .10);
    transform: translateY(-2px);
}

.usecase-img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.badge-type {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 600;
    background: var(--color-bg-light);
    color: var(--color-primary);
}

.check-li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.step-card {
    text-align: center;
    position: relative;
}

.step-icon {
    width: 96px;
    height: 96px;
    border-radius: 22px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.step-badge {
    position: absolute;
    top: -6px;
    right: calc(50% - 56px);
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: var(--color-accent-yellow);
    color: var(--color-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    border: 4px solid #fff;
}

@media (min-width: 992px) {
    .step-connector {
        position: absolute;
        top: 48px;
        left: 65%;
        width: 100%;
        height: 2px;
        background: linear-gradient(to right, rgba(0, 72, 70, .20), transparent);
        z-index: -1;
    }
}

.testimonial-card {
    border-radius: 1.25rem;
    background: #fff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .07);
    padding: 2rem;
    height: 100%;
}

.star-fill {
    fill: var(--color-accent-yellow);
}

.module-core {
    border-radius: 1.75rem;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: #fff;
    padding: 2rem;
    height: 100%;
}

.module-mini {
    border-radius: 1.25rem;
    background: #fff;
    border: 1px solid #e9ecef;
    padding: 1.25rem;
    transition: all .2s ease;
    height: 100%;
}

.module-mini:hover {
    border-color: rgba(0, 72, 70, .30);
    box-shadow: 0 14px 28px rgba(0, 0, 0, .08);
    transform: translateY(-2px);
}

.dark-metrics {
    background: var(--color-dark);
}

.metric-card {
    text-align: center;
}

.metric-ico {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .10);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

/* HERO STATS */
.hero-stats {
    row-gap: 1.25rem;
}

/* Item */
/* .hero-stat-item {
    min-width: 120px;
} */

/* Icon badge */
.hero-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(0, 72, 70, .08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.hero-stat-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--color-primary);
}

/* Texto en una sola línea */
.hero-stat-text {
    display: flex;
    align-items: baseline;
    gap: 6px;
    white-space: nowrap;
}

/* Valor */
.hero-stat-value {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1;
    color: var(--color-primary);
}

/* Label */
.hero-stat-label {
    font-size: .75rem;
    font-weight: 500;
    color: var(--color-secondary-p);
}


/* Demo interactive */

.demo-shell {
    background: radial-gradient(120% 120% at top left, #1c2a3a, #0f172a);
    color: #fff;
    box-shadow: 0 40px 80px rgba(0, 0, 0, .25);
}

.demo-steps {
    display: flex;
    gap: .75rem;
    margin-bottom: 1.5rem;
}

.demo-step {
    flex: 1;
    text-align: center;
    padding: .4rem .75rem;
    font-size: .75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .6);
    font-weight: 600;
}

.demo-step.active {
    background: rgba(16, 185, 129, .15);
    color: #10b981;
}

.demo-table {
    width: 100%;
    border-radius: 1rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .15);
    color: #fff;
    text-align: center;
    transition: all .2s ease;
}

.demo-table:hover {
    background: rgba(255, 255, 255, .12);
    transform: translateY(-2px);
}

.demo-table.disabled {
    opacity: .45;
    pointer-events: none;
}

.demo-card {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 1rem;
    padding: 1.25rem;
}

.demo-btn {
    background: #127141;
    border: none;
    color: #fff;
    padding: .9rem 1.25rem;
    border-radius: .75rem;
    font-weight: 600;
}

.demo-btn.secondary {
    background: rgba(255, 255, 255, .12);
}

.demo-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .9rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.demo-pay {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.demo-pay button {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: .75rem;
    padding: 1rem;
    color: #fff;
    font-weight: 600;
}

/* DEMO HEADER */

.demo-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.demo-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
}

.demo-subtitle {
    font-size: .85rem;
    color: rgba(255, 255, 255, .65);
    margin-top: 2px;
}

.demo-reset-btn {
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .18);
    color: #fff;
    padding: .5rem 1rem;
    border-radius: .6rem;
    font-size: .75rem;
    font-weight: 600;
    transition: all .2s ease;
}

.demo-reset-btn:hover {
    background: rgba(255, 255, 255, .20);
    transform: translateY(-1px);
}


.demo-item .small {
    opacity: .7;
    font-size: .75rem;
}

.demo-list {
    max-height: 260px;
    overflow-y: auto;
}

/* Scroll elegante */
.demo-list::-webkit-scrollbar {
    width: 6px;
}

.demo-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, .25);
    border-radius: 6px;
}

.demo-list::-webkit-scrollbar-track {
    background: transparent;
}

/* ===============================
   CART SCROLL
   =============================== */

.demo-cart-list {
    max-height: 120px;
    overflow-y: auto;
    padding-right: 6px;
    margin-bottom: .75rem;
}

/* Scroll elegante */
.demo-cart-list::-webkit-scrollbar {
    width: 6px;
}

.demo-cart-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, .25);
    border-radius: 6px;
}

.demo-cart-list::-webkit-scrollbar-track {
    background: transparent;
}

/* ===============================
   QTY CONTROLS
   =============================== */

.qty-controls {
    display: flex;
    align-items: center;
    gap: .4rem;
}

.qty-btn {
    width: 32px;
    height: 32px;
    border-radius: .6rem;
    border: none;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .15s ease;
}

.qty-btn:hover {
    background: rgba(255, 255, 255, .22);
}

.qty-btn:active {
    transform: scale(.92);
}

.qty-btn.plus {
    background: rgba(16, 185, 129, .25);
    color: #10b981;
}

.qty-btn.plus:hover {
    background: rgba(16, 185, 129, .35);
}

.qty-value {
    min-width: 20px;
    text-align: center;
    font-weight: 700;
}

/* ===============================
   DEMO ITEM REFINES
   =============================== */

.demo-item {
    padding: .75rem 0;
}

.demo-item:last-child {
    border-bottom: none;
}

/* ===============================
   TOTAL & CTA STICKY FEEL
   =============================== */

.demo-card .demo-item.fw-bold {
    border-top: 1px solid rgba(255, 255, 255, .18);
    padding-top: .75rem;
    margin-top: .5rem;
}

/* ===============================
   ADD BUTTON (PRODUCT LIST)
   =============================== */

.demo-btn.secondary {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-weight: 700;
}

.demo-btn.secondary:hover {
    background: rgba(255, 255, 255, .18);
    transform: translateY(-1px);
}

.demo-btn.secondary:active {
    transform: scale(.96);
}


/* Responsive */
@media (max-width:576px) {
    .hero-stats {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr);
        gap: .75rem;
    }

    .hero-stat-item {
        min-width: unset;
        justify-content: center;
        text-align: center;
    }

    .hero-stat-item>div:last-child {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-stat-icon {
        width: 40px;
        height: 40px;
    }
}