:root {
    --primary: #1855CF;
    --primary-dk: #0f3a9e;
    --primary-lt: #3b82f6;
    --hero-from: #2e1065;
    --hero-mid: #3730a3;
    --hero-to: #4f46e5;
    --surface: #ffffff;
    --surface-2: #f8f9fb;
    --bg: #E9ECF5;
    --border: #e2e8f0;
    --success: #10b981;
    --success-bg: #d1fae5;
    --warning: #f59e0b;
    --warning-bg: #fef3c7;
    --danger: #ef4444;
    --danger-bg: #fee2e2;
    --info: #6366f1;
    --info-bg: #e0e7ff;
    --text: #1e2a3a;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --r-sm: 0.5rem;
    --r-md: 0.9rem;
    --r-lg: 1.2rem;
    --r-xl: 1.6rem;
    --sh-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --sh-md: 0 4px 20px rgba(0, 0, 0, 0.10);
    --sh-lg: 0 8px 40px rgba(24, 85, 207, 0.18);
    --ease: cubic-bezier(.4, 0, .2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
}

/* ── NAVBAR ── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    height: 68px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow .3s var(--ease);
}

nav.scrolled {
    box-shadow: var(--sh-md);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
}

.nav-brand .brand-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--primary), var(--hero-to));
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.15rem;
    box-shadow: var(--sh-lg);
}

.nav-brand span {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text);
}

.nav-brand span em {
    font-style: normal;
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    transition: color .2s;
}

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

.btn-login {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1.3rem;
    background: var(--primary);
    color: #fff !important;
    border-radius: var(--r-md);
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    transition: background .2s var(--ease), transform .15s, box-shadow .2s;
    box-shadow: 0 4px 14px rgba(24, 85, 207, 0.35);
}

.btn-login:hover {
    background: var(--primary-dk);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(24, 85, 207, 0.45);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.4rem;
    color: var(--text);
}

/* ── HERO ── */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--hero-from) 0%, var(--hero-mid) 50%, var(--hero-to) 100%);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 100px 5% 80px;
}

/* Decorative grid */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

/* Glowing orbs */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.25;
    pointer-events: none;
}

.hero-orb-1 {
    width: 500px;
    height: 500px;
    background: var(--primary-lt);
    top: -120px;
    right: -100px;
    animation: drift 8s ease-in-out infinite alternate;
}

.hero-orb-2 {
    width: 350px;
    height: 350px;
    background: #a855f7;
    bottom: -80px;
    left: 15%;
    animation: drift 10s ease-in-out infinite alternate-reverse;
}

@keyframes drift {
    from {
        transform: translate(0, 0) scale(1);
    }

    to {
        transform: translate(30px, 20px) scale(1.08);
    }
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    padding: 0.35rem 1rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.4rem;
    width: fit-content;
    animation: fadeUp .6s var(--ease) both;
}

.hero-badge .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.3);
    animation: pulse 2s ease infinite;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.3);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.12);
    }
}

.hero h1 {
    font-family: 'Sora', sans-serif;
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 1.2rem;
    animation: fadeUp .7s var(--ease) .1s both;
}

.hero h1 span {
    background: linear-gradient(90deg, #93c5fd, #c4b5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.05rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 2rem;
    animation: fadeUp .7s var(--ease) .2s both;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeUp .7s var(--ease) .3s both;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.8rem;
    border-radius: var(--r-md);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all .2s var(--ease);
}

.btn-hero-primary {
    background: #fff;
    color: var(--primary);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}

.btn-hero-primary:hover {
    background: #f1f5ff;
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.3);
}

.btn-hero-ghost {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
}

.btn-hero-ghost:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
}

/* Hero visual mockup */
.hero-visual {
    animation: fadeUp .8s var(--ease) .25s both;
}

.mockup-card {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--r-xl);
    padding: 1.5rem;
    backdrop-filter: blur(16px);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
}

.mockup-topbar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
}

.mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.d-red {
    background: #ef4444;
}

.d-yellow {
    background: #f59e0b;
}

.d-green {
    background: #10b981;
}

.mockup-title {
    font-family: 'Sora', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    margin-left: auto;
}

.mockup-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.stat-box {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--r-md);
    padding: 0.9rem 1rem;
}

.stat-box .stat-label {
    font-size: 0.7rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 0.25rem;
}

.stat-box .stat-val {
    font-family: 'Sora', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
}

.stat-box .stat-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--success);
    margin-top: 0.15rem;
}

.mockup-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mockup-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--r-sm);
    padding: 0.6rem 0.8rem;
}

.mockup-row-icon {
    width: 28px;
    height: 28px;
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.mockup-row-text {
    flex: 1;
}

.mockup-row-text p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.3;
}

.mockup-row-text span {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.35);
}

.mockup-row-amount {
    font-family: 'Sora', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    color: #fff;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── STATS BAR ── */
.stats-bar {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 1.8rem 5%;
}

.stats-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    text-align: center;
}

.stat-item {}

.stat-item .val {
    font-family: 'Sora', sans-serif;
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-item .lbl {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 0.35rem;
}

.stat-divider {
    width: 1px;
    background: var(--border);
    margin: auto;
    height: 40px;
    display: none;
}

/* ── SECTION WRAPPER ── */
section {
    padding: 90px 5%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--info-bg);
    color: var(--info);
    border-radius: 999px;
    padding: 0.3rem 0.9rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--text);
    line-height: 1.2;
    margin-bottom: 0.8rem;
}

.section-title span {
    color: var(--primary);
}

.section-desc {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.75;
    max-width: 540px;
}

/* ── FEATURES ── */
#features {
    background: var(--surface-2);
}

.features-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.features-header .section-desc {
    margin: 0 auto;
}

.features-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 0.55rem 1.2rem;
    border-radius: 999px;
    border: 1.5px solid var(--border);
    background: var(--surface);
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 0.88rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: all .2s var(--ease);
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}

.feat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 1.5rem;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

.feat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sh-lg);
}

.feat-icon {
    width: 46px;
    height: 46px;
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.feat-card h3 {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text);
    margin-bottom: 0.45rem;
}

.feat-card p {
    font-size: 0.85rem;
    line-height: 1.65;
    color: var(--text-muted);
}

/* ── HOW IT WORKS ── */
#how {
    background: var(--surface);
}

.how-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.step {
    display: flex;
    gap: 1.2rem;
    padding: 1.2rem;
    border-radius: var(--r-lg);
    transition: background .2s;
    cursor: default;
}

.step:hover {
    background: var(--bg);
}

.step-num {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 0.95rem;
    background: linear-gradient(135deg, var(--primary), var(--hero-to));
    color: #fff;
    box-shadow: 0 4px 12px rgba(24, 85, 207, 0.35);
}

.step-body h4 {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text);
    margin-bottom: 0.3rem;
}

.step-body p {
    font-size: 0.85rem;
    line-height: 1.65;
    color: var(--text-muted);
}

.how-visual {
    background: linear-gradient(145deg, var(--hero-from), var(--hero-to));
    border-radius: var(--r-xl);
    padding: 2rem;
    box-shadow: var(--sh-lg);
    position: relative;
    overflow: hidden;
}

.how-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.role-card {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--r-lg);
    padding: 1.2rem;
    margin-bottom: 0.8rem;
    backdrop-filter: blur(8px);
}

.role-card:last-child {
    margin-bottom: 0;
}

.role-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.role-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
}

.role-name {
    font-family: 'Sora', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    color: #fff;
}

.role-sub {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.5);
}

.role-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.role-tag {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    padding: 0.2rem 0.65rem;
    font-size: 0.7rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
}

/* ── TECH STACK ── */
#tech {
    background: var(--surface-2);
}

.tech-header {
    text-align: center;
    margin-bottom: 3rem;
}

.tech-header .section-desc {
    margin: 0 auto;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.tech-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 1.4rem 1rem;
    text-align: center;
    transition: transform .2s var(--ease), box-shadow .2s;
}

.tech-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--sh-md);
    border-color: var(--primary-lt);
}

.tech-item i {
    font-size: 1.8rem;
    margin-bottom: 0.6rem;
    display: block;
}

.tech-item .tech-name {
    font-family: 'Sora', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text);
}

.tech-item .tech-desc {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
}

/* ── ROLES ── */
#roles {
    background: var(--surface);
}

.roles-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.role-panel {
    border-radius: var(--r-xl);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.role-panel.admin {
    background: linear-gradient(145deg, var(--hero-from), var(--hero-mid));
    color: #fff;
}

.role-panel.vendor {
    background: linear-gradient(145deg, #0c4a6e, #0369a1);
    color: #fff;
}

.role-panel h3 {
    font-family: 'Sora', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.role-panel p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.role-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.role-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.87rem;
    color: rgba(255, 255, 255, 0.85);
}

.role-features li i {
    color: var(--success);
    font-size: 0.9rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.role-panel .role-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    padding: 0.3rem 0.8rem;
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

/* ── CTA ── */
#cta {
    background: linear-gradient(135deg, var(--hero-from), var(--hero-mid), var(--hero-to));
    padding: 100px 5%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

#cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
}

#cta .container {
    position: relative;
    z-index: 1;
}

#cta h2 {
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
}

#cta p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.68);
    margin-bottom: 2.5rem;
}

#cta .btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2.2rem;
    background: #fff;
    color: var(--primary);
    border-radius: var(--r-md);
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all .2s var(--ease);
}

#cta .btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4);
}

/* ── FOOTER ── */
footer {
    background: var(--text);
    color: rgba(255, 255, 255, 0.5);
    padding: 2rem 5%;
    text-align: center;
    font-size: 0.83rem;
}

footer span {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* ── REVEAL ANIMATION ── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .6s var(--ease), transform .6s var(--ease);
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

/* ── BOTÓN MANUAL FLOTANTE ── */
.btn-manual-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 58px;
    height: 58px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: var(--sh-lg);
    z-index: 1000;
    text-decoration: none;
    transition: all 0.3s var(--ease);
}

.btn-manual-float:hover {
    background: var(--primary-dk);
    transform: translateY(-4px) scale(1.05);
}

.btn-manual-float:active {
    transform: scale(0.95);
}

/* ── MOBILE ── */
@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero-visual {
        display: none;
    }

    .stats-bar-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .tab-content.active {
        grid-template-columns: 1fr 1fr;
    }

    .how-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .how-visual {
        order: -1;
    }

    .roles-grid {
        grid-template-columns: 1fr;
    }
}

/* ── OVERLAY MENÚ ── */
.menu-overlay {
    position: fixed;
    inset: 0;
    background: transparent; 
    backdrop-filter: none;
    opacity: 0;
    visibility: hidden;
    z-index: 99;
    transition: all 0.3s var(--ease);
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 600px) {
    .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: calc(100% - 5px);
        right: 5%;
        height: auto;
        width: auto;
        min-width: 200px;
        background: #fff;
        padding: 12px 0;
        gap: 0;
        z-index: 101;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px) scale(0.95);
        transform-origin: top right;
        transition: all 0.2s var(--ease);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        border-radius: 14px;
        border: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-links.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
    }

    /* Triangulito indicador */
    .nav-links::before {
        content: '';
        position: absolute;
        top: -6.5px;
        right: 18px;
        width: 12px;
        height: 12px;
        background: #fff;
        transform: rotate(45deg);
        border-left: 1px solid rgba(0, 0, 0, 0.05);
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links li a {
        display: block;
        padding: 10px 24px;
        font-size: 0.92rem;
        color: var(--text);
        text-align: left;
        white-space: nowrap;
        transition: background 0.2s, color 0.2s;
    }

    .nav-links li a:hover {
        background: var(--surface-2);
        color: var(--primary);
    }

    /* Ítem de login especial en móvil */
    .nav-links .btn-login {
        background: transparent !important;
        color: var(--primary) !important;
        box-shadow: none !important;
        padding: 12px 24px !important;
        border-radius: 0 !important;
        margin-top: 8px !important;
        border-top: 1px solid var(--border) !important;
        font-weight: 700 !important;
        font-size: 0.92rem !important;
        width: 100%;
    }

    .nav-links .btn-login:hover {
        background: var(--surface-2) !important;
        transform: none !important;
    }

    .nav-links .btn-login i {
        color: var(--primary);
    }

    .nav-toggle {
        display: block;
    }

    .stats-bar-inner {
        grid-template-columns: 1fr 1fr;
    }

    .tab-content.active {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    /* Ajustes Manual */
    .nav-manual {
        display: none !important;
    }

    .btn-manual-float {
        display: flex;
    }
}