@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

:root {
    --primary: #00f2ff;
    --secondary: #7000ff;
    --dark: #050505;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text: #ffffff;
}

html, body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--dark);
    color: var(--text);
    overflow-x: hidden;
    max-width: 100vw;
}

/* Background Mesh Gradient */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(0, 242, 255, 0.05) 0%, transparent 40%),
                radial-gradient(circle at 80% 70%, rgba(112, 0, 255, 0.05) 0%, transparent 40%);
    z-index: -1;
}

/* Navbar Futuristic */
.navbar {
    background: rgba(5, 5, 5, 0.8) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.navbar-brand {
    font-weight: 800;
    letter-spacing: -1px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.5rem;
}

/* Hero Section */
.hero-futuristic {
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 1.5rem;
}

.hero-title span {
    color: var(--primary);
    text-shadow: 0 0 20px rgba(0, 242, 255, 0.5);
}

/* Product Cards Glassmorphism */
.product-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 100%);
    opacity: 0;
    transition: 0.5s;
    pointer-events: none;
}

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

.product-card:hover::before {
    opacity: 1;
}

.card-img-top {
    padding: 20px;
    transition: 0.5s;
    height: 250px;
    width: 100%;
    object-fit: contain;
}

.product-card:hover .card-img-top {
    transform: scale(1.08) rotate(-3deg);
}

.hover-primary:hover {
    color: var(--primary) !important;
    transition: 0.3s;
}

.price-tag {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
}

.btn-futuristic {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border: none;
    color: var(--dark);
    font-weight: 700;
    border-radius: 12px;
    padding: 12px 25px;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-futuristic:hover {
    box-shadow: 0 0 30px rgba(0, 242, 255, 0.4);
    transform: scale(1.05);
    color: var(--dark);
}

/* WhatsApp Floating Glass */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: rgba(37, 211, 102, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(37, 211, 102, 0.3);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: 0.3s;
}

.floating-whatsapp:hover {
    transform: scale(1.1) rotate(10deg);
    background: rgba(37, 211, 102, 0.4);
    box-shadow: 0 0 30px rgba(37, 211, 102, 0.4);
}

/* AI Assistant Hologram */
.ai-assistant-card {
    background: rgba(0, 242, 255, 0.03);
    border: 1px dashed var(--primary);
    border-radius: 30px;
    padding: 40px;
    position: relative;
    overflow: hidden; /* Fija el desbordamiento horizontal */
}

.ai-assistant-card::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: repeating-linear-gradient(0deg, transparent, transparent 1px, rgba(0, 242, 255, 0.05) 1px, rgba(0, 242, 255, 0.05) 2px);
    pointer-events: none;
}

/* Ajustes Móviles Adicionales */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem !important;
    }
    .card-img-top {
        height: 180px !important;
    }
    .product-card {
        border-radius: 18px;
    }
    .price-tag {
        font-size: 1.1rem;
    }
}

.btn-group .btn {
    transition: all 0.2s;
}
.btn-group .btn:active {
    transform: scale(0.95);
}
.letter-spacing-1 {
    letter-spacing: 1px;
}
