/* =============== CSS Variables & Theme =============== */
:root {
    --bg-color: #050505;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    
    /* CMYK Inspired Neon Colors */
    --cyan: #06b6d4;
    --magenta: #d946ef;
    --yellow: #eab308;
    
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);
    --glass-blur: blur(16px);
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4, .logo {
    font-family: 'Outfit', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

a { text-decoration: none; color: inherit; }

/* =============== Typography & Utilities =============== */
span.dot { color: var(--cyan); }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 1rem; }
.section-header h2 span { 
    background: linear-gradient(to right, var(--cyan), var(--magenta));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.section-header p { color: var(--text-muted); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* =============== Buttons =============== */
.btn-primary, .btn-secondary, .btn-primary-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 99px;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, var(--cyan), #3b82f6);
    color: white;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(6, 182, 212, 0.5);
    background: linear-gradient(135deg, #0891b2, #2563eb);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border: 1px solid var(--card-border);
    backdrop-filter: var(--glass-blur);
}

.btn-secondary:hover {
    background: var(--card-bg);
    border-color: rgba(255,255,255,0.2);
}

.btn-primary-sm {
    background: linear-gradient(135deg, var(--magenta), #8b5cf6);
    color: white;
    padding: 0.6rem 1.5rem;
    font-size: 0.95rem;
}
.btn-primary-sm:hover {
    box-shadow: 0 4px 15px rgba(217, 70, 239, 0.4);
}

.w-full { width: 100%; }

/* =============== Glassmorphism Cards =============== */
.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: var(--glass-blur);
    border-radius: 24px;
    padding: 2rem;
}

/* =============== Glow Orbs =============== */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.4;
    animation: drift 20s infinite alternate linear;
}

.orb-1 {
    width: 40vw; height: 40vw;
    background: var(--cyan);
    top: -10vw; left: -10vw;
}

.orb-2 {
    width: 30vw; height: 30vw;
    background: var(--magenta);
    top: 20%; right: -5vw;
    animation-delay: -5s;
}

.orb-3 {
    width: 35vw; height: 35vw;
    background: rgba(59, 130, 246, 0.5);
    bottom: 5vw; left: 20%;
    animation-delay: -10s;
}

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
}

/* =============== Navbar =============== */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 1.5rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(20px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--card-border);
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0px 2px 4px rgba(255,255,255,0.1));
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

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

.nav-links a:not(.btn-primary-sm) {
    font-size: 0.95rem;
    color: var(--text-muted);
    transition: var(--transition);
    position: relative;
}

.nav-links a:not(.btn-primary-sm):hover {
    color: var(--text-main);
}

.menu-toggle {
    display: none;
    background: none; border: none;
    flex-direction: column; gap: 5px;
    cursor: pointer;
}
.menu-toggle span {
    width: 24px; height: 2px;
    background: var(--text-main);
    transition: var(--transition);
}

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

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 99px;
    background: rgba(6, 182, 212, 0.1);
    color: var(--cyan);
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(6, 182, 212, 0.2);
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero h1 span {
    background: linear-gradient(to right, var(--cyan), var(--magenta), var(--yellow));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 200% auto;
    animation: gradientFlow 5s ease infinite;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero p {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.stats {
    display: flex;
    gap: 3rem;
    border-top: 1px solid var(--card-border);
    padding-top: 2rem;
}

.stat-item h3 {
    font-size: 2rem;
    color: var(--text-main);
    margin-bottom: 0.2rem;
}
.stat-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

/* Hero Mockup Animation */
.mockup-card {
    position: relative;
    padding: 1.5rem;
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
    transition: transform 0.5s ease;
    z-index: 2;
    width: 100%;
    max-width: 450px;
}
.mockup-card:hover {
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg) translateY(-10px);
}

.mascote-hero {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 350px;
    max-width: 25vw;
    z-index: 999;
    pointer-events: none;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.5));
    animation: floatMascote 6s ease-in-out infinite;
}

@keyframes floatMascote {
    0%, 100% { transform: translateY(-50%) translateX(0); }
    50% { transform: translateY(-55%) translateX(10px); }
}

.mockup-header { display: flex; gap: 8px; margin-bottom: 1.5rem; }
.circle { width: 12px; height: 12px; border-radius: 50%; }
.c-red { background: #ef4444; }
.c-yellow { background: #eab308; }
.c-green { background: #22c55e; }

.cartridge-levels { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem;}
.level-bar {
    height: 32px;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    display: flex; align-items: center;
    padding-left: 10px;
    font-weight: bold;
    font-size: 0.8rem;
}
.level-bar::before {
    content: '';
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: var(--level);
    z-index: -1;
    border-radius: 8px;
    transition: width 1s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.level-bar.cyan::before { background: var(--cyan); }
.level-bar.magenta::before { background: var(--magenta); }
.level-bar.yellow::before { background: var(--yellow); }
.level-bar.black::before { background: #333; }

.mockup-info {
    border-top: 1px solid var(--card-border);
    padding-top: 1rem;
    display: flex; justify-content: space-between; align-items: center;
}
.mockup-info h4 { font-size: 1rem; }
.mockup-info span { color: #22c55e; }
.mockup-info p { color: var(--text-muted); font-size: 0.85rem; margin: 0;}

/* =============== Services & Products =============== */
.services { padding: 8rem 0; }
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card, .product-card {
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.service-card:hover, .product-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255,255,255,0.15);
}

.service-icon {
    width: 56px; height: 56px;
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.5rem;
}

/* Products specific */
.product-card {
    padding: 0;
    overflow: hidden;
}

.product-image {
    background: rgba(0, 0, 0, 0.3);
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    border-bottom: 1px solid var(--card-border);
}

.product-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-category {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--cyan);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.product-info h3 { font-size: 1.25rem; margin-bottom: 0.5rem; line-height: 1.3;}
.product-info p { color: var(--text-muted); font-size: 0.9rem; flex: 1; margin-bottom: 1.5rem;}
.product-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    font-family: 'Outfit', sans-serif;
}
.icon-cyan { background: rgba(6, 182, 212, 0.1); color: var(--cyan); }
.icon-magenta { background: rgba(217, 70, 239, 0.1); color: var(--magenta); }
.icon-yellow { background: rgba(234, 179, 8, 0.1); color: var(--yellow); }

.service-card h3 { font-size: 1.4rem; margin-bottom: 1rem; }
.service-card p { color: var(--text-muted); font-size: 0.95rem; }

/* =============== CTA Section =============== */
.cta { padding: 4rem 0; text-align: center; }
.cta-card {
    background: linear-gradient(to right, rgba(6, 182, 212, 0.1), rgba(217, 70, 239, 0.1));
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.cta-card h2 { font-size: 2.5rem; margin-bottom: 1rem; }
.cta-card p { color: var(--text-muted); margin-bottom: 2rem; font-size: 1.1rem; }

/* =============== Partners Carousel =============== */
.partners {
    padding: 3rem 0;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
}
.partners-track {
    display: flex;
    align-items: center;
    gap: 5rem;
    overflow-x: auto;
    padding: 1rem 3rem;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}
.partners-track::-webkit-scrollbar {
    display: none;
}
.partner-logo {
    height: 40px;
    flex-shrink: 0;
    width: auto;
    filter: grayscale(100%) brightness(3) opacity(0.8);
    transition: all 0.4s ease;
    cursor: pointer;
}
.partner-logo:hover {
    filter: grayscale(0%) brightness(1) opacity(1);
}
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.carousel-btn:hover { background: var(--cyan); }
.prevbtn { left: 0; }
.nextbtn { right: 0; }

/* =============== Contact Form =============== */
.contact { padding: 8rem 0; }
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 3rem;
}

.contact-info h2 { font-size: 2.5rem; margin-bottom: 1rem; }
.contact-info h2 span { color: var(--cyan); }
.contact-info > p { color: var(--text-muted); margin-bottom: 3rem; }

.info-list { display: flex; flex-direction: column; gap: 1.5rem; }
.info-item { display: flex; flex-direction: column; gap: 0.3rem;}
.info-item .label { color: var(--text-muted); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px;}
.info-item .value { font-size: 1.1rem; font-weight: 500; }

.contact-form { display: flex; flex-direction: column; gap: 1.5rem; }
.input-group { display: flex; flex-direction: column; gap: 0.5rem; }
.input-group label { font-size: 0.9rem; color: var(--text-muted); }
.contact-form input, .contact-form select, .contact-form textarea {
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--card-border);
    padding: 1rem;
    border-radius: 12px;
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: var(--transition);
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
    border-color: var(--cyan);
    background: rgba(0,0,0,0.4);
}
.contact-form select { appearance: none; cursor: pointer; }

/* =============== Footer =============== */
footer {
    border-top: 1px solid var(--card-border);
    padding: 0.8rem 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}
.footer-content { display: flex; justify-content: space-between; align-items: center; }

/* =============== Animations & Reveal =============== */
.hidden-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.hidden-fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =============== Responsive =============== */
@media (max-width: 992px) {
    .hero h1 { font-size: 3rem; }
    .hero-content { grid-template-columns: 1fr; text-align: center; gap: 3rem;}
    .hero p { margin: 0 auto 2.5rem; }
    .hero-actions { justify-content: center; }
    .stats { justify-content: center; }
    .hero-image-container { margin-top: 2rem; }
    .mockup-card { transform: none; max-width: 500px; margin: 0 auto;}
    .mockup-card:hover { transform: translateY(-5px); }
    
    .mascote-hero {
        position: fixed;
        left: auto;
        right: 15px;
        top: auto;
        bottom: 20px;
        transform: none;
        width: 120px;
        max-width: 30vw;
        margin-top: 0;
        z-index: 999;
        animation: floatMascoteMobile 4s ease-in-out infinite;
    }
    
    @keyframes floatMascoteMobile {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-15px); }
    }
    
    .services-grid { grid-template-columns: 1fr; }
    .contact-wrapper { grid-template-columns: 1fr; gap: 3rem; padding: 2rem;}
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed; top: 70px; left: 0; right: 0;
        background: rgba(5,5,5,0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--card-border);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    .menu-toggle { display: flex; }
    .footer-content { flex-direction: column; gap: 1rem; }
    .hero-actions { flex-direction: column; }
    .stats { gap: 1.5rem; flex-wrap: wrap;}
}

/* =============== Back to Top Button =============== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px; /* Placing on the left so it doesn't collide with the floating mascot on the right */
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--cyan), #3b82f6);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.4);
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: none;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(6, 182, 212, 0.6);
    background: linear-gradient(135deg, #0891b2, #2563eb);
}

@media (max-width: 992px) {
    .back-to-top {
        left: 20px;
        bottom: 20px;
        width: 45px;
        height: 45px;
    }
}
