/* Variables CSS - Paleta de colores del logo */
:root {
    --dark-blue: #1e3a5f;
    --cyan-blue: #00d4ff;
    --light-bg: #f5f7fa;
    --white: #ffffff;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --shadow: rgba(30, 58, 95, 0.1);
    --shadow-hover: rgba(0, 212, 255, 0.3);
    --gradient-1: linear-gradient(135deg, #1e3a5f 0%, #00d4ff 100%);
    --gradient-2: linear-gradient(135deg, #00d4ff 0%, #1e3a5f 100%);
    --gradient-3: linear-gradient(135deg, rgba(30, 58, 95, 0.1) 0%, rgba(0, 212, 255, 0.1) 100%);
}

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

body {
    font-family: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-bg);
    overflow-x: hidden;
    position: relative;
}

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

/* Particles Background */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.3;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 30px rgba(30, 58, 95, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1.2rem 0;
    transition: all 0.3s ease;
}

.header.scrolled {
    padding: 0.8rem 0;
    box-shadow: 0 4px 30px rgba(30, 58, 95, 0.15);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo-container:hover {
    transform: scale(1.05);
}

.logo-symbol {
    width: 65px;
    height: 65px;
    animation: logoFloat 6s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

.logo-symbol svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 8px rgba(0, 212, 255, 0.3));
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--dark-blue);
    line-height: 1;
    margin: 0;
    letter-spacing: -1px;
}

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

.logo-subtitle {
    font-size: 0.75rem;
    font-style: italic;
    color: var(--cyan-blue);
    margin: 0;
    letter-spacing: 3px;
    font-weight: 500;
}

.nav {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-1);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--cyan-blue);
}

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

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 6px;
    padding: 0.5rem;
}

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

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 6rem 2rem 4rem;
    background: linear-gradient(180deg, #ffffff 0%, #f5f7fa 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: orbFloat 20s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--cyan-blue) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--dark-blue) 0%, transparent 70%);
    bottom: -150px;
    left: -150px;
    animation-delay: 5s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--cyan-blue) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 10s;
}

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

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    animation: fadeInUp 1s ease;
}

.hero-badge {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 50px;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-badge span {
    color: var(--cyan-blue);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.hero-title {
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease 0.4s both;
}

.title-line {
    display: block;
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.title-main {
    display: block;
    font-size: 4.5rem;
    font-weight: 900;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    animation: fadeInUp 1s ease 0.6s both;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
    animation: fadeInUp 1s ease 0.8s both;
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-1);
    color: var(--white);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--dark-blue);
    border-color: var(--dark-blue);
}

.btn-secondary:hover {
    background: var(--dark-blue);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(30, 58, 95, 0.2);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 1s both;
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

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

.scroll-indicator {
    position: absolute;
    bottom: 6.5rem;
    left: 90%;
    transform: translateX(-50%);
    z-index: 1;
    animation: bounce 2s infinite;
}

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

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--dark-blue);
    border-radius: 20px;
    position: relative;
    margin-left: 100px;
}

.wheel {
    width: 4px;
    height: 10px;
    background: var(--cyan-blue);
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(15px); }
}

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

/* Features Section */
.features-section {
    padding: 6rem 0;
    background: var(--white);
    position: relative;
}

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

.feature-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 25px;
    text-align: center;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-3);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.feature-card > * {
    position: relative;
    z-index: 1;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--cyan-blue);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
}

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

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-icon svg {
    width: 35px;
    height: 35px;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

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

/* About Section */
.about-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
    position: relative;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(0, 212, 255, 0.1);
    color: var(--cyan-blue);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text .section-title {
    font-size: 2.8rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.about-description {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-feature {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.check-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-1);
    color: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.about-feature h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 0.3rem;
}

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

.about-visual {
    position: relative;
    height: 500px;
}

.visual-card {
    position: absolute;
    background: var(--white);
    border-radius: 25px;
    padding: 2.5rem;
    box-shadow: 0 15px 40px rgba(30, 58, 95, 0.15);
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.visual-card:hover {
    transform: scale(1.05);
    border-color: var(--cyan-blue);
    box-shadow: 0 20px 50px rgba(0, 212, 255, 0.3);
}

.card-1 {
    top: 0;
    left: 0;
    background: var(--gradient-1);
    color: var(--white);
    animation: floatCard 6s ease-in-out infinite;
}

.card-2 {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    animation: floatCard 6s ease-in-out infinite 2s;
}

.card-3 {
    bottom: 0;
    left: 20%;
    animation: floatCard 6s ease-in-out infinite 4s;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
}

.card-content h3 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.card-content p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Products Section */
.products-section {
    padding: 6rem 0;
    background: var(--white);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.category-card {
    background: var(--white);
    border-radius: 30px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(30, 58, 95, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 250px;
    text-align: center;
}

.category-card.featured {
    border: 2px solid var(--cyan-blue);
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(0, 212, 255, 0.05) 100%);
}

.featured-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--gradient-1);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.category-card:hover .card-glow {
    opacity: 1;
}

.category-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 212, 255, 0.25);
    border-color: var(--cyan-blue);
}

.category-icon-wrapper {
    width: 90px;
    height: 90px;
    background: var(--gradient-3);
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    margin-bottom: 1.5rem;
    animation: iconFloat 3s ease-in-out infinite;
}

.category-card:hover .category-icon-wrapper {
    background: var(--gradient-1);
    transform: scale(1.1) rotate(5deg);
    animation: iconPulse 0.6s ease-in-out;
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.05);
    }
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1.1) rotate(5deg);
    }
    50% {
        transform: scale(1.2) rotate(10deg);
    }
}

.category-icon {
    font-size: 3.5rem;
    transition: transform 0.4s ease;
    display: block;
    line-height: 1;
}

.category-card:hover .category-icon {
    transform: scale(1.1);
}

.category-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 1.5rem;
    text-align: center;
}

.category-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2rem;
    background: var(--gradient-1);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.category-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.category-btn:hover::before {
    left: 100%;
}

.category-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.4);
}

/* Product Detail Sections */
.product-detail-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
    border-top: 1px solid rgba(30, 58, 95, 0.1);
}

.product-detail-section:nth-child(even) {
    background: linear-gradient(135deg, #ffffff 0%, #f5f7fa 100%);
}

.product-detail-title {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    text-align: center;
}

.product-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}

.product-item {
    background: var(--white);
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    color: var(--text-dark);
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
    font-weight: 500;
    box-shadow: 0 3px 10px rgba(30, 58, 95, 0.1);
}

.product-item:hover {
    background: var(--gradient-1);
    color: var(--white);
    border-color: var(--cyan-blue);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.3);
}

.category-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.category-items {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.category-items li {
    background: var(--light-bg);
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.85rem;
    color: var(--text-dark);
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    font-weight: 500;
}

.category-items li:hover {
    background: var(--gradient-1);
    color: var(--white);
    border-color: var(--cyan-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
}

.category-footer {
    padding-top: 1.5rem;
    border-top: 1px solid #e0e0e0;
}

.category-link {
    color: var(--cyan-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.category-link:hover {
    gap: 1rem;
    color: var(--dark-blue);
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    position: relative;
    background: linear-gradient(135deg, #1e3a5f 0%, #2d4f7a 100%);
    color: var(--white);
    overflow: hidden;
}

.contact-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.contact-gradient {
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    top: -400px;
    right: -400px;
    animation: rotate 30s linear infinite;
}

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

.contact-section .container {
    position: relative;
    z-index: 1;
}

.contact-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-section .section-tag {
    background: rgba(255, 255, 255, 0.1);
    color: var(--cyan-blue);
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.contact-section .section-title {
    color: var(--white);
    background: none;
    -webkit-text-fill-color: var(--white);
}

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

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    border-color: var(--cyan-blue);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.2);
}

.contact-icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(0, 212, 255, 0.2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--cyan-blue);
    transition: all 0.4s ease;
}

.contact-card:hover .contact-icon-wrapper {
    background: var(--cyan-blue);
    color: var(--white);
    transform: scale(1.1) rotate(5deg);
}

.contact-icon-wrapper svg {
    width: 28px;
    height: 28px;
}

.contact-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.contact-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.contact-link {
    color: var(--cyan-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-link:hover {
    gap: 1rem;
    color: var(--white);
}

.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2.5rem;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.form-group label {
    color: var(--dark-blue);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Estilos para formularios en el panel de administración */
.admin-panel-content .form-group label {
    color: var(--dark-blue);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--cyan-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 1.2rem 1.5rem;
    border-radius: 15px;
    border: 3px solid #e0e0e0;
    background: var(--white);
    color: var(--dark-blue);
    font-size: 1.1rem;
    font-family: inherit;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 3px 10px rgba(30, 58, 95, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(30, 58, 95, 0.4);
    font-weight: 400;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--cyan-blue);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.2), 0 5px 20px rgba(0, 212, 255, 0.2);
    transform: translateY(-2px);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231e3a5f' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.5rem center;
    padding-right: 3rem;
}

.form-group select option {
    background: var(--white);
    color: var(--dark-blue);
    padding: 1rem;
}

/* Estilos para input de archivo */
.form-group input[type="file"] {
    padding: 1rem;
    border: 3px dashed var(--cyan-blue);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(30, 58, 95, 0.05) 100%);
    cursor: pointer;
    font-size: 1rem;
}

.form-group input[type="file"]:hover {
    border-color: var(--dark-blue);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(30, 58, 95, 0.1) 100%);
}

.form-group input[type="file"]::file-selector-button {
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    border: 2px solid var(--cyan-blue);
    background: var(--gradient-1);
    color: var(--white);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    margin-right: 1rem;
    transition: all 0.3s ease;
}

.form-group input[type="file"]::file-selector-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
}

/* Estilos para formularios en sección de contacto (mantener estilos originales) */
.contact-section .form-group label {
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: none;
    letter-spacing: normal;
    background: none;
    -webkit-text-fill-color: var(--white);
}

.contact-section .form-group input,
.contact-section .form-group textarea {
    padding: 1rem 1.5rem;
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 1rem;
    box-shadow: none;
}

.contact-section .form-group input::placeholder,
.contact-section .form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.contact-section .form-group input:focus,
.contact-section .form-group textarea:focus {
    outline: none;
    border-color: var(--cyan-blue);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.1);
    transform: none;
}

.btn-submit {
    padding: 1.2rem 2.5rem;
    background: var(--gradient-1);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
    margin-top: 0.5rem;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.4);
}

/* Footer */
.footer {
    background: #0f1f35;
    color: var(--white);
    padding: 4rem 0 2rem;
    position: relative;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo h3 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

.footer-logo .logo-amp {
    background: linear-gradient(90deg, var(--white) 0%, var(--cyan-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-logo p {
    font-size: 0.85rem;
    color: var(--cyan-blue);
    font-style: italic;
    letter-spacing: 3px;
    font-weight: 500;
}

.footer-links {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--cyan-blue);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: var(--cyan-blue);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-visual {
        height: 400px;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 10px 30px rgba(30, 58, 95, 0.2);
        gap: 1.5rem;
    }

    .nav.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    .title-main {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        gap: 2rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .title-main {
        font-size: 2.5rem;
    }

    .logo-main {
        font-size: 1.8rem;
    }

    .logo-symbol {
        width: 50px;
        height: 50px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .about-text .section-title {
        font-size: 2rem;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Animaciones adicionales */
.category-card,
.contact-card,
.feature-card {
    animation: fadeInUp 0.8s ease both;
}

.category-card:nth-child(1) { animation-delay: 0.1s; }
.category-card:nth-child(2) { animation-delay: 0.2s; }
.category-card:nth-child(3) { animation-delay: 0.3s; }
.category-card:nth-child(4) { animation-delay: 0.4s; }
.category-card:nth-child(5) { animation-delay: 0.5s; }
.category-card:nth-child(6) { animation-delay: 0.6s; }
.category-card:nth-child(7) { animation-delay: 0.7s; }

/* Admin Styles */
.admin-btn {
    padding: 0.6rem 1.5rem;
    background: var(--gradient-1);
    color: var(--white);
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.admin-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
}

.admin-btn svg {
    width: 18px;
    height: 18px;
}

/* Modal de Login */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--white);
    border-radius: 25px;
    padding: 2.5rem;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.modal-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: var(--dark-blue);
}

.error-message {
    background: #fee;
    color: #c33;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    border: 1px solid #fcc;
}

.success-message {
    background: #efe;
    color: #3c3;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    border: 1px solid #cfc;
}

/* Panel de Administración */
.admin-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 90%;
    max-width: 600px;
    height: 100vh;
    background: var(--white);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    overflow-y: auto;
    animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

.admin-panel-header {
    background: var(--gradient-1);
    color: var(--white);
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10;
}

.admin-panel-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.admin-header-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.admin-minimize-btn,
.admin-close-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.admin-minimize-btn {
    font-size: 1.2rem;
}

.admin-minimize-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.admin-close-btn {
    font-size: 2rem;
}

.admin-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.admin-panel-content {
    padding: 2rem;
}

.admin-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #e0e0e0;
}

.admin-tab {
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.admin-tab:hover {
    color: var(--dark-blue);
}

.admin-tab.active {
    color: var(--cyan-blue);
    border-bottom-color: var(--cyan-blue);
}

.admin-tab-content {
    display: none;
}

.admin-tab-content.active {
    display: block !important;
}

.filter-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: 15px;
    border: 2px solid #e0e0e0;
}

.filter-section label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--dark-blue);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--cyan-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.filter-section select {
    width: 100%;
    padding: 1.2rem 1.5rem;
    border-radius: 15px;
    border: 3px solid #e0e0e0;
    font-size: 1.1rem;
    font-family: inherit;
    font-weight: 500;
    background: var(--white);
    color: var(--dark-blue);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(30, 58, 95, 0.1);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231e3a5f' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.5rem center;
    padding-right: 3rem;
}

.filter-section select:focus {
    outline: none;
    border-color: var(--cyan-blue);
    box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.2), 0 5px 20px rgba(0, 212, 255, 0.2);
    transform: translateY(-2px);
}

.products-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.product-admin-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: 15px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
}

.product-admin-card:hover {
    border-color: var(--cyan-blue);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.2);
}

.product-admin-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
}

.product-admin-info {
    flex: 1;
}

.product-admin-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
}

.product-admin-category {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.product-admin-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--cyan-blue);
}

.btn-delete {
    padding: 0.7rem 1.5rem;
    background: #dc3545;
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-delete:hover {
    background: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
}

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

/* Grid de Productos */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(30, 58, 95, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
    border-color: var(--cyan-blue);
}

.product-image-wrapper {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

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

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

.product-info {
    padding: 1.5rem;
}

.product-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 0.8rem;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.no-products-message {
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
    font-size: 1.1rem;
    font-style: italic;
}

.image-preview {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: 15px;
    border: 2px dashed var(--cyan-blue);
    text-align: center;
}

.image-preview img {
    border: 3px solid var(--cyan-blue);
    border-radius: 15px;
    max-width: 100%;
    height: auto;
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.2);
}

/* Estilos para formulario de registro */
.form-switch {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.form-switch a {
    color: var(--cyan-blue);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.form-switch a:hover {
    color: var(--dark-blue);
    text-decoration: underline;
}

/* Estilos para autenticación por código WhatsApp */
.form-hint {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
}

.code-info {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.code-info p {
    color: var(--dark-blue);
    margin: 0.5rem 0;
    font-size: 0.95rem;
}

.code-request-info {
    text-align: center;
    padding: 2rem 1rem;
    margin-bottom: 2rem;
}

.code-request-info svg {
    color: var(--cyan-blue);
    margin-bottom: 1rem;
    opacity: 0.8;
}

.code-request-info p {
    color: var(--dark-blue);
    font-size: 1rem;
    margin: 0.5rem 0;
}

.whatsapp-info {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 1rem;
}

.whatsapp-info strong {
    color: var(--cyan-blue);
    font-weight: 700;
}

.phone-display {
    font-weight: 700;
    color: var(--cyan-blue);
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

#verification-code {
    text-align: center;
    font-size: 2.5rem;
    letter-spacing: 1rem;
    font-weight: 900;
    font-family: 'Courier New', monospace;
    padding: 1.5rem;
    width: 100%;
    border: 3px solid var(--cyan-blue);
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(30, 58, 95, 0.05) 100%);
    color: var(--dark-blue);
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.2);
    min-height: 80px;
}

#verification-code::placeholder {
    color: rgba(30, 58, 95, 0.3);
    font-size: 2.5rem;
    letter-spacing: 1rem;
}

#verification-code:focus {
    outline: none;
    border-color: var(--cyan-blue);
    box-shadow: 0 0 0 6px rgba(0, 212, 255, 0.2), 0 10px 30px rgba(0, 212, 255, 0.3);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(30, 58, 95, 0.1) 100%);
    transform: scale(1.02);
}

#verification-code:disabled {
    background: #f5f5f5;
    cursor: not-allowed;
    opacity: 0.6;
    border-color: #e0e0e0;
}

.btn-secondary {
    background: transparent;
    color: var(--dark-blue);
    border: 2px solid var(--dark-blue);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--dark-blue);
    color: var(--white);
}

.btn-text {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.3s ease;
    padding: 0.5rem;
}

.btn-text:hover {
    color: var(--cyan-blue);
}

/* Estilos para gestión de administradores */
.admin-section-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e0e0e0;
}

.admin-section-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin: 0;
}

.admins-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.admin-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: 15px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
}

.admin-card:hover {
    border-color: var(--cyan-blue);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.2);
}

.admin-card.current-admin {
    border-color: var(--cyan-blue);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(30, 58, 95, 0.05) 100%);
}

.admin-card-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
}

.current-badge {
    font-size: 0.85rem;
    color: var(--cyan-blue);
    font-weight: 600;
}

.admin-email {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.admin-date {
    color: var(--text-light);
    font-size: 0.85rem;
    font-style: italic;
}

/* Estilos para gestión de categorías */
.categories-admin-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.category-admin-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: 15px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
}

.category-admin-card:hover {
    border-color: var(--cyan-blue);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.2);
}

.category-admin-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
}

.category-admin-icon {
    font-size: 3rem;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-3);
    border-radius: 15px;
}

.category-admin-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 0.3rem;
}

.category-admin-id {
    color: var(--text-light);
    font-size: 0.9rem;
    font-family: 'Courier New', monospace;
    margin-bottom: 0.3rem;
}

.category-admin-date {
    color: var(--text-light);
    font-size: 0.85rem;
    font-style: italic;
}

/* Preview de categoría */
.category-preview {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(30, 58, 95, 0.1) 100%);
    border: 2px solid var(--cyan-blue);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.preview-label {
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 1rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.preview-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.preview-icon {
    font-size: 3rem;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-1);
    border-radius: 15px;
}

.preview-info {
    flex: 1;
}

.preview-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 0.3rem;
}

.preview-id {
    font-size: 0.9rem;
    color: var(--text-light);
    font-family: 'Courier New', monospace;
}

/* Carrito de Compras */
.cart-icon-btn {
    position: relative;
    background: var(--gradient-1);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 212, 255, 0.3);
}

.cart-icon-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.4);
}

.cart-icon-btn svg {
    width: 22px;
    height: 22px;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4444;
    color: var(--white);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    border: 2px solid var(--white);
}

.cart-section {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 500px;
    height: 100vh;
    background: var(--white);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    overflow-y: auto;
    animation: slideInRight 0.3s ease;
}

.cart-header {
    background: var(--gradient-1);
    color: var(--white);
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10;
}

.cart-header .section-title {
    color: var(--white);
    background: none;
    -webkit-text-fill-color: var(--white);
    font-size: 1.5rem;
    margin: 0;
}

.close-cart-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--white);
    font-size: 2rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.close-cart-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.cart-content {
    padding: 2rem;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: 15px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
}

.cart-item:hover {
    border-color: var(--cyan-blue);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.2);
}

.cart-item-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 0.3rem;
}

.cart-item-category {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.cart-item-price {
    font-size: 0.9rem;
    color: var(--text-light);
}

.cart-item-controls {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--white);
    border-radius: 25px;
    padding: 0.3rem;
    border: 2px solid #e0e0e0;
}

.quantity-btn {
    background: var(--gradient-1);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s ease;
    font-size: 1rem;
}

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

.quantity-value {
    min-width: 30px;
    text-align: center;
    font-weight: 700;
    color: var(--dark-blue);
}

.cart-item-total {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--cyan-blue);
}

.btn-remove-item {
    background: #dc3545;
    color: var(--white);
    border: none;
    border-radius: 8px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-remove-item:hover {
    background: #c82333;
    transform: scale(1.1);
}

.cart-summary {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 20px;
    border: 2px solid #e0e0e0;
    position: sticky;
    bottom: 0;
    background: var(--white);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark-blue);
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #e0e0e0;
}

.cart-total span:last-child {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-checkout {
    width: 100%;
    padding: 1.2rem;
    background: var(--gradient-1);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.3);
    margin-bottom: 1rem;
}

.btn-checkout:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
}

.btn-clear-cart {
    width: 100%;
    padding: 0.8rem;
    background: transparent;
    color: #dc3545;
    border: 2px solid #dc3545;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-clear-cart:hover {
    background: #dc3545;
    color: var(--white);
}

.cart-empty {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
    min-height: 400px;
}

.cart-empty svg {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.cart-empty h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
}

.cart-empty p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* Overlay de producto */
.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 20px 20px 0 0;
}

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

.btn-add-to-cart {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    background: var(--gradient-1);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.3);
}

.btn-add-to-cart:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
}

.btn-add-to-cart svg {
    width: 20px;
    height: 20px;
}

/* Notificación de carrito */
.cart-notification {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--white);
    padding: 1.2rem 2rem;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 10001;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    border: 2px solid var(--cyan-blue);
}

.cart-notification.show {
    transform: translateY(0);
    opacity: 1;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--dark-blue);
    font-weight: 600;
}

.notification-content svg {
    color: #10b981;
    flex-shrink: 0;
}

/* Responsive para panel de administración */
@media (max-width: 768px) {
    .admin-panel {
        width: 100%;
        max-width: 100%;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1.5rem;
    }

    .cart-section {
        max-width: 100%;
    }

    .cart-item {
        flex-direction: column;
    }

    .cart-item-controls {
        align-items: flex-start;
        width: 100%;
    }

    .cart-notification {
        right: 1rem;
        left: 1rem;
        bottom: 1rem;
    }

    .product-admin-card {
        flex-direction: column;
        text-align: center;
    }

    .admin-tabs {
        flex-direction: column;
    }
}
