/* TI3D Impresiones - Styles */

:root {
    --primary-blue: #2563eb;
    --primary-purple: #7c3aed;
    --dark-blue: #1e40af;
    --light-blue: #3b82f6;
    --accent-purple: #8b5cf6;
    --bg-dark: #0f172a;
    --bg-light: #f8fafc;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-blue: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
}

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

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    overflow-x: hidden;
}

/* ==================== HEADER ==================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 120px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 0;
}

.nav-link-text {
    position: relative;
    z-index: 1;
}

.nav-link-indicator {
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100%;
    height: 3px;
    background: var(--gradient-blue);
    border-radius: 3px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover .nav-link-indicator,
.nav-link.active .nav-link-indicator {
    transform: translateX(-50%) scaleX(1);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-blue);
}

.nav-link.active {
    font-weight: 600;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 40px;
    height: 40px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 50%;
    transition: transform 0.3s;
    z-index: 0;
}

.nav-link:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.nav-btn {
    background: var(--gradient-blue);
    color: white !important;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(37, 99, 235, 0.4);
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: all 0.3s;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    gap: 15px;
}

.mobile-menu.active {
    display: flex;
}

.nav-link-mobile {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    padding: 10px;
    border-radius: 10px;
    transition: all 0.3s;
}

.nav-link-mobile:hover {
    background: var(--bg-light);
    color: var(--primary-blue);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .menu-toggle {
        display: flex;
    }
}

/* ==================== HERO SECTION V2 ==================== */

.hero-v2 {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    background: #0a0a1a;
}

.hero-v2-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.grid-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(99, 102, 241, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.1) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: perspective(500px) rotateX(60deg) translateY(0); }
    100% { transform: perspective(500px) rotateX(60deg) translateY(60px); }
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.4) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    animation: orbFloat 8s ease-in-out infinite;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, transparent 70%);
    bottom: -50px;
    left: -100px;
    animation: orbFloat 10s ease-in-out infinite reverse;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.1); }
}

.hero-v2-content {
    position: relative;
    z-index: 2;
    max-width: 1300px;
    margin: 0 auto;
    padding: 180px 5% 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    min-height: 100vh;
}

.hero-v2-text {
    color: white;
}

.hero-v2-location {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #a5b4fc;
    margin-bottom: 25px;
}

.hero-v2-title {
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero-v2-title .line-1,
.hero-v2-title .line-2 {
    display: block;
    color: white;
}

.hero-v2-title .line-3 {
    display: block;
    color: #a5b4fc;
}

.hero-v2-title em {
    font-style: normal;
    background: linear-gradient(135deg, #667eea 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-v2-subtitle {
    font-size: 1.15rem;
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 35px;
    max-width: 480px;
}

.hero-v2-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.5);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    padding: 16px 32px;
    background: transparent;
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
}

.hero-v2-features {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #94a3b8;
    font-size: 0.95rem;
}

.feature-icon {
    font-size: 1.3rem;
}

/* Printer Scene Animation */
.hero-v2-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.printer-scene {
    position: relative;
    width: 350px;
    height: 350px;
}

.printer-base {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 180px;
}

.printer-platform {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.printer-object {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    display: flex;
    flex-direction: column-reverse;
}

.print-layer {
    height: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 3px;
    margin-top: 2px;
    animation: printLayerGrow 3s ease-in-out infinite;
    opacity: 0;
    transform: scaleY(0);
}

.print-layer:nth-child(1) { animation-delay: 0s; width: 100%; }
.print-layer:nth-child(2) { animation-delay: 0.5s; width: 90%; margin-left: 5%; }
.print-layer:nth-child(3) { animation-delay: 1s; width: 80%; margin-left: 10%; }
.print-layer:nth-child(4) { animation-delay: 1.5s; width: 70%; margin-left: 15%; }
.print-layer:nth-child(5) { animation-delay: 2s; width: 50%; margin-left: 25%; border-radius: 3px 3px 50% 50%; }

@keyframes printLayerGrow {
    0%, 10% {
        opacity: 0;
        transform: scaleY(0);
    }
    20%, 80% {
        opacity: 1;
        transform: scaleY(1);
    }
    90%, 100% {
        opacity: 0;
        transform: scaleY(1);
    }
}

.printer-nozzle {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 40px;
    background: linear-gradient(180deg, #4b5563 0%, #374151 100%);
    border-radius: 5px 5px 0 0;
    animation: nozzleMove 3s ease-in-out infinite;
}

.printer-nozzle::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: #667eea;
    border-radius: 50%;
    box-shadow: 0 0 15px #667eea, 0 0 30px #667eea;
    animation: nozzleGlow 0.5s ease-in-out infinite alternate;
}

@keyframes nozzleMove {
    0%, 100% { top: 0; }
    50% { top: 60px; }
}

@keyframes nozzleGlow {
    0% { opacity: 0.5; transform: translateX(-50%) scale(0.8); }
    100% { opacity: 1; transform: translateX(-50%) scale(1.2); }
}

.printer-glow {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.3) 0%, transparent 70%);
    animation: glowPulse 3s ease-in-out infinite;
}

@media (max-width: 968px) {
    .hero-v2-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 120px;
    }

    .hero-v2-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-v2-buttons {
        justify-content: center;
    }

    .hero-v2-features {
        justify-content: center;
    }

    .hero-v2-visual {
        display: none;
    }
}

/* Old hero styles kept for backup compatibility */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 100px 5%;
    background: linear-gradient(135deg, #f0f4ff 0%, #faf5ff 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 10px 20px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    font-weight: 500;
    color: var(--primary-purple);
}

.badge-icon {
    font-size: 24px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.title-line {
    display: block;
    color: var(--text-dark);
}

.title-highlight {
    display: block;
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-3d {
    font-size: 1.5em;
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 500px;
    margin-bottom: 30px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-blue);
    color: white;
    box-shadow: 0 5px 20px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--primary-purple);
    border: 2px solid var(--primary-purple);
}

.btn-secondary:hover {
    background: var(--primary-purple);
    color: white;
}

.btn-icon {
    font-size: 1.2em;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
    width: 100px;
    height: 100px;
    margin: -50px;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
}

.hero-3d-container {
    perspective: 1000px;
}

.rotating-cube {
    width: 200px;
    height: 200px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotateCube 15s infinite linear;
}

.cube-face {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 3px solid rgba(99, 102, 241, 0.5);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
    backdrop-filter: blur(5px);
    border-radius: 20px;
}

.cube-face.front { transform: translateZ(100px); }
.cube-face.back { transform: translateZ(-100px) rotateY(180deg); }
.cube-face.right { transform: translateX(100px) rotateY(90deg); }
.cube-face.left { transform: translateX(-100px) rotateY(-90deg); }
.cube-face.top { transform: translateY(-100px) rotateX(90deg); }
.cube-face.bottom { transform: translateY(100px) rotateX(-90deg); }

@keyframes rotateCube {
    0% { transform: rotateX(0) rotateY(0); }
    100% { transform: rotateX(360deg) rotateY(360deg); }
}

.hero-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

/* Floating Objects */
.floating-objects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.floating-cube {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--gradient-blue);
    opacity: 0.1;
    border-radius: 4px;
    animation: float 20s infinite ease-in-out;
}

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

@media (max-width: 968px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 120px;
    }
    .hero-visual {
        display: none;
    }
    .hero-stats {
        justify-content: center;
    }
    .hero-buttons {
        justify-content: center;
    }
}

/* ==================== SECTIONS ==================== */

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-badge {
    display: inline-block;
    background: var(--gradient-blue);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 10px;
}

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

/* ==================== SERVICES ==================== */

.services {
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-light);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ==================== FILAMENTS ==================== */

.filaments-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.filaments-section .section-badge {
    background: rgba(255, 255, 255, 0.2);
}

.filaments-section .section-title {
    color: white;
}

.filaments-section .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.filaments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.filament-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.3s;
}

.filament-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.filament-color {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.filament-icon {
    font-size: 3rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.filament-info {
    padding: 20px;
    color: var(--text-dark);
}

.filament-brand {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.filament-details {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.filament-weight {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.filament-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-purple);
    margin-bottom: 10px;
}

.filament-stock {
    display: inline-block;
    padding: 4px 12px;
    background: #d1fae5;
    color: #065f46;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.filament-stock.out {
    background: #fee2e2;
    color: #991b1b;
}

.filament-btn {
    display: block;
    width: calc(100% - 40px);
    margin: 0 20px 20px;
    padding: 12px;
    background: var(--gradient-blue);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.filament-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.4);
}

.filament-btn.disabled {
    background: #9ca3af;
    cursor: not-allowed;
}

.filaments-cta {
    text-align: center;
    margin-top: 40px;
}

/* ==================== PRODUCTS ==================== */

.products-preview {
    background: var(--bg-light);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    cursor: pointer;
    animation: fadeInUp 0.5s ease-out forwards;
    opacity: 0;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.product-card.out-of-stock {
    opacity: 0.7;
}

.product-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.product-emoji {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.product-view {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(37, 99, 235, 0.9);
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s;
}

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

.product-info {
    padding: 20px;
}

.product-category {
    display: inline-block;
    background: var(--bg-light);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.product-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.3;
}

.product-price {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-blue);
}

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

.add-cart-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--gradient-blue);
    color: white;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s;
}

.add-cart-btn:hover {
    transform: scale(1.1);
}

.add-cart-btn.disabled {
    background: #9ca3af;
    cursor: not-allowed;
}

.products-cta {
    text-align: center;
    margin-top: 40px;
}

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

/* ==================== STOCK BADGES ==================== */

.stock-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    margin: 8px 0;
}

.stock-badge.available {
    background: #d1fae5;
    color: #065f46;
}

.stock-badge.out {
    background: #fee2e2;
    color: #991b1b;
}

.stock-badge.low {
    background: #fef3c7;
    color: #92400e;
    animation: pulse 2s ease-in-out infinite;
}

.stock-badge.normal {
    background: #dbeafe;
    color: #1e40af;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* ==================== CONTACT ==================== */

.contact-section {
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: var(--bg-light);
    border-radius: 15px;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s;
}

.contact-method:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    font-size: 2rem;
}

.contact-method strong {
    display: block;
    font-weight: 600;
}

.contact-method span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.contact-card {
    background: var(--gradient-blue);
    padding: 40px;
    border-radius: 25px;
    color: white;
    text-align: center;
}

.contact-card-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.contact-card p {
    opacity: 0.9;
    margin-bottom: 25px;
}

.btn-whatsapp {
    display: inline-block;
    background: #25D366;
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
}

/* ==================== FOOTER ==================== */

.footer {
    background: var(--bg-dark);
    color: white;
    padding: 60px 20px 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    height: 50px;
    margin-bottom: 15px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    font-size: 1.5rem;
    text-decoration: none;
    transition: transform 0.3s;
}

.footer-social a:hover {
    transform: scale(1.2);
}

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

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-social {
        justify-content: center;
    }
}

/* ==================== WHATSAPP FLOAT ==================== */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 5px 25px rgba(37, 211, 102, 0.4);
    transition: all 0.3s;
}

.whatsapp-float:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px rgba(37, 211, 102, 0.5);
}

.whatsapp-icon {
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .whatsapp-float {
        padding: 15px;
        border-radius: 50%;
    }
    .whatsapp-text {
        display: none;
    }
}

/* ==================== SHOP PAGE ==================== */

.shop-hero {
    background: var(--gradient-blue);
    padding: 150px 20px 80px;
    text-align: center;
    color: white;
}

.shop-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.shop-hero p {
    opacity: 0.9;
}

.shop-section {
    padding: 40px 0;
}

.shop-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.shop-tab {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.shop-tab.active {
    background: var(--gradient-blue);
    color: white;
    border-color: transparent;
}

.shop-tab:hover:not(.active) {
    border-color: var(--primary-blue);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.filter-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.filter-btn {
    padding: 10px 20px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn.active, .filter-btn:hover {
    background: var(--gradient-blue);
    color: white;
    border-color: transparent;
}

.no-products {
    text-align: center;
    padding: 50px;
    color: var(--text-light);
    font-size: 1.1rem;
}

/* ==================== PRODUCT MODAL ==================== */

.product-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.product-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    max-width: 900px;
    width: 90%;
    margin: 50px auto;
    background: white;
    border-radius: 25px;
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s;
    max-height: 90vh;
    overflow-y: auto;
}

.product-modal.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
}

.modal-close:hover {
    background: var(--bg-light);
    transform: rotate(90deg);
}

.modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.modal-image {
    background: var(--bg-light);
    padding: 30px;
    position: relative;
}

.modal-image img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    border-radius: 15px;
}

.modal-emoji {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.modal-info {
    padding: 40px;
}

.modal-category {
    display: inline-block;
    background: var(--gradient-blue);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.modal-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.3;
}

.modal-description {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 25px;
}

.modal-price {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-blue);
    margin-bottom: 25px;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal-btn-whatsapp {
    padding: 15px 30px;
    background: #25D366;
    color: white;
    border: none;
    border-radius: 15px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.modal-btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .modal-grid {
        grid-template-columns: 1fr;
    }
    .modal-info {
        padding: 25px;
    }
    .modal-title {
        font-size: 1.4rem;
    }
    .modal-price {
        font-size: 2rem;
    }
}

/* ==================== CART NOTIFICATION ==================== */

.cart-notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: var(--primary-blue);
    color: white;
    padding: 15px 25px;
    border-radius: 15px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.4);
    animation: slideIn 0.3s ease-out, fadeOut 0.3s ease-out 2.7s;
    z-index: 10000;
}

@keyframes slideIn {
    from {
        transform: translateX(100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
    }
}

/* ==================== LOADING ==================== */

.loading-spinner {
    text-align: center;
    padding: 50px;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #e5e7eb;
    border-top-color: var(--primary-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ==================== ANIMATE CLASSES ==================== */

.animate-ready {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== HERO LOGO ANIMATIONS ==================== */

.hero-logo-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo-img {
    width: 100%;
    max-width: 420px;
    height: auto;
    animation: heroLogoFloat 4s ease-in-out infinite;
    filter: drop-shadow(0 20px 45px rgba(102, 126, 234, 0.45));
    position: relative;
    z-index: 2;
}

@keyframes heroLogoFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) rotate(1deg);
    }
    50% {
        transform: translateY(-8px) rotate(0deg);
    }
    75% {
        transform: translateY(-12px) rotate(-1deg);
    }
}

/* Glow effect behind logo */
.hero-logo-glow {
    position: absolute;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.4) 0%, rgba(118, 75, 162, 0.2) 40%, transparent 70%);
    border-radius: 50%;
    animation: glowPulse 3s ease-in-out infinite;
    z-index: 1;
}

@keyframes glowPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.15);
        opacity: 0.9;
    }
}

/* Floating particles around logo */
.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 3;
}

.hero-particles .particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    animation: particleFloat 5s ease-in-out infinite;
}

.hero-particles .particle:nth-child(1) {
    top: 10%;
    left: 10%;
    width: 12px;
    height: 12px;
    animation-delay: 0s;
}

.hero-particles .particle:nth-child(2) {
    top: 20%;
    right: 15%;
    width: 8px;
    height: 8px;
    animation-delay: 1s;
}

.hero-particles .particle:nth-child(3) {
    bottom: 25%;
    left: 5%;
    width: 10px;
    height: 10px;
    animation-delay: 2s;
}

.hero-particles .particle:nth-child(4) {
    bottom: 15%;
    right: 10%;
    width: 14px;
    height: 14px;
    animation-delay: 1.5s;
}

.hero-particles .particle:nth-child(5) {
    top: 50%;
    right: 5%;
    width: 6px;
    height: 6px;
    animation-delay: 0.5s;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0.6;
    }
    25% {
        transform: translateY(-20px) translateX(10px);
        opacity: 0.9;
    }
    50% {
        transform: translateY(-10px) translateX(-5px);
        opacity: 0.7;
    }
    75% {
        transform: translateY(-25px) translateX(15px);
        opacity: 0.8;
    }
}

/* ==================== CART SYSTEM ==================== */

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    max-width: 90vw;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-header {
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
}

.cart-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-footer {
    padding: 20px;
    border-top: 2px solid #e5e7eb;
    background: #f9fafb;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1f2937;
}

.cart-btn-checkout {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.cart-btn-checkout:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.cart-btn-clear {
    width: 100%;
    padding: 12px;
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cart-btn-clear:hover {
    background: #dc2626;
}

/* Cart Button in Nav */
.cart-btn {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ef4444;
    color: white;
    font-size: 12px;
    font-weight: 700;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
}

@keyframes slideInRight {
    from {
        transform: translateX(100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}
