/* Reset y configuración base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    min-height: 100vh;
    color: #e2e8f0;
    position: relative;
    overflow-x: hidden;
}

/* Fondo Animado con Elementos Flotantes */
.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.floating-element {
    position: absolute;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(37, 99, 235, 0.1) 100%);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 0;
    animation: floatAndRound 12s infinite linear;
    pointer-events: none;
    user-select: none;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

/* Animaciones individuales para cada elemento - Posiciones aleatorias */
.element-1 {
    left: 8%;
    animation-delay: 0s;
    animation-duration: 15s;
}

.element-2 {
    left: 67%;
    animation-delay: 1.5s;
    animation-duration: 18s;
}

.element-3 {
    left: 23%;
    animation-delay: 3s;
    animation-duration: 14s;
}

.element-4 {
    left: 89%;
    animation-delay: 4.5s;
    animation-duration: 16s;
}

.element-5 {
    left: 45%;
    animation-delay: 6s;
    animation-duration: 17s;
}

.element-6 {
    left: 12%;
    animation-delay: 7.5s;
    animation-duration: 13s;
}

.element-7 {
    left: 78%;
    animation-delay: 9s;
    animation-duration: 19s;
}

.element-8 {
    left: 34%;
    animation-delay: 10.5s;
    animation-duration: 15s;
}

.element-9 {
    left: 91%;
    animation-delay: 12s;
    animation-duration: 16s;
}

.element-10 {
    left: 56%;
    animation-delay: 13.5s;
    animation-duration: 14s;
}

.element-11 {
    left: 19%;
    animation-delay: 15s;
    animation-duration: 17s;
}

.element-12 {
    left: 82%;
    animation-delay: 16.5s;
    animation-duration: 18s;
}

/* Animación de flotación y redondeo */
@keyframes floatAndRound {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
        border-radius: 0;
        width: 100px;
        height: 100px;
    }
    10% {
        opacity: 0.8;
        border-radius: 0;
    }
    30% {
        border-radius: 12px;
        width: 90px;
        height: 90px;
    }
    50% {
        border-radius: 25px;
        width: 80px;
        height: 80px;
    }
    70% {
        border-radius: 35px;
        width: 70px;
        height: 70px;
    }
    90% {
        opacity: 0.3;
        border-radius: 45px;
        width: 60px;
        height: 60px;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
        border-radius: 50px;
        width: 50px;
        height: 50px;
    }
}

/* Efecto de brillo sutil */
.floating-element::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    border-radius: inherit;
    animation: glow 4s ease-in-out infinite alternate;
}

@keyframes glow {
    0% {
        opacity: 0.2;
        transform: translate(-50%, -50%) scale(0.8);
    }
    100% {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

/* Header Unificado - Liquid Glass Effect */
.header-unified {
    background: rgba(15, 23, 42, 0.3);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 25px 20px;
    text-align: left;
    box-shadow: 
        0 8px 32px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(59, 130, 246, 0.2);
    position: relative;
    overflow: hidden;
    width: 100%;
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 0 0 25px 25px;
}

.header-unified::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(15, 23, 42, 0.1) 100%);
    z-index: -1;
    border-radius: 0 0 25px 25px;
}

.header-unified::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.1) 0%, rgba(51, 65, 85, 0.05) 100%);
    z-index: -1;
    border-radius: 0 0 25px 25px;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.brand-section {
    margin-bottom: 0;
    flex-shrink: 0;
}

.main-title {
    font-family: 'MinigapFont', 'Arial Black', 'Helvetica Neue', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 2px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.brand-subtitle {
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    color: #f8fafc;
    font-weight: 300;
}

.sideraltech-brand {
    font-family: 'SideraltechFont', 'Arial Black', 'Helvetica Neue', sans-serif;
    font-size: 1.3rem;
    font-weight: normal;
    color: #f8fafc;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    letter-spacing: 1px;
    margin-left: 4px;
}

/* Efecto Typewriter para SIDERALTECH */
.typewriter {
    border-right: 2px solid #3b82f6;
    white-space: nowrap;
    overflow: hidden;
    animation: typing 2s steps(10, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: #3b82f6; }
}

.welcome-section {
    text-align: right;
    flex-shrink: 0;
}

.welcome-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    color: #f8fafc;
    margin-bottom: 8px;
    font-weight: 600;
}

.welcome-section p {
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    color: #cbd5e1;
    font-weight: 400;
    margin: 0;
}

/* Main Content */
.main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    width: 100%;
    min-height: calc(100vh - 200px);
}

/* Flip Card Container */
.flip-card-container {
    width: 100%;
    max-width: 600px;
    perspective: 1000px;
    margin: 0 auto;
}

.flip-card {
    width: 100%;
    height: 500px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.flip-card.flipped {
    transform: rotateY(180deg);
}

.flip-card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
}

.flip-card-front,
.flip-card-back {
    width: 100%;
    height: 100%;
    position: absolute;
    backface-visibility: hidden;
    border-radius: 20px;
    overflow: hidden;
}

.flip-card-front {
    background: rgba(15, 23, 42, 0.3);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 
        0 8px 32px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.flip-card-back {
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 
        0 8px 32px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.2);
    transform: rotateY(180deg);
    padding: 30px;
    overflow-y: auto;
}

/* Search Content Styles */
.search-content {
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Contenedor de íconos rotativos - Versión simplificada */
.search-icon-container {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.rotating-icons {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3.5rem;
    color: #3b82f6;
    opacity: 0;
    transition: all 1.2s ease-in-out;
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
    z-index: 1;
}

.tech-icon.active {
    opacity: 1;
    z-index: 2;
}

.tech-icon.entering {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
}

.tech-icon.exiting {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.5);
}

/* Efecto de brillo para íconos activos */
.tech-icon.active::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    animation: iconGlow 2s ease-in-out infinite alternate;
    z-index: -1;
}

@keyframes iconGlow {
    0% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(0.8);
    }
    100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* Efecto hover para el contenedor */
.search-icon-container:hover .tech-icon.active {
    transform: translate(-50%, -50%) scale(1.1);
    color: #60a5fa;
    text-shadow: 0 0 30px rgba(96, 165, 250, 0.8);
}

.search-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    color: #f8fafc;
    margin-bottom: 10px;
    font-weight: 600;
}

.search-content p {
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    color: #cbd5e1;
    margin-bottom: 30px;
    line-height: 1.5;
}

/* Back Button */
.back-header {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 20px;
}

.back-btn {
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #f8fafc;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
}

.back-btn:hover {
    background: rgba(59, 130, 246, 0.3);
    border-color: rgba(59, 130, 246, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
}

.back-btn i {
    font-size: 0.8rem;
}

/* Notifications */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #f8fafc;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    z-index: 1000;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 400px;
}

.notification.show {
    transform: translateX(0);
}

.notification-error {
    border-color: rgba(239, 68, 68, 0.5);
    background: rgba(15, 23, 42, 0.95);
}

.notification-success {
    border-color: rgba(34, 197, 94, 0.5);
    background: rgba(15, 23, 42, 0.95);
}

.notification-info {
    border-color: rgba(59, 130, 246, 0.5);
    background: rgba(15, 23, 42, 0.95);
}

.notification-close {
    background: none;
    border: none;
    color: #cbd5e1;
    cursor: pointer;
    padding: 5px;
    border-radius: 5px;
    transition: all 0.2s ease;
    margin-left: auto;
}

.notification-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #f8fafc;
}

/* Centered Search Section - Compact Design (Legacy - keeping for reference) */
.search-section {
    width: 100%;
    max-width: 500px;
    background: rgba(15, 23, 42, 0.3);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 
        0 8px 32px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(59, 130, 246, 0.2);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(59, 130, 246, 0.2);
    margin-bottom: 20px;
}

.search-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(15, 23, 42, 0.1) 100%);
    z-index: -1;
    border-radius: 20px;
}

.search-section.company-themed {
    background: linear-gradient(135deg, 
        rgba(var(--accent-color-rgb, 59, 130, 246), 0.3) 0%, 
        rgba(var(--accent-color-rgb, 59, 130, 246), 0.1) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    color: white;
    border: 1px solid rgba(var(--accent-color-rgb, 59, 130, 246), 0.3);
}

.search-section.company-themed .input-group label,
.search-section.company-themed h3 {
    color: white;
}

.search-section.company-themed .input-group input {
    background: rgba(15, 23, 42, 0.9);
    border-color: rgba(var(--accent-color-rgb, 59, 130, 246), 0.5);
    color: #f8fafc;
}

.search-section.company-themed .search-btn {
    background: linear-gradient(135deg, 
        rgba(var(--accent-color-rgb, 59, 130, 246), 0.9) 0%, 
        rgba(var(--accent-color-rgb, 59, 130, 246), 0.7) 100%);
    box-shadow: 
        0 8px 20px rgba(var(--accent-color-rgb, 59, 130, 246), 0.3),
        inset 0 1px 0 rgba(255,255,255,0.2);
}

.search-section.company-themed .search-btn:hover {
    box-shadow: 
        0 12px 25px rgba(var(--accent-color-rgb, 59, 130, 246), 0.4),
        inset 0 1px 0 rgba(255,255,255,0.3);
    background: linear-gradient(135deg, 
        rgba(var(--accent-color-rgb, 59, 130, 246), 1) 0%, 
        rgba(var(--accent-color-rgb, 59, 130, 246), 0.8) 100%);
}

.search-section.company-themed .app-card {
    border-color: rgba(var(--accent-color-rgb, 59, 130, 246), 0.3);
}

.search-section.company-themed .app-card:hover {
    border-color: rgba(var(--accent-color-rgb, 59, 130, 246), 0.5);
    box-shadow: 
        0 15px 35px rgba(0,0,0,0.4),
        inset 0 1px 0 rgba(var(--accent-color-rgb, 59, 130, 246), 0.3);
}

.search-section.company-themed .app-link {
    background: linear-gradient(135deg, 
        rgba(var(--accent-color-rgb, 59, 130, 246), 0.9) 0%, 
        rgba(var(--accent-color-rgb, 59, 130, 246), 0.7) 100%);
    box-shadow: 
        0 4px 15px rgba(var(--accent-color-rgb, 59, 130, 246), 0.3),
        inset 0 1px 0 rgba(255,255,255,0.2);
}

.search-section.company-themed .app-link:hover {
    box-shadow: 
        0 8px 20px rgba(var(--accent-color-rgb, 59, 130, 246), 0.4),
        inset 0 1px 0 rgba(255,255,255,0.3);
    background: linear-gradient(135deg, 
        rgba(var(--accent-color-rgb, 59, 130, 246), 1) 0%, 
        rgba(var(--accent-color-rgb, 59, 130, 246), 0.8) 100%);
}

.search-content {
    transition: all 0.5s ease;
}

.search-content.slide-up {
    transform: translateY(-20px);
    opacity: 0.7;
}

.input-group {
    margin-bottom: 30px;
}

.input-group label {
    display: block;
    font-size: 1.1rem;
    color: #f8fafc;
    margin-bottom: 10px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.input-group input {
    width: 100%;
    max-width: 400px;
    padding: 15px 20px;
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(30, 41, 59, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #f8fafc;
}

.input-group input:focus {
    outline: none;
    border-color: rgba(59, 130, 246, 0.8);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
    background: rgba(30, 41, 59, 0.95);
}

.input-group input::placeholder {
    color: #94a3b8;
}

.search-btn {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.9) 0%, rgba(37, 99, 235, 0.9) 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 
        0 8px 20px rgba(59, 130, 246, 0.3),
        inset 0 1px 0 rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 12px 25px rgba(59, 130, 246, 0.4),
        inset 0 1px 0 rgba(255,255,255,0.3);
    background: linear-gradient(135deg, rgba(59, 130, 246, 1) 0%, rgba(37, 99, 235, 1) 100%);
}

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

/* Results Section - Expandable */
.results-section {
    width: 100%;
    max-width: 1200px;
    background: rgba(15, 23, 42, 0.3);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 20px;
    box-shadow: 
        0 8px 32px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.2);
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(20px);
    opacity: 0;
}

.results-section.show {
    transform: translateY(0);
    opacity: 1;
}

/* Results Content */
.results-content {
    padding: 40px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.company-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.company-logo {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    object-fit: contain;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.results-content h3 {
    font-size: 1.8rem;
    color: #f8fafc;
    margin: 0;
    transition: color 0.3s ease;
}

.search-section.company-themed .results-content h3 {
    color: white;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.app-card {
    background: rgba(15, 23, 42, 0.3);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 
        0 8px 32px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
    border: 1px solid rgba(59, 130, 246, 0.2);
    animation: fadeInUp 0.6s ease-out;
    position: relative;
}

.app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(15, 23, 42, 0.1) 100%);
    z-index: -1;
    border-radius: 15px;
}

.app-card ul {
    list-style: none;
    padding: 0;
}

.app-card ul li {
    padding: 5px 0;
    color: #60a5fa;
    font-weight: 500;
}

.app-card ul li:before {
    content: "✓ ";
    color: #10b981;
    font-weight: bold;
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 15px 35px rgba(0,0,0,0.4),
        inset 0 1px 0 rgba(59, 130, 246, 0.3);
    background: rgba(15, 23, 42, 0.4);
    border-color: rgba(59, 130, 246, 0.4);
}

.app-card h4 {
    font-size: 1.3rem;
    color: #f8fafc;
    margin-bottom: 10px;
}

.app-card p {
    color: #cbd5e1;
    margin-bottom: 20px;
    line-height: 1.5;
}

.app-link {
    display: inline-block;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.9) 0%, rgba(37, 99, 235, 0.9) 100%);
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 
        0 4px 15px rgba(59, 130, 246, 0.3),
        inset 0 1px 0 rgba(255,255,255,0.2);
}

.app-link:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 20px rgba(59, 130, 246, 0.4),
        inset 0 1px 0 rgba(255,255,255,0.3);
    background: linear-gradient(135deg, rgba(59, 130, 246, 1) 0%, rgba(37, 99, 235, 1) 100%);
}

/* Footer */
.footer {
    text-align: center;
    padding: 20px 0;
    color: #94a3b8;
    margin-top: auto;
    width: 100%;
}

/* Botón de Acceso al Panel */
.admin-access-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.admin-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    color: #f8fafc;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(59, 130, 246, 0.3);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.admin-btn:hover {
    background: rgba(15, 23, 42, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    color: #3b82f6;
}

.admin-btn i {
    font-size: 1rem;
}

/* Responsive para el botón de admin */
@media (max-width: 768px) {
    .admin-access-btn {
        bottom: 20px;
        right: 20px;
    }
    
    .admin-btn {
        padding: 10px 15px;
        font-size: 0.8rem;
    }
    
    .admin-btn span {
        display: none;
    }
    
    .admin-btn i {
        font-size: 1.2rem;
    }
}

/* Animations */
@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Loading animation */
.loading {
    text-align: center;
    padding: 40px;
    font-size: 1.2rem;
    color: #cbd5e1;
}

.loading::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(59, 130, 246, 0.8);
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0;
    }
    
    .header-unified {
        padding: 20px 15px;
        backdrop-filter: blur(15px) saturate(180%);
        -webkit-backdrop-filter: blur(15px) saturate(180%);
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .brand-section {
        margin-bottom: 0;
    }
    
    .welcome-section {
        text-align: center;
    }
    
    .main-title {
        font-size: 2.2rem;
    }
    
    .welcome-section h2 {
        font-size: 1.8rem;
    }
    
    .main {
        padding: 30px 15px;
        gap: 30px;
    }
    
    .search-section {
        padding: 25px 20px;
        max-width: 400px;
        backdrop-filter: blur(15px) saturate(180%);
        -webkit-backdrop-filter: blur(15px) saturate(180%);
    }
    
    .results-section {
        padding: 25px 20px;
        backdrop-filter: blur(15px) saturate(180%);
        -webkit-backdrop-filter: blur(15px) saturate(180%);
    }
    
    .apps-grid {
        grid-template-columns: 1fr;
    }
    
    /* Flip Card Mobile Styles */
    .flip-card-container {
        max-width: 100%;
    }

    .flip-card {
        height: auto;
        min-height: 400px;
    }

    .flip-card-front {
        padding: 30px 20px;
    }

    .flip-card-back {
        padding: 20px;
    }

    .search-content h3 {
        font-size: 1.5rem;
    }

    .search-content p {
        font-size: 0.9rem;
    }

    .search-icon-container {
        width: 70px;
        height: 70px;
    }
    
    .tech-icon {
        font-size: 3rem;
    }

    .notification {
        right: 10px;
        left: 10px;
        max-width: none;
        transform: translateY(-100px);
    }

    .notification.show {
        transform: translateY(0);
    }
    
    .company-header {
        flex-direction: column;
        text-align: center;
    }
    
    .input-group input {
        max-width: 100%;
    }
    
    /* Ajustes para elementos flotantes en móvil */
    .floating-element {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 480px) {
    .header-unified {
        padding: 15px 10px;
        backdrop-filter: blur(10px) saturate(180%);
        -webkit-backdrop-filter: blur(10px) saturate(180%);
    }
    
    .header-content {
        gap: 10px;
    }
    
    .main-title {
        font-size: 1.8rem;
    }
    
    .welcome-section h2 {
        font-size: 1.4rem;
    }
    
    .welcome-section p {
        font-size: 0.9rem;
    }
    
    .main {
        padding: 20px 10px;
        gap: 20px;
    }
    
    .search-section {
        padding: 20px 15px;
        max-width: 350px;
        backdrop-filter: blur(10px) saturate(180%);
        -webkit-backdrop-filter: blur(10px) saturate(180%);
    }
    
    .results-section {
        padding: 20px 15px;
        backdrop-filter: blur(10px) saturate(180%);
        -webkit-backdrop-filter: blur(10px) saturate(180%);
    }
    
    /* Elementos flotantes más pequeños en móvil */
    .floating-element {
        width: 50px;
        height: 50px;
    }
} 

.not-found-message {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    height: 100%;
    animation: fadeIn 0.6s cubic-bezier(0.4,0,0.2,1);
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes fadeOut {
    0% { opacity: 1; }
    100% { opacity: 0; }
}

.search-content.fade-out {
    animation: fadeOut 0.3s cubic-bezier(0.4,0,0.2,1) forwards;
}

.search-content.fade-in {
    animation: fadeIn 0.6s cubic-bezier(0.4,0,0.2,1) forwards;
}

.not-found-content {
    background: rgba(239, 68, 68, 0.08);
    border: 1.5px solid rgba(239, 68, 68, 0.25);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    color: #ef4444;
    box-shadow: 0 4px 24px rgba(239,68,68,0.08);
    max-width: 400px;
    width: 100%;
}

.not-found-content i {
    font-size: 2.5rem;
    margin-bottom: 12px;
    color: #ef4444;
}

.not-found-content h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #ef4444;
}

.not-found-content p {
    font-size: 1rem;
    color: #b91c1c;
    margin-bottom: 18px;
}

.not-found-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.btn-contact-sideraltech {
    display: inline-block;
    background: linear-gradient(90deg, #3b82f6 0%, #6366f1 100%);
    color: #fff;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(59,130,246,0.10);
    transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}

.btn-contact-sideraltech:hover {
    background: linear-gradient(90deg, #6366f1 0%, #3b82f6 100%);
    box-shadow: 0 4px 16px rgba(59,130,246,0.18);
    transform: translateY(-2px) scale(1.04);
}

.btn-return-search {
    background: rgba(107, 114, 128, 0.2);
    border: 1px solid rgba(107, 114, 128, 0.3);
    color: #6b7280;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
}

.btn-return-search:hover {
    background: rgba(107, 114, 128, 0.3);
    border-color: rgba(107, 114, 128, 0.5);
    color: #9ca3af;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(107, 114, 128, 0.15);
} 