/* Estilos personalizados para CodexNotes */

/* Variables */
:root {
    --primary-gradient: linear-gradient(135deg, #004e92 0%, #000428 100%);
    --hero-height: 500px;
}

/* Estilos generales */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: #212529 !important;
    background-color: #fff;
}

/* Estilos para el modal de edición */
.code-editor {
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
    tab-size: 4;
    white-space: pre;
    resize: vertical;
    min-height: 200px;
}

.code-edit-container {
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
}

/* Animación para botones de acción */
.btn-action-animate {
    transition: all 0.2s ease;
}
.btn-action-animate:hover {
    transform: scale(1.05);
}

/* Estilos para el botón de edición */
.btn-edit {
    transition: all 0.2s ease;
}

.btn-edit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Estilos para el navbar */
.navbar {
    z-index: 1050 !important; /* Valor más alto que el sidebar */
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100% !important;
    background: linear-gradient(135deg, #004e92 0%, #000428 100%) !important;
}

.navbar.sticky-top {
    position: fixed !important;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

/* Ajuste del body para compensar la navbar fija */
body {
    padding-top: 56px; /* Altura aproximada de la navbar */
}

/* Ajuste para pantallas más grandes */
@media (min-width: 992px) {
    body {
        padding-top: 60px;
    }
}

/* Estilos para las tarjetas de código */
.code-card {
    transition: transform 0.2s;
    margin-bottom: 20px;
    cursor: pointer;
}

.code-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.code-card pre {
    max-height: 300px;
    overflow-y: auto;
    border-radius: 0.25rem;
    background-color: #f8f9fa;
    padding: 1rem;
}

.card-clickable {
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.card-clickable:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15) !important;
}

.card-clickable::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

/* Excluir botones y elementos interactivos dentro de la tarjeta clicable */
.code-card .btn, .code-card a, .code-card pre, .code-card code {
    position: relative;
    z-index: 2;
}

/* Estilos para los formularios */
.form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Estilos para la búsqueda */
.search-control {
    max-width: 300px;
}

/* Estilos para las estadísticas */
.stats-card {
    transition: transform 0.3s;
    margin-bottom: 20px;
}
.stats-card:hover {
    transform: translateY(-5px);
}
.stats-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}
.stats-number {
    font-size: 1.8rem;
    font-weight: bold;
}
.card-text-large {
    font-size: 2rem;
}

/* Estilos para el botón flotante */
.add-snippet-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* Estilos para los botones de filtro */
.filter-buttons {
    margin-bottom: 10px;
}

.filter-buttons .btn {
    transition: all 0.2s;
}

.filter-buttons .dropdown-menu {
    max-height: 300px;
    overflow-y: auto;
}

/* Efectos de hover para los botones de filtro */
.filter-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Estilos para el footer */
footer {
    margin-top: auto;
    border-top: 3px solid rgba(255,255,255,0.1);
    box-shadow: 0 -3px 10px rgba(0,0,0,0.1);
    background-color: #212529 !important;
    color: #fff !important;
}

footer .list-inline-item {
    margin-right: 15px;
}

footer .list-inline-item a {
    transition: all 0.3s;
}

footer .list-inline-item a:hover {
    color: rgba(255,255,255,0.7) !important;
    transform: translateY(-3px);
    display: inline-block;
}

/* Estilos para las pestañas */
.nav-tabs .nav-link {
    color: #495057;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 0.5rem 1rem;
    margin-right: 0.5rem;
    transition: all 0.2s;
}

.nav-tabs .nav-link.active {
    color: #0d6efd;
    font-weight: bold;
    border-bottom: 2px solid #0d6efd;
}

.nav-tabs .nav-link:hover {
    border-color: transparent;
    border-bottom: 2px solid #dee2e6;
}

/* Estilos para los badges */
.badge {
    font-weight: 500;
    color: #fff !important;
}

/* Estilos para el modal de previsualización */
.preview-snippet pre {
    max-height: none;
    border-radius: 0.25rem;
    background-color: #f8f9fa;
    padding: 1rem;
}

.preview-snippet .card-body {
    padding: 1.5rem;
}

/* Estilos mejorados para el index.php */
.hero-section {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
    margin-top: -1rem; /* Compensar el margin-top del main-content */
}

.hero-content {
    position: relative;
    z-index: 2;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%) !important;
}

.bg-gradient-info {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%) !important;
}

.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 15px !important;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1) !important;
}

.feature-icon {
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

/* Animaciones suaves */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card {
    animation: fadeInUp 0.6s ease forwards;
}

.feature-card:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.4s;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 1rem !important;
    }
    
    .display-5 {
        font-size: 2rem !important;
    }
    
    .feature-icon {
        width: 60px !important;
        height: 60px !important;
    }
}

/* Mejoras para las cards de códigos compartidos en index */
.code-preview {
    position: relative;
}

.code-preview::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(transparent, white);
    pointer-events: none;
}

.code-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.code-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15) !important;
}

.card-footer .btn-group .btn {
    border-radius: 0.25rem !important;
}

.card-footer .btn-group .btn:not(:last-child) {
    margin-right: 0.25rem;
}

/* Responsive grid improvements */
@media (min-width: 1400px) {
    .row-cols-xl-3 > * {
        flex: 0 0 auto;
        width: 33.333333%;
    }
}

@media (max-width: 767px) {
    .code-preview {
        max-height: 120px !important;
    }
    
    .card-header h6 {
        font-size: 0.9rem;
    }
}

/* Call to Action section with navbar blue gradient */
.bg-primary-gradient {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 50%, #004085 100%) !important;
}

.card.bg-primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 50%, #004085 100%) !important;
}

.card.bg-primary .card-body {
    position: relative;
    z-index: 1;
}

.card.bg-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 50%, rgba(0,0,0,0.1) 100%);
    border-radius: inherit;
    z-index: 0;
}

/* Ensure text remains readable */
.card.bg-primary .text-light {
    color: rgba(255, 255, 255, 0.9) !important;
}

.card.bg-primary .display-6 {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.card.bg-primary .lead {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Hero Section */
.hero-section {
    background: var(--primary-gradient);
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
    margin-top: -1rem; /* Compensar el margin-top del main-content */
    color: #fff !important;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><rect width="20" height="20" fill="none"/><path d="M0 0l20 20M20 0L0 20" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></svg>');
    opacity: 0.1;
}

.hero-section .display-4 {
    font-size: calc(2rem + 2vw);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-section .lead {
    font-size: calc(1.1rem + 0.5vw);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* Formularios */
.form-floating > .form-control,
.form-floating > .form-select {
    border-radius: 0.5rem;
    border: 1px solid #dee2e6;
    padding: 1rem 0.75rem;
}

.form-floating > label {
    padding: 1rem 0.75rem;
}

.form-floating > .form-control:focus {
    border-color: #004e92;
    box-shadow: 0 0 0 0.25rem rgba(0, 78, 146, 0.25);
}

/* Cards */
.card {
    border: none;
    transition: transform 0.2s, box-shadow 0.2s;
    background-color: #fff !important;
    color: #212529 !important;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.card .card-header.bg-gradient {
    background: var(--primary-gradient);
    border-bottom: none;
}

.card-title {
    color: #212529 !important;
}

.card-text {
    color: #495057 !important;
}

/* Botones */
.btn {
    border-radius: 0.5rem;
    padding: 0.5rem 1.5rem;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--primary-gradient);
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: #fff !important;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.btn-outline-light {
    border-width: 2px;
    color: #fff !important;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Badges */
.badge {
    padding: 0.5em 1em;
    font-weight: 500;
    color: #fff !important;
}

/* Mejoras responsivas */
@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 0;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

/* Navbar botones */
.navbar .nav-link.btn {
    padding: 0.5rem 1.25rem;
    border-radius: 2rem;
    transition: all 0.2s ease;
    margin-left: 0.5rem;
}

.navbar .nav-link.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.navbar .nav-link.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    transform: translateY(-1px);
}

.navbar .nav-link {
    position: relative;
    padding: 0.5rem 1rem;
}

.navbar .nav-link:not(.btn)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: #fff;
    transition: all 0.2s ease;
    transform: translateX(-50%);
}

.navbar .nav-link:not(.btn):hover::after {
    width: 100%;
}

/* Ajustes responsivos del navbar */
@media (max-width: 991.98px) {
    .navbar .nav-link.btn {
        margin: 0.5rem 0;
        display: block;
        text-align: center;
    }
    
    .navbar .nav-link:not(.btn)::after {
        display: none;
    }
}

/* Corrección de estilos para mejorar visualización */
.hero-section {
    background: linear-gradient(135deg, #004e92 0%, #000428 100%);
    color: #fff;
    margin-top: 0;
    padding: 4rem 0;
    position: relative;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><rect width="20" height="20" fill="none"/><path d="M0 0l20 20M20 0L0 20" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></svg>');
    opacity: 0.3;
}

.hero-section * {
    position: relative;
    z-index: 1;
}

.card-header.bg-gradient {
    background: linear-gradient(135deg, #004e92 0%, #000428 100%);
    color: #fff;
}

.card {
    height: 100%;
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.navbar {
    background: linear-gradient(135deg, #004e92 0%, #000428 100%);
}

.btn-primary {
    background: linear-gradient(135deg, #004e92 0%, #000428 100%);
    border: none;
}

/* Estilos para los snippets */
.card-text {
    color: #333;
    font-size: 0.9rem;
}

.badge {
    font-weight: 500;
    padding: 0.5em 0.8em;
}

/* Arreglando contrastes */
.navbar .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: #fff !important;
}

.navbar .btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: #fff !important;
}

.text-muted {
    color: #6c757d !important;
}

/* Correcciones específicas para contraste y legibilidad */

/* Asegurar que el texto en el body principal sea oscuro */
body {
    color: #212529 !important;
}

/* Headers de cards - mantener texto blanco solo en gradientes */
.card-header.bg-gradient {
    background: linear-gradient(135deg, #004e92 0%, #000428 100%) !important;
    color: #fff !important;
}

/* Texto en el cuerpo de las cards debe ser oscuro */
.card-body {
    color: #212529 !important;
}

.card-body label,
.card-body .form-label {
    color: #495057 !important;
}

.card-body p,
.card-body .text-center {
    color: #212529 !important;
}

/* Enlaces en cards - color primario para contraste */
.card-body a {
    color: #004e92 !important;
}

.card-body a:hover {
    color: #003972 !important;
}

/* Formularios - asegurar contraste */
.form-floating > label {
    color: #6c757d !important;
}

.form-control:focus + .form-floating > label {
    color: #004e92 !important;
}

/* Alertas - mantener colores apropiados */
.alert-danger {
    color: #721c24 !important;
    background-color: #f8d7da !important;
}

.alert-success {
    color: #0a3622 !important;
    background-color: #d1e7dd !important;
}

/* Navbar - mantener texto blanco sobre fondo oscuro */
.navbar {
    background: linear-gradient(135deg, #004e92 0%, #000428 100%) !important;
}

.navbar .navbar-brand,
.navbar .nav-link {
    color: #fff !important;
}

.navbar .nav-link:hover {
    color: rgba(255, 255, 255, 0.8) !important;
}

.navbar .btn-outline-light {
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
}

.navbar .btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-color: #fff !important;
    color: #fff !important;
}

/* Hero section - mantener texto blanco */
.hero-section {
    color: #fff !important;
}

.hero-section h1,
.hero-section p,
.hero-section .lead {
    color: #fff !important;
}

/* Botones principales */
.btn-primary {
    background: linear-gradient(135deg, #004e92 0%, #000428 100%) !important;
    border: none !important;
    color: #fff !important;
}

.btn-outline-light {
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
}

/* Footer */
footer {
    background-color: #212529 !important;
    color: #fff !important;
}

/* Contenido principal - asegurar fondo blanco y texto oscuro */
.main-content {
    background-color: #fff;
    color: #212529 !important;
}

/* Títulos y encabezados fuera de hero */
h1:not(.hero-section h1),
h2:not(.hero-section h2),
h3:not(.hero-section h3),
h4:not(.hero-section h4),
h5:not(.hero-section h5),
h6:not(.hero-section h6) {
    color: #212529 !important;
}

/* Badges y etiquetas */
.badge {
    color: #fff !important;
}

.text-muted {
    color: #6c757d !important;
}

/* Cards de snippets */
.card {
    background-color: #fff !important;
    color: #212529 !important;
}

/* Corrección específica para form floating labels */
.form-floating input:focus ~ label,
.form-floating input:not(:placeholder-shown) ~ label {
    color: #004e92 !important;
}

/* Mejoras visuales para el index principal */

/* Hero Section mejorado */
.hero-section {
    background: linear-gradient(135deg, #004e92 0%, #000428 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-pattern {
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255,255,255,0.1) 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: float 20s ease-in-out infinite;
}

.hero-overlay {
    background: linear-gradient(45deg, rgba(0,78,146,0.1) 0%, rgba(0,4,40,0.1) 100%);
}

.hero-icon-main {
    animation: pulse 2s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(255,255,255,0.3));
}

.hero-title {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-stats {
    animation: fadeInUp 1s ease-out 0.4s both;
}

.stat-item {
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.bounce {
    animation: bounce 2s infinite;
}

/* Botones mejorados */
.btn-glow {
    box-shadow: 0 0 20px rgba(0,78,146,0.4);
    transition: all 0.3s ease;
}

.btn-glow:hover {
    box-shadow: 0 0 30px rgba(0,78,146,0.6);
    transform: translateY(-2px);
}

.btn-hover-fill {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-hover-fill::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.1);
    transition: left 0.3s ease;
}

.btn-hover-fill:hover::before {
    left: 0;
}

.btn-hover-fill:hover {
    transform: translateY(-2px);
}

/* Sección de características */
.features-section {
    position: relative;
}

.feature-card {
    background: #fff;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,78,146,0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,78,146,0.1);
}

.feature-icon {
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

/* Divisor decorativo */
.divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #004e92 0%, #000428 100%);
    border-radius: 2px;
    margin-top: 20px;
}

/* Cards de snippets mejoradas */
.snippet-card-enhanced {
    border: none;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.snippet-card-enhanced:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,78,146,0.15);
}

.snippet-card-enhanced .card-header {
    position: relative;
    overflow: hidden;
}

.snippet-card-enhanced .card-header .card-title {
    color: white !important;
}

/* Asegurar que el texto del header de login sea blanco */
.card-header.bg-gradient h4 {
    color: white !important;
}

/* Estilos para las tarjetas de estadísticas del perfil */
.stats-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2) !important;
}

.stats-card .stats-icon {
    font-size: 2.5rem;
    opacity: 0.8;
    margin-bottom: 1rem;
}

.stats-card .stats-number {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stats-card .stats-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 500;
    opacity: 0.9;
}

.card-corner {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    transform: rotate(45deg);
}

.badge-modern {
    padding: 0.5em 0.8em;
    border-radius: 20px;
    font-weight: 500;
}

.btn-modern {
    border-radius: 20px;
    padding: 0.4rem 1.2rem;
    transition: all 0.3s ease;
}

.btn-modern:hover {
    transform: translateX(3px);
}

.snippet-meta {
    border-top: 1px solid rgba(0,78,146,0.1);
    padding-top: 1rem;
    margin-top: 1rem;
}

/* CTA Section */
.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shine 3s ease-in-out infinite;
}

/* Animaciones */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%); }
    50% { transform: translateX(100%) translateY(100%); }
    100% { transform: translateX(100%) translateY(100%); }
}

/* Responsive mejoras */
@media (max-width: 768px) {
    .hero-section {
        min-height: 80vh;
        padding: 2rem 0;
    }
    
    .hero-stats {
        margin-bottom: 2rem !important;
    }
    
    .feature-card {
        margin-bottom: 2rem;
    }
    
    .btn-glow,
    .btn-hover-fill {
        margin-bottom: 1rem;
    }
}

/* Estados de carga suaves */
.snippet-card-enhanced,
.feature-card,
.btn-glow,
.btn-hover-fill {
    will-change: transform;
}