:root {
    /* Color Palette */
    --bg-color: #0b0914; /* Deep dark violet/black */
    --bg-color-light: #1a162d;
    --text-color: #e2dfec;
    --text-muted: #a19ba8;
    
    /* Neon Accents */
    --accent-primary: #b052ff; /* Magical purple */
    --accent-secondary: #ff3366; /* Magenta/Pink */
    --accent-tertiary: #ff8c00; /* Laser Orange/Yellow */
    
    /* Glassmorphism */
    --glass-bg: rgba(26, 22, 45, 0.4);
    --glass-border: rgba(176, 82, 255, 0.2);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    
    /* Typography */
    --font-main: 'Outfit', sans-serif;
    
    /* Spacing & Layout */
    --container-width: 1200px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-mid: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

/* Typography Utilities */
.accent {
    color: var(--accent-primary);
    text-shadow: 0 0 10px rgba(176, 82, 255, 0.5);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: var(--spacing-lg);
    font-weight: 800;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 2px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition-mid);
    border: none;
}

.btn-primary {
    background: linear-gradient(45deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    box-shadow: 0 4px 15px rgba(176, 82, 255, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 25px rgba(176, 82, 255, 0.6);
    transform: translateY(-3px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-color);
    border: 1px solid var(--accent-primary);
    box-shadow: inset 0 0 10px rgba(176, 82, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(176, 82, 255, 0.1);
    box-shadow: inset 0 0 20px rgba(176, 82, 255, 0.3), 0 0 15px rgba(176, 82, 255, 0.2);
    transform: translateY(-3px);
}

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

/* Elements */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--glass-shadow);
    padding: var(--spacing-lg);
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(11, 9, 20, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: var(--spacing-sm) 0;
    transition: var(--transition-fast);
}

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

.logo h1 {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
}

nav ul {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

nav a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
}

nav a:hover {
    color: var(--text-color);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.btn-nav {
    background: linear-gradient(45deg, var(--accent-primary), var(--accent-secondary));
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    color: white !important;
    text-shadow: none !important;
    box-shadow: 0 4px 15px rgba(176, 82, 255, 0.4);
}

.btn-nav:hover {
    box-shadow: 0 6px 20px rgba(176, 82, 255, 0.6);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 80px; /* offset header */
    overflow: hidden;
}

/* Abstract Background Elements */
.hero::before, .hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.5;
}

.hero::before {
    width: 400px;
    height: 400px;
    background: var(--accent-primary);
    top: -100px;
    left: -100px;
    animation: float 10s ease-in-out infinite alternate;
}

.hero::after {
    width: 300px;
    height: 300px;
    background: var(--accent-secondary);
    bottom: 10%;
    right: -50px;
    animation: float 8s ease-in-out infinite alternate-reverse;
}

@keyframes float {
    0% { transform: translate(0, 0); }
    100% { transform: translate(30px, 50px); }
}

.hero-text {
    text-align: center;
    max-width: 800px;
    z-index: 10;
}

.glitch {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    position: relative;
    color: white;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: var(--spacing-lg);
}

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

/* Services */
.services {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(to bottom, var(--bg-color), var(--bg-color-light));
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.service-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: var(--spacing-md);
    text-align: center;
    transition: var(--transition-mid);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
    transform: translateX(-100%);
    transition: var(--transition-mid);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 20px rgba(176, 82, 255, 0.2);
    border-color: rgba(176, 82, 255, 0.5);
}

.service-card:hover::before {
    transform: translateX(100%);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--spacing-sm);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
}

/* CSS Drawn Icons (since we don't have SVGs yet) */
.laser-icon::before {
    content: '⚡';
    font-size: 3rem;
    color: var(--accent-tertiary);
    text-shadow: 0 0 10px var(--accent-tertiary);
}

.fdm-icon::before {
    content: '🏗️';
    font-size: 3rem;
    filter: drop-shadow(0 0 5px var(--accent-secondary));
}

.resin-icon::before {
    content: '💧';
    font-size: 3rem;
    filter: drop-shadow(0 0 5px var(--accent-primary));
}

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

/* Products Gallery */
.products {
    padding: var(--spacing-xl) 0;
    background: var(--bg-color-light);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.product-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 300px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    cursor: pointer;
}

.product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: var(--spacing-md);
    background: linear-gradient(to top, rgba(11, 9, 20, 0.9), transparent);
    transform: translateY(100%);
    transition: var(--transition-mid);
    color: white;
}

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

.product-card:hover .product-info {
    transform: translateY(0);
}

.product-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
    color: var(--accent-primary);
}

/* Swiper Customization */
.product-swiper {
    padding: 20px 0 50px 0 !important; /* Space for shadow and pagination */
}

.swiper-slide {
    height: 350px !important; /* Fixed height for consistency */
}

.swiper-button-next, .swiper-button-prev {
    color: var(--accent-primary) !important;
    background: rgba(11, 9, 20, 0.7);
    width: 45px !important;
    height: 45px !important;
    border-radius: 50%;
    backdrop-filter: blur(5px);
    border: 1px solid var(--glass-border);
}

.swiper-button-next::after, .swiper-button-prev::after {
    font-size: 1.2rem !important;
    font-weight: bold;
}

.swiper-pagination-bullet {
    background: var(--text-muted) !important;
}

.swiper-pagination-bullet-active {
    background: var(--accent-secondary) !important;
    box-shadow: 0 0 10px var(--accent-secondary);
}

/* Contact Section */
.contact {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(to top, var(--bg-color), var(--bg-color-light));
    position: relative;
}

.contact-card {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-card p {
    margin-bottom: var(--spacing-md);
}

form {
    text-align: left;
}

.form-group {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

/* Video Card Overlays */
.video-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 51, 102, 0.85); /* Accent secondary */
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition-fast);
}

.video-card:hover .video-badge {
    transform: scale(1.05);
    background: var(--accent-secondary);
    box-shadow: 0 0 15px var(--accent-secondary);
}

.badge-icon {
    font-size: 0.7rem;
}

.video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
    transition: var(--transition-mid);
    background: rgba(11, 9, 20, 0.2);
}

.play-button-outer {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(176, 82, 255, 0.2);
    border: 2px solid var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-mid);
    box-shadow: 0 0 15px rgba(176, 82, 255, 0.3);
}

.play-button-inner {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    padding-left: 3px;
    transition: var(--transition-mid);
}

.video-card:hover .play-button-outer {
    transform: scale(1.1);
    background: rgba(255, 51, 102, 0.3);
    border-color: var(--accent-secondary);
    box-shadow: 0 0 25px rgba(255, 51, 102, 0.5);
}

.video-card:hover .play-button-inner {
    background: var(--accent-secondary);
}

.video-card:hover .video-play-overlay {
    background: rgba(11, 9, 20, 0.4);
}

/* Lightbox Styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(176, 82, 255, 0.4);
    transform: scale(0.95);
    transition: transform 0.3s ease;
    display: none;
}

.lightbox.active .lightbox-img {
    transform: scale(1);
}

.lightbox-video-container {
    display: none;
    width: 90%;
    max-width: 420px;
    aspect-ratio: 9/16;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(176, 82, 255, 0.4);
    border: 1px solid var(--glass-border);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.lightbox.active .lightbox-video-container {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    transition: color 0.2s;
    z-index: 2100;
}

.lightbox-close:hover {
    color: var(--accent-secondary);
}

/* Chatbot Styles */
.floating-chat-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(176, 82, 255, 0.4);
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-chat-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(176, 82, 255, 0.6);
}

.chatbot-window {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 320px;
    max-height: 450px;
    background: var(--bg-color-light);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    box-shadow: var(--glass-shadow);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: all 0.3s ease;
    font-family: var(--font-main);
}

.chatbot-window.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.chatbot-header {
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    padding: 15px;
    color: white;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-close {
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
}

.chatbot-body {
    padding: 15px;
    overflow-y: auto;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 350px;
}

/* Scrollbar for chat */
.chatbot-body::-webkit-scrollbar {
    width: 6px;
}
.chatbot-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}
.chatbot-body::-webkit-scrollbar-thumb {
    background: var(--accent-primary);
    border-radius: 10px;
}

.chat-msg {
    max-width: 85%;
    padding: 10px 15px;
    border-radius: 15px;
    font-size: 0.9rem;
    line-height: 1.4;
    animation: fadeIn 0.3s ease;
}

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

.chat-msg.bot {
    background: rgba(176, 82, 255, 0.1);
    border: 1px solid rgba(176, 82, 255, 0.2);
    align-self: flex-start;
    border-bottom-left-radius: 5px;
}

.chat-msg.user {
    background: var(--accent-primary);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 5px;
}

.chat-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.chat-opt-btn {
    background: transparent;
    border: 1px solid var(--accent-secondary);
    color: var(--text-color);
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
    font-family: inherit;
}

.chat-opt-btn:hover {
    background: rgba(255, 51, 102, 0.2);
}

@media (max-width: 768px) {
    .form-group {
        flex-direction: column;
    }
}

input, select, textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-family: var(--font-main);
    transition: var(--transition-fast);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 10px rgba(176, 82, 255, 0.2);
}

/* Footer */
footer {
    background: #05040a;
    padding: var(--spacing-lg) 0 var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-md);
}

.footer-brand h3 {
    font-size: 1.5rem;
    font-weight: 800;
}

.footer-links {
    display: flex;
    gap: var(--spacing-md);
}

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

.footer-copy {
    width: 100%;
    text-align: center;
    margin-top: var(--spacing-md);
    color: #666;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .glitch { font-size: 2.5rem; }
    .hero p { font-size: 1rem; }
    .hero-actions { flex-direction: column; }
    nav { display: none; } /* Add a hamburger menu for full implementation */
}
