/* ============================================
   CSS Reset & Base Styles
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0ea5e9;
    --primary-dark: #0284c7;
    --secondary-color: #3b82f6;
    --accent-color: #22d3ee;
    --text-dark: #f8fafc;
    --text-light: #cbd5e1;
    --bg-light: #0f172a;
    --bg-white: #1e293b;
    --bg-dark: #020617;
    --border-color: #1e293b;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

h1,
h2,
h3,
h4,
.logo-text,
.hero-title,
.section-title {
    font-family: 'Orbitron', 'Inter', sans-serif;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 500;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-dark);
    overflow-x: hidden;
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M3 3l7.07 16.97 2.51-7.39 7.39-2.51L3 3z" fill="%230ea5e9" stroke="%23ffffff" stroke-width="0.5" opacity="0.9"/></svg>') 10 10, auto;
}

a,
button,
.btn,
.btn-show-more,
.gallery-item,
.product-card,
.client-logo,
.nav-link,
.whatsapp-button,
.gallery-lightbox-nav,
.gallery-back-btn,
.product-detail-back,
.product-detail-thumb,
.product-detail-figure-btn,
.product-detail-accessory-btn,
.category-product-card {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path d="M3 3l7.07 16.97 2.51-7.39 7.39-2.51L3 3z" fill="%230ea5e9" stroke="%23ffffff" stroke-width="1"/></svg>') 12 12, pointer;
}

input,
textarea,
.form-group input,
.form-group textarea {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z" fill="%230ea5e9" opacity="0.8"/></svg>') 12 12, text;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    background: var(--bg-light);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-wrapper {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem 0;
}

.logo {
    display: flex;
    align-items: center;
    margin-right: auto;
    flex-shrink: 0;
    height: auto;
    min-height: 0;
}

.logo-text {
    display: none;
}

.logo-image {
    max-height: 124px;
    width: auto;
    max-width: min(72vw, 480px);
    object-fit: contain;
    transition: max-height 0.3s ease;
    background-color: transparent;
}

.navbar.scrolled .logo-image {
    max-height: 80px;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--bg-dark);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--bg-dark);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-link {
    color: var(--bg-dark);
}

.nav-link:hover {
    color: var(--primary-color);
}

/* ============================================
   Hero Section & UI Components
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-dark);
    color: white;
    text-align: center;
    overflow: hidden;
}

.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 1.5s ease-in-out, transform 8s linear;
}

.carousel-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(2px 2px at 20% 30%, rgba(14, 165, 233, 0.3), transparent),
        radial-gradient(2px 2px at 60% 70%, rgba(59, 130, 246, 0.3), transparent);
    background-size: 200% 200%;
    animation: particlesMove 20s linear infinite;
    opacity: 0.6;
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.5) 0%, rgba(2, 6, 23, 0.8) 100%);
    z-index: 3;
}

.hero-content {
    position: relative;
    z-index: 4;
    max-width: 900px;
    padding: 2rem;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.3);
    border-radius: 2rem;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 2rem;
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.15);
}

.hero-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 500;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    letter-spacing: 0.15em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.text-gradient {
    background: linear-gradient(135deg, #0ea5e9, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(14, 165, 233, 0.4));
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(14, 165, 233, 0.4);
    background: var(--primary-dark);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

.btn-whatsapp {
    background: #10b981;
    color: white;
    border: 2px solid #10b981;
}

.btn-whatsapp:hover {
    background: #059669;
    border-color: #059669;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
}

.carousel-indicators {
    position: absolute;
    bottom: 4rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 4;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.indicator.active {
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
    transform: scale(1.2);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
}

.scroll-indicator span {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 25px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    animation: scroll 2s infinite;
}

@keyframes scroll {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateX(-50%) translateY(20px);
        opacity: 0.3;
    }
}

@keyframes particlesMove {
    0% {
        background-position: 0% 0%;
    }

    100% {
        background-position: 100% 100%;
    }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Features Section
   ============================================ */
.features {
    padding: 5rem 0;
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(168, 85, 247, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 1rem;
    background: var(--bg-light);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    color: white;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(14, 165, 233, 0.2);
    background: rgba(14, 165, 233, 0.05);
    border-color: rgba(14, 165, 233, 0.4);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(14, 165, 233, 0.5));
}

.feature-card h2 {
    font-size: 1.15rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: white;
    letter-spacing: 0.05em;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* ============================================
   Section Styles
   ============================================ */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    font-weight: 500;
    color: white;
    margin-bottom: 0.5rem;
    letter-spacing: 0.15em;
}

.section-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   About Section
   ============================================ */
.about {
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(168, 85, 247, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.about-content {
    max-width: 980px;
    margin: 0 auto;
}

.about .section-header {
    text-align: left;
    margin-bottom: 2.25rem;
}

.about-text p {
    font-size: 1.075rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.6rem;
    margin-top: 1.9rem;
}

.highlight-item {
    padding: 1.4rem 1.35rem 1.25rem;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    min-height: 210px;
}

.highlight-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.2);
}

.highlight-item h4 {
    font-size: 1.2rem;
    font-weight: 650;
    color: white;
    margin-bottom: 0.85rem;
    padding-left: 3rem;
    position: relative;
    line-height: 1.25;
}

.highlight-item p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.highlight-item h4::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 999px;
    background: rgba(14, 165, 233, 0.12);
    border: 1px solid rgba(14, 165, 233, 0.3);
    box-shadow: 0 8px 22px rgba(14, 165, 233, 0.15);
}

.highlight-item:nth-child(1) h4::after {
    content: '01';
    position: absolute;
    left: 0.6rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: 0.03em;
}

.highlight-item:nth-child(2) h4::after {
    content: '02';
    position: absolute;
    left: 0.6rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: 0.03em;
}

.highlight-item:nth-child(3) h4::after {
    content: '03';
    position: absolute;
    left: 0.6rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: 0.03em;
}

@media (max-width: 900px) {
    .about-highlights {
        grid-template-columns: 1fr;
    }

    .highlight-item {
        min-height: unset;
    }
}

/* ============================================
   Products Section
   ============================================ */
.products {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    position: relative;
    overflow: hidden;
}

.products::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}

.product-card {
    background: var(--bg-light);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1.5rem;
    padding: 1px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.6), rgba(59, 130, 246, 0.6));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(14, 165, 233, 0.2);
    background: rgba(14, 165, 233, 0.05);
    border-color: transparent;
}

.product-card:hover::before {
    opacity: 1;
}

.product-image {
    width: 100%;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 2rem;
    background: radial-gradient(ellipse at center, rgba(14, 165, 233, 0.05) 0%, transparent 70%);
    transition: all 0.5s ease;
}

.product-card:hover .product-image {
    background: radial-gradient(ellipse at center, rgba(14, 165, 233, 0.15) 0%, rgba(59, 130, 246, 0.08) 50%, transparent 100%);
}

.product-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.product-card:hover .product-image::after {
    opacity: 1;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
    position: relative;
    z-index: 1;
}

.product-card:hover .product-image img {
    transform: scale(1.1) translateY(-8px);
    filter: drop-shadow(0 20px 40px rgba(168, 85, 247, 0.3));
}

.product-info {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.2) 0%, transparent 100%);
}

.product-info h2 {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: white;
    line-height: 1.4;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.product-card:hover .product-info h2 {
    color: var(--primary-color);
    transform: translateX(4px);
}

.product-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    line-height: 1.6;
    transition: color 0.3s ease;
    margin: 0 0 1rem 0;
}

.product-card:hover .product-info p {
    color: rgba(255, 255, 255, 0.85);
}

.btn-show-more {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: auto;
}

.btn-show-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(168, 85, 247, 0.4);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

.btn-show-more:active {
    transform: translateY(0);
}

/* ============================================
   Retail Software solutions (detail page)
   ============================================ */
.retail-software-page {
    position: relative;
    margin-top: 2rem;
    padding-bottom: 1rem;
    overflow: hidden;
}

.retail-software-page::before {
    content: '';
    position: absolute;
    top: -2rem;
    left: -10%;
    right: -10%;
    bottom: 0;
    background: radial-gradient(circle at 15% 30%, rgba(14, 165, 233, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.retail-software-page .retail-software-lead,
.retail-software-page .retail-software-grid {
    position: relative;
    z-index: 1;
}

.retail-software-lead {
    max-width: 52rem;
    margin: 0 auto 2.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.05rem;
    line-height: 1.75;
}

.retail-software-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.retail-solution-card {
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 1.25rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.retail-solution-card:hover {
    border-color: rgba(14, 165, 233, 0.45);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    transform: translateY(-4px);
}

.retail-solution-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: radial-gradient(ellipse at center, rgba(14, 165, 233, 0.08) 0%, transparent 65%);
}

.retail-solution-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.25));
}

.retail-solution-body {
    padding: 1.5rem 1.5rem 1.75rem;
    flex-grow: 1;
}

.retail-solution-body h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 0.75rem;
    letter-spacing: 0.02em;
}

.retail-solution-body p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.95rem;
    line-height: 1.65;
}

@media (max-width: 768px) {
    .retail-software-lead {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .retail-solution-image {
        height: 170px;
    }
}

/* ============================================
   Services Section
   ============================================ */
.services {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(124, 58, 237, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(30, 64, 175, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.services .section-title,
.services .section-subtitle {
    color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.25rem;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.service-card:nth-child(1) {
    animation-delay: 0.1s;
}

.service-card:nth-child(2) {
    animation-delay: 0.2s;
}

.service-card:nth-child(3) {
    animation-delay: 0.3s;
}

.service-card:nth-child(4) {
    animation-delay: 0.4s;
}

.service-card:nth-child(5) {
    animation-delay: 0.5s;
}

.service-card:nth-child(6) {
    animation-delay: 0.6s;
}

.service-card:nth-child(7) {
    animation-delay: 0.7s;
}

.service-card:nth-child(8) {
    animation-delay: 0.8s;
}

.service-card:nth-child(9) {
    animation-delay: 0.9s;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, currentColor, transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-card:hover::before {
    opacity: 1;
}

.service-marker {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-bottom: 1rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card[data-color="purple"] .service-marker {
    background: #a855f7;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.5);
}

.service-card[data-color="blue"] .service-marker {
    background: #3b82f6;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

.service-card[data-color="cyan"] .service-marker {
    background: #06b6d4;
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.5);
    border: 2px solid #06b6d4;
    background: transparent;
}

.service-card[data-color="orange"] .service-marker {
    background: #f97316;
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.5);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    border-radius: 0;
}

.service-card[data-color="green"] .service-marker {
    background: #10b981;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
}

.service-card[data-color="red"] .service-marker {
    background: #ef4444;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.5);
}

.service-card[data-color="indigo"] .service-marker {
    background: #6366f1;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
}

.service-card[data-color="pink"] .service-marker {
    background: #ec4899;
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.5);
}

.service-card[data-color="teal"] .service-marker {
    background: #14b8a6;
    box-shadow: 0 0 20px rgba(20, 184, 166, 0.5);
}

.service-card:hover .service-marker {
    transform: scale(1.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 20px currentColor;
    }

    50% {
        box-shadow: 0 0 30px currentColor, 0 0 40px currentColor;
    }
}

.service-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    transition: color 0.3s ease;
}

.service-card:hover .service-content h3 {
    background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-content ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    list-style: none;
    padding: 0;
}

.service-content li {
    color: rgba(255, 255, 255, 0.8);
    padding-left: 1.75rem;
    position: relative;
    transition: all 0.3s ease;
    line-height: 1.6;
}

.service-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.service-card[data-color="purple"] .service-content li::before {
    background: #a855f7;
}

.service-card[data-color="blue"] .service-content li::before {
    background: #3b82f6;
}

.service-card[data-color="cyan"] .service-content li::before {
    background: #06b6d4;
}

.service-card[data-color="orange"] .service-content li::before {
    background: #f97316;
}

.service-card[data-color="green"] .service-content li::before {
    background: #10b981;
}

.service-card[data-color="red"] .service-content li::before {
    background: #ef4444;
}

.service-card[data-color="indigo"] .service-content li::before {
    background: #6366f1;
}

.service-card[data-color="pink"] .service-content li::before {
    background: #ec4899;
}

.service-card[data-color="teal"] .service-content li::before {
    background: #14b8a6;
}

.service-card:hover .service-content li {
    color: white;
    padding-left: 2rem;
}

.service-card:hover .service-content li::before {
    width: 8px;
    height: 8px;
    box-shadow: 0 0 10px currentColor;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Stats Section
   ============================================ */
.stats {
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    color: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(168, 85, 247, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-item {
    padding: 2rem;
}

.stat-number {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 1.125rem;
    opacity: 0.9;
    font-weight: 500;
}

/* ============================================
   Clients Section
   ============================================ */
.clients {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    overflow: hidden;
    position: relative;
}

.clients::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.clients-carousel-wrapper {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    position: relative;
    padding: 3rem 0;
    cursor: grab;
    scrollbar-width: thin;
    scrollbar-color: rgba(148, 163, 184, 0.45) transparent;
}

.clients-carousel-wrapper:active {
    cursor: grabbing;
}

.clients-carousel-wrapper::-webkit-scrollbar {
    height: 7px;
}

.clients-carousel-wrapper::-webkit-scrollbar-track {
    background: transparent;
}

.clients-carousel-wrapper::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.4);
    border-radius: 999px;
}

.clients-carousel {
    display: flex;
    gap: 2rem;
    animation: scroll-clients 30s linear infinite;
    width: fit-content;
}

.clients-carousel:hover {
    animation-play-state: paused;
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0 3rem;
    height: 120px;
}

.client-logo img {
    max-width: 200px;
    max-height: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.9);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.client-logo:hover img {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
}

@keyframes scroll-clients {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 1rem));
    }
}

.clients .section-header {
    position: relative;
    z-index: 1;
}

.clients-carousel-wrapper {
    position: relative;
    z-index: 1;
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(168, 85, 247, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: rgba(255, 255, 255, 0.8);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group textarea {
    padding: 0.875rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    backdrop-filter: blur(10px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: linear-gradient(180deg, #0f172a 0%, #0a0e1a 100%);
    color: white;
    padding: 3rem 0 1rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(168, 85, 247, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-section h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-top: 0.5rem;
}

.footer-section ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 88px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 88px);
        background: var(--bg-white);
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
        gap: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        font-size: 1.125rem;
        width: 100%;
        padding: 1rem 0;
    }

    .logo {
        min-width: auto;
    }

    .logo-text {
        font-size: 1rem;
    }

    .logo-image {
        max-height: 52px;
        max-width: min(78vw, 320px);
    }

    .navbar.scrolled .logo-image {
        max-height: 44px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .features-grid,
    .products-grid,
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .product-image {
        height: 250px;
        padding: 1.5rem;
    }

    .product-info {
        padding: 1.5rem;
    }

    .product-info h2 {
        font-size: 1.25rem;
    }

    .product-detail-main {
        padding-top: max(7.5rem, calc(2.25rem + 52px + env(safe-area-inset-top, 0px)));
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .clients-carousel {
        gap: 1.5rem;
    }

    .client-logo {
        min-width: 180px;
        padding: 1.5rem;
    }

    .whatsapp-button {
        width: 55px;
        height: 55px;
        bottom: 1.5rem;
        right: 1.5rem;
    }

    .whatsapp-button svg {
        width: 24px;
        height: 24px;
    }

    .service-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    section {
        padding: 3rem 0;
    }

    .clients-carousel {
        gap: 1rem;
    }

    .client-logo {
        min-width: 150px;
        padding: 1rem;
    }

    .whatsapp-button {
        width: 50px;
        height: 50px;
        bottom: 1rem;
        right: 1rem;
    }

    .whatsapp-button svg {
        width: 22px;
        height: 22px;
    }

    .service-card {
        padding: 1.25rem;
    }

    .service-content h3 {
        font-size: 1.25rem;
    }
}

/* ============================================
   Performance Optimizations
   ============================================ */
img[loading="lazy"] {
    opacity: 1;
    transition: opacity 0.3s;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .clients-carousel {
        animation: none !important;
    }

    .whatsapp-button {
        animation: none !important;
    }
}

/* ============================================
   WhatsApp Floating Button
   ============================================ */
.whatsapp-button {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: whatsappPulse 2s infinite;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    background: #20BA5A;
}

.whatsapp-button:active {
    transform: scale(0.95);
}

.whatsapp-button svg {
    width: 28px;
    height: 28px;
}

@keyframes whatsappPulse {

    0%,
    100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.6), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }
}

/* ============================================
   Product detail page (static → later dynamic)
   ============================================ */
.product-detail-body {
    background: var(--bg-dark);
    scroll-padding-top: 8.5rem;
}

.product-detail-main {
    position: relative;
    min-height: 100vh;
    /* Clear fixed navbar: logo up to 124px + .nav-wrapper padding + breathing room */
    padding-top: max(11.5rem, calc(2.75rem + 124px + env(safe-area-inset-top, 0px)));
    padding-bottom: 4rem;
    overflow: hidden;
}

.product-detail-glow {
    position: absolute;
    top: -20%;
    right: -10%;
    width: min(70vw, 520px);
    height: min(70vw, 520px);
    background: radial-gradient(circle, rgba(14, 165, 233, 0.18) 0%, transparent 70%);
    pointer-events: none;
    animation: productDetailGlow 14s ease-in-out infinite alternate;
}

@keyframes productDetailGlow {
    from {
        opacity: 0.6;
        transform: scale(1);
    }

    to {
        opacity: 1;
        transform: scale(1.08);
    }
}

.product-detail-inner {
    position: relative;
    z-index: 1;
}

/* Extra breathing room from the right edge (wider screens) */
.product-detail-main .container {
    padding-right: clamp(1.75rem, 7vw, 5.5rem);
}

.product-detail-breadcrumb {
    margin-bottom: 2rem;
}

.product-detail-breadcrumb .product-detail-back {
    margin-bottom: 0.5rem;
}

.product-detail-parent-cat {
    margin: 0;
    font-size: 0.88rem;
    color: var(--text-light);
}

.product-detail-parent-cat a {
    color: rgba(203, 213, 225, 0.95);
    text-decoration: underline;
    text-decoration-color: rgba(14, 165, 233, 0.35);
    text-underline-offset: 3px;
    transition: var(--transition);
}

.product-detail-parent-cat a:hover {
    color: var(--accent-color);
    text-decoration-color: var(--accent-color);
}

.product-detail-back {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--accent-color);
    margin-bottom: 2rem;
    transition: var(--transition);
}

.product-detail-back:hover {
    color: #67e8f9;
    transform: translateX(-4px);
}

.product-detail-category {
    max-width: 720px;
    margin-bottom: 2.5rem;
}

.product-detail-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.product-detail-category-title {
    font-family: 'Orbitron', 'Inter', sans-serif;
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    font-weight: 600;
    letter-spacing: 0.06em;
    line-height: 1.35;
    color: var(--text-dark);
    margin-bottom: 1rem;
    text-transform: none;
}

.product-detail-category-lead {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

.product-detail-category-points {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.product-detail-category-points li {
    position: relative;
    padding-left: 1.25rem;
    color: rgba(248, 250, 252, 0.88);
    font-size: 0.95rem;
    line-height: 1.5;
}

.product-detail-category-points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    box-shadow: 0 0 12px rgba(14, 165, 233, 0.5);
}

.product-detail-card {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: start;
    padding: clamp(1.25rem, 3vw, 2rem);
    border-radius: 1.25rem;
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.65) 0%, rgba(15, 23, 42, 0.85) 100%);
    border: 1px solid rgba(148, 163, 184, 0.12);
    box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
    backdrop-filter: blur(12px);
}

.product-detail-media {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-detail-figure-btn {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: none;
    background: transparent;
    border-radius: 1rem;
    cursor: zoom-in;
    text-align: left;
}

.product-detail-figure {
    margin: 0;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.15);
    background: rgba(2, 6, 23, 0.5);
    aspect-ratio: 4 / 5;
    max-height: min(72vh, 640px);
}

.product-detail-figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-detail-figure-btn:hover .product-detail-figure img {
    transform: scale(1.03);
}

.product-detail-zoom-hint {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(248, 250, 252, 0.9);
    background: rgba(2, 6, 23, 0.65);
    padding: 0.35rem 0.65rem;
    border-radius: 0.35rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

.product-detail-thumbs {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.product-detail-thumb {
    padding: 0;
    border: 2px solid transparent;
    border-radius: 0.65rem;
    overflow: hidden;
    width: 76px;
    height: 76px;
    cursor: pointer;
    background: rgba(15, 23, 42, 0.8);
    transition: var(--transition);
    opacity: 0.75;
}

.product-detail-thumb:hover,
.product-detail-thumb.is-active {
    opacity: 1;
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.25);
}

.product-detail-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-detail-video {
    margin-top: 0.5rem;
    width: 100%;
    max-width: 280px;
}

.product-detail-video-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin: 0 0 0.65rem;
}

.product-detail-video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    border-radius: 0.85rem;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(2, 6, 23, 0.6);
    box-shadow: var(--shadow-lg);
}

.product-detail-video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.product-detail-video-link {
    display: inline-block;
    margin-top: 0.65rem;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--accent-color);
    transition: var(--transition);
}

.product-detail-video-link:hover {
    color: #67e8f9;
}

/* Weighmetric batching — technical drawings & PDFs */
.batching-drawing-block {
    margin-top: 0.5rem;
}

.batching-drawing-block h2 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 1rem;
    letter-spacing: 0.04em;
}

.batching-drawing-figure {
    margin: 0 0 2rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 1rem;
    padding: 1.25rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.batching-drawing-figure img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

.batching-drawing-figure figcaption {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: rgba(226, 232, 240, 0.85);
    line-height: 1.65;
    text-align: left;
}

.batching-pdf-section {
    margin-top: 2rem;
}

.batching-pdf-section h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 0.75rem;
}

.batching-pdf-tools {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.batching-pdf-tools a {
    color: var(--accent-color);
    font-weight: 500;
}

.batching-pdf-tools a:hover {
    color: #67e8f9;
}

.batching-pdf-frame-wrap {
    position: relative;
    width: 100%;
    min-height: min(80vh, 900px);
    border-radius: 0.75rem;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: rgba(30, 41, 59, 0.9);
}

.batching-pdf-frame-wrap iframe {
    width: 100%;
    min-height: min(80vh, 900px);
    border: 0;
    display: block;
}

.batching-pdf-fallback {
    padding: 1.25rem;
    font-size: 0.9rem;
    color: rgba(226, 232, 240, 0.75);
    line-height: 1.5;
}

@media (max-width: 768px) {

    .batching-pdf-frame-wrap,
    .batching-pdf-frame-wrap iframe {
        min-height: 65vh;
    }
}

.product-detail-content {
    padding: 0.25rem 0;
}

.product-detail-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 0.75rem;
}

.product-detail-title {
    font-family: 'Orbitron', 'Inter', sans-serif;
    font-size: clamp(1.05rem, 2.2vw, 1.35rem);
    font-weight: 600;
    letter-spacing: 0.05em;
    line-height: 1.4;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.product-detail-sub {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1.75rem;
}

.product-detail-specs {
    margin: 0 0 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.product-detail-spec {
    display: grid;
    grid-template-columns: minmax(120px, 32%) 1fr;
    gap: 1rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    align-items: baseline;
}

.product-detail-spec dt {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(148, 163, 184, 0.95);
    margin: 0;
}

.product-detail-spec dd {
    margin: 0;
    font-size: 0.95rem;
    color: rgba(248, 250, 252, 0.95);
    line-height: 1.55;
}

.product-detail-desc {
    margin-bottom: 1.75rem;
}

.product-detail-desc h3 {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 0.65rem;
}

.product-detail-desc p {
    font-size: 0.98rem;
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

.product-detail-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.product-detail-cta .btn {
    padding: 0.65rem 1.25rem;
    font-size: 0.9rem;
}

.product-detail-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.94);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.product-detail-lightbox.is-open {
    display: flex;
}

.product-detail-lightbox img {
    max-width: min(92vw, 1100px);
    max-height: 85vh;
    object-fit: contain;
    border-radius: 0.5rem;
}

.product-detail-lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
}

.product-detail-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.product-detail-lightbox-counter {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 0.9rem;
    background: rgba(0, 0, 0, 0.5);
    padding: 0.4rem 1rem;
    border-radius: 2rem;
    margin: 0;
}

.product-detail-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: var(--reveal-delay, 0s);
}

.product-detail-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Category → product list */
.category-products-intro {
    margin-bottom: 2.5rem;
}

.category-products-heading {
    font-family: 'Orbitron', 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin: 0 0 0.5rem;
}

.category-products-sub {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0 0 1.75rem;
    max-width: 42rem;
}

.category-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
    gap: 1.5rem;
}

.category-product-card {
    display: flex;
    flex-direction: column;
    border-radius: 1rem;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.65) 0%, rgba(15, 23, 42, 0.9) 100%);
    border: 1px solid rgba(148, 163, 184, 0.12);
    box-shadow: var(--shadow-lg);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.35s ease, box-shadow 0.35s ease;
    text-decoration: none;
    color: inherit;
}

.category-product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(14, 165, 233, 0.35);
    box-shadow: var(--shadow-xl), 0 0 40px rgba(14, 165, 233, 0.12);
}

.category-product-card-image {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: rgba(2, 6, 23, 0.5);
}

.category-product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-product-card:hover .category-product-card-image img {
    transform: scale(1.04);
}

.category-product-card-body {
    padding: 1.25rem 1.35rem 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    flex: 1;
}

.category-product-card-model {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent-color);
}

.category-product-card-title {
    font-family: 'Orbitron', 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1.35;
    color: var(--text-dark);
    margin: 0;
    text-transform: none;
}

.category-product-card-blurb {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.5;
    margin: 0.25rem 0 0;
    flex: 1;
}

.category-product-card-cta {
    margin-top: 1rem;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary-color);
}

.category-product-card:hover .category-product-card-cta {
    color: var(--accent-color);
}

.product-detail-spec-link {
    color: var(--accent-color);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: var(--transition);
}

.product-detail-spec-link:hover {
    color: #67e8f9;
}

.product-detail-spec-note {
    cursor: help;
    color: var(--primary-color);
    font-weight: 600;
    margin-left: 0.15rem;
}

.product-detail-dimension-note {
    font-size: 0.8rem;
    color: rgba(148, 163, 184, 0.95);
    line-height: 1.5;
    margin: -0.5rem 0 1.25rem;
    max-width: 40rem;
}

.product-model-table-wrap {
    width: 100%;
    overflow-x: auto;
    margin: 0 0 1.5rem;
    border-radius: 0.65rem;
    border: 1px solid rgba(148, 163, 184, 0.15);
}

.product-model-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.product-model-table th,
.product-model-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.product-model-table th {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(148, 163, 184, 0.95);
    background: rgba(2, 6, 23, 0.45);
}

.product-model-table tbody tr:last-child td {
    border-bottom: none;
}

.product-model-table td:first-child {
    font-weight: 600;
    color: rgba(248, 250, 252, 0.98);
}

.product-model-table tbody tr:hover td {
    background: rgba(14, 165, 233, 0.06);
}

.product-detail-text-only {
    grid-template-columns: 1fr;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.product-detail-text-only .product-detail-desc p {
    margin-bottom: 0.75rem;
}

.product-detail-range-title {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin: 2rem 0 0.85rem;
}

.product-detail-sub + .product-detail-range-title {
    margin-top: 0;
}

.product-detail-accessory {
    margin-top: 2rem;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    align-items: stretch;
}

.product-detail-accessory-media {
    min-height: 220px;
}

.product-detail-accessory-btn {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: none;
    background: transparent;
    border-radius: 0.85rem;
    cursor: zoom-in;
    text-align: left;
}

.product-detail-accessory-figure {
    margin: 0;
    height: 100%;
    min-height: 220px;
    border-radius: 0.85rem;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.15);
    background: rgba(2, 6, 23, 0.5);
}

.product-detail-accessory-figure img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-detail-accessory-btn:hover .product-detail-accessory-figure img {
    transform: scale(1.03);
}

.product-detail-accessory-btn .product-detail-zoom-hint {
    border-radius: 0.35rem;
}

.product-detail-accessory-title {
    font-family: 'Orbitron', 'Inter', sans-serif;
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--text-dark);
    margin: 0 0 0.5rem;
    text-transform: uppercase;
}

.product-detail-accessory-lead {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0 0 1.25rem;
}

@media (max-width: 900px) {
    .product-detail-accessory {
        grid-template-columns: 1fr;
    }

    .product-detail-accessory-media {
        min-height: 200px;
    }
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.logo a .logo-image {
    display: block;
}

@media (max-width: 900px) {
    .product-detail-card {
        grid-template-columns: 1fr;
    }

    .product-detail-spec {
        grid-template-columns: 1fr;
        gap: 0.35rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .product-detail-glow {
        animation: none;
    }

    .product-detail-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}