/* ----------------------------------------------------
   SISTEMA DE ESTILOS EDITORIAL LUXURY - VEROPDF
   ---------------------------------------------------- */
:root {
    --bg-obsidian: #030304;
    --bg-pure: #000000;
    
    /* Colores Luxury: Champagne Gold & Muted Ivory */
    --gold: hsl(43, 55%, 52%);
    --gold-glow: rgba(212, 175, 55, 0.15);
    --gold-light: hsl(43, 60%, 65%);
    --ivory: #F4EFEB;
    --ivory-muted: #949ca8;
    
    /* Glassmorphism Escarchado y Ultra-Fino */
    --glass-bg: rgba(10, 10, 12, 0.72);
    --glass-border: rgba(212, 175, 55, 0.08);
    --glass-border-hover: rgba(212, 175, 55, 0.20);
    
    /* Variables Adicionales */
    --bg-card: rgba(15, 15, 18, 0.6);
    --border-luxury: rgba(212, 175, 55, 0.15);
    
    /* Tipografía de Vanguardia */
    --font-editorial: 'Playfair Display', Georgia, serif;
    --font-clean: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    /* Variables de Estilo */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --transition-luxury: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--bg-obsidian);
    color: var(--ivory);
    font-family: var(--font-clean);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
    letter-spacing: -0.01em;
}

/* ----------------------------------------------------
   LUXURY BACKLIGHT DE FONDO (ILUMINACIÓN DE FONDO)
   ---------------------------------------------------- */
.luxury-backlight {
    position: absolute;
    top: -15%;
    left: 25%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
    filter: blur(140px);
    z-index: -1;
    pointer-events: none;
    animation: slowPulse 12s ease-in-out infinite alternate;
}

.app-bg-glow-right {
    position: fixed;
    bottom: -15%;
    right: -10%;
    width: 45vw;
    height: 45vw;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    filter: blur(130px);
    z-index: -2;
    pointer-events: none;
    animation: slowPulseRight 18s ease-in-out infinite alternate;
}

.app-bg-glow-left {
    position: fixed;
    top: 35%;
    left: -15%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.03) 0%, transparent 70%);
    filter: blur(110px);
    z-index: -2;
    pointer-events: none;
    animation: slowPulseLeft 22s ease-in-out infinite alternate;
}

#ambient-star-dust {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    display: block;
}

@keyframes slowPulse {
    0% { transform: scale(1) translate(0, 0); opacity: 0.8; }
    100% { transform: scale(1.15) translate(-3%, 3%); opacity: 1; }
}

@keyframes slowPulseRight {
    0% { transform: translate(0, 0) scale(1); opacity: 0.7; }
    100% { transform: translate(-4%, -4%) scale(1.12); opacity: 1; }
}

@keyframes slowPulseLeft {
    0% { transform: translate(0, 0) scale(1.05); opacity: 0.8; }
    100% { transform: translate(4%, 4%) scale(0.95); opacity: 1; }
}

/* ----------------------------------------------------
   CABECERA EDITORIAL (HEADER)
   ---------------------------------------------------- */
.app-header-luxury {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 4%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    background-color: rgba(3, 3, 4, 0.8);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.brand-monogram {
    font-family: var(--font-editorial);
    font-size: 28px;
    font-weight: 300;
    line-height: 1;
    margin-top: -2px;
    background: linear-gradient(135deg, #d4af37 0%, #fffbf6 50%, #aa7c11 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
    transition: var(--transition-luxury);
}

.brand-monogram:hover {
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3)) scale(1.05);
}

.brand h1 {
    font-family: var(--font-clean);
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.brand-accent {
    font-weight: 200;
    color: var(--ivory-muted);
}

/* Navegación delgada superior */
.nav-minimal {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.nav-link-minimal {
    background: transparent;
    border: none;
    color: var(--ivory-muted);
    cursor: pointer;
    transition: var(--transition-luxury);
    padding: 4px 8px;
}

.nav-link-minimal:hover, .nav-link-minimal.active {
    color: var(--gold);
}

.nav-sep {
    color: rgba(255, 255, 255, 0.08);
}

.security-status-minimal {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 175, 55, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.1);
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gold);
}

.status-indicator-gold {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: var(--gold);
    box-shadow: 0 0 8px var(--gold);
}

/* ----------------------------------------------------
   PORTADA EDITORIAL (HERO)
   ---------------------------------------------------- */
.app-main-luxury {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 4% 40px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    gap: 24px;
}


.hero-editorial {
    text-align: center;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0 auto;
    padding: 60px 20px 40px;
    min-height: 45vh; /* Altura generosa por defecto */
    position: relative; /* Para anclar el indicador de scroll */
    will-change: transform, opacity, filter;
    transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.15s ease-out, filter 0.15s ease-out;
    animation: fadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@media (max-width: 768px) {
    .hero-editorial {
        min-height: calc(100dvh - 80px); /* Abarca toda la pantalla en móvil */
        padding: 30px 20px 80px; /* Margen inferior para acomodar el indicador */
        gap: 18px;
    }
}

/* Hero Editorial Text Sizes Refinements */
.editorial-category {
    font-family: var(--font-clean);
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--gold);
}

.editorial-title {
    font-family: var(--font-editorial);
    font-size: 56px;
    font-weight: 400;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: var(--ivory);
}

@media (max-width: 768px) {
    .editorial-title {
        font-size: 38px;
        line-height: 1.15;
    }
}

.editorial-title em {
    font-family: var(--font-editorial);
    font-style: italic;
    font-weight: 400;
    color: var(--gold-light);
}

.editorial-subtitle {
    font-family: var(--font-clean);
    font-size: 18.5px;
    font-weight: 350;
    color: var(--ivory-muted);
    line-height: 1.62;
    max-width: 720px;
    margin-top: 4px;
}

@media (max-width: 768px) {
    .editorial-subtitle {
        font-size: 15.5px;
        line-height: 1.62;
    }
}

/* Indicador táctil de scroll de lujo */
.scroll-indicator-luxury {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.85;
    cursor: pointer;
    transition: opacity 0.4s ease, transform 0.4s ease;
    z-index: 10;
    pointer-events: auto;
}

.scroll-indicator-luxury .scroll-text {
    font-family: var(--font-clean);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--gold-light);
    font-weight: 500;
}

.scroll-indicator-luxury .scroll-arrow {
    font-size: 18px;
    color: var(--gold);
    animation: bounceGold 2s infinite;
    display: inline-block;
    line-height: 1;
}

@keyframes bounceGold {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-6px);
    }
    60% {
        transform: translateY(-3px);
    }
}

@media (min-width: 769px) {
    .scroll-indicator-luxury {
        display: none; /* Se oculta en PC ya que las tarjetas ya se asoman */
    }
}

/* Animaciones Nativas de Scroll (Scroll-Driven Animations) */
@keyframes heroScrollFade {
    to {
        transform: translate3d(0, -90px, 0) scale(0.88);
        opacity: 0;
        filter: blur(16px);
    }
}

@keyframes catalogSlideUpScroll {
    from {
        transform: translate3d(0, 40px, 0);
    }
    to {
        transform: translate3d(0, 0, 0);
    }
}

@keyframes indicatorFadeScroll {
    to {
        opacity: 0;
        transform: translate3d(-50%, 20px, 0);
    }
}

@supports ((animation-timeline: scroll()) and (animation-range: 0% 100%)) {
    .hero-editorial {
        animation: heroScrollFade auto linear both;
        animation-timeline: scroll(block root);
        animation-range: 0vh 60vh;
    }
    
    .scroll-indicator-luxury {
        animation: indicatorFadeScroll auto linear both;
        animation-timeline: scroll(block root);
        animation-range: 0dvh 20dvh;
    }
    
    .catalog-grid-expanded {
        animation: catalogSlideUpScroll auto linear both;
        animation-timeline: scroll(block root);
        animation-range: 0vh 45vh;
    }
    
    @media (max-width: 768px) {
        .hero-editorial {
            animation-range: 0dvh 80dvh;
        }
        .catalog-grid-expanded {
            animation-range: 0dvh 75dvh;
        }
    }
}


/* ----------------------------------------------------
   DASHBOARD / CUADRÍCULA DE CATÁLOGO LUXURY
   ---------------------------------------------------- */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    width: 100%;
    max-width: 800px;
    margin-top: 20px;
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.catalog-grid-expanded {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    width: 100%;
    max-width: 100%;
    margin-top: 10px;
    will-change: transform;
    transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1);
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Responsividad para cuadrícula de 5 columnas */
@media (max-width: 850px) {
    .catalog-grid-expanded {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 680px) {
    .catalog-grid-expanded {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
}

@media (max-width: 500px) {
    .catalog-grid-expanded {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

@media (max-width: 360px) {
    .catalog-grid-expanded {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

.catalog-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    height: 155px;
    justify-content: space-between;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4), 
                inset 0 1px 1px rgba(255, 255, 255, 0.03);
}

.catalog-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 30%;
    height: 200%;
    background: linear-gradient(
        to right,
        transparent,
        rgba(255, 255, 255, 0.01) 30%,
        rgba(212, 175, 55, 0.08) 50%,
        rgba(255, 255, 255, 0.01) 70%,
        transparent
    );
    transform: rotate(35deg);
    transition: none;
    opacity: 0;
    pointer-events: none;
    z-index: 3;
}

.catalog-card:hover {
    transform: translateY(-5px) scale(1.025);
    border-color: rgba(212, 175, 55, 0.45);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.65), 
                0 0 25px rgba(212, 175, 55, 0.05), 
                inset 0 0 12px rgba(212, 175, 55, 0.04);
}

.catalog-card:hover::after {
    left: 140%;
    transition: left 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 1;
}

/* Borde y Brillo dinámico seguidor de cursor en catálogo */
.catalog-card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        220px circle at var(--mouse-x, -999px) var(--mouse-y, -999px), 
        rgba(212, 175, 55, 0.09), 
        transparent 55%
    );
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.4s ease;
}

.catalog-card-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 6px;
    height: 100%;
}

.catalog-icon {
    font-size: 22px;
    margin-bottom: 2px;
    display: block;
}

.catalog-card h3 {
    font-family: var(--font-clean);
    font-size: 17.5px;
    font-weight: 600;
    color: var(--ivory);
    letter-spacing: -0.1px;
}

.catalog-card p {
    font-family: var(--font-clean);
    font-size: 13.5px;
    color: var(--ivory-muted);
    line-height: 1.5;
    margin-top: 4px;
}

.catalog-arrow {
    position: absolute;
    top: 14px;
    right: 16px;
    font-size: 12px;
    color: var(--gold);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    display: inline-block;
    opacity: 0.35;
    margin: 0;
}

.catalog-card:hover .catalog-arrow {
    opacity: 1;
    transform: translate(3px, -3px) rotate(-45deg);
}


/* ----------------------------------------------------
   PANEL DE CONTROL ULTRA-MINIMALISTA (GOLDEN GLASS CARD)
   ---------------------------------------------------- */
.tool-panel-luxury {
    width: 100%;
    max-width: 800px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-radius: var(--radius-lg);
    padding: 36px 40px;
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.65);
    position: relative;
    overflow: hidden;
    transition: var(--transition-luxury);
    animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.btn-back-catalog {
    background: transparent;
    border: none;
    font-family: var(--font-editorial);
    font-size: 14px;
    font-style: italic;
    color: var(--gold);
    cursor: pointer;
    margin-bottom: 24px;
    display: block;
    transition: var(--transition-luxury);
}

.btn-back-catalog:hover {
    color: var(--gold-light);
    transform: translateX(-4px);
}

.panel-title-editorial {
    font-family: var(--font-editorial);
    font-size: 32px;
    font-weight: 400;
    margin-bottom: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    padding-bottom: 12px;
}

/* ----------------------------------------------------
   DROPZONE EDITORIAL (CARTA MINIMALISTA)
   ---------------------------------------------------- */
.dropzone-editorial {
    border: 1px dashed rgba(212, 175, 55, 0.15);
    border-radius: var(--radius-md);
    padding: 60px 40px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.005);
    transition: var(--transition-luxury);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.dropzone-editorial:hover, .dropzone-editorial.dragover {
    border-color: var(--gold);
    background-color: rgba(212, 175, 55, 0.015);
}

.dropzone-content-editorial {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.dropzone-gold-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.2);
    background: rgba(212, 175, 55, 0.02);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 20px;
    transition: var(--transition-luxury);
}

.dropzone-editorial:hover .dropzone-gold-icon {
    transform: translateY(-4px) scale(1.05);
    background: rgba(212, 175, 55, 0.08);
    border-color: var(--gold);
}

.dropzone-content-editorial h3 {
    font-family: var(--font-editorial);
    font-size: 22px;
    font-weight: 400;
}

.dropzone-click-text {
    font-size: 14px;
    color: var(--ivory-muted);
    font-weight: 300;
}

.dropzone-disclaimer {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ivory-muted);
    opacity: 0.6;
}

.hidden-input {
    display: none;
}

/* ----------------------------------------------------
   LISTADO DE ARCHIVOS LUXURY MINIMALISTA
   ---------------------------------------------------- */
.file-list-panel-luxury {
    margin-top: 40px;
    animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.panel-header-editorial {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    padding-bottom: 12px;
}

.panel-header-editorial h3 {
    font-family: var(--font-clean);
    font-size: 13px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ivory);
}

.mono-badge {
    font-family: var(--font-mono);
    color: var(--gold);
    font-size: 13px;
    margin-left: 6px;
    font-weight: 300;
}

.btn-text-clear {
    background: transparent;
    border: none;
    font-family: var(--font-clean);
    font-size: 12px;
    font-weight: 400;
    color: var(--ivory-muted);
    cursor: pointer;
    transition: var(--transition-luxury);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.file-list-editorial {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 300px;
    overflow-y: auto;
    padding-right: 6px;
    margin-bottom: 30px;
}

/* Scrollbar Minimalista */
.file-list-editorial::-webkit-scrollbar {
    width: 4px;
}
.file-list-editorial::-webkit-scrollbar-track {
    background: transparent;
}
.file-list-editorial::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
}
.file-list-editorial::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}

/* Tarjeta de Lista Luxury */
.file-item-luxury {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.008);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-sm);
    padding: 14px 20px;
    transition: var(--transition-luxury);
}

.file-item-luxury:hover {
    background: rgba(212, 175, 55, 0.015);
    border-color: rgba(212, 175, 55, 0.15);
}

.file-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.file-icon {
    font-size: 18px;
    color: var(--gold);
    opacity: 0.7;
}

.file-details {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.file-name {
    font-size: 13.5px;
    font-weight: 300;
    color: var(--ivory);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-size {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--ivory-muted);
    margin-top: 1px;
    font-weight: 200;
}

.file-actions {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Botones de Lista Minimalistas */
.btn-action-luxury {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 4px;
    color: var(--ivory-muted);
    transition: var(--transition-luxury);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-action-luxury:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.04);
    color: var(--ivory);
}

.btn-delete-luxury:hover:not(:disabled) {
    background: rgba(239, 68, 68, 0.08);
    color: var(--error);
}

.btn-action-luxury:disabled {
    color: var(--text-disabled);
    cursor: not-allowed;
    opacity: 0.3;
}

/* ----------------------------------------------------
   CONTROLES ESPECÍFICOS DE DIVISIÓN (SPLIT)
   ---------------------------------------------------- */
.loaded-file-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(212, 175, 55, 0.02);
    border: 1px solid rgba(212, 175, 55, 0.12);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    margin-bottom: 30px;
}

.loaded-file-details {
    display: flex;
    flex-direction: column;
}

.split-options-box {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.input-editorial-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-editorial-group label {
    font-family: var(--font-clean);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gold);
}

.input-editorial {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--ivory);
    transition: var(--transition-luxury);
}

.input-editorial:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.015);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.05);
}

/* ----------------------------------------------------
   PLACEHOLDERS PARA HERRAMIENTAS ADICIONALES (SIGN / COMPRESS)
   ---------------------------------------------------- */
.placeholder-luxury-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 40px;
    border: 1px dashed rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.002);
    gap: 20px;
}

.placeholder-icon {
    font-size: 40px;
    opacity: 0.4;
    display: block;
}

.placeholder-luxury-box h4 {
    font-family: var(--font-editorial);
    font-size: 24px;
    font-weight: 400;
}

.placeholder-luxury-box p {
    font-family: var(--font-clean);
    font-size: 14px;
    color: var(--ivory-muted);
    line-height: 1.6;
    max-width: 500px;
}

/* ----------------------------------------------------
   BOTÓN ACCIÓN PRINCIPAL (GOLD CHAMPAGNE LUXURY)
   ---------------------------------------------------- */
.panel-action-editorial {
    display: flex;
    justify-content: center;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding-top: 24px;
}

.btn-gold-luxury {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 14px 44px;
    border-radius: var(--radius-sm);
    font-family: var(--font-clean);
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    cursor: pointer;
    transition: var(--transition-luxury);
    position: relative;
    overflow: hidden;
}

.btn-gold-luxury:hover {
    background: var(--gold);
    color: var(--bg-pure);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.18);
    transform: translateY(-2px);
}

.btn-gold-luxury:active {
    transform: translateY(0);
}

.btn-gold-luxury:disabled {
    border-color: var(--text-disabled);
    color: var(--text-disabled);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    background: transparent;
}

/* ----------------------------------------------------
   MODAL DE CARGA LUXURY SLIM (MINIMALIST LOADING)
   ---------------------------------------------------- */
.status-modal-luxury {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-backdrop-blur {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.status-box-luxury {
    background: var(--glass-bg);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8);
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    animation: scaleIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Cargador de Cristal Líquido */
.liquid-loader {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.12);
    position: relative;
    overflow: hidden;
}

.liquid-wave {
    position: absolute;
    top: 55%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: var(--gold);
    border-radius: 38%;
    opacity: 0.5;
    animation: waveMove 6s linear infinite;
}

.liquid-wave:nth-child(2) {
    border-radius: 35%;
    opacity: 0.2;
    animation: waveMove 8s linear infinite;
}

@keyframes waveMove {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-40%) rotate(360deg); }
}

.status-box-luxury h4 {
    font-family: var(--font-editorial);
    font-size: 22px;
    font-weight: 400;
}

.status-box-luxury p {
    color: var(--ivory-muted);
    font-size: 13.5px;
    line-height: 1.6;
}

/* ----------------------------------------------------
   LUXURY SPECS (DIVISOR ESTILO LEICA)
   ---------------------------------------------------- */
.luxury-specs {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 800px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    padding: 24px 10px;
}

.spec-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    text-align: center;
}

.spec-title {
    font-family: var(--font-clean);
    font-size: 9px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold);
}

.spec-value {
    font-family: var(--font-clean);
    font-size: 13px;
    font-weight: 300;
    color: var(--ivory);
}

.spec-divider {
    width: 1px;
    height: 30px;
    background-color: rgba(255, 255, 255, 0.02);
}

/* ----------------------------------------------------
   PIE DE PÁGINA LUXURY EDITORIAL
   ---------------------------------------------------- */
.app-footer-editorial {
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    padding: 30px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--bg-pure);
    font-size: 12px;
    color: var(--ivory-muted);
    margin-top: auto;
}

.app-footer-editorial strong {
    color: var(--ivory);
    font-weight: 400;
}

.footer-badge-offline {
    display: flex;
    align-items: center;
    gap: 8px;
}

.offline-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: var(--gold);
    box-shadow: 0 0 6px var(--gold);
}

.offline-text {
    color: var(--gold);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 10px;
}

/* ----------------------------------------------------
   ANIMACIONES GENERALES
   ---------------------------------------------------- */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.97); }
    to { opacity: 1; transform: scale(1); }
}

/* Clase utilitaria para ocultar elementos */
.hidden {
    display: none !important;
}

/* Clase para bloquear scroll del fondo cuando un modal está abierto */
body.modal-open {
    overflow: hidden !important;
}

/* ----------------------------------------------------
   RESPONSIVIDAD Y MEDIA QUERIES
   ---------------------------------------------------- */
@media (max-width: 768px) {
    .catalog-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .luxury-specs {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }
    
    .spec-divider {
        display: none;
    }
    
    .app-header-luxury {
        padding: 12px 4%;
    }
    
    .security-status-minimal {
        display: none !important; /* Ocultar para evitar amontonamiento en móvil */
    }
    
    .header-right-actions {
        gap: 10px;
        justify-content: flex-end;
    }
    
    .btn-pro-badge {
        padding: 5px 12px;
        font-size: 10.5px;
    }
    
    .app-main-luxury {
        padding: 24px 6% 40px;
        gap: 24px;
    }
    
    .tool-panel-luxury {
        padding: 20px;
    }
    
    .app-footer-editorial {
        flex-direction: column;
        gap: 16px;
    }
    
    /* Evitar bugs notorios de centrado flex y recorte de scroll en móvil */
    .pro-modal-luxury {
        display: block !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        padding: 40px 12px !important;
    }
    
    .pro-box-luxury {
        margin: 20px auto !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* Refinamientos extra para móviles muy pequeños */
@media (max-width: 480px) {
    .brand h1 {
        font-size: 15px !important;
        letter-spacing: 0.08em !important;
    }
    .brand-monogram {
        font-size: 24px !important;
    }
    .brand {
        gap: 6px !important;
    }
    .header-right-actions {
        gap: 8px !important;
    }
    .btn-pro-badge {
        padding: 4px 10px !important;
        font-size: 9px !important;
    }
}

/* ----------------------------------------------------
   NUEVOS ESTILOS PARA COMPONENTES DE LAS 9 HERRAMIENTAS
   ---------------------------------------------------- */
.signature-workspace {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .signature-workspace {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.signature-box-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.signature-box-container label {
    font-family: var(--font-clean);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gold);
}

.signature-canvas-wrapper {
    background: #060606;
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: var(--radius-sm);
    padding: 2px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
}

canvas#signature-pad {
    display: block;
    max-width: 100%;
    cursor: crosshair;
    background: transparent;
}

.signature-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
}

.input-editorial-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.06);
    outline: none;
    margin: 12px 0;
    transition: var(--transition-luxury);
}

.input-editorial-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--gold);
    border: 1px solid var(--bg-pure);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
    transition: var(--transition-luxury);
}

.input-editorial-range::-webkit-slider-thumb:hover {
    transform: scale(1.25);
    box-shadow: 0 0 15px var(--gold);
}

.editorial-hint {
    font-family: var(--font-clean);
    font-size: 11px;
    color: var(--ivory-muted);
    line-height: 1.5;
    margin-top: 4px;
    display: block;
}

/* ----------------------------------------------------
   MONETIZACIÓN PREMIUM: ACCIONES PRO Y MODAL LUXE
   ---------------------------------------------------- */
.header-right-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.btn-pro-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.02) 100%);
    border: 1px solid rgba(212, 175, 55, 0.35);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.05);
}

.btn-pro-badge:hover {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(212, 175, 55, 0.05) 100%);
    border-color: var(--gold);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.15);
    transform: translateY(-1px);
}

.btn-pro-badge .pro-crown {
    font-size: 13px;
    color: var(--gold);
    animation: goldPulse 2s infinite ease-in-out;
}

@keyframes goldPulse {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.15); }
}

/* Modal Pro de Lujo */
.pro-modal-luxury {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-start; /* Permite scroll natural desde arriba sin recortes flex */
    justify-content: center;
    z-index: 1000;
    overflow-y: auto; /* Habilitar scroll si el contenido sobrepasa la pantalla */
    padding: 40px 10px; /* Padding para evitar tocar los bordes del viewport */
}

.pro-backdrop-blur {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 3, 4, 0.75);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
}

.pro-box-luxury {
    position: relative;
    width: 100%;
    max-width: 580px;
    background: linear-gradient(145deg, rgba(10, 10, 12, 0.9) 0%, rgba(3, 3, 4, 0.98) 100%);
    border: 1px solid rgba(212, 175, 55, 0.18);
    border-radius: 20px;
    padding: 40px;
    margin: auto; /* Centrar verticalmente si cabe, alineado arriba y respetando paddings si desborda */
    z-index: 1001;
    box-sizing: border-box; /* Evitar desbordamiento de paddings */
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(212, 175, 55, 0.03);
    animation: proScaleUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes proScaleUp {
    from { opacity: 0; transform: scale(0.92); }
    to { opacity: 1; transform: scale(1); }
}

.btn-close-pro {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 28px;
    color: var(--ivory-muted);
    cursor: pointer;
    line-height: 1;
    transition: var(--transition-luxury);
}

.btn-close-pro:hover {
    color: var(--gold);
}

.pro-header-editorial {
    text-align: center;
    margin-bottom: 30px;
}

.pro-badge-accent {
    display: inline-block;
    font-family: var(--font-clean);
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 3px 10px;
    border-radius: 50px;
    background: rgba(212, 175, 55, 0.04);
    margin-bottom: 12px;
}

.pro-header-editorial h2 {
    font-family: var(--font-editorial);
    font-size: 28px;
    font-weight: 500;
    letter-spacing: 0.02em;
    margin-bottom: 8px;
    color: var(--ivory);
}

.pro-header-editorial p {
    font-family: var(--font-clean);
    font-size: 13px;
    color: var(--ivory-muted);
}

.pro-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 35px;
}

.pro-feature-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.feature-bullet {
    color: var(--gold);
    font-size: 14px;
}

.pro-feature-item h4 {
    font-family: var(--font-clean);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 3px;
    color: var(--ivory);
}

.pro-feature-item p {
    font-family: var(--font-clean);
    font-size: 11px;
    color: var(--ivory-muted);
    line-height: 1.4;
}

.pro-pricing-section {
    background: rgba(212, 175, 55, 0.02);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}

.pricing-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.pricing-title {
    font-family: var(--font-clean);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold);
}

.price-box {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin: 4px 0;
}

.price-box .currency {
    font-family: var(--font-clean);
    font-size: 20px;
    font-weight: 300;
    color: var(--ivory);
}

.price-box .price-number {
    font-family: var(--font-editorial);
    font-size: 42px;
    font-weight: 500;
    color: var(--ivory);
}

.price-box .price-period {
    font-family: var(--font-clean);
    font-size: 11px;
    color: var(--ivory-muted);
    margin-left: 4px;
}

.pricing-hint {
    font-family: var(--font-clean);
    font-size: 11px;
    color: var(--ivory-muted);
    margin-bottom: 12px;
}

.btn-buy-gold {
    background: var(--gold);
    border: 1px solid var(--gold);
    color: var(--bg-pure);
    font-family: var(--font-clean);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 12px 30px;
    border-radius: 100px;
    cursor: pointer;
    transition: var(--transition-luxury);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
    width: 100%;
    max-width: 320px;
}

.btn-buy-gold:hover {
    background: transparent;
    color: var(--gold);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
}

/* ----------------------------------------------------
   SISTEMA DE PROPINAS INTERACTIVAS Y HÁPTICAS
   ---------------------------------------------------- */
.tip-pills-container {
    display: flex;
    gap: 8px;
    justify-content: center;
    width: 100%;
    margin-bottom: 4px;
    flex-wrap: wrap;
}

.tip-pill-btn {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(212, 175, 55, 0.15);
    color: var(--ivory-muted);
    font-family: var(--font-clean);
    font-size: 12.5px;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
    user-select: none;
}

.tip-pill-btn:hover {
    border-color: var(--gold);
    color: var(--ivory);
    background: rgba(212, 175, 55, 0.06);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.15);
    transform: translateY(-1px);
}

.tip-pill-btn:active {
    transform: translateY(0) scale(0.96);
}

.tip-pill-btn.active {
    border-color: var(--gold);
    color: var(--bg-pure);
    background: var(--gold);
    font-weight: 600;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.35);
}

/* Retroalimentación táctil y micro-animaciones */
#tip-minus-btn, #tip-plus-btn {
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.2s !important;
}

#tip-minus-btn:hover, #tip-plus-btn:hover {
    color: var(--gold-light) !important;
    transform: scale(1.25);
}

#tip-minus-btn:active, #tip-plus-btn:active {
    transform: scale(0.85);
}

/* Efecto focus/glow del contenedor */
.tip-input-wrapper-custom {
    transition: border-color 0.4s, box-shadow 0.4s, background-color 0.4s !important;
}

.tip-input-wrapper-custom:hover {
    border-color: rgba(212, 175, 55, 0.35) !important;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.5), 0 0 20px rgba(212, 175, 55, 0.08) !important;
    background-color: rgba(255, 255, 255, 0.03) !important;
}

.pro-footer-info {
    text-align: center;
    margin-top: 20px;
}

.pro-footer-info p {
    font-family: var(--font-clean);
    font-size: 10px;
    color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 600px) {
    .pro-box-luxury {
        padding: 30px 20px;
        max-width: 90%;
    }
    .pro-features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* ----------------------------------------------------
   SEO EDITORIAL HUB & SEMANTIC FAQ SECTION
   ---------------------------------------------------- */
.seo-editorial-hub {
    max-width: var(--max-width-editorial);
    margin: 80px auto 40px auto;
    padding: 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 60px;
}

.seo-editorial-hub h2.hub-title {
    font-family: var(--font-editorial);
    font-size: 28px;
    font-weight: 400;
    color: var(--ivory);
    margin-bottom: 20px;
    text-align: center;
}

.seo-editorial-hub h2.hub-title em {
    font-style: italic;
    color: var(--gold);
}

.seo-editorial-hub p.hub-intro {
    font-family: var(--font-clean);
    font-size: 14px;
    color: var(--ivory-muted);
    text-align: center;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.seo-grid-editorial {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.seo-card-editorial {
    background: var(--bg-card);
    border: 1px solid var(--border-luxury);
    border-radius: 12px;
    padding: 24px;
    transition: var(--transition-luxury);
}

.seo-card-editorial:hover {
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-2px);
}

.seo-card-editorial h3 {
    font-family: var(--font-editorial);
    font-size: 16px;
    font-weight: 500;
    color: var(--gold);
    margin-bottom: 12px;
}

.seo-card-editorial p {
    font-family: var(--font-clean);
    font-size: 13.5px;
    color: var(--ivory-muted);
    line-height: 1.6;
}

.seo-card-editorial ul {
    margin-top: 12px;
    padding-left: 16px;
}

.seo-card-editorial ul li {
    font-family: var(--font-clean);
    font-size: 12.5px;
    color: var(--ivory-muted);
    margin-bottom: 6px;
    line-height: 1.5;
}

/* FAQ Accordion Section */
.seo-faq-section {
    margin-top: 60px;
}

.seo-faq-section h3.faq-title {
    font-family: var(--font-editorial);
    font-size: 22px;
    font-weight: 400;
    color: var(--ivory);
    margin-bottom: 30px;
    text-align: center;
}

.faq-accordion-group {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item-luxury {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 0;
}

.faq-question-luxury {
    font-family: var(--font-editorial);
    font-size: 16.5px;
    color: var(--ivory);
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-luxury);
}

.faq-question-luxury:hover {
    color: var(--gold);
}

.faq-question-luxury::after {
    content: '+';
    font-family: var(--font-clean);
    font-size: 18px;
    color: var(--gold);
    transition: transform var(--transition-luxury);
}

.faq-item-luxury.active .faq-question-luxury::after {
    transform: rotate(45deg);
}

.faq-answer-luxury {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, margin-top 0.4s ease;
    margin-top: 0;
}

.faq-item-luxury.active .faq-answer-luxury {
    max-height: 200px;
    margin-top: 12px;
}

.faq-answer-luxury p {
    font-family: var(--font-clean);
    font-size: 13.5px;
    color: var(--ivory-muted);
    line-height: 1.7;
}

@media (max-width: 768px) {
    .seo-grid-editorial {
        grid-template-columns: 1fr;
    }
}

/* ----------------------------------------------------
   BOTÓN DE CAMBIO DE TEMA LUXURY (THEME TOGGLE BUTTON)
   ---------------------------------------------------- */
.btn-theme-toggle {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-luxury);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0; /* Prevenir deformación ovalada en móvil */
    transition: var(--transition-luxury);
    outline: none;
    padding: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-theme-toggle:hover {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.06);
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.25);
    transform: scale(1.08);
}

.btn-theme-toggle:active {
    transform: scale(0.92);
}

.theme-icon {
    font-size: 15px;
    color: var(--gold);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-block;
    user-select: none;
}

.btn-theme-toggle:hover .theme-icon {
    transform: rotate(20deg) scale(1.1);
}

/* ----------------------------------------------------
   SISTEMA DE TEMA CLARO EDITORIAL (LIGHT THEME)
   ---------------------------------------------------- */
.light-theme {
    --bg-obsidian: #FAF8F5; /* Alabaster Warm White */
    --bg-pure: #F3EFE9;     /* Deep Soft Ivory */
    
    --ivory: #1C1B1A;       /* Espresso Dark */
    --ivory-muted: #6B6661; /* Muted Espresso */
    
    --gold: hsl(43, 65%, 38%);
    --gold-light: hsl(43, 60%, 46%);
    --gold-glow: rgba(184, 134, 11, 0.04);
    
    --glass-bg: rgba(255, 255, 255, 0.70);
    --glass-border: rgba(184, 134, 11, 0.12);
    --glass-border-hover: rgba(184, 134, 11, 0.26);
    
    --bg-card: rgba(255, 255, 255, 0.52);
    --border-luxury: rgba(184, 134, 11, 0.16);
}

/* Specific component overrides for maximum high-end light styling */
.light-theme .app-header-luxury {
    background-color: rgba(250, 248, 245, 0.85);
    border-bottom: 1px solid rgba(184, 134, 11, 0.08);
}

.light-theme .nav-sep {
    color: rgba(0, 0, 0, 0.08);
}

.light-theme .app-footer-editorial {
    border-top: 1px solid rgba(184, 134, 11, 0.08);
}

.light-theme .pro-box-luxury {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(245, 241, 235, 0.98) 100%);
    border: 1px solid rgba(184, 134, 11, 0.22);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12), 0 0 40px rgba(184, 134, 11, 0.03);
}

.light-theme .status-backdrop-blur {
    background: rgba(255, 255, 255, 0.85);
}

.light-theme .status-box-luxury {
    border-color: rgba(184, 134, 11, 0.2);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.12);
}

.light-theme .dropzone-editorial {
    border: 1px dashed rgba(184, 134, 11, 0.22);
    background-color: rgba(255, 255, 255, 0.3);
}

.light-theme .dropzone-editorial:hover, .light-theme .dropzone-editorial.dragover {
    border-color: var(--gold);
    background-color: rgba(184, 134, 11, 0.04);
}

.light-theme .btn-theme-toggle {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(184, 134, 11, 0.15);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.light-theme .btn-theme-toggle:hover {
    background: rgba(184, 134, 11, 0.06);
    box-shadow: 0 0 12px rgba(184, 134, 11, 0.15);
}

/* Control buttons in dropzones */
.light-theme .btn-action-luxury {
    background: rgba(0, 0, 0, 0.01);
    border: 1px solid rgba(184, 134, 11, 0.15);
    color: var(--ivory);
}

.light-theme .btn-action-luxury:hover {
    background: var(--gold);
    color: var(--bg-obsidian);
}

.light-theme .loaded-file-card {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(184, 134, 11, 0.15);
}

.light-theme .file-item-luxury {
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(184, 134, 11, 0.12);
}

/* Monogram shadow adjustment */
.light-theme .brand-monogram {
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.15));
}
.light-theme .brand-monogram:hover {
    filter: drop-shadow(0 0 10px rgba(184, 134, 11, 0.2)) scale(1.05);
}

/* Ambient canvas opacity adjustment */
.light-theme #ambient-star-dust {
    opacity: 0.25;
}

/* FAQ dynamic accordion color in light mode */
.light-theme .faq-item-luxury {
    border-bottom: 1px solid rgba(184, 134, 11, 0.08);
}


/* ====================================================
   SISTEMA DE ANUNCIOS Y MONETIZACIÓN PREMIUM (VEROPDF)
   ==================================================== */

/* Ad Placeholders */
.veropdf-ad-placeholder {
    margin: 25px auto 5px auto;
    width: 100%;
    max-width: 728px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px dashed rgba(212, 175, 55, 0.15);
    border-radius: var(--radius-sm);
    padding: 18px 24px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.3);
}

.veropdf-ad-placeholder:hover {
    border-color: rgba(212, 175, 55, 0.35);
    background: rgba(255, 255, 255, 0.02);
    box-shadow: inset 0 2px 15px rgba(0, 0, 0, 0.4), 0 0 15px rgba(212, 175, 55, 0.04);
}

.ad-label {
    font-family: var(--font-clean);
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold);
    opacity: 0.8;
}

.ad-mock-banner {
    font-family: var(--font-editorial);
    font-size: 13.5px;
    color: var(--ivory-muted);
    font-style: italic;
    letter-spacing: 0.02em;
    margin: 4px 0;
}

.ad-premium-link {
    font-family: var(--font-clean);
    font-size: 11px;
    color: var(--gold-light);
    text-decoration: none;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition-luxury);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.ad-premium-link:hover {
    color: var(--ivory);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
}

/* Ocultar anuncios dinámicamente */
.premium-active .veropdf-ad-placeholder {
    display: none !important;
}

/* Formulario de Activación de Licencia */
.premium-activation-section {
    margin-top: 30px;
    text-align: center;
    width: 100%;
}

.activation-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.2), transparent);
    margin: 25px 0;
}

.activation-title {
    font-family: var(--font-clean);
    font-size: 12.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold);
    margin-bottom: 6px;
}

.activation-subtitle {
    font-family: var(--font-clean);
    font-size: 11px;
    color: var(--ivory-muted);
    margin-bottom: 16px;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
}

.activation-input-wrapper {
    display: flex;
    gap: 12px;
    max-width: 460px;
    margin: 0 auto;
    justify-content: center;
    align-items: stretch;
}

.activation-input-wrapper input {
    flex: 1;
    margin: 0 !important;
}

.activation-input-wrapper button {
    margin: 0 !important;
    padding: 0 24px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    white-space: nowrap;
    border-radius: var(--radius-sm) !important;
}

.activation-status-msg {
    font-family: var(--font-clean);
    font-size: 11.5px;
    margin-top: 12px;
    transition: all 0.3s ease;
}

.activation-status-msg.success {
    color: #4cd964;
}

.activation-status-msg.error {
    color: #ff3b30;
}

/* Tarjeta de Licencia Activa (Premium) */
.premium-success-card {
    background: rgba(212, 175, 55, 0.02);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(212, 175, 55, 0.02);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.premium-success-icon {
    font-size: 32px;
    color: var(--gold);
    animation: goldPulse 2s infinite ease-in-out;
    margin-bottom: 8px;
}

.premium-success-card h4 {
    font-family: var(--font-editorial);
    font-size: 18px;
    color: var(--ivory);
    margin: 0;
}

.premium-success-card p {
    font-family: var(--font-clean);
    font-size: 12px;
    color: var(--ivory-muted);
    line-height: 1.5;
    max-width: 420px;
    margin: 0;
}

.license-details-box {
    width: 100%;
    max-width: 380px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 12px 0;
    box-sizing: border-box;
}

.license-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

.detail-label {
    font-family: var(--font-clean);
    color: var(--ivory-muted);
}

.detail-value {
    font-family: 'JetBrains Mono', monospace;
    color: var(--ivory);
}

.premium-success-note {
    font-size: 11px !important;
    color: var(--gold-light) !important;
    font-style: italic;
}

.btn-deactivate-luxury {
    background: transparent;
    border: 1px solid rgba(255, 59, 48, 0.4);
    color: #ff3b30;
    font-family: var(--font-clean);
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 8px 16px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 15px;
}

.btn-deactivate-luxury:hover {
    background: rgba(255, 59, 48, 0.08);
    border-color: #ff3b30;
    box-shadow: 0 0 15px rgba(255, 59, 48, 0.15);
}

/* Light Theme overrides for Ad Placeholder and License elements */
.light-theme .veropdf-ad-placeholder {
    background: rgba(0, 0, 0, 0.01);
    border-color: rgba(184, 134, 11, 0.2);
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.05);
}

.light-theme .veropdf-ad-placeholder:hover {
    background: rgba(0, 0, 0, 0.02);
    border-color: var(--gold);
}

.light-theme .premium-success-card {
    background: rgba(184, 134, 11, 0.02);
    border-color: rgba(184, 134, 11, 0.25);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.light-theme .license-details-box {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0,0,0,0.05);
}

.light-theme .detail-value {
    color: var(--bg-obsidian);
}

.light-theme .detail-label {
    color: rgba(0,0,0,0.5);
}





