/* ========================================
   CespImpress Corporate Website - Styles
   Dark Mode Cyberpunk Theme
   ======================================== */

/* CSS Variables */
:root {
    /* Colors */
    --color-bg-primary: #000000;
    --color-bg-secondary: #000000;
    --color-surface: rgba(255, 255, 255, 0.05);
    --color-accent-purple: #1E89B7;
    --color-accent-cyan: #1E89B7;
    /* Wine Red "Conchevino" */
    --color-neon-primary: #1E89B7;
    /* Bright Neon Red for effects */
    /* Neon Red */
    --color-text-primary: #ffffff;
    --color-text-secondary: #ffffff;
    --color-border: rgba(30, 137, 183, 0.3);
    /* Reddish border */

    /* Font */
    --font-family: 'Outfit', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;

    /* Effects */
    --blur-glass: blur(20px);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Keyframe Animations */
@keyframes laser-border {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--color-bg-primary);
    color: var(--color-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Header / Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #000000;
    -webkit-backdrop-filter: var(--blur-glass);
    backdrop-filter: var(--blur-glass);
    border-bottom: 1px solid var(--color-border);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-sm) 0;
}

.logo {
    display: flex;
    flex-direction: column;
    margin-right: 3rem;
    /* Espacio entre logo y navegación */
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 900;
    /* background: linear-gradient(135deg, var(--color-accent-purple), var(--color-accent-cyan)); */
    color: var(--color-accent-purple);
    /* -webkit-background-clip: text; */
    /* -webkit-text-fill-color: transparent; */
    /* background-clip: text; */
}

.logo-sub {
    font-size: 0.7rem;
    color: var(--color-text-secondary);
    font-weight: 500;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
    box-sizing: border-box;
    /* Ensure padding doesn't affect width */
}

@media (max-width: 768px) {
    .nav-menu {
        width: 100%;
        margin: 0;
        padding: 0 1rem;
        justify-content: center;
        flex-wrap: wrap;
        gap: var(--spacing-md);
    }
}

.nav-link {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    transition: var(--transition-smooth);
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent-purple);
    transition: width 0.3s;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--color-text-primary);
    transition: var(--transition-smooth);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
    font-family: var(--font-family);
}

.btn-primary {
    background: #1E89B7;
    color: var(--color-text-primary);
    box-shadow: 0 4px 20px rgba(30, 137, 183, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(30, 137, 183, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-text-primary);
    border: 2px solid #ffffff;
}

.btn-secondary:hover {
    background: rgba(30, 137, 183, 0.4);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--color-accent-purple);
    border: 2px solid var(--color-accent-purple);
}

.btn-outline:hover {
    background: var(--color-accent-purple);
    color: var(--color-text-primary);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn-text-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

@media (max-width: 768px) {
    .btn-text-wrapper {
        flex-direction: column;
        line-height: 1.2;
        gap: 0;
    }

    .btn-subtitle {
        font-size: 0.9em;
        opacity: 0.9;
    }

    /* Ensure button allows height growth */
    .mobile-stack-btn {
        height: auto;
        padding: 0.8rem 1.5rem;
    }
}

.btn-block {
    width: 100%;
    display: block;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Video Background with Parallax */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    /* Extra height for parallax effect */
    z-index: 0;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    will-change: transform;
    transition: transform 0.1s ease-out;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Dark Overlay for Contrast (Black) */
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.4) 0%,
            rgba(0, 0, 0, 0.7) 50%,
            rgba(0, 0, 0, 0.9) 100%);
    z-index: 1;
}

/* Legacy canvas support (hidden by default) */
#particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    display: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 8rem 0 10rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

.gradient-text {
    /* background: linear-gradient(135deg, var(--color-accent-purple), var(--color-accent-cyan)); */
    color: var(--color-accent-purple);
    /* -webkit-background-clip: text; */
    /* -webkit-text-fill-color: transparent; */
    /* background-clip: text; */
}

.hero-subtitle {
    font-size: 1.4rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: var(--spacing-xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow:
        0 2px 30px rgba(0, 0, 0, 1),
        0 4px 50px rgba(0, 0, 0, 0.95),
        0 0 80px rgba(0, 0, 0, 0.9);
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-secondary);
    font-size: 0.9rem;
}

.scroll-indicator {
    width: 2px;
    height: 30px;
    background: linear-gradient(to bottom, var(--color-accent-cyan), transparent);
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
    }
}

/* Section Styles */
.section {
    padding: var(--spacing-2xl) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: var(--spacing-sm);
}

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

/* Glassmorphism Card */
.glass {
    background: var(--color-surface);
    -webkit-backdrop-filter: var(--blur-glass);
    backdrop-filter: var(--blur-glass);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: var(--spacing-lg);
    transition: var(--transition-smooth);
}

.glass:hover {
    border-color: var(--color-accent-purple);
    box-shadow: 0 8px 32px rgba(30, 137, 183, 0.3);
    transform: translateY(-5px);
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
}

.benefit-card {
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Laser Border Removed as per request */
.benefit-card {
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Laser effect removed */

.benefit-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--color-bg-primary);
    border-radius: 16px;
    z-index: -1;
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
    /* Filter for Cyan Blue (#1E89B7) - Adjusted for Structure/Detail */
    filter: grayscale(100%) sepia(100%) hue-rotate(150deg) brightness(1.1) saturate(150%) contrast(1.3);
}

.mono-icon {
    /* Filter for Cyan Blue (#1E89B7) - Preserves details */
    filter: grayscale(100%) sepia(100%) hue-rotate(150deg) brightness(1.1) saturate(150%) contrast(1.3) !important;
    color: inherit !important;
    text-shadow: none !important;
}

.text-turquoise {
    color: var(--color-accent-cyan) !important;
    background: none !important;
    -webkit-text-fill-color: var(--color-accent-cyan) !important;
}

.benefit-card h3 {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-accent-cyan);
}

/* Pricing Section */
.pricing-section {
    margin-top: var(--spacing-2xl);
}

.pricing-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: var(--spacing-lg);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-lg);
}

.pricing-card {
    position: relative;
}

.pricing-header {
    margin-bottom: var(--spacing-md);
}

.pricing-header h4 {
    font-size: 1.4rem;
    margin-bottom: var(--spacing-xs);
}

.pricing-badge {
    display: inline-block;
    background: var(--color-accent-purple);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.pricing-price {
    display: flex;
    flex-direction: column;
    margin-bottom: var(--spacing-md);
}

.price-old {
    font-size: 1.2rem;
    text-decoration: line-through;
    color: var(--color-text-secondary);
}

.price-current {
    font-size: 2.5rem;
    font-weight: 900;
    /* background: linear-gradient(135deg, var(--color-accent-purple), var(--color-accent-cyan)); */
    color: var(--color-accent-purple);
    /* -webkit-background-clip: text; */
    /* -webkit-text-fill-color: transparent; */
    /* background-clip: text; */
}

.price-period {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

.pricing-features {
    list-style: none;
    margin-bottom: var(--spacing-lg);
}

.pricing-features li {
    padding: var(--spacing-xs) 0;
    color: var(--color-text-secondary);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
}

.product-card {
    position: relative;
}

.product-category {
    display: inline-block;
    background: rgba(30, 137, 183, 0.2);
    color: var(--color-accent-purple);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.product-title {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-accent-cyan);
}

.product-description {
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.product-tech {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-md);
}

.tech-tag {
    display: inline-block;
    background: rgba(30, 137, 183, 0.1);
    color: var(--color-accent-cyan);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    border: 1px solid rgba(30, 137, 183, 0.3);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--spacing-lg);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--color-accent-purple);
}

.service-list {
    list-style: none;
}

.service-list li {
    padding: var(--spacing-sm) 0;
    color: var(--color-text-secondary);
    border-bottom: 1px solid var(--color-border);
}

.service-list li:last-child {
    border-bottom: none;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: var(--spacing-xl);
}

.contact-form-container h3,
.calendar-container h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--color-accent-cyan);
}

/* Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.form-group label {
    font-weight: 600;
    color: var(--color-text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 0.75rem;
    color: var(--color-text-primary);
    font-family: var(--font-family);
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent-cyan);
    box-shadow: 0 0 0 3px rgba(30, 137, 183, 0.1);
}

.form-message {
    padding: var(--spacing-sm);
    border-radius: 8px;
    margin-top: var(--spacing-sm);
    text-align: center;
    font-weight: 600;
    display: none;
}

.form-message.success {
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: #22c55e;
    display: block;
}

.form-message.error {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #ef4444;
    display: block;
}

/* Calendar Wrapper */
.calendar-wrapper {
    padding: var(--spacing-md);
    min-height: 600px;
}

/* Footer */
.footer {
    background: var(--color-bg-secondary);
    border-top: 1px solid var(--color-border);
    padding: var(--spacing-2xl) 0 var(--spacing-md);
    margin-top: var(--spacing-2xl);
}

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

.footer-col h4 {
    color: var(--color-accent-cyan);
    margin-bottom: var(--spacing-sm);
}

.footer-col p {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-powered {
    font-size: 0.8rem;
    margin-top: var(--spacing-xs);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--spacing-xs);
}

.footer-links a {
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--color-accent-purple);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    font-size: 0.9rem;
}

/* Chatbot Widget */
.chatbot-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

.chatbot-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--color-accent-purple);
    border: none;
    color: var(--color-text-primary);
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(114, 14, 30, 0.4);
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(114, 14, 30, 0.6);
}

.chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    max-height: 500px;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    display: none;
    flex-direction: column;
}

.chatbot-window.active {
    display: flex;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chatbot-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--color-border);
}

.chatbot-avatar {
    font-size: 2rem;
}

.chatbot-header h4 {
    font-size: 1rem;
    margin: 0;
}

.chatbot-status {
    font-size: 0.75rem;
    color: #22c55e;
}

.chatbot-close {
    margin-left: auto;
    background: none;
    border: none;
    color: var(--color-text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.chatbot-close:hover {
    color: var(--color-text-primary);
}

.chatbot-body {
    flex: 1;
    padding: var(--spacing-md);
    overflow-y: auto;
    max-height: 350px;
}

.chatbot-message {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.message-avatar {
    font-size: 1.5rem;
}

.message-content {
    background: rgba(255, 255, 255, 0.05);
    padding: var(--spacing-sm);
    border-radius: 12px;
    max-width: 80%;
}

.message-content p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.chatbot-footer {
    display: flex;
    gap: var(--spacing-xs);
    padding: var(--spacing-md);
    border-top: 1px solid var(--color-border);
}

.chatbot-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 0.5rem;
    color: var(--color-text-primary);
    font-family: var(--font-family);
}

.chatbot-input:focus {
    outline: none;
    border-color: var(--color-accent-cyan);
}

.chatbot-send {
    background: var(--color-accent-purple);
    border: none;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    color: var(--color-text-primary);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.chatbot-send:hover {
    background: var(--color-accent-cyan);
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    border-radius: 6px;
    padding: 0.4rem 0.8rem;
    color: var(--color-text-secondary);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: var(--font-family);
    transition: var(--transition-smooth);
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-accent-cyan);
    color: var(--color-text-primary);
}

.lang-btn.active {
    background: var(--color-accent-purple);
    border-color: transparent;
    color: var(--color-text-primary);
}

/* Complete Services Section */
.complete-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

/* Desktop: 2x2 grid */
@media (min-width: 992px) {
    .complete-services-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 1000px;
        margin: 0 auto;
    }
}

.service-category-card {
    position: relative;
}

.service-category-card h4 {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
    color: var(--color-accent-purple);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.service-category-card h4::before {
    content: '▸';
    color: var(--color-accent-cyan);
    font-size: 1.5rem;
}

.service-category-card ul {
    list-style: none;
}

.service-category-card li {
    padding: var(--spacing-xs) 0;
    color: var(--color-text-secondary);
    padding-left: var(--spacing-md);
    border-left: 2px solid transparent;
    transition: var(--transition-smooth);
}

.service-category-card li:hover {
    border-left-color: var(--color-accent-cyan);
    color: var(--color-text-primary);
    padding-left: var(--spacing-lg);
}

/* Responsive Design */
@media (max-width: 768px) {

    /* Header Adjustments for Mobile */
    .header .container {
        padding: 0 1rem;
    }

    .nav {
        justify-content: flex-start;
        /* Move closer to left/logo */
        gap: 5rem;
        /* Large gap, but not full width */
        width: 100%;
    }

    .logo {
        margin-right: 0;
        flex: 0 1 auto;
        /* Allow shrink but don't force full growth */
        min-width: 0;
    }

    .logo-text {
        font-size: 1.1rem;
        /* Increased font */
        line-height: 1.1;
        /* Removed truncation to show full name */
    }

    .logo-sub {
        display: block;
        font-size: 0.55rem;
        line-height: 1.1;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        color: var(--color-text-secondary);
    }

    .nav-actions {
        gap: 0.5rem;
        flex-shrink: 0;
        display: flex;
        align-items: center;
    }

    .lang-btn {
        padding: 0.25rem 0.35rem;
        font-size: 0.8rem;
        /* Increased font */
        line-height: 1;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(0, 0, 0, 0.98);
        flex-direction: column;
        padding: 2rem 1.5rem;
        /* Reduced padding */
        gap: 1.5rem;
        /* Compact spacing */
        justify-content: flex-start;
        transition: left 0.3s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero-title {
        font-size: 2rem;
    }

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

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

    /* Grids become 1 column ONLY on mobile */
    .benefits-grid,
    .products-grid,
    .services-grid,
    .pricing-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    /* Mobile Overflow Fix */
    body,
    html {
        overflow-x: hidden;
    }

    /* Chatbot Fixed to Corner on Mobile */
    .chatbot-widget {
        right: 1.5rem;
        bottom: 1.5rem;
        z-index: 9999;
    }

    .chatbot-window {
        position: fixed;
        bottom: 90px;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: 90vw;
        max-width: 350px;
    }
}

/* Ensure Desktop is unaffected by checking closing brace above */

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

    .btn-large {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

    .chatbot-widget {
        bottom: 1rem;
        right: 1rem;
    }

    .chatbot-button {
        width: 50px;
        height: 50px;
    }
}

/* ========================================
   Space Background Effects
   ======================================== */
.space-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: #000000;
    pointer-events: none;
}

/* Stars generated with box-shadow for performance */
.stars {
    width: 1px;
    height: 1px;
    background: transparent;
    /* Performance Optimization: Reduced star count */
    box-shadow: 1744px 122px #1E89B7, 134px 1321px #1E89B7, 92px 859px #1E89B7,
        1843px 299px #1E89B7, 823px 129px #1E89B7;
    animation: animStar 50s linear infinite;
}

.stars:after {
    content: " ";
    position: absolute;
    top: 2000px;
    width: 1px;
    height: 1px;
    background: transparent;
    box-shadow: 1744px 122px #1E89B7, 134px 1321px #1E89B7, 92px 859px #1E89B7, 1843px 299px #1E89B7;
}

.stars2 {
    width: 2px;
    height: 2px;
    background: transparent;
    box-shadow: 823px 129px #1E89B7, 1029px 492px #1E89B7;
    animation: animStar 100s linear infinite;
}

.stars2:after {
    content: " ";
    position: absolute;
    top: 2000px;
    width: 2px;
    height: 2px;
    background: transparent;
    box-shadow: 823px 129px #1E89B7, 1029px 492px #1E89B7;
}

@keyframes animStar {
    from {
        transform: translateY(0px);
    }

    to {
        transform: translateY(-2000px);
    }
}

/* Shooting Stars */
.shooting-stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: rotateZ(45deg);
}

.shooting-star {
    position: absolute;
    left: 50%;
    top: 50%;
    height: 2px;
    background: linear-gradient(-45deg, rgba(30, 137, 183, 1), rgba(30, 137, 183, 0));
    border-radius: 999px;
    filter: drop-shadow(0 0 6px rgba(30, 137, 183, 1));
    animation: tail 3000ms ease-in-out infinite, shooting 3000ms ease-in-out infinite;
}

.shooting-star::before {
    content: '';
    position: absolute;
    top: calc(50% - 1px);
    right: 0;
    height: 2px;
    background: linear-gradient(-45deg, rgba(255, 49, 49, 0), rgba(255, 49, 49, 1), rgba(255, 49, 49, 0));
    transform: translateX(50%) rotateZ(45deg);
    border-radius: 100%;
    animation: shining 3000ms ease-in-out infinite;
}

.shooting-star::after {
    content: '';
    position: absolute;
    top: calc(50% - 1px);
    right: 0;
    height: 2px;
    background: linear-gradient(-45deg, rgba(30, 137, 183, 0), rgba(30, 137, 183, 1), rgba(30, 137, 183, 0));
    transform: translateX(50%) rotateZ(45deg);
    border-radius: 100%;
    animation: shining 3000ms ease-in-out infinite;
}

@keyframes tail {
    0% {
        width: 0;
    }

    30% {
        width: 100px;
    }

    100% {
        width: 0;
    }
}

@keyframes shooting {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(300px);
    }
}

@keyframes shining {
    0% {
        width: 0;
    }

    50% {
        width: 30px;
    }

    100% {
        width: 0;
    }
}

/* Random positioning for shooting stars */
.shooting-star:nth-child(1) {
    top: 0;
    left: 0;
    animation-delay: 0ms;
}

.shooting-star:nth-child(2) {
    top: 0;
    left: 40%;
    animation-delay: 2000ms;
}

.shooting-star:nth-child(3) {
    top: 20%;
    left: 80%;
    animation-delay: 5000ms;
}

/* Laser Border Animation */
/* Laser Border Animation - Refined */
@property --angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

.laser-card {
    position: relative;
    z-index: 1;
    overflow: hidden;
    /* Contains the pseudo-element */
    border: none;
    /* Remove static border */
    border-radius: 16px;
    /* Slightly larger radius */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    /* Outer shadow for depth */
}

.laser-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1.5px;
    /* THICKNESS OF THE LASER */
    /* High Intensity Laser: Wine Base -> Neon Red -> White Core -> Neon Red -> Wine Base */
    background: conic-gradient(from var(--angle),
            transparent 20%,
            #1E89B7 40%,
            #1E89B7 45%,
            #FFFFFF 50%,
            #1E89B7 55%,
            #1E89B7 60%,
            transparent 80%);
    box-shadow: 0 0 15px #1E89B7, 0 0 30px #1E89B7;
    /* Add outer glow for "light tube" effect */
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;

    animation: spin 4s linear infinite;
    pointer-events: none;
    z-index: 2;
}

@keyframes spin {
    from {
        --angle: 0deg;
    }

    to {
        --angle: 360deg;
    }
}

/* Neon Text Glow */
h1,
h2,
h3,
.text-turquoise,
.logo-text,
.section-title span,
.product-name {
    text-shadow: none;
    /* Removed for sharpness */
}

/* Update Icon Filter for Neon Red #1E89B7 */
.mono-icon,
.benefit-icon,
.category-icon {
    /* CORRECTION: 320deg is Red. 150deg is Cyan Blue (#1E89B7) */
    filter: grayscale(100%) sepia(100%) hue-rotate(150deg) brightness(1.1) saturate(150%) contrast(1.3) !important;
    color: inherit !important;
    text-shadow: none !important;
    /* Removed for sharpness */
}

.text-turquoise {
    color: var(--color-accent-purple);
    -webkit-text-fill-color: var(--color-accent-purple) !important;
}