:root {
    --bg-dark: #0B0C10;
    --bg-card: #1F2833;
    --text-main: #C5C6C7;
    --text-bright: #FFFFFF;
    --accent: #66FCF1;
    --accent-hover: #45A29E;
    --glass-bg: rgba(31, 40, 51, 0.7);
    --glass-border: rgba(102, 252, 241, 0.1);
}

body.light-mode {
    --bg-dark: #F0F4F8;
    --bg-card: #FFFFFF;
    --text-main: #4A5568;
    --text-bright: #1A202C;
    --accent: #8E44AD; /* Purple */
    --accent-hover: #732D91; /* Darker Purple */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(142, 68, 173, 0.2); /* Purple border */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--text-bright);
    letter-spacing: 1px;
}

.highlight {
    color: var(--accent);
    text-shadow: 0 0 10px rgba(102, 252, 241, 0.5);
}

/* Glassmorphism utility */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* Glow Effect */
.glow-effect {
    box-shadow: 0 0 15px rgba(102, 252, 241, 0.4);
    transition: all 0.3s ease;
}

.glow-effect:hover {
    box-shadow: 0 0 25px rgba(102, 252, 241, 0.8);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    display: flex;
    align-items: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-bright);
    gap: 10px;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 5px;
    object-fit: cover;
}

.logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-bright);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--accent);
    color: var(--bg-dark);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: var(--text-bright);
}

.btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    background-color: transparent;
    color: var(--accent);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    border: 2px solid var(--accent);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--accent);
    color: var(--bg-dark);
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 5%;
    position: relative;
    padding-top: 80px;
}

.hero-content {
    flex: 1;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 80%;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Animation Keyframes */
@keyframes printReveal {
    0% { clip-path: inset(100% 0 0 0); }
    75% { clip-path: inset(0 0 0 0); }
    100% { clip-path: inset(0 0 0 0); }
}

@keyframes moveNozzleUp {
    0% { bottom: 0%; opacity: 1; }
    75% { bottom: 100%; opacity: 1; }
    85% { bottom: 120%; opacity: 0; }
    100% { bottom: 120%; opacity: 0; }
}

@keyframes nozzleScan {
    0% { left: 5%; }
    100% { left: calc(95% - 25px); }
}

@keyframes scan-laser {
    0% { top: 10%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 90%; opacity: 0; }
}

@keyframes scan-beam {
    0% { top: 10%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: calc(90% - 150px); opacity: 0; }
}

.realistic-printer-animation:hover {
    transform: perspective(1000px) rotateY(0deg) !important;
}


/* Shared Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.underline {
    height: 3px;
    width: 60px;
    background-color: var(--accent);
    margin: 0 auto;
    border-radius: 2px;
    box-shadow: 0 0 10px var(--accent);
}

/* Services Section */
.services {
    padding: 100px 5%;
}

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

.service-card {
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.service-card .icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* Products Gallery */
.products {
    padding: 100px 5%;
    background-color: var(--bg-dark);
}

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

.product-card {
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 15px;
}

.product-card h3 {
    font-size: 1.2rem;
}

/* Custom Orders Section */
.custom-orders-section {
    padding: 100px 5%;
    display: flex;
    justify-content: center;
}

.custom-orders-container {
    display: flex;
    width: 100%;
    max-width: 1200px;
    padding: 50px;
    gap: 50px;
    align-items: center;
}

.custom-orders-text {
    flex: 1;
}

.custom-orders-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.custom-orders-text p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.whatsapp-btn {
    background-color: #25D366;
    color: white;
}
.whatsapp-btn:hover {
    background-color: #128C7E;
}

.custom-orders-image {
    flex: 1;
}

.custom-orders-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 15px;
}

/* Footer */
footer {
    background-color: #07080a;
    padding: 40px 5%;
    text-align: center;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-bright);
}

.footer-logo span {
    color: var(--accent);
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: #25D366;
    color: white;
    border-radius: 50px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    text-decoration: none;
    z-index: 1000;
}

.whatsapp-float svg {
    fill: white;
    width: 24px;
    height: 24px;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    color: white;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hamburger {
        display: block;
        cursor: pointer;
    }
    .hamburger .line {
        width: 25px;
        height: 3px;
        background-color: var(--text-bright);
        margin: 5px;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .custom-orders-container {
        flex-direction: column;
        padding: 30px;
    }
}

/* Wireframe Hover */
.wireframe-img {
    filter: invert(1) sepia(1) hue-rotate(130deg) saturate(300%) contrast(150%);
    opacity: 0.7;
}
.wireframe-box:hover .wireframe-img {
    filter: none;
    opacity: 1;
}

/* Text Extrusion */
.extrude-text-container {
    position: relative;
    display: inline-block;
}
.extrude-text {
    display: inline-block;
    background: linear-gradient(90deg, #66FCF1 0%, #45A29E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    clip-path: inset(0 100% 0 0);
    animation: textExtrude 4s steps(40, end) infinite;
}
.text-nozzle {
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 15px;
    height: 15px;
    background: #FFF;
    border-radius: 50%;
    box-shadow: 0 0 15px 5px #66FCF1;
    animation: nozzleMove 4s steps(40, end) infinite;
}
@keyframes textExtrude {
    0% { clip-path: inset(0 100% 0 0); }
    70%, 100% { clip-path: inset(0 0 0 0); }
}
@keyframes nozzleMove {
    0% { left: 0; opacity: 1; }
    69% { left: 100%; opacity: 1; }
    70%, 100% { left: 100%; opacity: 0; }
}

/* Responsive Design / Mobile Priority */
.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger .line {
    width: 25px;
    height: 3px;
    background-color: var(--text-bright);
    margin: 5px;
    transition: all 0.3s ease;
}

/* Hamburger Animation classes */
.hamburger.toggle .line:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}
.hamburger.toggle .line:nth-child(2) {
    opacity: 0;
}
.hamburger.toggle .line:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

@media screen and (max-width: 768px) {
    body {
        overflow-x: hidden;
    }
    
    .logo {
        position: relative;
        z-index: 1002;
    }
    
    .nav-links {
        position: fixed;
        right: 0px;
        height: 100vh;
        top: 0;
        background: var(--glass-bg);
        backdrop-filter: blur(15px);
        display: flex;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100%;
        transform: translateX(100%);
        transition: transform 0.4s ease-in-out;
        z-index: 999;
        margin-left: 0 !important;
        gap: 40px !important;
        padding-top: 60px;
    }
    
    .nav-active {
        transform: translateX(0%);
    }

    .hamburger {
        display: block;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 140px;
    }

    .hero-content {
        margin-bottom: 40px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .custom-orders-container {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .custom-orders-text {
        padding-right: 0;
        margin-bottom: 30px;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .printing-reveal-container {
        width: 95% !important;
    }
}

