:root {
    /* Colors */
    --bg-dark: #ffffff;
    /* Renamed logically to bg-main for future but kept var name */
    --bg-surface: rgba(0, 0, 0, 0.02);
    --bg-surface-hover: rgba(0, 0, 0, 0.05);
    --bg-surface-active: rgba(0, 0, 0, 0.08);

    --text-primary: #111111;
    --text-secondary: rgba(0, 0, 0, 0.6);
    --text-tertiary: rgba(0, 0, 0, 0.4);

    --accent-orange: #ff6b35;
    --accent-orange-glow: rgba(255, 107, 53, 0.2);
    --accent-silver: #666666;

    /* Radii */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Glass & Metallic */
    --glass-border: 1px solid rgba(0, 0, 0, 0.05);
    --glass-blur: blur(24px);
    --glass-shadow: 0 4px 24px -1px rgba(0, 0, 0, 0.08);

    /* Animations */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.5;
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
}

/* Background Image/Media */
.bg-media {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('./systemfondo.jpg');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    z-index: -10;
    pointer-events: none;
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1);
}

h1,
h2,
h3,
h4,
.logo,
.title,
.subtitle {
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-primary);
}

.logo-small {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

/* Base Glassmatic / Metallic Component */
.glass-panel {
    background: var(--bg-surface);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--glass-shadow);
    position: relative;
    overflow: hidden;
}

/* Inner subtle metallic sheen */
.glass-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0) 60%, rgba(0, 0, 0, 0.02) 100%);
    pointer-events: none;
    border-radius: inherit;
    z-index: 1;
}

/* Button Styling (CTA) */
.cta-btn {
    background: rgba(0, 0, 0, 0.9);
    border: var(--glass-border);
    backdrop-filter: blur(10px);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Orange Hover Glow for primary CTA */
.cta-btn:hover {
    background: #000000;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px var(--accent-orange-glow);
    border-color: rgba(255, 107, 53, 0.5);
}

/* Custom Neon Orange Glass for primary CTA */
.main-cta {
    background: rgba(255, 107, 53, 0.15) !important;
    backdrop-filter: blur(16px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
    border: 1px solid rgba(255, 107, 53, 0.8) !important;
    color: #f75516 !important;
    font-weight: 800 !important;
    box-shadow: 0 8px 32px rgba(255, 107, 53, 0.4), inset 0 2px 10px rgba(255, 107, 53, 0.3) !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 16px 48px !important;
    border-radius: 100px !important;
    transition: var(--transition-smooth);
}

.main-cta:hover {
    background: rgba(255, 107, 53, 0.25) !important;
    box-shadow: 0 12px 40px rgba(255, 107, 53, 0.6), inset 0 2px 15px rgba(255, 107, 53, 0.5) !important;
    transform: translateY(-3px) scale(1.02) !important;
    border-color: #ff6b35 !important;
    color: #ff3300 !important;
}

.text-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.text-btn:hover {
    color: var(--text-primary);
}

.full-width {
    width: 100%;
}

/* --- Layouts --- */

#app {
    width: 100%;
    min-height: 100vh;
}

.page-container {
    animation: fade-in var(--transition-smooth) forwards;
}

@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 24px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 24px;
    border-radius: 100px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.2));
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05), inset 0 2px 8px rgba(255, 255, 255, 0.9);
    transition: var(--transition-smooth);
    position: relative;
    display: inline-block;
}

.nav-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08), inset 0 2px 8px rgba(255, 255, 255, 1);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.4));
}

/* --- Landing Layout --- */
.landing-layout {
    position: relative;
    width: 100%;
}

.hero-section {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 5%;
}

.hero-title-tab {
    display: inline-block;
    padding: 12px 48px;
    border-radius: 200px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(32px) saturate(180%);
    -webkit-backdrop-filter: blur(32px) saturate(180%);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    margin-bottom: 24px;
}

/* Subtle inset shadow to increase the glass depth feel */
.hero-title-tab::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 2px 10px rgba(255, 255, 255, 0.8), inset 0 -2px 10px rgba(0, 0, 0, 0.04);
    pointer-events: none;
}

.hero-main-title {
    font-size: clamp(3rem, 14vw, 12rem);
    /* Even larger! */
    white-space: nowrap;
    transform: scaleY(1.3);
    transform-origin: center center;
    letter-spacing: -0.01em;
    word-spacing: 0.3em;
    font-weight: 700;
    line-height: 1;
    margin: 0;
    padding-top: 10px;
    /* Aligns text inside the pill considering scaleY */
    padding-bottom: 2px;
}

.hero-content .title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 8px;
    background: linear-gradient(180deg, #FFFFFF 0%, #A0A0A0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content .subtitle {
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.hero-content .description {
    font-size: 1.125rem;
    color: var(--text-tertiary);
    margin-bottom: 48px;
    max-width: 400px;
}

.main-cta {
    padding: 16px 32px;
    font-size: 1.125rem;
    border-radius: var(--radius-md);
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.4);
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.15);
}

.hero-content {
    position: relative;
    z-index: 3;
    margin-top: 100px;
}

.hero-gfx {
    position: absolute;
    top: 50%;
    right: -10%;
    transform: translateY(-50%);
    width: 600px;
    height: 600px;
    z-index: 1;
    pointer-events: none;
}

.hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
    opacity: 0.85;
}

.glass-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: rgba(255, 107, 53, 0.15);
    top: 10%;
    right: 20%;
    animation: float 20s ease-in-out infinite;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    bottom: 0;
    left: 10%;
    animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-30px) scale(1.05);
    }
}

/* Landing Page New Sections */
.carousel-section {
    padding: 80px 0;
    overflow: hidden;
    position: relative;
}

.carousel-title {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-tertiary);
    letter-spacing: 0.2em;
    margin-bottom: 48px;
}

.carousel-container {
    width: 100%;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    gap: 24px;
    padding: 0 5%;
    animation: scrollCarousel 30s linear infinite;
    width: max-content;
}

.carousel-card {
    width: 300px;
    height: 200px;
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.carousel-card:hover {
    transform: translateY(-8px);
    box-shadow: inset 0 0 0 1px rgba(255, 107, 53, 0.3), var(--glass-shadow);
}

.mock-img {
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
}

@keyframes scrollCarousel {
    from {
        transform: translateX(0);
    }

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

.contact-section {
    padding: 80px 5%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-card {
    padding: 48px;
    width: 100%;
    max-width: 500px;
    text-align: center;
}

.landing-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 48px 5%;
    margin-top: 48px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.social-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    margin-left: 24px;
    transition: var(--transition-fast);
}

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

/* --- Login Page --- */
.login-centered {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100%;
}

/* ══════════════════════════════════════════════
   LEIB Login — visionOS glass style
   Background: blurred video/image behind a
   frosted-glass light panel (like the ref image)
   ══════════════════════════════════════════════ */

.lb-login-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    position: relative;
    overflow: hidden;
    /* Warm neutral background like the reference */
    background: #d4c9bc;
}

/* Background video fills entire login page */
.lb-login-page .lb-login-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: blur(2px) brightness(0.92) saturate(0.85);
    transform: scale(1.06); /* hide blur edges */
}

/* Warm glass overlay over the video */
.lb-login-page::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(220, 210, 198, 0.28);
    z-index: 1;
}

/* Everything above the video */
.lb-login-back,
.lb-login-brand,
.lb-login-card,
.lb-login-footer { position: relative; z-index: 2; }

.lb-login-back {
    position: absolute !important;
    top: 28px;
    left: 36px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.84rem;
    font-weight: 600;
    color: rgba(60,50,40,0.65);
    text-decoration: none;
    transition: color 0.2s;
    letter-spacing: 0.01em;
    background: rgba(255,255,255,0.45);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.60);
    border-radius: 100px;
    padding: 7px 16px;
}
.lb-login-back:hover { background: rgba(255,255,255,0.68); color: rgba(40,30,20,0.9); }

.lb-login-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    margin-bottom: 28px;
    position: relative;
    z-index: 2;
}

.lb-login-logo-main {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    color: rgba(30,22,16,0.88);
    letter-spacing: -0.05em;
    line-height: 1;
}

.lb-login-logo-sub {
    font-family: 'Outfit', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(30,22,16,0.45);
}

/* ── Main glass card — visionOS style ── */
.lb-login-card {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 420px;
    /* frosted glass — light, translucent */
    background: rgba(255, 255, 255, 0.58);
    backdrop-filter: blur(48px) saturate(180%);
    -webkit-backdrop-filter: blur(48px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.80);
    border-bottom-color: rgba(255,255,255,0.40);
    border-radius: 28px;
    padding: 40px 38px;
    box-shadow:
        0 32px 80px rgba(0,0,0,0.16),
        0 8px 24px rgba(0,0,0,0.10),
        inset 0 1px 0 rgba(255,255,255,0.95);
}

.lb-login-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(60,200,120,0.14);
    border: 1px solid rgba(60,200,120,0.30);
    color: #1a9e52;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 100px;
    margin-bottom: 20px;
}

.lb-login-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.9rem;
    font-weight: 800;
    color: rgba(20,14,8,0.88);
    margin-bottom: 6px;
    letter-spacing: -0.025em;
}

.lb-login-sub {
    font-size: 0.90rem;
    color: rgba(20,14,8,0.50);
    line-height: 1.55;
    margin-bottom: 28px;
}

.lb-login-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.lb-login-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.lb-login-field label {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(20,14,8,0.50);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.lb-login-field input {
    background: rgba(255,255,255,0.55);
    border: 1px solid rgba(255,255,255,0.80);
    border-bottom-color: rgba(0,0,0,0.10);
    border-radius: 14px;
    padding: 13px 16px;
    font-size: 0.96rem;
    color: rgba(20,14,8,0.88);
    font-family: inherit;
    outline: none;
    transition: background 0.2s, border-color 0.2s;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.06);
}

.lb-login-field input::placeholder { color: rgba(20,14,8,0.28); }
.lb-login-field input:focus {
    background: rgba(255,255,255,0.78);
    border-color: rgba(255,255,255,0.95);
    box-shadow: 0 0 0 3px rgba(0,0,0,0.06), inset 0 1px 3px rgba(0,0,0,0.06);
}

.lb-login-btn {
    background: rgba(20,14,8,0.82);
    color: #fff;
    border: none;
    border-radius: 14px;
    padding: 15px;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.2s, box-shadow 0.2s;
    letter-spacing: 0.01em;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}
.lb-login-btn:hover {
    background: rgba(20,14,8,0.95);
    box-shadow: 0 8px 24px rgba(0,0,0,0.24);
}

.lb-login-demo-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 18px;
    font-size: 0.74rem;
    color: rgba(20,14,8,0.38);
    line-height: 1.5;
}
.lb-register-link {
    color: rgba(220,160,50,0.88);
    text-decoration: none;
    font-weight: 600;
}
.lb-register-link:hover { text-decoration: underline; }

.lb-login-footer {
    margin-top: 36px;
    font-size: 0.72rem;
    color: rgba(20,14,8,0.30);
    position: relative;
    z-index: 2;
}

/* ── old login (kept for dashboard) ── */
.login-card {
    padding: 48px;
    width: 100%;
    max-width: 420px;
    text-align: center;
}

.login-title {
    font-size: 1.75rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.login-subtitle {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 32px;
}

.input-group {
    text-align: left;
    margin-bottom: 24px;
}

.input-group label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-tertiary);
    margin-bottom: 8px;
}

.input-group input {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: var(--glass-border);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    color: var(--text-primary);
    font-family: var(--font-body);
    outline: none;
    transition: var(--transition-fast);
}

.input-group input:focus {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.05);
}

.login-options {
    margin-top: 24px;
}

/* --- Dashboard --- */
.dashboard-layout {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

.sidebar {
    width: 280px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    border-radius: 0;
    /* Override glass-panel default */
    border-right: var(--glass-border);
    border-top: none;
    border-bottom: none;
    border-left: none;
    z-index: 10;
}

.sidebar-header {
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.badge {
    background: rgba(255, 107, 53, 0.2);
    color: #ffaa85;
    font-size: 0.65rem;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    border: 1px solid rgba(255, 107, 53, 0.3);
}

.badge.small {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    border: none;
}

.sidebar-action {
    padding: 24px;
}

.sidebar-nav {
    flex-grow: 1;
    overflow-y: auto;
    padding: 0 16px 24px;
}

/* Custom scrollbar */
.sidebar-nav::-webkit-scrollbar {
    width: 4px;
}

.sidebar-nav::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.section-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-tertiary);
    letter-spacing: 0.1em;
    padding: 0 8px;
    margin-bottom: 16px;
}

.nav-list {
    list-style: none;
}

.nav-item {
    font-size: 0.875rem;
    color: var(--text-secondary);
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.nav-item:hover,
.nav-item.active {
    background: var(--bg-surface-hover);
    color: var(--text-primary);
}

.nav-item.active {
    background: rgba(255, 255, 255, 0.05);
    border-left: 2px solid var(--accent-orange);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.chevron {
    transition: transform var(--transition-fast);
    opacity: 0.5;
}

.has-sub.open .chevron {
    transform: rotate(180deg);
}

.has-sub.open .sub-list {
    max-height: 300px;
    opacity: 1;
    padding-top: 8px;
}

.sub-list {
    list-style: none;
    padding-left: 16px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all var(--transition-smooth);
}

/* By default it's provided as expanded in html, let's keep it visible in this demo */
.sub-list.expanded {
    max-height: 300px;
    opacity: 1;
    padding-top: 8px;
}

.sub-item {
    padding: 8px 12px;
    font-size: 0.8rem;
    color: var(--text-tertiary);
    cursor: pointer;
    transition: var(--transition-fast);
}

.sub-item:hover {
    color: var(--text-primary);
}

.sidebar-footer {
    padding: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.outline-btn {
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    width: 100%;
    justify-content: center;
}

.outline-btn:hover {
    background: rgba(255, 255, 255, 0.05);
}

.workspace {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: radial-gradient(circle at top right, rgba(255, 107, 53, 0.03) 0%, transparent 60%);
    overflow: hidden;
}

.workspace-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px 48px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.view-title {
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

/* Inner Navigation styles */
.workspace-nav {
    background: rgba(255, 255, 255, 0.4);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 16px;
}

.inner-nav-btn {
    background: transparent;
    border: none;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 12px 18px;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 8px;
}

.inner-nav-btn:hover {
    background: rgba(0, 0, 0, 0.04);
    color: var(--text-primary);
}

.inner-nav-btn.active {
    background: #000;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.nav-dropdown-container {
    position: relative;
    border-radius: var(--radius-sm);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    min-width: 220px;
    padding: 12px;
    z-index: 100;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.2s;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
}

.nav-dropdown-container:hover .dropdown-menu {
    display: flex;
    flex-direction: column;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-item {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 10px 16px;
    border-radius: 8px;
    transition: var(--transition-fast);
}

.dropdown-item:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #000;
    padding-left: 20px;
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3a3a3a, #1a1a1a);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
}

.workspace-content {
    padding: 48px;
    flex-grow: 1;
    overflow-y: auto;
    position: relative;
}

/* Inner Views */
.widget-panel {
    padding: 32px;
}

.full-height {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.flex-center {
    justify-content: center;
    align-items: center;
    text-align: center;
}

.widget-title {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.widget-desc {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 32px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.stat-card {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 24px;
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
}

.stat-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 107, 53, 0.3);
    background: rgba(255, 107, 53, 0.05);
}

.stat-value {
    font-size: 2rem;
    font-weight: 600;
    font-family: var(--font-heading);
    margin-bottom: 4px;
}

.stat-label {
    color: var(--text-tertiary);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.data-table-container {
    padding: 0;
    flex-grow: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.data-table-container.inner {
    box-shadow: none;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.data-table th,
.data-table td {
    padding: 16px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.data-table th {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
    background: rgba(0, 0, 0, 0.2);
}

.data-table td {
    font-size: 0.875rem;
}

.status-badge {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
}

.status-badge.active {
    background: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.2);
}

.status-badge.pending {
    background: rgba(241, 196, 15, 0.1);
    color: #f1c40f;
    border: 1px solid rgba(241, 196, 15, 0.2);
}

/* Animations */
.slide-up {
    animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* Utility */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 300px;
    opacity: 0.5;
}

.empty-icon {
    margin-bottom: 24px;
}

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

.mt-6 {
    margin-top: 24px;
}

.mb-2 {
    margin-bottom: 8px;
}

.mb-4 {
    margin-bottom: 16px;
}

.text-sm {
    font-size: 0.875rem;
}

.uppercase {
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.text-gray {
    color: var(--text-tertiary);
}

.text-orange {
    color: var(--accent-orange);
}

.text-green {
    color: #2ecc71;
}

.flex-col {
    display: flex;
    flex-direction: column;
}

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

/* Diagnostic Dashboard Specific Styles */
.diagnostic-dashboard {
    max-width: 1400px;
    margin: 0 auto;
}

.dashboard-header-notice {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.card-title {
    font-size: 1.125rem;
    font-weight: 500;
    font-family: var(--font-heading);
}

.card-subtitle {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.grid-row {
    display: grid;
    gap: 24px;
}

.top-row {
    grid-template-columns: 1fr 2fr;
}

.middle-row {
    grid-template-columns: 1fr 1fr;
}

.bottom-row {
    grid-template-columns: 1fr 1fr;
}

/* Score Card */
.score-card {
    padding: 32px;
    display: flex;
    flex-direction: column;
}

.score-circle {
    position: relative;
    width: 140px;
    height: 140px;
    align-self: center;
    margin-bottom: 16px;
}

.circular-chart {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    max-height: 250px;
}

.circle-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.05);
    stroke-width: 2.5;
}

.circle {
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    animation: progress 1s ease-out forwards;
}

.orange .circle {
    stroke: var(--accent-orange);
}

@keyframes progress {
    0% {
        stroke-dasharray: 0 100;
    }
}

.score-text {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.score-number {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    line-height: 1;
}

.score-max {
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

.custom-bullet-list {
    list-style: none;
    padding-left: 0;
}

.custom-bullet-list li {
    position: relative;
    padding-left: 20px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.custom-bullet-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-orange);
    font-size: 1.2rem;
    line-height: 1;
}

/* Profile Grid */
.profile-card {
    padding: 32px;
}

.profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.profile-item {
    display: flex;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 16px;
    border-radius: var(--radius-sm);
}

.profile-item.span-2 {
    grid-column: span 2;
}

.profile-item .label {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.profile-item .value {
    font-size: 0.95rem;
    color: var(--text-primary);
}

/* Layers */
.layer-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;
}

.layer-item {
    display: flex;
    align-items: center;
    padding: 16px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-sm);
    border-left: 3px solid transparent;
}

.layer-item.missing {
    border-left-color: rgba(255, 107, 53, 0.5);
}

.layer-item.partial {
    border-left-color: rgba(241, 196, 15, 0.5);
}

.layer-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-family: var(--font-heading);
    margin-right: 16px;
}

.layer-info {
    flex-grow: 1;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.layer-info strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 2px;
}

/* Voice & Copy */
.voice-box {
    padding: 16px;
    border-radius: var(--radius-sm);
    background: rgba(0, 0, 0, 0.2);
    font-size: 0.875rem;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.voice-box p {
    color: var(--text-secondary);
    margin-top: 8px;
}

.copy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.copy-card {
    background: rgba(0, 0, 0, 0.2);
    padding: 16px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.copy-title {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.copy-card .before {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: line-through;
    margin-bottom: 8px;
    border-left: 2px solid rgba(255, 255, 255, 0.2);
    padding-left: 8px;
}

.copy-card .after {
    font-size: 0.9rem;
    color: var(--text-primary);
    border-left: 2px solid var(--accent-orange);
    padding-left: 8px;
}

/* DMs & Pricing */
.dm-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dm-card {
    padding: 16px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-style: italic;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.pricing-tier {
    padding: 24px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.03);
    display: flex;
    flex-direction: column;
}

.pricing-tier h4 {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 500;
}

.pricing-tier .price {
    font-size: 2rem;
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 12px;
}

.pricing-tier .price span {
    font-size: 1rem;
    color: var(--text-tertiary);
    font-weight: 400;
}

.pricing-tier p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.pricing-tier.highlight {
    background: rgba(255, 107, 53, 0.05);
    border-color: rgba(255, 107, 53, 0.3);
}

.positioning-box {
    padding: 16px;
    background: rgba(255, 255, 255, 0.02);
    border-left: 3px solid var(--accent-orange);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Overriding typography specs for specific user feedback adjustments */
.hero-main-title {
    word-spacing: 0.15em !important;
}

/* ===== HERO NUEVO ===== */

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

.hero-left h1 {
    font-size: 3rem;
    line-height: 1.1;
    font-weight: 600;
    color: #000;
}

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

.hero-subtext {
    margin-top: 20px;
    color: #555;
    font-size: 1.1rem;
    max-width: 500px;
}

.hero-cta {
    margin-top: 30px;
    display: flex;
    gap: 15px;
}

.btn-primary {
    background: linear-gradient(90deg, #a855f7, #ec4899);
    border: none;
    padding: 14px 28px;
    border-radius: 10px;
    color: white;
    cursor: pointer;
}

.btn-secondary {
    background: transparent;
    border: 1px solid #ccc;
    padding: 14px 28px;
    border-radius: 10px;
    color: #333;
    cursor: pointer;
}

.hero-proof {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #777;
}

.hero-right {
    display: flex;
    justify-content: center;
}

.cube-wrapper {
    position: relative;
}

.cube-wrapper::before {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.3), transparent 60%);
    filter: blur(80px);
    z-index: -1;
}

/* ═══════════════════════════════════════════
   LANDING SCROLL ANIMATION SYSTEM
   ═══════════════════════════════════════════ */

/* Override page-container for leib landing so it scrolls */
.leib-landing.page-container {
    height: auto;
    overflow: visible;
    min-height: 100vh;
}

/* The stage drives all scroll-based animation */
.ls-stage {
    height: 200vh;
    position: relative;
}

/* Hero: sticky so it stays visible during the 200vh scroll */
.ls-hero {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    background: #f5f4f1;
}

/* Left side: the text block — moves right on scroll */
.ls-hero-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 72px;
    will-change: transform;
    position: relative;
    z-index: 2;
}

/* Right side: empty space where cube will peek through */
.ls-hero-right {
    flex: 1;
    position: relative;
}

/* Dark panel: starts BELOW the hero (hidden by overflow:hidden)
   slides UP to cover the hero on scroll */
.ls-dark {
    position: absolute;
    left: 0;
    bottom: -100%;
    width: 100%;
    height: 100%;
    background: #111111;
    display: flex;
    align-items: center;
    justify-content: center;
    will-change: transform;
    z-index: 10;
}

.ls-dark-content {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1100px;
    padding: 0 72px;
    gap: 80px;
}

.ls-dark-left {
    flex: 1;
}

.ls-dark-label {
    font-size: 0.60rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.22);
    margin-bottom: 24px;
}

.ls-cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ls-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: border-color 0.2s;
}

.ls-card-accent {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.16);
}

.ls-card-num {
    font-size: 0.60rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.20);
    letter-spacing: 0.06em;
    min-width: 20px;
}

.ls-card-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.80);
    flex: 1;
}

.ls-card-desc {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.28);
}

/* Right side of dark panel: cube */
.ls-dark-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ls-cube-wrap {
    will-change: transform, opacity;
    /* starts hidden — JS sets initial state */
}

#ls-cube-canvas {
    display: block;
    width: 380px;
    height: 380px;
}

/* ── Mobile ── */
@media (max-width: 900px) {
    .ls-hero-left {
        padding: 0 32px;
    }
    .ls-dark-content {
        flex-direction: column;
        padding: 40px 32px;
        gap: 40px;
    }
    #ls-cube-canvas {
        width: 260px;
        height: 260px;
    }
    .ls-dark-label { margin-bottom: 16px; }
}

@media (max-width: 600px) {
    .ls-hero-left { padding: 0 24px; }
    .ls-hero-right { display: none; }
    .leib-hero-h1 { font-size: 2rem !important; }
}

/* ═══════════════════════════════════════════
   LEIB LANDING — lb-* NAMESPACE (pixel-accurate)
   ═══════════════════════════════════════════ */

body.lb-active {
    overflow: hidden;
}

.lb-page {
    position: relative;
    background: #ffffff;
}

/* ── Horizontal Barrel Scroll Container ── */
.lb-hscroll-wrap {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 1;
}

.lb-hscroll-track {
    display: flex;
    height: 100%;
    will-change: transform;
}

.lb-panel {
    width: 100vw;
    height: 100%;
    flex-shrink: 0;
    position: relative;
    will-change: transform;
    /* No overflow:hidden — lets the 3D barrel rotate without clipping */
}

.lb-panel-hero {
    display: flex;
    align-items: stretch;
    background: #f6f5f2;
}

.lb-panel-problem {
    background: #0d0d0d;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 0 100px;
    gap: 80px;
    overflow: hidden;
}

.lb-panel-process {
    background: #0d0d0d;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 60px;
}

.lb-panel-cta {
    background: #0d0d0d;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 60px;
}

.lb-cta-panel-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 36px;
    text-align: center;
}

/* Scroll dots indicator */
.lb-scroll-dots {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 300;
    display: flex;
    gap: 8px;
    align-items: center;
}

.lb-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,0.30);
    transition: background 0.3s, transform 0.3s;
    cursor: pointer;
}

.lb-dot.lb-dot-active {
    background: rgba(255,255,255,0.90);
    transform: scale(1.3);
}

/* ── Header ── */
.lb-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 52px 0 80px;
    height: 88px;
    background: transparent;
}

.lb-logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
    text-decoration: none;
    gap: 2px;
    margin-top: 18px;
}

.lb-logo-main {
    font-family: 'Outfit', sans-serif;
    font-size: 4.2rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.05em;
    line-height: 0.88;
    text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.lb-logo-sub {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 900;
    letter-spacing: 0.20em;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 1px 10px rgba(0,0,0,0.4);
}

.lb-nav {
    display: flex;
    align-items: center;
    gap: 56px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.lb-nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 100px;
    padding: 9px 22px;
    letter-spacing: 0.01em;
    transition: background 0.22s, border-color 0.22s;
}

.lb-nav-link:hover {
    background: rgba(0, 0, 0, 0.75);
    border-color: rgba(255, 255, 255, 0.22);
}

.lb-header-r {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lb-auth-links {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1px;
}

.lb-auth-link {
    font-size: 0.88rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.90);
    text-decoration: none;
    line-height: 1.5;
    transition: color 0.2s;
    letter-spacing: 0.01em;
    text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

.lb-auth-link:hover { color: #fff; }

.lb-btn-access {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    border-radius: 100px;
    padding: 10px 22px;
    font-size: 0.88rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.22s;
    white-space: nowrap;
    letter-spacing: 0.01em;
}

.lb-btn-access:hover {
    background: rgba(255, 255, 255, 0.28);
}



/* Depth background canvas — absolute fill, behind all hero content */
.lb-hero-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

/* Hero text */

.lb-hero-text {
    flex: 0 0 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 0 0 120px;
    position: relative;
    z-index: 2;
}

.lb-h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.4rem, 4vw, 5.2rem);
    font-weight: 900;
    line-height: 1.1;
    color: #fff;
    letter-spacing: -0.03em;
    margin-bottom: 28px;
}

.lb-h1-line1 {
    display: block;
    white-space: nowrap;
    color: #fff;
}

.lb-h1-line2 {
    display: block;
    white-space: nowrap;
    color: #fff;
    margin-top: 4px;
}

.lb-sub {
    font-size: clamp(1rem, 1.35vw, 1.22rem);
    color: rgba(255, 255, 255, 0.90);
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 18px;
    max-width: 520px;
}

/* Bullet tabs — pill-shaped readable tags */
.lb-bullet-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.lb-bullet-tab {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 100px;
    padding: 8px 16px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.lb-impact {
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.42);
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 460px;
}

.lb-cta-row {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.lb-btn-cta {
    background: #111;
    color: #fff;
    border: none;
    border-radius: 100px;
    padding: 15px 32px;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
    letter-spacing: 0.01em;
    box-shadow: 0 4px 24px rgba(0,0,0,0.18);
}

.lb-btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.28);
}

.lb-btn-ghost {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    background: #111;
    border: 2px solid #111;
    border-radius: 100px;
    padding: 13px 28px;
    transition: background 0.2s, opacity 0.2s;
    letter-spacing: 0.01em;
}

.lb-btn-ghost:hover {
    opacity: 0.82;
}

/* Hero right — cube always on top of video */
.lb-hero-r {
    flex: 1 0 0;
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 10px;
    overflow: visible;
}






/* Left column */
.lb-reveal-left {
    text-align: left;
    display: flex;
    align-items: center;
}

.lb-reveal-left .lb-text-col {
    align-items: flex-start;
    text-align: left;
    gap: 28px;
}

.lb-reveal-left .lb-stat-row {
    justify-content: flex-start;
}

.lb-reveal-left .lb-pill {
    align-self: flex-start;
}

/* Right column — card slides in via CSS transition when panel triggers */
.lb-reveal-card {
    opacity: 0;
    transform: translateX(80px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
    background: rgba(18, 18, 22, 0.82);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-top: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 26px;
    padding: 26px;
    box-shadow:
        0 40px 120px rgba(0, 0, 0, 0.70),
        0 8px 32px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    max-width: 420px;
    justify-self: end;
}

.lb-reveal-card.lb-card-show {
    opacity: 1;
    transform: translateX(0);
}

/* Chat header */
.lb-chat-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 16px;
}

.lb-chat-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6ee7a0, #3dbf70);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    color: #fff;
}

.lb-chat-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.lb-chat-status {
    font-size: 0.66rem;
    color: rgba(255, 255, 255, 0.40);
    margin-top: 1px;
}

.lb-chat-badge {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(80, 220, 110, 0.12);
    border: 1px solid rgba(80, 220, 110, 0.28);
    color: #6ee7a0;
    font-size: 0.63rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 3px 10px;
    border-radius: 100px;
}

/* Pulsing live dot */
.lb-live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #6ee7a0;
    animation: lb-pulse 1.8s ease-in-out infinite;
}

@keyframes lb-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.4; transform: scale(0.7); }
}

/* Chat messages */
.lb-chat-msgs {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.lb-msg {
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 0.82rem;
    line-height: 1.5;
    max-width: 85%;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.lb-msg.lb-msg-show {
    opacity: 1;
    transform: translateY(0);
}

.lb-msg-in {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.10);
    color: rgba(255, 255, 255, 0.78);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.lb-msg-out {
    background: rgba(59, 130, 246, 0.22);
    border: 1px solid rgba(59, 130, 246, 0.32);
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.lb-msg-confirm {
    background: rgba(74, 200, 120, 0.16);
    border: 1px solid rgba(74, 200, 120, 0.28);
    font-weight: 600;
    color: #fff;
}

.lb-msg-confirm span {
    display: block;
    font-size: 0.70rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.50);
    margin-top: 3px;
}

/* Typing indicator */
.lb-typing {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    border-bottom-left-radius: 4px;
    align-self: flex-start;
    opacity: 0;
    transition: opacity 0.3s ease;
    max-width: 64px;
}

.lb-typing.lb-typing-show { opacity: 1; }

.lb-typing span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    animation: lb-typing-dot 1.2s ease-in-out infinite;
}

.lb-typing span:nth-child(2) { animation-delay: 0.2s; }
.lb-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes lb-typing-dot {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30%            { transform: translateY(-4px); opacity: 1; }
}

/* Chat footer */
.lb-chat-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.lb-chat-tag {
    font-size: 0.66rem;
    color: rgba(255, 255, 255, 0.30);
    letter-spacing: 0.04em;
}

.lb-chat-time {
    font-size: 0.70rem;
    font-weight: 700;
    color: #6ee7a0;
}

.lb-dark-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 80px 72px 80px;
}

/* Dark section top row — centered */
.lb-dark-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 0 120px;
    width: 100%;
}

/* lb-cube-wrap lives in lb-hero-r — always visible, above the corner shape */
.lb-cube-wrap {
    position: relative;
    z-index: 2;
}

#lb-cube-canvas {
    display: block;
    width: 540px;
    height: 540px;
}

.lb-text-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    max-width: 820px;
}

/* Glass pill banner */
.lb-pill {
    display: inline-block;
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #fff;
    border-radius: 100px;
    padding: 14px 32px;
    font-size: 1.05rem;
    line-height: 1.55;
}

.lb-pill strong {
    font-weight: 800;
    letter-spacing: 0.03em;
}

.lb-dark-body {
    font-size: 1.55rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.6;
    max-width: 680px;
}

.lb-dark-stat {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.38);
    line-height: 1.5;
}

.lb-stat-row {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-top: 8px;
}

.lb-stat-big {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(4rem, 8vw, 7.5rem);
    font-weight: 900;
    color: #fff;
    line-height: 1;
    letter-spacing: -0.04em;
    flex-shrink: 0;
}

.lb-stat-text {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.55;
    text-align: left;
}

/* Process / COMO FUNCIONA section */
.lb-process {
    flex-shrink: 0;
    width: 100%;
    padding: 0 0 16px;
}

.lb-process-label {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
    text-transform: none;
    margin-bottom: 24px;
    text-align: center;
}

/* Video frame wrapping all 4 cards */
.lb-cards-frame {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    /* fallback bg when video not loaded */
    background: #181818;
}

.lb-cards-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    /* dark fallback if no src yet */
    background: #111;
}

/* Dark overlay so glass cards stay legible over the video */
.lb-cards-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.48);
    z-index: 1;
}

.lb-cards {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 24px;
}

/* Glass cards — tempered crystal glass, floating */
.lb-card {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(32px) saturate(180%) brightness(1.08);
    -webkit-backdrop-filter: blur(32px) saturate(180%) brightness(1.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-top: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 24px;
    padding: 28px 24px 26px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.45),
        0 2px 8px rgba(0, 0, 0, 0.30),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
    transform: translateY(0px);
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.32s cubic-bezier(0.22, 1, 0.36, 1),
                background 0.25s;
}

.lb-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-8px);
    box-shadow:
        0 24px 64px rgba(0, 0, 0, 0.55),
        0 8px 24px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.30);
}

.lb-card-icon {
    width: 36px;
    height: 36px;
    color: rgba(255, 255, 255, 0.70);
    margin-bottom: 4px;
    flex-shrink: 0;
}

.lb-card-n {
    font-size: 0.68rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.12em;
}

.lb-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
}

.lb-card-desc {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.58);
    line-height: 1.5;
}

/* ── Appear animation system ── */
@keyframes lb-fadeup {
    from { opacity: 0; transform: translateY(52px); }
    to   { opacity: 1; transform: translateY(0); }
}

.lb-anim {
    opacity: 0;
}

.lb-anim.lb-visible {
    animation: lb-fadeup 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.lb-anim.lb-visible[data-delay="1"] { animation-delay: 0.10s; }
.lb-anim.lb-visible[data-delay="2"] { animation-delay: 0.28s; }
.lb-anim.lb-visible[data-delay="3"] { animation-delay: 0.48s; }
.lb-anim.lb-visible[data-delay="4"] { animation-delay: 0.68s; }
.lb-anim.lb-visible[data-delay="5"] { animation-delay: 0.90s; }

/* ── Below-fold sections — must stack above footer ── */
.lb-features {
    padding: 72px 72px;
    background: #fff;
    position: relative;
    z-index: 10;
}

.lb-feat-list {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
}

.lb-feat {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: rgba(0, 0, 0, 0.68);
}

.lb-feat-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #111;
    flex-shrink: 0;
}

.lb-dot-purple {
    background: #7c3aed;
}

.lb-final {
    padding: 80px 72px;
    background: #f6f5f2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
    position: relative;
    z-index: 10;
}

.lb-final-line {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.8rem, 3vw, 3rem);
    font-weight: 800;
    color: #fff;
    max-width: 640px;
    line-height: 1.25;
    letter-spacing: -0.02em;
    text-align: center;
}

.lb-footer {
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.28);
    text-align: center;
}

/* ── Mobile ── */
@media (max-width: 900px) {
    .lb-header { padding: 0 24px; height: 70px; }
    .lb-nav { display: none; }
    .lb-hero-text { flex: 0 0 58%; padding: 0 32px; padding-top: 70px; }
    .lb-h1 { font-size: 2.6rem; }
    .lb-hero-r { flex: 0 0 42%; }
    .lb-dark-inner { padding-top: 70px; }
    .lb-dark-inner { padding: 48px 32px 32px; }
    .lb-dark-top { padding: 0 0 32px; }
    .lb-text-col { width: 100%; }
    .lb-process { padding: 0; }
    .lb-cards { grid-template-columns: repeat(2, 1fr); }
    .lb-features { padding: 48px 32px; }
    .lb-final { padding: 48px 32px; }
    .lb-footer { padding: 18px 32px; }
    #lb-cube-canvas { width: 300px; height: 300px; }
}

@media (max-width: 600px) {
    .lb-h1 { font-size: 2rem; }
    .lb-hero-r { display: none; }
    .lb-hero-text { flex: 0 0 100%; }
    #lb-cube-canvas { width: 200px; height: 200px; }
    .lb-cards { grid-template-columns: 1fr; }
    .lb-logo-main { font-size: 1.8rem; }
    .lb-header { padding: 0 20px; }
    .lb-btn-access { padding: 8px 16px; font-size: 0.76rem; }
}
