/* Variables */
:root {
    --primary-color: #0a0e27;
    --secondary-color: #00d4ff;
    --accent-color: #ff006e;
    --light-color: #f8f9fa;
    --dark-color: #0a0e27;
    --text-color: #333;
    --light-bg: #f0f2f5;
    --transition: all 0.3s ease;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #00d4ff 0%, #0a0e27 100%);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    font-size: 3rem;
    font-weight: 800;
    position: relative;
    color: var(--primary-color);
    font-family: 'Orbitron', sans-serif;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient-1);
}

/* Gradient Text */
.gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: -1;
}

.btn:hover::before {
    transform: translateX(0);
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(102, 126, 234, 0.4);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background: white;
    color: var(--primary-color);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 50px;
    width: auto;
    transition: var(--transition);
}

.logo-img:hover {
    transform: scale(1.05);
}

/* Si quieres mantener el texto junto al logo */
.logo-text {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--secondary-color);
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 2px;
    margin-left: 10px;
}

.nav-menu ul {
    display: flex;
    list-style: none;
}

.nav-menu ul li {
    margin-left: 35px;
}

.nav-menu ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.nav-menu ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.nav-menu ul li a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: var(--transition);
}

.cart-icon {
    position: relative;
    cursor: pointer;
}

.cart-icon i {
    font-size: 1.3rem;
    color: white;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--accent-color);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
}

/* Responsive adjustments for logo */
@media (max-width: 768px) {
    .logo-img {
        height: 40px;
    }
}

@media (max-width: 576px) {
    .logo-img {
        height: 35px;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--primary-color);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.grid-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 212, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 25px;
    line-height: 1.1;
    font-weight: 900;
    animation: fadeInUp 1s ease;
    font-family: 'Orbitron', sans-serif;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 40px;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: both;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.rotating-cube {
    width: 300px;
    height: 300px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotateCube 20s infinite linear;
}

.cube-face {
    position: absolute;
    width: 300px;
    height: 300px;
    border: 2px solid var(--secondary-color);
    background: rgba(0, 212, 255, 0.05);
    backdrop-filter: blur(5px);
}

.cube-face-front {
    transform: translateZ(150px);
}

.cube-face-back {
    transform: rotateY(180deg) translateZ(150px);
}

.cube-face-right {
    transform: rotateY(90deg) translateZ(150px);
}

.cube-face-left {
    transform: rotateY(-90deg) translateZ(150px);
}

.cube-face-top {
    transform: rotateX(90deg) translateZ(150px);
}

.cube-face-bottom {
    transform: rotateX(-90deg) translateZ(150px);
}

@keyframes rotateCube {
    0% {
        transform: rotateX(0) rotateY(0) rotateZ(0);
    }

    100% {
        transform: rotateX(360deg) rotateY(360deg) rotateZ(360deg);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Products Section */
.products {
    background: var(--light-bg);
    position: relative;
}

.products::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%230a0e27" fill-opacity="0.03" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,133.3C960,128,1056,96,1152,90.7C1248,85,1344,107,1392,117.3L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    z-index: 0;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
    gap: 15px;
    position: relative;
    z-index: 1;
}

.filter-btn {
    padding: 12px 25px;
    background: white;
    border: 2px solid var(--secondary-color);
    color: var(--primary-color);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--gradient-1);
    color: white;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.product-image {
    position: relative;
    height: 300px;
    overflow: hidden;
    cursor: pointer;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(10, 14, 39, 0.8) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 30px;
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.btn-add-cart {
    background: var(--gradient-1);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn-add-cart:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.4);
}

.product-info {
    padding: 30px;
}

.product-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 700;
}

.product-description {
    margin-bottom: 20px;
    color: #666;
    line-height: 1.6;
}

.product-price {
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 1.3rem;
}

/* Product Modal */
.product-modal-content {
    max-width: 95vw;
    width: 95vw;
    height: 90vh;
    max-height: 90vh;
    background: white;
    color: var(--primary-color);
    border-radius: 20px;
    overflow: hidden;
    margin: 5vh auto;
    display: flex;
    flex-direction: column;
}

.product-modal-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.product-modal-gallery {
    flex: 0 0 80%;
    background: var(--primary-color);
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.image-slider {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 100%;
    max-height: 500px;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 15px;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.slider-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--secondary-color);
    color: white;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    pointer-events: all;
}

.slider-btn:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--secondary-color);
    transform: scale(1.3);
}

.product-modal-info {
    flex: 0 0 20%;
    padding: 25px 40px;
    display: flex;
    flex-direction: column;
    background: white;
    overflow: hidden;
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    flex-shrink: 0;
}

.product-modal-info h2 {
    color: var(--primary-color);
    font-size: 1.6rem;
    font-weight: 800;
    font-family: 'Orbitron', sans-serif;
    margin: 0;
    line-height: 1.2;
}

.product-modal-info p {
    color: #666;
    line-height: 1.4;
    font-size: 0.9rem;
    margin-bottom: 15px;
    flex: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}

.product-modal-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--secondary-color);
    font-family: 'Orbitron', sans-serif;
    white-space: nowrap;
}

.product-modal-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: auto;
    flex-shrink: 0;
}

.quantity-selector {
    display: flex;
    align-items: center;
    background: var(--light-bg);
    border-radius: 50px;
    overflow: hidden;
    border: 2px solid #e0e0e0;
    flex-shrink: 0;
}

.quantity-btn {
    width: 35px;
    height: 35px;
    background: transparent;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.quantity-btn:hover {
    background: var(--secondary-color);
    color: white;
}

#modalQuantity {
    width: 45px;
    text-align: center;
    border: none;
    background: transparent;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 8px 15px;
    font-size: 0.85rem;
    white-space: nowrap;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.close-product {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    color: white;
    z-index: 10;
    transition: var(--transition);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-product:hover {
    background: var(--accent-color);
    transform: rotate(90deg);
}

/* Product Details Modal */
.details-modal-content {
    max-width: 600px;
    width: 90%;
    background: white;
    color: var(--primary-color);
    border-radius: 20px;
    overflow: hidden;
    margin: 5% auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.details-container {
    padding: 40px;
}

.details-container h2 {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 800;
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

.details-container h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient-1);
}

.details-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 10px;
}

.details-content::-webkit-scrollbar {
    width: 6px;
}

.details-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.details-content::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 10px;
}

.details-section {
    padding: 20px;
    background: var(--light-bg);
    border-radius: 15px;
    transition: var(--transition);
}

.details-section:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.details-section h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.details-section h3 i {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.details-section p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

.close-details {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    color: #666;
    z-index: 10;
    transition: var(--transition);
    width: 40px;
    height: 40px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-details:hover {
    background: var(--accent-color);
    color: white;
    transform: rotate(90deg);
}

/* Responsive adjustments for product modal */
@media (max-width: 992px) {
    .product-modal-content {
        width: 90vw;
        height: 85vh;
        margin: 7.5vh auto;
    }

    .product-modal-gallery {
        flex: 0 0 75%;
        padding: 30px;
    }

    .product-modal-info {
        flex: 0 0 25%;
        padding: 20px 30px;
    }

    .product-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .product-modal-info h2 {
        font-size: 1.4rem;
    }

    .product-modal-price {
        font-size: 1.4rem;
    }

    .product-modal-actions {
        flex-wrap: wrap;
        gap: 8px;
    }

    .quantity-selector {
        order: -1;
        width: 100%;
        justify-content: center;
    }

    .btn-outline {
        flex: 1;
        text-align: center;
        padding: 10px;
    }
}

@media (max-width: 768px) {
    .product-modal-content {
        width: 95vw;
        height: 90vh;
        margin: 5vh auto;
    }

    .product-modal-container {
        flex-direction: column;
    }

    .product-modal-gallery {
        flex: 0 0 65%;
        padding: 20px;
    }

    .product-modal-info {
        flex: 0 0 35%;
        padding: 20px;
    }

    .product-header h2 {
        font-size: 1.3rem;
    }

    .product-modal-price {
        font-size: 1.3rem;
    }

    .product-modal-info p {
        font-size: 0.85rem;
        -webkit-line-clamp: 3;
    }

    .product-modal-actions {
        flex-direction: column;
        gap: 10px;
    }

    .quantity-selector {
        width: 100%;
        justify-content: center;
    }

    .slider-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .details-container {
        padding: 30px 20px;
    }

    .details-container h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 576px) {
    .product-modal-content {
        width: 98vw;
        height: 95vh;
        margin: 2.5vh auto;
    }

    .product-modal-gallery {
        flex: 0 0 60%;
        padding: 15px;
    }

    .product-modal-info {
        flex: 0 0 40%;
        padding: 15px;
    }

    .product-header h2 {
        font-size: 1.2rem;
    }

    .product-modal-price {
        font-size: 1.2rem;
    }

    .product-modal-info p {
        font-size: 0.8rem;
        -webkit-line-clamp: 2;
    }

    .product-modal-actions {
        gap: 8px;
    }

    .quantity-selector {
        width: 100%;
        justify-content: center;
    }

    .quantity-btn {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }

    #modalQuantity {
        width: 40px;
        font-size: 0.85rem;
    }

    .slider-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    .dot {
        width: 12px;
        height: 12px;
    }

    .details-container {
        padding: 25px 15px;
    }

    .details-container h2 {
        font-size: 1.4rem;
    }

    .details-section {
        padding: 15px;
    }

    .details-section h3 {
        font-size: 1.1rem;
    }

    .details-section p {
        font-size: 0.9rem;
    }
}

/* Services Section */
.services {
    background: white;
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: var(--gradient-1);
    border-radius: 50%;
    opacity: 0.1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

.service-card {
    text-align: center;
    padding: 50px 30px;
    border-radius: 20px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    background: white;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 4rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(102, 126, 234, 0.1));
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    background: var(--gradient-1);
    color: white;
}

.service-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: 700;
}

.service-description {
    margin-bottom: 25px;
    color: #666;
    line-height: 1.6;
    font-size: 1.1rem;
}

.service-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.service-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: var(--transition);
}

.service-link:hover::after {
    width: 100%;
}

/* About Section */
.about {
    background: var(--light-bg);
    position: relative;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    margin-bottom: 25px;
    color: #555;
    line-height: 1.8;
    font-size: 1.1rem;
}

.about-stats {
    display: flex;
    margin-top: 40px;
    gap: 40px;
}

.stat {
    text-align: center;
    flex: 1;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.stat h3 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-weight: 800;
    font-family: 'Orbitron', sans-serif;
}

.stat p {
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.02);
}

/* Contact Section */
.contact {
    background: white;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: var(--gradient-1);
    border-radius: 50%;
    opacity: 0.05;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 35px;
    padding: 25px;
    background: var(--light-bg);
    border-radius: 15px;
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.contact-item i {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-right: 20px;
    margin-top: 5px;
}

.contact-item h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--primary-color);
    font-weight: 700;
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--light-bg);
    color: var(--primary-color);
    border-radius: 50%;
    transition: var(--transition);
    font-size: 1.2rem;
}

.social-links a:hover {
    background: var(--gradient-1);
    color: white;
    transform: translateY(-5px);
}

.contact-form {
    background: var(--light-bg);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 18px;
    border: 2px solid transparent;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: white;
    padding: 70px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: var(--gradient-1);
    border-radius: 50%;
    opacity: 0.1;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.footer-logo h3 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-family: 'Orbitron', sans-serif;
    color: var(--secondary-color);
    letter-spacing: 2px;
}

.footer-logo p {
    opacity: 0.8;
    font-size: 1.1rem;
    line-height: 1.6;
}

.footer-links h4 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
    font-weight: 700;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-1);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1rem;
}

.footer-links ul li a:hover {
    color: var(--secondary-color);
    padding-left: 10px;
}

.footer-newsletter h4 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
    font-weight: 700;
}

.footer-newsletter h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-1);
}

.footer-newsletter p {
    margin-bottom: 25px;
    opacity: 0.8;
    font-size: 1rem;
    line-height: 1.6;
}

.footer-newsletter form {
    display: flex;
    gap: 10px;
}

.footer-newsletter input {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
}

.footer-newsletter input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.footer-newsletter button {
    padding: 15px 25px;
    background: var(--gradient-1);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-newsletter button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    overflow: auto;
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 20px;
    width: 80%;
    max-width: 600px;
    position: relative;
    animation: modalFadeIn 0.3s;
    overflow: hidden;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close,
.close-product {
    position: absolute;
    right: 30px;
    top: 30px;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    color: white;
    z-index: 10;
    transition: var(--transition);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close:hover,
.close-product:hover {
    background: var(--accent-color);
    transform: rotate(90deg);
}

.cart-items {
    margin: 30px 0;
    max-height: 400px;
    overflow-y: auto;
    padding: 0 30px;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    margin-right: 20px;
}

.cart-item-info {
    flex: 1;
}

.cart-item-title {
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.cart-item-price {
    color: var(--secondary-color);
    font-weight: 700;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 8px;
    color: white;
    transition: var(--transition);
}

.quantity-btn:hover {
    background: var(--secondary-color);
}

.cart-total {
    text-align: right;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 30px;
    color: var(--secondary-color);
    font-family: 'Orbitron', sans-serif;
}

.checkout-btn {
    width: calc(100% - 60px);
    margin: 0 30px 30px;
    padding: 18px;
    background: var(--gradient-1);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--transition);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.checkout-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

/* Success Message */
.success-message {
    position: fixed;
    top: 100px;
    right: -400px;
    background: white;
    padding: 25px 30px;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 3000;
    transition: right 0.3s ease;
    border-left: 5px solid #27ae60;
}

.success-message.show {
    right: 30px;
}

.success-message i {
    font-size: 2rem;
    color: #27ae60;
}

.success-message p {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
    }

    .product-modal-container {
        grid-template-columns: 1fr;
    }

    .product-modal-gallery {
        padding: 30px;
    }

    .slider-container {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--primary-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 30px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu ul {
        flex-direction: column;
    }

    .nav-menu ul li {
        margin: 15px 0;
    }

    .hero .container {
        flex-direction: column;
        text-align: center;
        padding: 120px 0 50px;
    }

    .hero-content {
        margin-bottom: 50px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        gap: 15px;
    }

    .rotating-cube {
        width: 200px;
        height: 200px;
    }

    .cube-face {
        width: 200px;
        height: 200px;
    }

    .cube-face-front {
        transform: translateZ(100px);
    }

    .cube-face-back {
        transform: rotateY(180deg) translateZ(100px);
    }

    .cube-face-right {
        transform: rotateY(90deg) translateZ(100px);
    }

    .cube-face-left {
        transform: rotateY(-90deg) translateZ(100px);
    }

    .cube-face-top {
        transform: rotateX(90deg) translateZ(100px);
    }

    .cube-face-bottom {
        transform: rotateX(-90deg) translateZ(100px);
    }

    .about-stats {
        flex-direction: column;
        gap: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links h4::after,
    .footer-newsletter h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links {
        justify-content: center;
    }

    .product-modal-actions {
        flex-direction: column;
        gap: 15px;
    }

    .quantity-selector {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 2.2rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .products-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .modal-content {
        width: 95%;
        margin: 10% auto;
    }

    .product-modal-content {
        width: 95%;
    }

    .product-modal-info {
        padding: 30px 20px;
    }

    .product-modal-info h2 {
        font-size: 1.8rem;
    }

    .slider-container {
        height: 250px;
    }

}
