/* ===================================
   CSS Variables & Design Tokens
   =================================== */
:root {
    /* Colors */
    --color-primary: #00f5ff;
    --color-secondary: #7b2ff7;
    --color-accent: #ff006e;
    --color-success: #00ff88;

    /* Backgrounds */
    --bg-dark: #0a0a0f;
    --bg-darker: #050508;
    --bg-card: rgba(15, 15, 25, 0.6);
    --bg-card-hover: rgba(20, 20, 35, 0.8);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #00f5ff 0%, #7b2ff7 100%);
    --gradient-secondary: linear-gradient(135deg, #7b2ff7 0%, #ff006e 100%);
    --gradient-accent: linear-gradient(135deg, #ff006e 0%, #00f5ff 100%);
    --gradient-mesh: radial-gradient(at 0% 0%, rgba(0, 245, 255, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(123, 47, 247, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(255, 0, 110, 0.15) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(0, 245, 255, 0.15) 0px, transparent 50%);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Space Grotesk', var(--font-primary);

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(0, 245, 255, 0.3);
    --shadow-glow-purple: 0 0 20px rgba(123, 47, 247, 0.3);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ===================================
   Reset & Base Styles
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-dark);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Neural Network Canvas Background */
#neural-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background: var(--bg-darker);
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    position: relative;
    z-index: 1;
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--spacing-md) 0;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-base);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.logo-icon {
    width: auto;
    height: 40px;
    object-fit: contain;
    filter: drop-shadow(var(--shadow-glow));
}

.brand-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-accent {
    font-weight: 400;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
    align-items: center;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    position: relative;
}

.nav-link:hover {
    color: var(--color-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-base);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.cta-button {
    background: var(--gradient-primary);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-sm);
    color: white;
}

.nav-link.cta-button::after {
    display: none;
}

.nav-link.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* Dropdown Menu Styles */
.nav-item-dropdown {
    position: relative;
}

.nav-item-dropdown .nav-link {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.dropdown-arrow {
    width: 16px;
    height: 16px;
    transition: var(--transition-base);
    opacity: 0.7;
}

.nav-item-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
    opacity: 1;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 20px);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    min-width: 280px;
    background: rgba(15, 15, 25, 0.95);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(0, 245, 255, 0.2);
    border-radius: var(--radius-md);
    padding: var(--spacing-xs);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(0, 245, 255, 0.15);
    z-index: 1001;
}

.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transition: var(--transition-base);
}

.dropdown-item:hover::before {
    transform: scaleY(1);
}

.dropdown-item:hover {
    background: rgba(0, 245, 255, 0.1);
    transform: translateX(5px);
}

.dropdown-icon {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
    flex-shrink: 0;
    transition: var(--transition-base);
}

.dropdown-item:hover .dropdown-icon {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 8px rgba(0, 245, 255, 0.6));
}

.dropdown-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: white;
    margin-bottom: 2px;
}

.dropdown-desc {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.2;
}

.featured-dropdown {
    background: rgba(123, 47, 247, 0.1);
    border: 1px solid rgba(123, 47, 247, 0.2);
}

.featured-dropdown:hover {
    background: rgba(123, 47, 247, 0.2);
    border-color: rgba(123, 47, 247, 0.4);
}

.featured-tag {
    color: var(--color-accent);
    font-size: 0.9rem;
    margin-left: 4px;
}


/* ===================================
   Hero Section
   =================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: var(--spacing-3xl) 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-mesh);
    opacity: 0.4;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-md);
    background: rgba(0, 245, 255, 0.1);
    border: 1px solid rgba(0, 245, 255, 0.3);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: var(--spacing-lg);
    animation: float 3s ease-in-out infinite;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    animation: gradient-shift 3s ease infinite;
    background-size: 200% 200%;
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--spacing-xl);
    max-width: 700px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-3xl);
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition-base);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.btn-icon,
.btn-arrow {
    width: 20px;
    height: 20px;
    position: relative;
    z-index: 1;
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-md);
    max-width: 600px;
}

.stat-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    text-align: center;
    transition: var(--transition-base);
}

.stat-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(0, 245, 255, 0.3);
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.stat-value {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ===================================
   Section Styles
   =================================== */
.services,
.products,
.cta {
    padding: var(--spacing-3xl) 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-3xl);
}

.section-tag {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-md);
    background: rgba(123, 47, 247, 0.1);
    border: 1px solid rgba(123, 47, 247, 0.3);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--spacing-md);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
}

.section-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

/* ===================================
   Services Section
   =================================== */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-lg);
}

.service-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    flex: 0 1 350px;
    width: 100%;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition-base);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(0, 245, 255, 0.3);
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin-bottom: var(--spacing-md);
    filter: drop-shadow(0 0 10px rgba(0, 245, 255, 0.3));
    transition: var(--transition-base);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 20px rgba(0, 245, 255, 0.5));
}

.service-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: white;
}

.service-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

/* ===================================
   Products Section
   =================================== */
/* ===================================
   Products Section
   =================================== */
.products {
    background: linear-gradient(180deg, transparent 0%, rgba(123, 47, 247, 0.05) 50%, transparent 100%);
    overflow: hidden;
    /* Hide horizontal scroll */
}

/* Carousel Styles */
.carousel-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.carousel-track-container {
    position: relative;
    height: 100%;
    overflow: hidden;
    padding: 40px 0;
    /* Space for hover effects */
    margin: 0 auto;
    max-width: 900px;
    /* Limit width for single card focus */
}

.carousel-track {
    padding: 0;
    margin: 0;
    list-style: none;
    position: relative;
    height: 100%;
    transition: transform 0.4s ease-in-out;
    display: flex;
}

.carousel-slide {
    position: relative;
    width: 100%;
    flex-shrink: 0;
    padding: 0 var(--spacing-sm);
}

/* Updated Product Card for Carousel */
.product-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    /* Full height */
    max-width: 600px;
    /* Optimal card width */
    margin: 0 auto;
}

/* Restore animations and hover effects */
.product-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 245, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition-slow);
}

.product-card:hover::before {
    opacity: 1;
    animation: rotate 10s linear infinite;
}

.product-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(0, 245, 255, 0.4);
    transform: translateY(-5px) scale(1.01);
    box-shadow: var(--shadow-lg), 0 0 40px rgba(0, 245, 255, 0.2);
}

.product-card.featured {
    border: 2px solid;
    border-image: var(--gradient-primary) 1;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

/* Carousel Navigation */
.carousel-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition-base);
    backdrop-filter: blur(5px);
}

.carousel-btn:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}

.carousel-btn.is-hidden {
    display: none;
}

.carousel-icon {
    width: 24px;
    height: 24px;
}

.carousel-nav {
    display: none;
    /* Hiding dots for infinite stream layout */
    gap: var(--spacing-sm);
}

.carousel-indicator {
    border: none;
    border-radius: 50%;
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: var(--transition-base);
}

.carousel-indicator:hover {
    background: rgba(255, 255, 255, 0.5);
}

.carousel-indicator.current-slide {
    background: var(--color-primary);
    box-shadow: var(--shadow-glow);
    transform: scale(1.2);
}

@media (min-width: 900px) {

    /* Optional: Show 2 or 3 cards if needed, current setup is 1 focus card */
    .carousel-track-container {
        max-width: 800px;
    }
}


.featured-badge {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    padding: var(--spacing-xs) var(--spacing-md);
    background: var(--gradient-secondary);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    z-index: 2;
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--spacing-md);
}

.product-icon {
    width: 80px;
    height: 80px;
    filter: drop-shadow(0 0 15px rgba(0, 245, 255, 0.4));
    transition: var(--transition-base);
}

.product-card:hover .product-icon {
    transform: scale(1.15) rotate(-5deg);
    filter: drop-shadow(0 0 25px rgba(0, 245, 255, 0.6));
}

.product-badge {
    padding: var(--spacing-xs) var(--spacing-sm);
    background: rgba(0, 245, 255, 0.1);
    border: 1px solid rgba(0, 245, 255, 0.3);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: var(--spacing-xs);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: var(--spacing-md);
    font-weight: 500;
}

.product-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
}

.product-features {
    list-style: none;
    margin-bottom: var(--spacing-lg);
    flex-grow: 1;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-xs) 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.check-icon {
    width: 20px;
    height: 20px;
    color: var(--color-success);
    flex-shrink: 0;
}

.product-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-md) var(--spacing-lg);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-base);
    align-self: flex-start;
}

.product-btn:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    transform: translateX(5px);
    box-shadow: var(--shadow-glow);
}

/* ===================================
   CTA Section
   =================================== */
.cta {
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.05) 0%, rgba(123, 47, 247, 0.05) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.cta-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--spacing-xl);
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* ===================================
   Footer
   =================================== */
.footer {
    padding: var(--spacing-3xl) 0 var(--spacing-lg);
    background: rgba(5, 5, 8, 0.8);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--spacing-3xl);
    margin-bottom: var(--spacing-xl);
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.footer-column h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: white;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: var(--spacing-xs);
}

.footer-column a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-column a:hover {
    color: var(--color-primary);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* ===================================
   Animations
   =================================== */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

@keyframes gradient-shift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 968px) {
    .nav-menu {
        gap: var(--spacing-md);
    }

    .hero {
        min-height: auto;
        padding: calc(var(--spacing-3xl) + 60px) 0 var(--spacing-3xl);
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .services-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 var(--spacing-md);
    }

    .nav-menu {
        display: none;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }
}

/* ===================================
   About Section (Nosotros)
   =================================== */
.about-section {
    padding: var(--spacing-3xl) 0;
    position: relative;
    background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(123, 47, 247, 0.05) 50%, var(--bg-dark) 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.about-content {
    order: 1;
}

.about-image {
    order: 2;
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.02);
}

.about-image::before {
    content: '';
    position: absolute;
    inset: -10px;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    z-index: -1;
    opacity: 0.3;
    filter: blur(20px);
}

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: 1;
        margin-bottom: var(--spacing-lg);
    }

    .about-content {
        order: 2;
    }
}

/* Footer Adjustments */
.footer-logo .logo-icon {
    width: auto;
    height: 70px;
    /* Larger logo as requested */
}

/* Address Styling in Footer */
.footer-address {
    margin-top: var(--spacing-md);
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    font-size: 0.9rem;
}

/* ===================================
   Updated Product Grid (3 columns)
   =================================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
    padding: var(--spacing-xl) 0;
}

@media (max-width: 900px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   Carousel 5-Item Display
   =================================== */
.carousel-track-container {
    max-width: 100%;
    /* Use full width */
    padding: 40px 0;
    overflow: hidden;
}

.carousel-slide {
    flex: 0 0 20%;
    /* 5 items (100% / 5) */
    max-width: 20%;
    padding: 0 var(--spacing-sm);
    /* Gap between cards */
    transition: var(--transition-base);
}

/* Responsive: Show fewer items on smaller screens */
@media (max-width: 1600px) {
    .carousel-slide {
        flex: 0 0 25%;
        /* 4 items */
        max-width: 25%;
    }
}

@media (max-width: 1200px) {
    .carousel-slide {
        flex: 0 0 33.333%;
        /* 3 items */
        max-width: 33.333%;
    }
}

@media (max-width: 900px) {
    .carousel-slide {
        flex: 0 0 50%;
        /* 2 items */
        max-width: 50%;
    }
}

@media (max-width: 600px) {
    .carousel-slide {
        flex: 0 0 100%;
        /* 1 item */
        max-width: 100%;
    }
}

/* ===================================
   Large Service Cards (Carousel)
   =================================== */
.service-card.large-card {
    width: 100%;
    /* Removed fixed max-width to adapt to column width, or keep slightly smaller */
    /* width: 95%; */
    min-height: 500px;
    /* Slightly shorter to fit well */
    margin: 0 auto;
    padding: var(--spacing-xl) var(--spacing-lg);
    /* Slightly reduced padding */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.4);
    border-radius: var(--radius-xl);
}

.service-card.large-card .service-icon {
    width: 100px;
    /* Adjusted icon size */
    height: 100px;
    margin-bottom: var(--spacing-xl);
    filter: drop-shadow(0 0 15px rgba(0, 245, 255, 0.3));
}

.service-card.large-card .service-title {
    font-size: 1.8rem;
    /* Adjusted font size for 5-col layout */
    margin-bottom: var(--spacing-md);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-card.large-card .service-description {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* ===================================
   Social Media Icons
   =================================== */
.social-links {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    margin-top: var(--spacing-sm);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: var(--transition-base);
}

.social-link:hover {
    transform: translateY(-3px);
    background: var(--gradient-primary);
    box-shadow: var(--shadow-glow);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* Facebook hover color */
.social-link.facebook:hover {
    background: #1877F2;
}

/* Instagram hover gradient */
.social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

/* TikTok hover color */
.social-link.tiktok:hover {
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.2);
}