
:root {
    --primary: #ff6b3d;
    --primary-dark: #e85a2d;
    --primary-light: #fff3f0;
    --accent: #f97316;
    --accent-light: #fff7ed;
    --warn: #f59e0b;
    --danger: #ef4444;
    --dark: #0f172a;
    --dark2: #1e293b;
    --muted: #64748b;
    --border: #f1f5f9;
    --bg: #fafafa;
    --white: #ffffff;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 4px 20px rgba(255, 107, 61, 0.08);
    --shadow-lg: 0 16px 48px rgba(18, 18, 18, 0.12);
}

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

html {
    scroll-behavior: smooth
}

body {
    font-family: 'Nunito', sans-serif;
    color: var(--dark);
    background: var(--white);
    -webkit-font-smoothing: antialiased
}

a {
    text-decoration: none;
    color: inherit
}

img {
    max-width: 100%
}

/* ─── NAVBAR ─── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow .3s
}

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

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Utilidades para el logo web component */
.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.gap-2 {
    gap: 8px;
}

.text-2xl {
    font-size: 1.5rem;
}

.tracking-tight {
    letter-spacing: -0.025em;
}

.leading-none {
    line-height: 1;
}

.font-light {
    font-weight: 300;
}

.font-black {
    font-weight: 900;
}

.mt-1 {
    margin-top: 4px;
}

.hover\:opacity-80:hover {
    opacity: 0.8;
}

.transition-opacity {
    transition: opacity 0.2s;
}

@media(max-width: 640px) {
    .hidden {
        display: none !important;
    }
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-links a {
    padding: 6px 14px;
    border-radius: 8px;
    font-size: .9rem;
    font-weight: 600;
    color: var(--muted);
    transition: all .2s
}

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

.nav-cta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 20px;
    border-radius: 50px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: .88rem;
    border: none;
    cursor: pointer;
    transition: all .25s;
    text-align: center
}

.btn-primary {
    background: var(--primary);
    color: #fff
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(255, 107, 61, .35)
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary)
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff
}

.btn-accent {
    background: var(--accent);
    color: #fff
}

.btn-accent:hover {
    background: #15803d;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(249, 115, 22, .3)
}

.btn-lg {
    padding: 13px 30px;
    font-size: 1rem
}

.btn-xl {
    padding: 15px 36px;
    font-size: 1.05rem;
    border-radius: 14px
}

/* ─── HERO ─── */
.hero {
    min-height: auto;
    padding: 130px 0 80px;
    background: linear-gradient(135deg, #fffcfb 0%, #fff5f2 40%, #fffcfb 100%);
    position: relative;
    overflow: hidden
}

.hero::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 107, 61, .06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(249, 115, 22, .07) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none
}

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

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 6px 14px 6px 8px;
    font-size: .8rem;
    font-weight: 700;
    color: var(--muted);
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06)
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: .4
    }
}

.hero-tag {
    background: var(--accent);
    color: #fff;
    border-radius: 50px;
    padding: 2px 10px;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .5px
}

.hero h1 {
    font-size: clamp(2rem, 4vw, 3.1rem);
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -1px;
    margin-bottom: 18px
}

.hero h1 .hl {
    color: var(--primary)
}

.hero p.lead {
    font-size: 1.05rem;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 28px;
    font-weight: 500
}

.hero-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 32px
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap
}

.hero-trust-text {
    font-size: .82rem;
    font-weight: 700;
    color: var(--muted)
}

.hero-trust-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 4px 10px;
    font-size: .77rem;
    font-weight: 700;
    color: var(--dark2);
    box-shadow: 0 1px 4px rgba(0, 0, 0, .05)
}

.trust-badge svg,
.trust-badge .icon {
    color: var(--accent);
    font-size: .85rem
}

/* ─── DASHBOARD MOCKUP ─── */
.dashboard-wrap {
    position: relative;
    z-index: 2
}

.db-window {
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0, 0, 0, .05);
    overflow: hidden;
    animation: floatUp .8s ease forwards
}

@keyframes floatUp {
    from {
        opacity: 0;
        transform: translateY(30px)
    }

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

.db-bar {
    background: var(--dark);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 8px
}

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

.db-dot.r {
    background: #ff5f57
}

.db-dot.y {
    background: #febc2e
}

.db-dot.g {
    background: #28c840
}

.db-url {
    flex: 1;
    background: rgba(255, 255, 255, .1);
    border-radius: 6px;
    padding: 3px 12px;
    font-size: .72rem;
    color: rgba(255, 255, 255, .6);
    font-family: monospace;
    margin: 0 12px
}

.db-body {
    display: grid;
    grid-template-columns: 200px 1fr;
    height: 460px
}

.db-sidebar {
    background: var(--dark2);
    padding: 0;
    overflow: hidden
}

.db-sidebar-header {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    display: flex;
    align-items: center;
    gap: 8px
}

.db-sidebar-logo {
    font-size: .82rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -.3px
}

.db-sidebar-logo span {
    color: var(--primary);
    font-size: .7rem;
    background: rgba(255, 107, 61, .2);
    border-radius: 4px;
    padding: 1px 5px;
    margin-left: 4px
}

.db-sidebar-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .65rem;
    font-weight: 800;
    color: #fff;
    margin-left: auto
}

.db-nav-section {
    padding: 8px 0
}

.db-nav-label {
    padding: 6px 16px 2px;
    font-size: .58rem;
    font-weight: 800;
    color: rgba(255, 255, 255, .3);
    letter-spacing: 1px;
    text-transform: uppercase
}

.db-nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    font-size: .72rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .5);
    cursor: pointer;
    transition: all .15s;
    border-left: 2px solid transparent
}

.db-nav-item:hover {
    color: #fff;
    background: rgba(255, 255, 255, .04)
}

.db-nav-item.active {
    color: #fff;
    background: rgba(255, 107, 61, .2);
    border-left-color: var(--primary)
}

.db-nav-item .ni {
    font-size: .8rem;
    width: 16px;
    text-align: center
}

.db-main {
    background: var(--bg);
    padding: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 12px
}

.db-header {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.db-title {
    font-size: .85rem;
    font-weight: 800;
    color: var(--dark)
}

.db-date {
    font-size: .7rem;
    font-weight: 600;
    color: var(--muted)
}

.db-kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px
}

.kpi {
    background: #fff;
    border-radius: 10px;
    padding: 10px 12px;
    border: 1px solid var(--border)
}

.kpi-label {
    font-size: .62rem;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 4px
}

.kpi-value {
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--dark);
    letter-spacing: -.5px
}

.kpi-delta {
    font-size: .65rem;
    font-weight: 700;
    margin-top: 2px
}

.kpi-delta.up {
    color: var(--accent)
}

.kpi-delta.warn {
    color: var(--warn)
}

.db-table-wrap {
    background: #fff;
    border-radius: 10px;
    border: 1px solid var(--border);
    overflow: hidden;
    flex: 1
}

.db-table-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    border-bottom: 1px solid var(--border)
}

.db-table-title {
    font-size: .75rem;
    font-weight: 800;
    color: var(--dark)
}

.db-table-filter {
    font-size: .65rem;
    font-weight: 700;
    color: var(--primary);
    background: var(--primary-light);
    padding: 2px 8px;
    border-radius: 50px
}

.db-rows {}

.db-row {
    display: grid;
    grid-template-columns: 80px 1fr 80px 70px;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-bottom: 1px solid var(--border);
    font-size: .68rem
}

.db-row:last-child {
    border-bottom: none
}

.db-row-ref {
    font-weight: 800;
    color: var(--primary)
}

.db-row-client {
    font-weight: 600;
    color: var(--dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.db-row-client small {
    display: block;
    color: var(--muted);
    font-size: .6rem;
    font-weight: 500
}

.db-tag {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 7px;
    border-radius: 50px;
    font-size: .6rem;
    font-weight: 700
}

.tag-green {
    background: #dcfce7;
    color: #15803d
}

.tag-yellow {
    background: #fef9c3;
    color: #92400e
}

.tag-blue {
    background: #dbeafe;
    color: #1d4ed8
}

.tag-orange {
    background: #ffedd5;
    color: #c2410c
}

.tag-gray {
    background: #f1f5f9;
    color: #475569
}

.db-progress {
    width: 100%;
    height: 5px;
    background: var(--border);
    border-radius: 10px;
    overflow: hidden
}

.db-progress-bar {
    height: 100%;
    border-radius: 10px;
    transition: width .3s
}

.pg-green {
    background: var(--accent)
}

.pg-blue {
    background: var(--primary)
}

.pg-yellow {
    background: var(--warn)
}

.pg-orange {
    background: #f97316
}

/* ─── TICKER ─── */
.ticker {
    background: var(--dark);
    padding: 10px 0;
    overflow: hidden
}

.ticker-inner {
    display: flex;
    gap: 40px;
    animation: ticker 30s linear infinite;
    white-space: nowrap
}

@keyframes ticker {
    from {
        transform: translateX(0)
    }

    to {
        transform: translateX(-50%)
    }
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .78rem;
    font-weight: 700;
    color: rgba(255, 255, 255, .7)
}

.ticker-item .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent)
}

.ticker-item .new {
    color: var(--accent);
    font-size: .65rem;
    background: rgba(249, 115, 22, .15);
    padding: 1px 6px;
    border-radius: 50px;
    border: 1px solid rgba(249, 115, 22, .3)
}

/* ─── SECTION COMMONS ─── */
section {
    padding: 80px 0
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50px;
    padding: 4px 14px;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .5px;
    text-transform: uppercase;
    margin-bottom: 14px
}

.section-title {
    font-size: clamp(1.6rem, 3vw, 2.5rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -.5px;
    margin-bottom: 12px
}

.section-sub {
    font-size: 1rem;
    color: var(--muted);
    line-height: 1.7;
    max-width: 560px;
    font-weight: 500
}

.text-center .section-sub {
    margin: 0 auto
}

.text-center {
    text-align: center
}

/* ─── LOGOS BAND ─── */
.logos-band {
    padding: 32px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: #fafbfc
}

.logos-band-label {
    font-size: .75rem;
    font-weight: 800;
    color: var(--muted);
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px
}

.logos-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap
}

.logo-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 10px;
    font-size: .8rem;
    font-weight: 800;
    color: var(--muted);
    border: 1px solid var(--border);
    background: #fff
}

.logo-icon {
    font-size: 1.1rem
}

/* ─── FEATURES GRID ─── */
.features-bg {
    background: var(--bg)
}

.feat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 48px
}

.feat-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 24px;
    border: 1px solid var(--border);
    transition: all .25s;
    position: relative;
    overflow: hidden
}

.feat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity .3s
}

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

.feat-card:hover::before {
    opacity: 1
}

.feat-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 14px
}

.feat-title {
    font-size: .95rem;
    font-weight: 800;
    margin-bottom: 6px
}

.feat-desc {
    font-size: .83rem;
    color: var(--muted);
    line-height: 1.6;
    font-weight: 500
}

.feat-list {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px
}

.feat-list li {
    font-size: .78rem;
    color: var(--dark2);
    font-weight: 600;
    display: flex;
    align-items: flex-start;
    gap: 6px;

}

.feat-list li::before {
    content: '✓';
    color: var(--accent);
    font-weight: 900;
    flex-shrink: 0;
    font-size: .75rem;
    margin-top: 1px
}

/* ─── BIG DASHBOARD SECTION ─── */
.dashboard-section {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden
}

.dashboard-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 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.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")
}

.db-section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center
}

.db-section-copy {}

.db-section-copy .section-label {
    background: rgba(255, 107, 61, .25);
    color: #93c5fd
}

.db-section-copy .section-title {
    color: #fff
}

.db-section-copy .section-sub {
    color: rgba(255, 255, 255, .6)
}

.db-feature-list {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px
}

.db-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 14px
}

.db-feature-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 107, 61, .25);
    border: 1px solid rgba(255, 107, 61, .2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .95rem;
    flex-shrink: 0
}

.db-feature-text strong {
    display: block;
    font-size: .88rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 2px
}

.db-feature-text span {
    font-size: .8rem;
    color: rgba(255, 255, 255, .55);
    font-weight: 500;
    line-height: 1.5
}

/* ─── BIG DASHBOARD UI ─── */
.big-db {
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 16px;
    overflow: hidden
}

.big-db-bar {
    background: rgba(0, 0, 0, .3);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 6px
}

.big-db-bar .dots {
    display: flex;
    gap: 5px
}

.big-db-bar .dots span {
    width: 9px;
    height: 9px;
    border-radius: 50%
}

.big-db-bar .dots .r {
    background: #ff5f57
}

.big-db-bar .dots .y {
    background: #febc2e
}

.big-db-bar .dots .g {
    background: #28c840
}

.big-db-bar .url-bar {
    flex: 1;
    background: rgba(255, 255, 255, .07);
    border-radius: 6px;
    padding: 3px 12px;
    font-size: .68rem;
    color: rgba(255, 255, 255, .4);
    font-family: monospace;
    margin: 0 12px
}

.big-db-layout {
    display: grid;
    grid-template-columns: 180px 1fr
}

.big-db-sb {
    background: rgba(0, 0, 0, .25);
    padding: 12px 0
}

.big-db-sb-head {
    padding: 8px 14px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, .05)
}

.big-db-sb-brand {
    font-size: .75rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -.3px
}

.big-db-sb-user {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    font-size: .65rem;
    color: rgba(255, 255, 255, .5);
    font-weight: 600
}

.big-db-sb-avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .55rem;
    font-weight: 900;
    color: #fff
}

.big-db-sb-section {
    padding: 8px 0
}

.big-db-sb-label {
    padding: 4px 14px 2px;
    font-size: .55rem;
    font-weight: 800;
    color: rgba(255, 255, 255, .25);
    letter-spacing: 1px;
    text-transform: uppercase
}

.big-db-sb-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    font-size: .67rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .45);
    cursor: pointer;
    border-left: 2px solid transparent;
    transition: all .15s
}

.big-db-sb-item:hover,
.big-db-sb-item.active {
    color: #fff;
    background: rgba(255, 107, 61, .15);
    border-left-color: var(--primary)
}

.big-db-sb-item.active {
    color: #93c5fd
}

.big-db-content {
    padding: 14px;
    background: rgba(0, 0, 0, .15)
}

.big-db-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 10px
}

.big-kpi {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 8px;
    padding: 10px
}

.big-kpi-l {
    font-size: .58rem;
    font-weight: 700;
    color: rgba(255, 255, 255, .4);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 4px
}

.big-kpi-v {
    font-size: .95rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -.5px
}

.big-kpi-d {
    font-size: .6rem;
    font-weight: 700;
    margin-top: 2px
}

.big-kpi-d.up {
    color: #4ade80
}

.big-kpi-d.warn {
    color: #fbbf24
}

.big-kpi-d.danger {
    color: #f87171
}

.big-db-table {
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 8px;
    overflow: hidden
}

.big-db-table-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, .07)
}

.big-db-table-title {
    font-size: .7rem;
    font-weight: 800;
    color: rgba(255, 255, 255, .8)
}

.big-db-table-badge {
    font-size: .6rem;
    font-weight: 700;
    color: #93c5fd;
    background: rgba(255, 107, 61, .2);
    padding: 2px 8px;
    border-radius: 50px
}

.big-db-tr {
    display: grid;
    grid-template-columns: 70px 1fr 90px 60px 50px;
    gap: 6px;
    align-items: center;
    padding: 7px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, .04);
    font-size: .63rem
}

.big-db-tr:last-child {
    border-bottom: none
}

.big-db-tr .ref {
    font-weight: 800;
    color: #93c5fd
}

.big-db-tr .cli {
    font-weight: 600;
    color: rgba(255, 255, 255, .8)
}

.big-db-tr .cli small {
    display: block;
    color: rgba(255, 255, 255, .35);
    font-size: .58rem;
    font-weight: 500
}

.mini-tag {
    display: inline-flex;
    padding: 2px 7px;
    border-radius: 50px;
    font-size: .58rem;
    font-weight: 700
}

.mt-g {
    background: rgba(249, 115, 22, .2);
    color: #4ade80
}

.mt-y {
    background: rgba(245, 158, 11, .2);
    color: #fbbf24
}

.mt-b {
    background: rgba(255, 107, 61, .2);
    color: #93c5fd
}

.mt-o {
    background: rgba(249, 115, 22, .2);
    color: #fb923c
}

.mini-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, .07);
    border-radius: 10px;
    overflow: hidden
}

.mini-bar-fill {
    height: 100%;
    border-radius: 10px
}

.mf-g {
    background: #4ade80
}

.mf-b {
    background: #60a5fa
}

.mf-y {
    background: #fbbf24
}

.mf-o {
    background: #fb923c
}

/* ─── EXTRANET SECTION ─── */
.extranet-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center
}

.extranet-visual {
    position: relative
}

.extranet-card {
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 20px;
    box-shadow: var(--shadow-lg)
}

.extranet-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border)
}

.extranet-logo {
    font-size: .8rem;
    font-weight: 900;
    color: var(--primary)
}

.extranet-client {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .75rem;
    font-weight: 700;
    color: var(--dark2)
}

.extranet-av {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .7rem;
    font-weight: 800;
    color: var(--primary)
}

.op-tracking {
    margin-bottom: 16px
}

.op-tracking-title {
    font-size: .72rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between
}

.op-tracking-title span {
    color: var(--primary);
    font-size: .68rem
}

.progress-track {
    display: flex;
    gap: 0;
    margin-bottom: 8px
}

.pt-step {
    flex: 1;
    text-align: center;
    position: relative
}

.pt-step::before {
    content: '';
    position: absolute;
    top: 11px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: var(--border);
    z-index: 0
}

.pt-step:last-child::before {
    display: none
}

.pt-dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .55rem;
    font-weight: 800;
    color: var(--muted);
    margin: 0 auto 4px;
    position: relative;
    z-index: 1;
    border: 2px solid var(--border)
}

.pt-dot.done {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff
}

.pt-dot.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 0 0 3px rgba(255, 107, 61, .2)
}

.pt-label {
    font-size: .58rem;
    font-weight: 700;
    color: var(--muted)
}

.pt-label.done {
    color: var(--accent)
}

.pt-label.active {
    color: var(--primary)
}

.extranet-finance {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 12px
}

.ef-card {
    background: var(--bg);
    border-radius: 8px;
    padding: 10px 12px;
    border: 1px solid var(--border)
}

.ef-label {
    font-size: .62rem;
    font-weight: 700;
    color: var(--muted);
    margin-bottom: 4px
}

.ef-value {
    font-size: .9rem;
    font-weight: 900;
    color: var(--dark)
}

.ef-value.green {
    color: var(--accent)
}

.ef-value.blue {
    color: var(--primary)
}

.extranet-docs {
    display: flex;
    gap: 6px;
    flex-wrap: wrap
}

.doc-pill {
    display: flex;
    align-items: center;
    gap: 5px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 6px;
    padding: 5px 10px;
    font-size: .7rem;
    font-weight: 700
}

.extranet-float-badge {
    position: absolute;
    top: -14px;
    right: -14px;
    background: var(--accent);
    color: #fff;
    border-radius: 10px;
    padding: 8px 12px;
    font-size: .72rem;
    font-weight: 800;
    box-shadow: var(--shadow)
}

/* Particle Wave Animation */
.dashboard-section {
    position: relative;
    overflow: hidden;
    background: #0f172a;
    /* Fondo oscuro para que resalten las partículas */
    padding: 120px 0;
    color: #fff;
}

#particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.8;
}

.dashboard-section .container {
    position: relative;
    z-index: 2;
    /* Asegurar que el contenido esté arriba */
}

.dashboard-section .section-title,
.dashboard-section .section-sub {
    color: #fff;
}

.dashboard-section .section-label {
    background: rgba(255, 107, 61, 0.2);
    color: #ffbdad;
}

/* ─── COMPARATIVA ─── */
.comparativa-bg {
    background: linear-gradient(to bottom, var(--bg), #fff)
}

.comp-intro {
    max-width: 700px;
    margin: 0 auto 48px;
    text-align: center
}

.precio-bloques {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    margin-bottom: 48px
}

.pb {
    padding: 24px 20px;
    background: #fff;
    border-right: 1px solid var(--border);
    position: relative
}

.pb:last-child {
    border-right: none
}

.pb.featured {
    background: var(--primary);
    color: #fff
}

.pb.featured .pb-val {
    color: #fff
}

.pb.featured .pb-desc {
    color: rgba(255, 255, 255, .7)
}

.pb-badge-top {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    border-radius: 50px;
    padding: 3px 12px;
    font-size: .68rem;
    font-weight: 800;
    white-space: nowrap
}

.pb-name {
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 6px;
    color: inherit
}

.pb.featured .pb-name {
    color: rgba(255, 255, 255, .8)
}

.pb-val {
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: -1px;
    color: var(--dark);
    line-height: 1
}

.pb-desc {
    font-size: .7rem;
    color: var(--muted);
    margin-top: 4px;
    font-weight: 500;
    line-height: 1.5
}

.pb-savings {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(249, 115, 22, .1);
    color: var(--accent);
    border-radius: 50px;
    padding: 3px 10px;
    font-size: .68rem;
    font-weight: 800;
    margin-top: 8px
}

.pb.featured .pb-savings {
    background: rgba(255, 255, 255, .15);
    color: #fff
}

.comp-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    font-size: .82rem
}

.comp-table th {
    padding: 20px 24px;
    background: var(--dark);
    color: #fff;
    font-weight: 800;
    font-size: .85rem;
    text-align: left;
    border-bottom: 2px solid rgba(255, 255, 255, 0.05);
}

.comp-table th.ours {
    background: var(--primary);
    color: #fff;
    position: relative;
    text-align: center;
}

.comp-table th.ours::after {
    content: '★ TU MEJOR OPCIÓN';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    border-radius: 50px;
    padding: 4px 12px;
    font-size: .6rem;
    font-weight: 900;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.4);
    letter-spacing: 0.5px;
}

.comp-table td {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
    font-weight: 500;
    color: var(--dark2)
}

.comp-table td.ours {
    background: rgba(255, 107, 61, .03);
    font-weight: 700
}

.comp-table tr:last-child td {
    border-bottom: none
}

.comp-table tr:hover td {
    background: var(--bg)
}

.comp-table tr:hover td.ours {
    background: rgba(255, 107, 61, .06)
}

.comp-table .section-row td {
    background: var(--dark2);
    color: rgba(255, 255, 255, .7);
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 10px 24px
}

.comp-table .section-row td.ours {
    background: rgba(255, 107, 61, .15)
}

.check {
    color: var(--accent);
    font-size: .9rem;
    font-weight: 900
}

.cross {
    color: #cbd5e1;
    font-size: .85rem
}

.extra {
    color: var(--warn);
    font-size: .75rem;
    font-weight: 700
}

.price-cell {
    font-weight: 800;
    font-size: .82rem
}

.price-cell.ours {
    color: var(--primary)
}

.price-cell.high {
    color: var(--danger)
}

.price-cell.na {
    color: var(--muted);
    font-weight: 400
}

/* ─── TESTIMONIALS ─── */
.testimonials-bg {
    background: var(--bg)
}

.testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 48px
}

.testi-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 24px;
    border: 1px solid var(--border);
    transition: all .2s
}

.testi-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px)
}

.testi-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 12px;
    color: var(--warn);
    font-size: .85rem
}

.testi-text {
    font-size: .85rem;
    line-height: 1.65;
    color: var(--dark2);
    font-weight: 500;

    margin-bottom: 16px
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 10px
}

.testi-av {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .75rem;
    font-weight: 800;
    color: var(--primary)
}

.testi-name {
    font-size: .82rem;
    font-weight: 800;
    color: var(--dark)
}

.testi-role {
    font-size: .72rem;
    color: var(--muted);
    font-weight: 500
}

/* ─── STATS BAND ─── */
.stats-band {
    background: var(--primary);
    padding: 48px 0
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0
}

.stat-item {
    text-align: center;
    padding: 0 20px;
    border-right: 1px solid rgba(255, 255, 255, .15)
}

.stat-item:last-child {
    border-right: none
}

.stat-val {
    font-size: 2.2rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -1px;
    line-height: 1
}

.stat-val span {
    font-size: 1.2rem;
    vertical-align: super
}

.stat-label {
    font-size: .8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .7);
    margin-top: 4px
}

/* ─── CTA FINAL ─── */
.cta-final {
    background-image: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.85)), url('assets/fondo.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden
}

.cta-final::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 107, 61, .12) 0%, transparent 60%);
    pointer-events: none
}

.cta-final h2 {
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    font-weight: 900;
    color: #fff;
    letter-spacing: -.5px;
    margin-bottom: 12px
}

.cta-final h2 .hl {
    color: #60a5fa
}

.cta-final p {
    font-size: 1rem;
    color: rgba(255, 255, 255, .65);
    margin-bottom: 32px;
    font-weight: 500
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap
}

.cta-checks {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 24px;
    flex-wrap: wrap
}

.cta-check {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .8rem;
    font-weight: 700;
    color: rgba(255, 255, 255, .6)
}

.cta-check::before {
    content: '✓';
    color: var(--accent);
    font-weight: 900
}

.btn-white {
    background: #fff;
    color: var(--primary)
}

.btn-white:hover {
    background: #f0f5ff;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, .2)
}

/* ─── FOOTER ─── */
.footer {
    background: var(--dark);
    padding: 48px 0 24px;
    color: rgba(255, 255, 255, .6)
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px
}

.footer-brand .logo {
    font-size: 1.1rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px
}

.footer-brand p {
    font-size: .8rem;
    line-height: 1.6;
    margin-bottom: 16px
}

.footer-contact {
    font-size: .8rem;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    gap: 6px
}

.footer-contact a {
    color: rgba(255, 255, 255, .6);
    transition: color .2s
}

.footer-contact a:hover {
    color: #fff
}

.footer-col h4 {
    font-size: .78rem;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .8px;
    margin-bottom: 14px
}

.footer-col ul {

    display: flex;
    flex-direction: column;
    gap: 8px
}

.footer-col ul li a {
    font-size: .8rem;
    color: rgba(255, 255, 255, .5);
    font-weight: 500;
    transition: color .2s
}

.footer-col ul li a:hover {
    color: #fff
}

.footer-bottom {
    padding-top: 30px;
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, .05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    font-size: .75rem;
    color: rgba(255, 255, 255, .4);
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    font-size: .75rem;
    color: rgba(255, 255, 255, .4);
    transition: color .2s
}

.footer-bottom-links a:hover {
    color: #fff
}

.waba-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, .4);
    font-size: 1.5rem;
    cursor: pointer;
    animation: bounce 2s ease-in-out infinite;
    text-decoration: none
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-6px)
    }
}

/* ─── RESPONSIVE ─── */
@media(max-width:1024px) {
    .container {
        padding: 0 24px;
    }

    .precio-bloques {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media(max-width:900px) {

    .hero-grid,
    .db-section-grid,
    .extranet-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-badge,
    .section-label {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-copy h1,
    .section-title,
    .section-sub {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-ctas,
    .hero-trust,
    .cta-buttons,
    .cta-checks {
        justify-content: center;
    }

    .hero-trust-badges {
        justify-content: center;
    }

    .db-feature-item {
        text-align: left;
    }

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

    .precio-bloques {
        grid-template-columns: 1fr;
    }

    .pb {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .pb.featured {
        transform: scale(1.02);
        z-index: 10;
        margin: 10px 0;
        border: none;
    }

    .testi-grid,
    .stats-grid,
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .db-body {
        grid-template-columns: 1fr;
        height: auto;
    }

    .db-sidebar {
        display: none;
    }

    .extranet-visual {
        margin-top: 40px;
    }
}

@media(max-width:600px) {

    .feat-grid,
    .testi-grid,
    .stats-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-ctas {
        flex-direction: column;
        gap: 12px;
    }

    .btn-xl {
        width: 100%;
    }

    .nav-links {
        display: none;
    }

    .nav-inner {
        padding: 0 16px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .comp-table {
        font-size: 0.75rem;
    }

    .comp-table th,
    .comp-table td {
        padding: 12px 10px;
    }
}

/* ─── ANIMATIONS ─── */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all .6s ease
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0)
}

/* VISITOR COUNTER */
.visitor-counter {
    display: flex;
    gap: 15px;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
    background: rgba(255, 255, 255, 0.05);
    padding: 5px 12px;
    border-radius: 50px;
    align-items: center;
}

.vc-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.vc-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 10px #22c55e;
}

.vc-dot.total {
    background: #3b82f6;
    box-shadow: 0 0 10px #3b82f6;
}

.vc-val {
    color: #fff;
    font-weight: 800;
}

/* MODALS */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(8px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 20px;
}

.modal-content {
    background: #1e293b;
    width: 100%;
    max-width: 600px;
    max-height: 80vh;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    padding: 40px;
    overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.modal-h {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--accent);
}

.modal-p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 15px;
}

.status-list {

    padding: 0;
    margin-top: 25px;
}

.status-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.status-item span:first-child {
    color: #fff;
    font-weight: 500;
    font-size: 0.95rem;
}

.status-tag {
    color: #22c55e;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

/* AUTOMATION SIMULATOR */
.pulse-green {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    animation: pulse-green-anim 2s infinite;
}
@keyframes pulse-green-anim {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}
.vis-node {
    transition: all 0.4s ease;
}
.vis-node:hover {
    transform: scale(1.05);
}

/* ─── MOBILE NAVBAR & DRAWER ─── */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
    outline: none;
}
.hamburger-bar {
    width: 100%;
    height: 2px;
    background-color: var(--dark);
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}
.mobile-menu-btn.active .hamburger-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: var(--primary);
}
.mobile-menu-btn.active .hamburger-bar:nth-child(2) {
    opacity: 0;
}
.mobile-menu-btn.active .hamburger-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background-color: var(--primary);
}

.mobile-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    z-index: 1040;
    transition: opacity 0.3s ease;
}
.mobile-drawer-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
    z-index: 1050;
    padding: 100px 32px 40px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-left: 1px solid rgba(255, 255, 255, 0.8);
}
.mobile-drawer.active {
    right: 0;
}
.mobile-drawer-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.mobile-drawer-links a {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    transition: color 0.2s;
}
.mobile-drawer-links a:hover {
    color: var(--primary);
}
.mobile-drawer-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
}
.mobile-drawer-cta .btn {
    width: 100%;
    justify-content: center;
    padding: 12px 24px;
    font-size: 1rem;
}

/* ─── PREMIUM LIGHT-THEMED AUTOMATION MODAL ─── */
.modal-content.light-premium {
    background: #ffffff !important;
    color: #2c2523 !important;
    border: 1px solid #ebdcd5 !important;
    box-shadow: 0 20px 50px rgba(44, 37, 35, 0.15) !important;
    border-radius: 20px;
    max-width: 820px !important;
    width: 90%;
    padding: 30px !important;
}
.modal-title-container {
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #ebdcd5;
    padding-bottom: 15px;
    margin-bottom: 20px;
}
.modal-title-main {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
    margin: 0;
}
.modal-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 25px;
    margin-bottom: 25px;
}
@media(max-width: 768px) {
    .modal-grid {
        grid-template-columns: 1fr;
    }
}
.modal-left-panel {
    background: #faf6f4;
    border: 1px solid #f3e8e2;
    border-radius: 14px;
    padding: 20px;
}
.stepper-title {
    font-size: 0.85rem;
    font-weight: 800;
    color: #8c7b74;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.rpa-stepper {
    display: flex;
    flex-direction: column;
    gap: 22px;
    position: relative;
}
.rpa-stepper::before {
    content: '';
    position: absolute;
    left: 17px;
    top: 20px;
    bottom: 20px;
    width: 2px;
    background: #ebdcd5;
    z-index: 1;
}
.rpa-step {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    position: relative;
    z-index: 2;
    opacity: 0.4;
    transition: all 0.3s ease;
}
.step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f3e8e2;
    color: #8c7b74;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.95rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
    border: 2px solid #ffffff;
}
.step-content {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.step-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--dark);
}
.step-desc {
    font-size: 0.75rem;
    color: #8c7b74;
    line-height: 1.3;
}

.modal-right-panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.sim-header-premium {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #faf6f4;
    border: 1px solid #f3e8e2;
    padding: 12px 18px;
    border-radius: 12px;
}
.sim-meta-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.sim-meta-label {
    font-size: 0.7rem;
    color: #8c7b74;
    font-weight: 700;
    text-transform: uppercase;
}
.sim-meta-val {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--dark);
}
.progress-container-premium {
    flex-grow: 1;
    margin: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.progress-label-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--dark);
}
.progress-bg-premium {
    height: 8px;
    background: #ebdcd5;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}
.progress-bar-premium {
    height: 100%;
    background: var(--primary);
    width: 0%;
    transition: width 0.4s ease;
    border-radius: 4px;
}

.visual-pipeline-premium {
    background: #ffffff;
    border: 1px solid #ebdcd5;
    border-radius: 12px;
    padding: 20px;
    height: 110px;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.01);
}
.pipeline-connector {
    position: absolute;
    left: 90px;
    right: 90px;
    height: 4px;
    background: #ebdcd5;
    z-index: 1;
}
.pipeline-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    top: -3px;
    left: 0;
    box-shadow: 0 0 10px var(--primary);
    display: none;
}
.vis-node-premium {
    background: #ffffff;
    border: 2px solid #ebdcd5;
    border-radius: 12px;
    padding: 10px;
    text-align: center;
    z-index: 2;
    width: 90px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
    transition: all 0.3s ease;
}
.vis-node-premium.active {
    border-color: var(--primary) !important;
    box-shadow: 0 6px 15px rgba(255, 107, 61, 0.15) !important;
}
.vis-node-premium .node-icon {
    font-size: 1.6rem;
    margin-bottom: 4px;
}
.vis-node-premium .node-label {
    font-size: 0.68rem;
    font-weight: 800;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.logger-container-premium {
    background: #faf6f4;
    border: 1px solid #f3e8e2;
    border-radius: 12px;
    padding: 16px;
    height: 180px;
    overflow-y: auto;
    font-family: monospace;
    font-size: 0.8rem;
    line-height: 1.5;
    color: #433e3b;
    box-shadow: inset 0 2px 6px rgba(0,0,0,0.02);
}
.logger-container-premium::-webkit-scrollbar {
    width: 6px;
}
.logger-container-premium::-webkit-scrollbar-track {
    background: transparent;
}
.logger-container-premium::-webkit-scrollbar-thumb {
    background: #ebdcd5;
    border-radius: 3px;
}
.logger-container-premium::-webkit-scrollbar-thumb:hover {
    background: #dcd0ca;
}

@media(max-width: 900px) {
    .nav-links, .nav-cta {
        display: none !important;
    }
    .mobile-menu-btn {
        display: flex !important;
    }
}