:root {
    --bg-color: #0b0c10;
    --surface-color: rgba(31, 40, 51, 0.6);
    --primary-color: #66fcf1;
    --primary-dark: #45a29e;
    --text-main: #c5c6c7;
    --text-light: #ffffff;
    --neon-shadow: 0 0 10px rgba(102, 252, 241, 0.5), 0 0 20px rgba(102, 252, 241, 0.3);
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    overflow-x: hidden;
    position: relative;
}

/* Luces ambientales de fondo */
.ambient-light {
    position: fixed;
    border-radius: 50%;
    filter: blur(150px);
    z-index: -1;
    opacity: 0.5;
    animation: float 10s ease-in-out infinite alternate;
}

.light-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(102,252,241,0.4) 0%, rgba(11,12,16,0) 70%);
    top: -10%;
    left: -10%;
}

.light-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(69,162,158,0.3) 0%, rgba(11,12,16,0) 70%);
    bottom: 20%;
    right: -10%;
    animation-delay: 2s;
}

@keyframes float {
    0% { transform: translateY(0px) scale(1); }
    100% { transform: translateY(50px) scale(1.1); }
}

/* Glassmorphism Util */
.glass {
    background: var(--surface-color);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.neon-text {
    color: var(--primary-color);
    text-shadow: var(--neon-shadow);
}

/* Typography */
h1, h2, h3, h4 {
    color: var(--text-light);
    font-weight: 600;
}

a {
    text-decoration: none;
    color: var(--text-main);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-color);
    box-shadow: var(--neon-shadow);
}

.btn-primary:hover {
    background-color: var(--text-light);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

.btn-secondary {
    color: var(--text-light);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: padding 0.3s ease;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-light);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links li a {
    font-weight: 400;
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
    box-shadow: var(--neon-shadow);
}

.nav-links li a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle .bar {
    height: 3px;
    width: 25px;
    background-color: var(--text-light);
    margin: 4px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 50px;
    position: relative;
    background: url('assets/hero_bg.png') no-repeat center center/cover;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(11,12,16,0.95) 0%, rgba(11,12,16,0.5) 50%, rgba(11,12,16,0.1) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: var(--text-main);
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* Features */
.features {
    display: flex;
    justify-content: space-around;
    padding: 60px 50px;
    margin: -50px 50px 50px;
    border-radius: 20px;
    position: relative;
    z-index: 10;
}

.feature {
    text-align: center;
    max-width: 250px;
}

.feature .icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.feature h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* Sections Global */
section {
    padding: 80px 50px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

/* Categorias */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.category-card {
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.category-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 40px rgba(102, 252, 241, 0.2);
    border-color: var(--primary-color);
}

.cat-img-wrapper {
    height: 200px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 10px;
}

.cat-img-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.category-card:hover .cat-img-wrapper img {
    transform: scale(1.1);
}

.category-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.category-card p {
    font-size: 0.9rem;
    margin-bottom: 20px;
    opacity: 0.8;
}

.btn-link {
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 1px;
}

.btn-link:hover {
    text-shadow: var(--neon-shadow);
}

/* Products */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: rgba(102, 252, 241, 0.5);
}

.badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-color);
    color: var(--bg-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 800;
    z-index: 2;
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover img {
    transform: scale(1.05);
}

.product-info {
    padding: 25px;
}

.product-info h4 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.product-info .specs {
    font-size: 0.85rem;
    color: var(--text-main);
    opacity: 0.8;
    margin-bottom: 20px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-light);
}

.btn.small {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* Footer */
.glass-footer {
    background: rgba(11, 12, 16, 0.8);
    backdrop-filter: blur(20px);
    border-top: var(--glass-border);
    padding: 60px 50px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* Responsive */
@media (max-width: 992px) {
    .hero-title { font-size: 3rem; }
    .features { flex-direction: column; gap: 40px; align-items: center; }
}

@media (max-width: 768px) {
    .navbar { padding: 20px; }
    .nav-links {
        position: absolute;
        top: 70px;
        right: -100%;
        flex-direction: column;
        background: var(--surface-color);
        backdrop-filter: blur(15px);
        width: 100%;
        text-align: center;
        padding: 30px 0;
        transition: 0.3s;
        border-bottom: var(--glass-border);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .menu-toggle { display: flex; }
    
    .hero-title { font-size: 2.5rem; }
    .hero-buttons { flex-direction: column; }
    
    section { padding: 60px 20px; }
    .features { margin: 20px; }
}
