:root {
    --primary: #00f2ff;
    --secondary: #000000;
    --accent: #000000;
    --dark: #000002;
    --dark-light: #000000;
    --text-light: #e0e0e0;
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--dark);
    color: var(--text-light);
    overflow-x: hidden;
}

/* Navbar Futurista */
#mainNav {
    background: linear-gradient(333deg,rgba(1, 9, 10, 1) 5%, rgba(5, 67, 74, 1) 50%, rgba(5, 1, 1, 1) 100%);
    backdrop-filter: blur(30px);
    padding: 1rem 0;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 2px 20px rgba(255, 255, 255, 0.1);
}

#mainNav.transparent {
    background: transparent;
    box-shadow: none;
}

#mainNav.scrolled {
    background: rgba(0, 0, 0, 0);
    box-shadow: 0 2px 30px rgb(255 255 255 / 12%)
}

.navbar-brand {
    display: flex;
    flex-direction: column;
    font-weight: 700;
}

.brand-text {
    font-size: 1.5rem;
    background: var(--gradient-3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-subtitle {
    font-size: 0.7rem;
    color: var(--primary);
    letter-spacing: 2px;
}

.nav-link {
    color: var(--text-light) !important;
    margin: 0 0.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-3);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

.visitor-counter {
    background: rgba(0, 242, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid var(--primary);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 10px rgba(0, 242, 255, 0.3); }
    50% { box-shadow: 0 0 20px rgba(0, 242, 255, 0.6); }
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #000000 0%, #000000 100%);
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(0, 0, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 135, 156, 0.1) 0%, transparent 50%);
    animation: particleMove 20s infinite alternate;
}

@keyframes particleMove {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(-20px) scale(1.1); }
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.gradient-text {
    background: var(--gradient-3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.hero-buttons {
    animation: fadeInUp 1s ease 0.6s backwards;
}

.btn-glow {
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.5);
    transition: all 0.3s ease;
}

.btn-glow:hover {
    box-shadow: 0 0 30px rgba(0, 242, 255, 0.8);
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--gradient-3);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
}

.btn-outline-light {
    border: 2px solid var(--primary);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: var(--primary);
    color: var(--dark);
    transform: translateY(-2px);
}

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

/* Floating Cards - 4 TARJETAS */
.hero-image-container {
    position: relative;
    height: 500px;
}

.floating-card {
    position: absolute;
    width: 150px;
    height: 150px;
    background: rgba(0, 242, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid var(--primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--primary);
    animation: float 3s ease-in-out infinite;
}

/* POSICIONES CORREGIDAS PARA 4 TARJETAS */
.floating-card:nth-child(1) {
    top: 10%;
    left: 5%;
}

.floating-card:nth-child(2) {
    top: 15%;
    right: 10%;
}

.floating-card:nth-child(3) {
    bottom: 25%;
    left: 20%;
}

.floating-card:nth-child(4) {
    bottom: 15%;
    right: 15%;
}

.floating-card.delay-1 {
    animation-delay: 0.5s;
}

.floating-card.delay-2 {
    animation-delay: 1s;
}

.floating-card.delay-3 {
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--primary);
    border-radius: 15px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    width: 4px;
    height: 10px;
    background: var(--primary);
    left: 50%;
    top: 10px;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes scroll {
    0% { top: 10px; opacity: 1; }
    100% { top: 30px; opacity: 0; }
}

/* About Section */
.about-section {
    background: var(--dark-light);
    position: relative;
}

.info-card {
    background: rgba(0, 242, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 242, 255, 0.2);
    height: 100%;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 242, 255, 0.3);
    border-color: var(--primary);
}

.info-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin: 0 auto 1.5rem;
}

.info-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    text-align: center;
}

.stat-card {
    background: rgba(0, 0, 0, 0.1);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 161, 193, 0.3);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0, 185, 236, 0.5);
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    background: var(--primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

/* AI Assistant Section */
.ai-section {
    background: var(--dark-light);
    position: relative;
}

.ai-chat-container {
    background: rgba(0, 242, 255, 0.05);
    border: 2px solid var(--primary);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 242, 255, 0.3);
}

.ai-chat-header {
    background: rgba(0, 242, 255, 0.1);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(0, 242, 255, 0.3);
}

.ai-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.5);
}

.ai-chat-header h4 {
    margin: 0;
    color: var(--primary);
}

.status-online {
    font-size: 0.85rem;
    color: var(--text-light);
    opacity: 0.8;
}

.status-online i {
    color: #00ff00;
    font-size: 0.6rem;
    animation: pulse 2s infinite;
}

.ai-chat-body {
    padding: 2rem;
    min-height: 300px;
    max-height: 400px;
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.3);
}

.ai-message {
    display: flex;
    margin-bottom: 1rem;
    animation: fadeInUp 0.3s ease;
}

.message-content {
    background: rgba(0, 242, 255, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 15px;
    max-width: 80%;
    border: 1px solid rgba(0, 242, 255, 0.3);
    line-height: 1.6;
}

.user-message {
    justify-content: flex-end;
}

.user-message .message-content {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    border: none;
}

.ai-chat-footer {
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    border-top: 1px solid rgba(0, 242, 255, 0.3);
}

.ai-chat-footer .form-control {
    background: rgba(0, 242, 255, 0.05);
    border: 1px solid rgba(0, 242, 255, 0.3);
    color: var(--text-light);
    padding: 0.8rem 1.2rem;
    border-radius: 25px;
}

.ai-chat-footer .form-control:focus {
    background: rgba(0, 242, 255, 0.1);
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.3);
    color: var(--text-light);
}

.ai-chat-footer .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.ai-chat-footer .btn {
    border-radius: 50%;
    width: 50px;
    height: 50px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-info h3 {
    color: var(--primary);
    font-size: 2rem;
}

.ai-step {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.5);
}

.step-content h5 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.step-content p {
    margin: 0;
    opacity: 0.9;
}

.ai-features {
    background: rgba(0, 242, 255, 0.05);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 242, 255, 0.3);
}

.ai-features h5 {
    color: var(--primary);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
}

.feature-item i {
    color: var(--primary);
    font-size: 1.2rem;
}

.ai-chat-body::-webkit-scrollbar {
    width: 8px;
}

.ai-chat-body::-webkit-scrollbar-track {
    background: rgba(0, 242, 255, 0.05);
}

.ai-chat-body::-webkit-scrollbar-thumb {
    background: rgba(0, 242, 255, 0.3);
    border-radius: 4px;
}

.ai-chat-body::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 242, 255, 0.5);
}

/* Section Headers */
.section-header {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    opacity: 0.8;
}

/* Catalog Section */
.catalog-section {
    background: var(--dark);
    padding: 5rem 0;
}

.filter-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.filter-btn {
    background: rgba(0, 242, 255, 0.1);
    border: 1px solid var(--primary);
    color: var(--text-light);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--gradient-3);
    color: white;
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.5);
}

.product-card {
    background: var(--dark-light);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 242, 255, 0.2);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 242, 255, 0.3);
    border-color: var(--primary);
}

.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient-2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 1;
}

.product-image {
    height: 200px;
    background: var(--gradient-3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: white;
}

.product-content {
    padding: 2rem;
}

.product-content h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.feature-tag {
    background: rgba(0, 242, 255, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid rgba(0, 242, 255, 0.3);
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary);
}

.product-item.hidden {
    display: none;
}

/* Social Media Section */
.social-section {
    background: var(--dark-light);
}

.social-tabs {
    margin-bottom: 2rem;
}

.social-tabs .nav-link {
    background: rgba(0, 242, 255, 0.1);
    border: 1px solid rgba(0, 242, 255, 0.2);
    color: var(--text-light);
    padding: 1rem 2rem;
    margin: 0 0.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.social-tabs .nav-link:hover, .social-tabs .nav-link.active {
    background: var(--gradient-3);
    color: white;
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.5);
}

.social-carousel {
    max-width: 800px;
    margin: 0 auto;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 20px;
    border: 2px solid var(--primary);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Contact Section */
.contact-section {
    background: var(--dark);
}

.contact-info-container {
    background: var(--dark-light);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 242, 255, 0.2);
}

.contact-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-right: 1.5rem;
}

.contact-info-item h4 {
    color: var(--primary);
    margin-bottom: 0.3rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(0, 242, 255, 0.1);
    border: 1px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--gradient-3);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 242, 255, 0.3);
}

.contact-form .form-control, .contact-form .form-select {
    background: rgba(0, 242, 255, 0.05);
    border: 1px solid rgba(0, 242, 255, 0.2);
    color: var(--text-light);
    padding: 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus, .contact-form .form-select:focus {
    background: rgba(0, 242, 255, 0.1);
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.3);
    color: var(--text-light);
}

/* Footer */
.footer {
    background: var(--dark-light);
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(0, 242, 255, 0.2);
}

.footer-tagline {
    color: var(--primary);
    margin-top: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .floating-card {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }
    
    .hero-image-container {
        height: 300px;
    }
    
    .ai-chat-body {
        min-height: 250px;
        max-height: 300px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}