/* NAXE CORE - NEUMORPHIC PREMIUM v4.2 — PUREZA BI-MODAL ABSOLUTA */

/* ========== THEME SYSTEM - DARK DEFAULT (The Deep Void) ========== */
:root {
    --bg-naxe: #000000;
    --card-naxe: #0B0B0C;
    --shadow-dark: rgba(0, 0, 0, 1);
    --shadow-light: rgba(255, 255, 255, 0.03);
    --text-main: #FFFFFF;
    --text-dim: #86868B;
    --border-neu: rgba(255, 255, 255, 0.1);
    --border-3d: rgba(255, 255, 255, 0.03);
    --inset-dark: rgba(0, 0, 0, 0.6);
    --inset-light: rgba(255, 255, 255, 0.02);
    --accent-subtle: rgba(255, 255, 255, 0.06);
}

/* ========== AUTO-DETECT LIGHT (The Pure Light) ========== */
@media (prefers-color-scheme: light) {
    :root {
        --bg-naxe: #FFFFFF;
        --card-naxe: #FFFFFF;
        --shadow-dark: rgba(0, 0, 0, 0.1);
        --shadow-light: rgba(255, 255, 255, 1);
        --text-main: #000000;
        --text-dim: #424245;
        --border-neu: rgba(0, 0, 0, 0.05);
        --border-3d: rgba(0, 0, 0, 0.03);
        --inset-dark: rgba(0, 0, 0, 0.06);
        --inset-light: rgba(255, 255, 255, 0.9);
        --accent-subtle: rgba(0, 0, 0, 0.03);
    }
}

/* ========== MANUAL OVERRIDE: LIGHT ========== */
[data-theme="light"] {
    --bg-naxe: #FFFFFF;
    --card-naxe: #FFFFFF;
    --shadow-dark: rgba(0, 0, 0, 0.1);
    --shadow-light: rgba(255, 255, 255, 1);
    --text-main: #000000;
    --text-dim: #424245;
    --border-neu: rgba(0, 0, 0, 0.05);
    --border-3d: rgba(0, 0, 0, 0.03);
    --inset-dark: rgba(0, 0, 0, 0.06);
    --inset-light: rgba(255, 255, 255, 0.9);
    --accent-subtle: rgba(0, 0, 0, 0.03);
}

/* ========== MANUAL OVERRIDE: DARK ========== */
[data-theme="dark"] {
    --bg-naxe: #000000;
    --card-naxe: #0B0B0C;
    --shadow-dark: rgba(0, 0, 0, 1);
    --shadow-light: rgba(255, 255, 255, 0.03);
    --text-main: #FFFFFF;
    --text-dim: #86868B;
    --border-neu: rgba(255, 255, 255, 0.1);
    --border-3d: rgba(255, 255, 255, 0.03);
    --inset-dark: rgba(0, 0, 0, 0.6);
    --inset-light: rgba(255, 255, 255, 0.02);
    --accent-subtle: rgba(255, 255, 255, 0.06);
}

/* ========== HEADER LOGO ========== */
.naxe-header-logo {
    max-height: 40px;
    width: auto;
    object-fit: contain;
}

/* ========== NEUMORPHIC CARD 3D ========== */
.naxe-card-3d {
    background: var(--card-naxe);
    border-radius: 20px;
    padding: 30px;
    box-shadow:
        10px 10px 20px var(--shadow-dark),
        -5px -5px 15px var(--shadow-light);
    border: 1px solid var(--border-neu);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.naxe-card-3d:hover {
    transform: translateY(-5px);
}

/* ========== CARVED TEXTAREA ========== */
.naxe-3d-textarea {
    width: 100%;
    background: var(--card-naxe);
    border: none;
    border-radius: 16px;
    padding: 20px;
    color: var(--text-main);
    box-shadow:
        inset 6px 6px 12px var(--shadow-dark),
        inset -6px -6px 12px var(--shadow-light);
    margin: 20px 0;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.6;
    resize: none;
    min-height: 120px;
    outline: none;
    transition: box-shadow 0.3s ease;
}

.naxe-3d-textarea:focus {
    box-shadow:
        inset 8px 8px 16px var(--shadow-dark),
        inset -8px -8px 16px var(--shadow-light);
}

.naxe-3d-textarea::placeholder {
    color: var(--text-dim);
    font-style: normal;
}

/* ========== ATELIER DE ALQUIMIA ALIMENTARIA ========== */
.recipe-card {
    padding: 0;
    overflow: hidden;
}

.recipe-image-wrapper {
    position: relative;
    border-radius: 18px 18px 0 0;
    overflow: hidden;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.4);
}

.recipe-placeholder-img {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-naxe);
    box-shadow: inset 4px 4px 12px var(--shadow-dark), inset -4px -4px 12px var(--shadow-light);
}

.recipe-overlay-stats {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    color: #FFF;
    font-size: 11px;
    font-family: monospace;
    padding: 8px 12px;
    text-align: center;
}

.recipe-info {
    padding: 16px 20px 12px;
}

.recipe-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.naxe-3d-button-small {
    background: var(--card-naxe);
    border: none;
    border-radius: 8px;
    padding: 7px 14px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-main);
    box-shadow: 3px 3px 6px var(--shadow-dark), -2px -2px 6px var(--shadow-light);
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Inter, sans-serif;
}

.naxe-3d-button-small:active {
    box-shadow: inset 2px 2px 4px var(--shadow-dark), inset -1px -1px 3px var(--shadow-light);
    transform: scale(0.97);
}

.recipe-detail-panel {
    padding: 14px 20px 16px;
    border-top: 1px solid var(--border-neu);
}

/* ========== RECOVERY SYNERGY MODULE ========== */
.recovery-synergy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 600px) {
    .recovery-synergy-grid {
        grid-template-columns: 1fr;
    }
}

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

.recovery-mensaje-panel {
    border-left: 2px solid var(--text-dim);
}

.sync-status-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    margin: 8px auto 0;
    transition: background 0.4s ease;
}

.sync-pending {
    background: var(--text-dim);
    box-shadow: 0 0 0 3px rgba(134,134,139,0.2);
}

.sync-active {
    background: var(--text-main);
    box-shadow: 0 0 8px rgba(245,245,247,0.3);
}

/* ========== SOVEREIGN INNER PANEL ========== */
.naxe-3d-panel-inner {
    background: var(--bg-naxe);
    box-shadow: inset 4px 4px 8px var(--shadow-dark), inset -2px -2px 4px var(--shadow-light);
    border-radius: 12px;
    padding: 15px;
}

/* ========== NEUMORPHIC COMPONENTS ========== */
.naxe-3d-panel {
    background: var(--card-naxe);
    border-radius: 24px;
    padding: 25px;
    border: 1px solid var(--border-neu);
    box-shadow:
        9px 9px 16px var(--shadow-dark),
        -9px -9px 16px var(--shadow-light);
    transition: all 0.4s ease;
}

.naxe-3d-panel:hover {
    box-shadow:
        12px 12px 20px var(--shadow-dark),
        -12px -12px 20px var(--shadow-light);
}

.naxe-3d-panel-flat {
    background: var(--card-naxe);
    border-radius: 20px;
    padding: 20px;
    border: 1px solid var(--border-neu);
    box-shadow:
        5px 5px 10px var(--shadow-dark),
        -5px -5px 10px var(--shadow-light);
}

.naxe-3d-button {
    background: var(--card-naxe);
    border: none;
    border-radius: 12px;
    color: var(--text-main);
    box-shadow:
        5px 5px 10px var(--shadow-dark),
        -5px -5px 10px var(--shadow-light);
    padding: 15px 30px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.naxe-3d-button:active {
    box-shadow:
        inset 5px 5px 10px var(--inset-dark),
        inset -5px -5px 10px var(--inset-light);
    transform: scale(0.98);
}

.naxe-3d-button:hover {
    box-shadow:
        7px 7px 14px var(--shadow-dark),
        -7px -7px 14px var(--shadow-light);
}

.naxe-3d-button.secondary {
    color: var(--text-dim);
    font-size: 0.8rem;
}

.naxe-3d-inset {
    background: var(--card-naxe);
    border-radius: 16px;
    padding: 16px;
    box-shadow:
        inset 4px 4px 8px var(--inset-dark),
        inset -4px -4px 8px var(--inset-light);
    border: 1px solid var(--border-neu);
}

/* Apple Health style typography */
.label-small {
    font-size: 10px;
    color: var(--text-dim);
    font-family: 'JetBrains Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 6px;
}

.data-giant {
    font-size: 42px;
    font-weight: 900;
    color: var(--text-main);
    line-height: 1;
    letter-spacing: -1px;
}

.data-giant .unit {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dim);
    letter-spacing: 1px;
    margin-left: 4px;
}

.data-large {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.1;
}

.data-medium {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-main);
}

.description-small {
    font-size: 12px;
    color: var(--text-dim);
    margin-top: 8px;
    line-height: 1.5;
}

/* Theme Toggle */
.theme-toggle {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--card-naxe);
    border: none;
    box-shadow:
        4px 4px 8px var(--shadow-dark),
        -4px -4px 8px var(--shadow-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
    color: var(--text-dim);
}

.theme-toggle:active {
    box-shadow:
        inset 3px 3px 6px var(--inset-dark),
        inset -3px -3px 6px var(--inset-light);
}

/* ========== DASHBOARD SIDEBAR ========== */
.naxe-dashboard {
    display: flex;
    min-height: 100vh;
    background: var(--bg-naxe);
}

.naxe-sidebar {
    width: 260px;
    min-width: 260px;
    background: var(--bg-naxe);
    border-right: 1px solid var(--border-neu);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 40;
    overflow-y: auto;
    box-shadow: 4px 0 16px var(--shadow-dark);
}

.naxe-sidebar-logo {
    padding: 24px 20px;
    border-bottom: 1px solid var(--border-neu);
}

.naxe-sidebar-nav {
    padding: 16px 0;
    flex: 1;
}

.naxe-sidebar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    color: var(--text-dim);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    text-decoration: none;
}

.naxe-sidebar-item:hover {
    color: var(--text-main);
    background: var(--accent-subtle);
}

.naxe-sidebar-item.active {
    color: var(--text-main);
    background: var(--accent-subtle);
    border-left-color: var(--text-main);
    font-weight: 700;
}

.naxe-sidebar-item .sidebar-icon {
    font-size: 18px;
    width: 24px;
    text-align: center;
}

.naxe-sidebar-item .sidebar-badge {
    margin-left: auto;
    font-size: 9px;
    padding: 2px 8px;
    border-radius: 10px;
    background: var(--accent-subtle);
    color: var(--text-dim);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow:
        inset 2px 2px 4px var(--inset-dark),
        inset -2px -2px 4px var(--inset-light);
}

.naxe-sidebar-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--border-neu);
}

.naxe-main-content {
    margin-left: 260px;
    flex: 1;
    min-height: 100vh;
    background: var(--bg-naxe);
}

.naxe-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 32px;
    border-bottom: 1px solid var(--border-neu);
    background: var(--bg-naxe);
    position: sticky;
    top: 0;
    z-index: 30;
}

.naxe-content-area {
    padding: 32px;
}

.naxe-section {
    display: none;
}

.naxe-section.active {
    display: block;
}

/* Day tab buttons (neumorphic) */
.day-tab-btn {
    flex-shrink: 0;
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    background: var(--card-naxe);
    color: var(--text-dim);
    box-shadow:
        4px 4px 8px var(--shadow-dark),
        -4px -4px 8px var(--shadow-light);
}

.day-tab-btn.active {
    color: var(--text-main);
    font-weight: 800;
    box-shadow:
        inset 4px 4px 8px var(--inset-dark),
        inset -4px -4px 8px var(--inset-light);
}

.day-tab-btn:hover:not(.active) {
    color: var(--text-main);
}

/* Macro color chips (kept for nutritional data) */
.macro-protein { color: #EF4444; }
.macro-carbs { color: #F59E0B; }
.macro-fat { color: #3B82F6; }

@media (max-width: 768px) {
    .naxe-sidebar {
        width: 100%;
        min-width: 100%;
        position: fixed;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    .naxe-sidebar.open {
        transform: translateX(0);
    }
    .naxe-main-content {
        margin-left: 0;
    }
    .naxe-topbar {
        padding: 12px 16px;
    }
    .naxe-content-area {
        padding: 16px;
    }
    .mobile-menu-btn {
        display: flex !important;
    }
}

@media (min-width: 769px) {
    .mobile-menu-btn {
        display: none !important;
    }
}

/* ========== TYPOGRAPHY SYSTEM ========== */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video, input, select, textarea, button {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif !important;
}

html, body {
    color: var(--text-main, #F5F5F7) !important;
    background: var(--bg-naxe, #000000);
}

/* ========== TRANSICIONES FLUIDAS ========== */
.fade-in-suave {
    animation: fadeInSuave 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    opacity: 0;
}

@keyframes fadeInSuave {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.audit-section.active {
    animation: fadeInSuave 0.8s ease forwards;
}

.naxe-section.active {
    animation: fadeInSuave 0.6s ease forwards;
}

/* ========== VIDEO INTRO CONTAINERS ========== */
.video-intro-container {
    background: #121212;
    border: 1px solid #333336;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 2rem;
    text-align: center;
}

.naxe-ux-video {
    width: 100%;
    border-radius: 8px;
    max-height: 250px;
    object-fit: cover;
}

.video-caption h4 {
    color: #F5F5F7;
    margin-top: 10px;
    font-weight: 500;
    font-size: 14px;
    text-transform: none;
}

.video-caption p {
    color: #86868B;
    font-size: 0.85rem;
    margin-top: 4px;
}

.video-placeholder {
    width: 100%;
    height: 180px;
    background: #0A0A0A;
    border: 1px dashed #333336;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #86868B;
    font-size: 12px;
    font-family: monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.video-placeholder-icon {
    font-size: 32px;
    opacity: 0.5;
}

/* ========== ORÁCULO DIARIO ========== */
.daily-quote-card {
    background: var(--card-naxe);
    border-radius: 20px;
    padding: 20px 24px;
    margin-bottom: 2rem;
    position: relative;
    box-shadow:
        6px 6px 12px var(--shadow-dark),
        -6px -6px 12px var(--shadow-light);
    border: 1px solid var(--border-neu);
}

.daily-quote-card .quote-icon {
    color: var(--text-dim);
    font-size: 1.5rem;
    position: absolute;
    right: 20px;
    top: 12px;
    opacity: 0.3;
}

.daily-quote-card p {
    font-style: italic !important;
    color: var(--text-dim);
    font-size: 14px;
    line-height: 1.6;
}

/* ========== VÍDEO MANIFIESTO (LANDING) ========== */
.naxe-manifesto-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 800px;
    margin: 0 auto 3rem auto;
    padding: 0 20px;
}

.lux-title-medium {
    font-size: 1.8rem;
    font-weight: 600;
    color: #F5F5F7;
    letter-spacing: -0.5px;
    margin-bottom: 10px;
}

.lux-subtitle-small {
    font-size: 1rem;
    color: #86868B;
    line-height: 1.5;
    margin-bottom: 25px;
    max-width: 600px;
}

.video-manifesto-wrapper {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid #333336;
    background: #000;
    position: relative;
}

.naxe-premium-video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
}

.video-manifesto-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}


h1, .phase-title {
    font-weight: 800 !important;
    font-style: normal !important;
    text-transform: uppercase !important;
    letter-spacing: -0.02em;
}

h2, .brand-text, .text-neon, .nexa-accent {
    color: #F5F5F7 !important;
}

h1 {
    color: inherit !important;
}

/* ========== VALIDATION RESETS ========== */
*:invalid, *:-moz-ui-invalid, *:user-invalid {
    color: #F5F5F7 !important;
    border-color: #333336 !important;
    box-shadow: none !important;
    outline: none !important;
    background-image: none !important;
}

::-webkit-validation-bubble,
::-webkit-validation-bubble-arrow,
::-webkit-validation-bubble-body,
::-webkit-validation-bubble-heading,
::-webkit-validation-bubble-icon,
::-webkit-validation-bubble-message,
::-webkit-validation-bubble-text-block {
    display: none !important;
}

:-moz-submit-invalid, :-moz-ui-invalid {
    box-shadow: none !important;
}

/* ========== LABELS ========== */
label {
    font-weight: 600 !important;
    color: #86868B !important;
    text-transform: uppercase !important;
    font-size: 12px !important;
    letter-spacing: 0.5px !important;
}

/* ========== INPUTS ========== */
input, select, option, textarea {
    font-weight: 400 !important;
    font-style: normal !important;
}

::placeholder {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif !important;
    opacity: 0.4;
    color: #86868B !important;
}

input:invalid:focus,
select:invalid:focus,
textarea:invalid:focus {
    border-color: var(--text-dim) !important;
    box-shadow: 0 0 0 3px rgba(134, 134, 139, 0.15) !important;
}

input:invalid::-webkit-validation-bubble,
input:invalid::-webkit-validation-bubble-arrow,
input:invalid::-webkit-validation-bubble-body,
input:invalid::-webkit-validation-bubble-heading,
input:invalid::-webkit-validation-bubble-icon,
input:invalid::-webkit-validation-bubble-message,
input:invalid::-webkit-validation-bubble-text-block {
    display: none !important;
}

h1, h2, h3, p, span, label {
    color: inherit;
}

/* ========== BRANDING ========== */
.hero-title {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif !important;
    font-weight: 800 !important;
    font-style: normal !important;
    text-transform: uppercase;
    font-size: 5rem;
    letter-spacing: -3px;
    line-height: 0.95;
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 3.5rem;
        letter-spacing: -2px;
    }
}

.nexa-white { 
    color: #F5F5F7 !important; 
}

.core-green { 
    color: #F5F5F7 !important; 
    text-shadow: none;
}

.brand-title {
    color: #F5F5F7 !important;
    text-shadow: none;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif !important;
    font-weight: 800 !important;
    font-style: normal !important;
}

/* ========== PHOTO UPLOAD ========== */
.photo-upload-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.photo-box, .upload-box {
    border: 1px solid #333336 !important;
    background: #1C1C1E;
    padding: 24px;
    text-align: center;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: none;
}

.photo-box:hover, .upload-box:hover {
    border-color: #48484A !important;
    background: #2C2C2E;
    box-shadow: none;
    transform: translateY(-2px);
}

.photo-box.has-file {
    border-color: var(--text-dim) !important;
    background: rgba(255, 255, 255, 0.05);
}

.photo-box span {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif;
    font-weight: 600;
    font-style: normal;
    color: #F5F5F7;
    text-transform: uppercase;
    font-size: 0.8rem;
}

/* ========== BRAND IDENTITY ========== */
.brand-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.brand-logo-img {
    width: 120px;
    height: auto;
    filter: none;
    margin-bottom: 10px;
}

.brand-text {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif !important;
    font-weight: 800 !important;
    font-style: normal !important;
    font-size: 1.8rem !important;
    color: #F5F5F7 !important;
    text-transform: uppercase;
    margin: 0;
    letter-spacing: 0.5px;
    text-shadow: none;
}

.brand-container-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}

.brand-container-hero .brand-logo-img {
    width: 180px;
    filter: none;
    margin-bottom: 15px;
}

.brand-container-hero .brand-text {
    font-size: 2.5rem !important;
    text-shadow: none;
}

/* ========== PHOTO LABELS ========== */
.photo-label-title {
    font-size: 1rem;
    font-weight: 700;
    color: #F5F5F7;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.photo-label-subtitle {
    font-size: 0.8rem;
    color: #86868B;
    font-weight: 400;
    margin: 0;
}

/* ========== NAXE LENS SCANNER ========== */
.naxe-scanner-module {
    margin-bottom: 1.5rem;
}

.scanner-screen {
    position: relative;
    width: 100%;
    height: 350px;
    background: #0A0A0A;
    border: 1px solid #333336;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#naxe-camera-feed {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
    filter: grayscale(30%) contrast(120%);
}

.scanner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.3) 0%,
        transparent 30%,
        transparent 70%,
        rgba(0, 0, 0, 0.3) 100%
    );
    z-index: 3;
    pointer-events: none;
}

.laser-line {
    position: absolute;
    width: 100%;
    height: 2px;
    background: #39ff14;
    box-shadow: 0 0 15px 2px rgba(57, 255, 20, 0.6);
    top: 0;
    left: 0;
    z-index: 10;
    animation: scanAnimation 3s linear infinite;
}

@keyframes scanAnimation {
    0% { top: 0; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

.target-box {
    position: absolute;
    width: 60%;
    height: 70%;
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    z-index: 5;
}

.status-terminal {
    position: absolute;
    bottom: 10px;
    width: 90%;
    text-align: center;
    color: #39ff14;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    background: rgba(0, 0, 0, 0.7);
    padding: 8px 12px;
    border-radius: 6px;
    z-index: 20;
    letter-spacing: 0.5px;
}

/* ========== BUTTONS (GHOST STYLE) ========== */
.cyber-button-small {
    width: 100%;
    padding: 1rem;
    background-color: transparent;
    border: 1px solid #333336;
    border-radius: 12px;
    color: #F5F5F7;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cyber-button-small:hover {
    border-color: #48484A;
    background-color: rgba(255, 255, 255, 0.03);
    color: #F5F5F7;
}

.cyber-button:disabled {
    border-color: #333336;
    color: #48484A;
    cursor: not-allowed;
    background-color: transparent;
}

.cyber-button:disabled:hover {
    background-color: transparent;
    box-shadow: none;
}

/* ========== PRICING ========== */
.billing-toggle-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
    gap: 15px;
    font-size: 1rem;
    font-weight: 600;
}

.billing-toggle-container .active-label {
    color: #F5F5F7 !important;
    text-shadow: none;
}

.discount-badge {
    background: var(--text-main);
    color: var(--bg-naxe);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    margin-left: 8px;
    vertical-align: middle;
}

.switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #48484A;
    transition: .3s;
    border: none;
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background-color: #F5F5F7;
    transition: .3s;
}

input:checked + .slider {
    background-color: var(--text-main);
}

input:checked + .slider:before {
    transform: translateX(24px);
}

.slider.round {
    border-radius: 28px;
}

.slider.round:before {
    border-radius: 50%;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.pricing-grid.pricing-grid-2 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .pricing-grid,
    .pricing-grid.pricing-grid-2 {
        grid-template-columns: 1fr;
    }
}

.pricing-card {
    background: #1C1C1E;
    border: 1px solid #333336;
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
    transition: all 0.2s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
    border-color: #48484A;
}

.pricing-card.premium-card {
    border-color: var(--text-main);
}

.pricing-card.pro-card {
    border: 2px solid var(--text-main);
}

.pricing-card.pro-card:hover {
    transform: translateY(-6px);
}

.pro-badge {
    background: var(--text-main) !important;
    color: var(--bg-naxe) !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    font-size: 0.7rem;
}

.pricing-card.family-card {
    border: 1px solid #48484A;
}

.pricing-card.family-card:hover {
    border-color: #636366;
}

.most-popular {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--text-main);
    color: var(--bg-naxe);
    padding: 5px 18px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px;
    white-space: nowrap;
}

.pricing-card .price {
    font-size: 3rem;
    font-weight: 800;
    font-style: normal;
    margin: 1.2rem 0;
    line-height: 1;
}

.pricing-card .price span {
    font-size: 1rem;
    font-weight: 400;
    font-style: normal;
    opacity: 0.5;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.features-list li {
    padding: 0.6rem 0;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    color: #F5F5F7;
}

.features-list li.disabled {
    opacity: 0.3;
    color: #86868B;
}

.highlight-feature {
    color: var(--text-main) !important;
    font-weight: 600;
    border-top: 1px solid #333336;
    padding-top: 12px;
    margin-top: 12px;
}

.annual-note {
    font-size: 0.8rem;
    color: #86868B;
    text-align: center;
    margin-top: 12px;
}

.hz-badge {
    font-size: 0.6rem;
    padding: 3px 8px;
    border: 1px solid #48484A;
    border-radius: 6px;
    vertical-align: middle;
    margin-left: 6px;
    font-weight: 500;
    font-style: normal;
    text-transform: uppercase;
    color: #86868B;
}

.hz-badge.glow {
    border-color: var(--text-main);
    color: var(--text-main);
    box-shadow: none;
}

.cyber-button-alt,
.btn-secundario,
.back-btn {
    width: 100%;
    padding: 14px 28px;
    background-color: transparent !important;
    background: transparent !important;
    border: 1px solid #333336 !important;
    border-radius: 10px;
    color: #86868B !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.cyber-button-alt:hover,
.btn-secundario:hover {
    border-color: #48484A;
    background: rgba(255, 255, 255, 0.03);
}

.cyber-button,
.btn-primary,
button[type="submit"],
input[type="submit"],
.boton-accion-principal,
.next-btn,
.prev-btn {
    width: 100%;
    padding: 14px 28px;
    background-color: transparent !important;
    background: transparent !important;
    border: 1px solid var(--text-main) !important;
    border-radius: 10px;
    color: var(--text-main) !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: none !important;
    outline: none !important;
}

.cyber-button:hover,
.btn-primary:hover,
button[type="submit"]:hover,
input[type="submit"]:hover,
.boton-accion-principal:hover,
.next-btn:hover,
.prev-btn:hover {
    background-color: rgba(255, 255, 255, 0.03) !important;
    box-shadow: none !important;
    transform: translateY(-2px);
}

/* ========== SERVICES / INFRASTRUCTURE GRID ========== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #1A1A1C;
    border: 1px solid #2C2C2E;
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.2s ease;
}

.service-card:hover {
    border-color: #48484A;
    transform: translateY(-2px);
}

.service-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    line-height: 1;
}

.service-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #F5F5F7;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.service-card p {
    font-size: 0.9rem;
    color: #86868B;
    line-height: 1.5;
    font-weight: 400;
}

@media (max-width: 640px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* ========== HERO LOGO ========== */
.hero-logo-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    margin-top: 1rem;
}

.naxe-main-logo {
    max-width: 90%;
    width: 450px;
    height: auto;
    object-fit: contain;
    filter: none;
    transition: transform 0.3s ease;
    mask-image: radial-gradient(circle, black 70%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle, black 70%, transparent 100%);
}

@media (max-width: 768px) {
    .naxe-main-logo {
        width: 320px;
    }
}

/* ========== RANGE SLIDERS (NAXE) ========== */
.naxe-slider-group {
    background: #1A1A1C;
    border: 1px solid #333336;
    border-radius: 12px;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.naxe-slider-group label {
    font-size: 0.75rem !important;
    color: #86868B !important;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.naxe-slider-display {
    font-size: 2.5rem;
    font-weight: 700;
    color: #F5F5F7;
    margin-bottom: 24px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif;
    line-height: 1;
}

.naxe-precision-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
    margin-bottom: 24px;
}

.naxe-precision-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #333336;
    background: transparent;
    color: #F5F5F7;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
    padding: 0;
    line-height: 1;
}

.naxe-precision-btn:hover {
    border-color: #F5F5F7;
    background: rgba(245, 245, 247, 0.05);
}

.naxe-precision-btn:active {
    transform: scale(0.95);
    background: rgba(245, 245, 247, 0.1);
}

.naxe-slider-display .unidad {
    font-size: 1rem;
    color: #86868B;
    font-weight: 400;
}

.naxe-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: #333336;
    border-radius: 5px;
    outline: none;
    border: none;
}

.naxe-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #F5F5F7;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    border: 2px solid #1A1A1C;
    transition: transform 0.1s ease;
}

.naxe-range::-webkit-slider-thumb:active {
    transform: scale(1.2);
    background: var(--text-dim);
}

.naxe-range::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #F5F5F7;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    border: 2px solid #1A1A1C;
    transition: transform 0.1s ease;
}

.naxe-range::-moz-range-thumb:active {
    transform: scale(1.2);
    background: var(--text-dim);
}

.naxe-range::-moz-range-track {
    height: 6px;
    background: #333336;
    border-radius: 5px;
    border: none;
}

@keyframes naxeProPulse {
    0%, 100% { background-color: #000000; }
    50% { background-color: #020202; }
}

.naxe-pro-active {
    animation: naxeProPulse 10s ease-in-out infinite;
}

.naxe-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 14px;
    background: #1A1A1C;
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.naxe-chip:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: #222224;
}

.naxe-chip-input {
    display: none;
}

.naxe-chip-label {
    font-size: 0.875rem;
    color: #A1A1A6;
    font-weight: 500;
    line-height: 1.3;
    transition: color 0.2s ease;
}

.naxe-chip-input:checked ~ .naxe-chip-label {
    color: #F5F5F7;
}

.naxe-chip:has(.naxe-chip-input:checked) {
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(245, 245, 247, 0.08);
    box-shadow: 0 0 12px rgba(245, 245, 247, 0.04);
}

.naxe-chip::before {
    content: '';
    width: 20px;
    height: 20px;
    min-width: 20px;
    border-radius: 6px;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    background: transparent;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.naxe-chip:has(.naxe-chip-input:checked)::before {
    background: #F5F5F7;
    border-color: #F5F5F7;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: 14px;
    background-repeat: no-repeat;
    background-position: center;
}

[data-theme="light"] .naxe-chip {
    background: #F5F5F7;
    border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .naxe-chip:hover {
    background: #EBEBED;
    border-color: rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .naxe-chip-label {
    color: #6E6E73;
}

[data-theme="light"] .naxe-chip-input:checked ~ .naxe-chip-label {
    color: #1D1D1F;
}

[data-theme="light"] .naxe-chip:has(.naxe-chip-input:checked) {
    border-color: rgba(0, 0, 0, 0.25);
    background: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .naxe-chip:has(.naxe-chip-input:checked)::before {
    background: #1D1D1F;
    border-color: #1D1D1F;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: 14px;
    background-repeat: no-repeat;
    background-position: center;
}

.naxe-btn-save-later {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 14px;
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    color: #A1A1A6;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
}

.naxe-btn-save-later:hover {
    border-color: rgba(255, 255, 255, 0.35);
    color: #F5F5F7;
    background: rgba(255, 255, 255, 0.04);
}

.naxe-btn-save-later:active {
    transform: scale(0.98);
}

[data-theme="light"] .naxe-btn-save-later {
    border-color: rgba(0, 0, 0, 0.12);
    color: #6E6E73;
}

[data-theme="light"] .naxe-btn-save-later:hover {
    border-color: rgba(0, 0, 0, 0.25);
    color: #1D1D1F;
    background: rgba(0, 0, 0, 0.03);
}
